.form-item-align {

    .ant-form-vertical .ant-form-item-label,
    .ant-col-24.ant-form-item-label,
    .ant-col-xl-24.ant-form-item-label {
        text-align: right;
    }
}

.custom-data {
    .ant-modal-body {
        padding: 0
    }
}

.emr-style {
    width: 100%;
    height: 100%;
    overflow: hidden;

    .navigation-operation-icon {
        display: flex !important;
        justify-content: space-around !important;
        height: 34px;
        align-items: center;

        // background: #f2f2f2;
        &>i {
            font-size: 18px;
            cursor: pointer;
        }
    }

    .operation-span {
        height: 34px;
        line-height: 34px;
        background: #fafafa;

        &>span {
            margin-right: 12px;

            &:hover {
                cursor: pointer;
                color: rgb(77, 193, 130);
                font-weight: 900;
            }
        }
    }

    .right-tabs {
        &>.ant-tabs-bar {
            margin: 0;
        }
    }

    .word-wrap {
        .ant-tabs-tab {
            width: 20px;
            padding: 16px !important;
            height: auto !important;
            writing-mode: vertical-rl;
            text-align: center;
            display: flex !important;
            justify-content: center !important;
            flex-direction: column !important;
            margin-bottom: 0 !important;
            border-bottom: 0 !important;
        }

        .ant-tabs-tab:nth-last-child(1) {
            border-bottom: 1px solid #e8e8e8 !important;
        }

        .ant-tabs-left-content {
            padding: 12px !important;
        }
    }

    .insert-span {
        height: 40px;
        line-height: 40px;

        span {
            display: inline-block;
            border: 1px solid #e8e8e8;
            background: #fff;
            padding: 0 12px;
            border-radius: 6px;
            height: 30px;
            line-height: 30px;

            &:hover {
                cursor: pointer;
                border: 1px solid rgb(77, 193, 130);
                color: rgb(77, 193, 130);
            }
        }
    }

    .its-way {
        i {
            margin-right: 12px;
            font-size: 16px;

            &:hover {
                cursor: pointer;
                color: rgb(77, 193, 130);
                font-size: 18px;
            }
        }

    }
}

// 病历基础信息
.basic-case-information {
    .editable-cell {
        position: relative;
    }

    .editable-cell-value-wrap {
        padding: 5px 12px;
        cursor: pointer;
    }

    .editable-row .editable-cell-value-wrap:hover {
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        padding: 4px 11px;
    }

    .bci-right-card {
        .ant-card-head>.ant-card-head-wrapper>.ant-card-head-title {
            padding: 2px 0;
        }

        .card-title-left-icon div:nth-child(1) {
            top: 9px;
        }
    }
}

// 拾色器
.color-pickup {
    width: 250px !important;

    .ant-modal-body {
        padding: 0;
    }

    .sketch-picker {
        width: initial !important;
    }
}

// 医嘱引用规则
.order-reference-rule {
    height: 100%;

    .form-flex {
        &::-webkit-scrollbar {
            display: none !important
        }

        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 0;

        &>div {
            display: flex;
        }

        .ant-row.ant-form-item {
            margin-bottom: 0;
        }

        .rules-position {
            margin-left: 8px;

            .ant-form-explain {
                position: absolute;
                width: 150px;
            }
        }
    }
}

// 病例浏览
.case-preview {
    ul {
        margin: 0;
        padding: 0;

        li {
            list-style: none;
            line-height: 32px;
        }
    }

}

// 病例查询
.case-search {
    .ant-row.ant-form-item {
        margin-bottom: 0;
    }

    .card-padding-no.ant-card-small>.ant-card-body {
        padding: 8px 6px 8px 0;
    }

    .case-search-table {
        .ant-table-body {
            height: 1000px !important;
        }
    }
}

.searchFlex {
    width: 100%;
    overflow: hidden;

    .ant-select {
        width: 100%;
    }

    height: 50px;
    line-height: 50px;
}

// 查找替换
.emr-find-replace {
    position: fixed;
    width: 600px;
    height: 280px;
    background: #fff;
    border-top: 5px solid #F6A724;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
    z-index: 100;
    padding: 0 24px;

    .emr-find-replace-header {
        height: 42px;
        line-height: 42px;
        color: #666;
        font-size: 18px;
        box-sizing: border-box;
    }

    .emr-find-replace-header span {
        float: right;
        font-size: 14px;
    }

    .emr-find-replace-cancel {
        cursor: pointer;
    }
}