.modalOptions-header {
    margin-bottom: 10/@px-unit;
}
.modalOptions-badge-container {
    float: left;
    margin-left: 3/@px-unit;
    margin-right: 3/@px-unit;
}
.schedule-copy-popover {
    .ant-popover-content {
        width: 324/@px-unit;
        .ant-checkbox-wrapper {
            margin-left: 0;
            margin-top: 6/@px-unit;
            margin-bottom: 6/@px-unit;
        }
    }
    .timeSchedule-checkboxGroup-wrapper{
        .check-all {
            margin-bottom: 6/@px-unit;
        }
    }
    .popover-footer {
        display: flex;
        flex-direction: row-reverse;
        margin-top: 18/@px-unit;
        .apply-button {
            margin-left: 8/@px-unit;
        }
    }
}
.track-time-hover-popover {
    .ant-popover-inner-content {
        padding: 0;
        color: @font-color;
    }
    .time-hover-content {
        box-sizing: border-box;
        padding: 12/@px-unit 16/@px-unit 12/@px-unit 16/@px-unit;
    }
    
}
.track-time-popover {
    color: @font-color;
    .ant-time-picker ~ a {
        color: inherit;
        cursor: initial;
    }
    .ant-popover-inner-content {
        padding: 0/@px-unit;
    }
    .ant-time-picker-panel-addon {
        display: flex;
        flex-direction: row-reverse;
    }
    a {
        margin-left: 8/@px-unit;
        margin-right: 8/@px-unit;
    }
    .time-popover-content {
        display: flex;
        align-items: center;
        padding: 0;
        .confirm-icon {
            color: @font-color;
            margin-left: 14/@px-unit;
            font-size: 24/@px-unit;
            cursor: pointer;
        }
        .delete-icon {
            color: @font-color;
            margin-left: 8/@px-unit;
            font-size: 24/@px-unit;
            cursor: pointer;
        }
        .confirm-icon, .delete-icon {
            &:hover {
                color: #40A9FF;
            }
            &:active {
                color: #096DD9;
            }
        }
    }
    .start-timer-picker, .end-timer-picker {
        .ant-time-picker-panel-combobox {
            display: flex;
        }
    }
    .ant-popover-content .ant-popover-inner-content {
        overflow: visible;
        padding: 10px;
    }
    .methodLabel {
        display: inline-block;
        width: 108px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }
    .time-popover-actions {
        display: flex;
        justify-content: flex-end;
    }
    .labelText-wrapper {
        overflow: visible;
    }
}
@px-unit: 14rem;

@schedule-dividerColor: rgba(0,0,0,0.06); 
@schedule-inputBorderColor: #d9d9d9; 
@schedule-listBorderColor: #e8e8e8; 
@schedule-successColor: #52c41a; 
@schedule-warnColor: #fcac15; 
@schedule-errorColor: #f5222d; 
@schedule-textColor: #272727; 
@transform-height: 2/@px-unit;
@transform-height1: 1/@px-unit;
@font-color: #000000BF;
._new_schedule_public_component_{
    color: @font-color;
    padding: 16/@px-unit;
    padding-bottom: 32/@px-unit;
    user-select: none;
    .align-center {
        text-align: center
    }
    .ant-card-body{
        padding: 15/@px-unit 24/@px-unit 15/@px-unit 24/@px-unit;
    }
    .slider-container{
        position: relative;
    }
    .btnContainer{
        float: right;
        button:nth-child(1) {
            margin-right: 10/@px-unit;
        }
    }
    .time-ruler-wrapper {
        
        padding-top: 50/@px-unit;
        background-color: #F0F2F5;
        
        .timeplan-ruler {
            display: flex;
            align-items: flex-end;
            height: 14/@px-unit;
            position: relative;
            font-size: 12/@px-unit;
            .ruler-section {
                flex: 1;
            }
            div{
                display: inline-block;
                height: 5/@px-unit;
                border-left: 1/@px-unit solid #555;
            }
            div:last-child {
                border-right: 1/@px-unit solid #555;
                .ruler-text{
                    margin-left: 0/@px-unit;
                }
                
            }
            .ruler-text{
                position: absolute;
                bottom: 15/@px-unit;
                margin-left: -5/@px-unit;
                white-space: nowrap;
                font: 11/@px-unit/1 sans-serif; 
            }
            .hour{
                height: 10/@px-unit;
            }
        }
    }

    .main-container {
        box-sizing: border-box;
        margin: 0;
        overflow: hidden;
        height: 60/@px-unit;
        &:not(:last-of-type) {
            border-bottom: none;
            .label {
                border-bottom: 1/@px-unit solid #e8e8e8;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .behind-operator-area {
                border-bottom: 1/@px-unit solid #e8e8e8;
            }
        }
        .label{
            float: left;
            height: 100%;
            line-height: 59/@px-unit;
            padding-left: 10/@px-unit;
            padding-right: 10/@px-unit;
            text-align: right;
        }
        .slider-container {
            display: flex;
            flex-wrap: wrap;
            float: left;
            height: 100%;
        }
        .behind-operator-area {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            height: 100%;
        }
        .copyBtn{
            >span{
                width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                word-wrap: normal;
            }
            display: inline-block;
            width: 100%;
            overflow: hidden;
            flex-shrink: 1;
            text-overflow: ellipsis;
            white-space: nowrap;
            word-wrap: normal;
            vertical-align: middle;
        }
    .dayplan {
        position: relative;
        width: 100%;
        border: 1/@px-unit solid #e8e8e8; 
        background-color: #fff;
        cursor: pointer;
        box-sizing: border-box;
        
        
        
        &:last-of-type {
            border-bottom: none;
        }
        &:not(:last-of-type) {
            border-bottom: none;
        }
        .handle{
            position: absolute;
            width: 4/@px-unit;
            height: 80%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 999;
            
            
            background-color: #fff;
            border: solid 1/@px-unit #2680eb;
            
            -webkit-box-shadow: 0;
            box-shadow: 0;
            cursor: w-resize;
            -webkit-transition: border-color .3s,-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18, .89, .32, 1.28);
            transition: border-color .3s,-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18, .89, .32, 1.28);
            transition: border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18, .89, .32, 1.28);
            transition: border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18, .89, .32, 1.28),-webkit-box-shadow .6s,-webkit-transform .3s cubic-bezier(.18, .89, .32, 1.28);
            &:hover {
                border-color: #46a6ff;
            }
        }
        .track-wrapper {
            position: absolute;
            height: 100%;
            min-width: 2px;
        }
        .track{
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
            &.green  {
                background:@schedule-successColor;
            }
            &.yellow  {
                background:@schedule-warnColor;
            }
            &.red {
                background:@schedule-errorColor;
            }
			&.red-1 {
                background-color: #f54117;
            }
            &.green-2 {
                background-color: #0a9c02;
            }
            &.green-3 {
                background-color: #03aeac;
            }
            &.orange-1 {
                background-color: #ff7e16;
            }
            &.orange-2 {
                background-color: #fcac15;
            }
            &.orange-3 {
                background-color: #bc7c00;
            }
            &.blue-1 {
                background-color: #1890ff;
            }
            &.blue-2 {
                background-color: #2238c7;
            }
            &.purple-1 {
                background-color: #ac0dce;
            }
            &.purple-2 {
                background-color: #6e52fe;
            }
            &.customcolor {
                z-index: 5;
            }
        }
        .track-selected {
            z-index: 2;
            &.customcolor {
                z-index: 5;
            }
        }

        .handler-wrapper {
            position: absolute;
            pointer-events: none;
            border: 1/@px-unit solid #2680eb;
            width: 100%;
            height: 100%;
            z-index: 998;
        }
        :focus {
            outline: none;
        }
    }
    .grid-wrapper {
        display: flex;
        flex-wrap: nowrap;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: 2;
        pointer-events: none;
        .slider-grid {
            height: 100%;
            flex: 1;
            border-right: 1/@px-unit solid #e8e8e8;
            &:last-of-type {
                border-right: none;
            }
        }
    }
}
    .day-component-wrapper {
        position: relative;
        border: 1/@px-unit solid @schedule-dividerColor;
        .draw-rectangle {
            position: absolute;
            pointer-events: none;
            background-color: transparent;
            box-sizing: border-box;
            border: 1/@px-unit dashed #1890ff;
            z-index: 9999;
            width: 0;
            height: 0;
            left: 0;
            top: 0;
        }
        .vertical-ruler-mask {
            position: absolute;
            pointer-events: none;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            .mask-main-container {
                height: 100%;
            }
            .mask-main-content {
                position: relative;
                height: 100%;
                .cursor-icon {
                    position: absolute;
                    top: 0;
                    transform: translate(-48%, -100%);
                }
                .vertical-ruler {
                    height: 100%;
                    position: absolute;
                    border-left: 1/@px-unit solid #f7772c;
                }
                .ruler-time-string {
                    height: 32/@px-unit;
                    line-height: 32/@px-unit;
                    position: absolute;
                    font-size: 12/@px-unit;
                    color: #8c8c8c;
                    bottom: 0;
                    transform: translate(-50%, 100%);
                }
            }
        }
    }
    
    .header{
        
        line-height: 50/@px-unit;
        margin-bottom: 16/@px-unit;
        overflow: hidden;
        
        
        .status-container{
            
            
            float: left;
            .status-header {
                float: left;
                padding-right: 8/@px-unit;
            }
            .status-wrapper {
                float: left;
                padding-right: 10/@px-unit;
            }
            .compact-status-wrapper {
                float: left;
                cursor: pointer;
                padding-right: 10/@px-unit;
            }
            .compact-status-wrapper-selected {
                background-color: rgb(238, 238, 238);
            }
            .circle {
                content: '';
                height: 10/@px-unit;
                width: 10/@px-unit;
                display: inline-block;
                border-radius: 5/@px-unit;
                margin:0 10/@px-unit;
                &.green  {
                    background:@schedule-successColor;
                }
                &.yellow  {
                    background:@schedule-warnColor;
                }
                &.red {
                    background:@schedule-errorColor;
                }
            }
            p {
                display: inline;
            }
        }
        .button-container{
            float: right
        }
    }
    .customcolor {
        background-color: rgba(24,144,255,0.3);
        text-align: center;
        line-height: 59px;
    }
}

.timeSchedule-drawer{
    button:nth-child(1) {
        margin-right: 20/@px-unit;
    }
    .ant-drawer-body{
        .btnContainer{
            margin-top: 40/@px-unit;
            
        }
    }
}
.timeSchedule-modal {
    .ant-modal-body {
        max-width: 100%;
    }
    .timeSchedule-checkboxGroup-wrapper {
        .ant-checkbox-wrapper {
            height: 32/@px-unit;
            padding: 4/@px-unit 4/@px-unit 4/@px-unit 0;
        }
        .ant-checkbox-wrapper + .ant-checkbox-wrapper {
            margin-left: 0;
        }
    }
}

.red-1-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #f54117;
}
.green-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: @schedule-successColor;
}
.green-2-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #0a9c02;
}
.green-3-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #03aeac;
}

.orange-1-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #ff7e16;
}
.orange-2-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #fcac15;
}
.orange-3-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #bc7c00;
}

.blue-1-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #1890ff;
}

.blue-2-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #2238c7;
}

.purple-1-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #ac0dce;
}

.purple-2-options {
    display: inline-block;
    width: 12/@px-unit;
    height: 12/@px-unit;
    margin-right: 5/@px-unit;
    border-radius: 2/@px-unit;
    background-color: #6e52fe;
}
.modalOptions-header {
    margin-bottom: 10/@px-unit;
}
.modalOptions-badge-container {
    float: left;
    margin-left: 3/@px-unit;
    margin-right: 3/@px-unit;
}
.schedule-copy-popover {
    .ant-popover-content {
        width: 324/@px-unit;
        .ant-checkbox-wrapper {
            margin-left: 0;
            margin-top: 6/@px-unit;
            margin-bottom: 6/@px-unit;
        }
    }
    .timeSchedule-checkboxGroup-wrapper{
        .check-all {
            margin-bottom: 6/@px-unit;
        }
    }
    .popover-footer {
        display: flex;
        flex-direction: row-reverse;
        margin-top: 18/@px-unit;
        .apply-button {
            margin-left: 8/@px-unit;
        }
    }
}
.track-time-hover-popover {
    .ant-popover-inner-content {
        padding: 0;
        color: @font-color;
    }
    .time-hover-content {
        box-sizing: border-box;
        padding: 12/@px-unit 16/@px-unit 12/@px-unit 16/@px-unit;
    }
    
}
.track-time-popover {
    color: @font-color;
    .ant-time-picker ~ a {
        color: inherit;
        cursor: initial;
    }
    .ant-popover-inner-content {
        padding: 0/@px-unit;
    }
    .ant-time-picker-panel-addon {
        display: flex;
        flex-direction: row-reverse;
    }
    a {
        margin-left: 8/@px-unit;
        margin-right: 8/@px-unit;
    }
    .time-popover-content {
        display: flex;
        align-items: center;
        padding: 0;
        .confirm-icon {
            color: @font-color;
            margin-left: 14/@px-unit;
            font-size: 24/@px-unit;
            cursor: pointer;
        }
        .delete-icon {
            color: @font-color;
            margin-left: 8/@px-unit;
            font-size: 24/@px-unit;
            cursor: pointer;
        }
        .confirm-icon, .delete-icon {
            &:hover {
                color: #40A9FF;
            }
            &:active {
                color: #096DD9;
            }
        }
    }
    .start-timer-picker, .end-timer-picker {
        .ant-time-picker-panel-combobox {
            display: flex;
        }
    }
    .ant-popover-content .ant-popover-inner-content {
        overflow: visible;
        padding: 10px;
    }
    .methodLabel {
        display: inline-block;
        width: 108px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }
    .time-popover-actions {
        display: flex;
        justify-content: flex-end;
    }
    .labelText-wrapper {
        overflow: visible;
    }
}
@btnNormalColorNo1: #1890ff; 
@btnHoverColorNo2: #40a9ff; 
@btnPressedColorNo3: #096dd9; 
@titleColorNo4: #272727; 
@textColorNo5: #272727; 
@formContentColorNo6: #565656; 
@disableColorNo7: #8f8f8f; 
@listBorderColorNo8: #e8e8e8; 
@dividerColorNo9: #e8e8e8; 
@inputBorderColorNo10: #d9d9d9; 
@disableInputBgColorNo11: #f5f5f5; 
@firstNavBgColorNo12: #001529; 
@secondNavBgColorNo13: #ffffff; 
@secondNavHoverColorNo14: #e6f7ff; 
@contentBgColorNo15: #ffffff; 
@bodyBgColorNo16: #f0f2f5; 
@homePageNo1: #ffffff; 
@homePageNo2: #f0f2f5; 
@errorColorNo17: #f5222d; 
@warnColorNo18: #fcac15; 
@successColorNo19: #52c41a; 
@linkColorNo20: #1890ff; 

@schedule-dividerColorNo9: @dividerColorNo9;
@schedule-inputBorderColorNo10: @inputBorderColorNo10;
@schedule-listBorderColorNo8: @listBorderColorNo8;
@schedule-successColorNo19: @successColorNo19;
@schedule-warnColorNo18: @warnColorNo18;
@schedule-errorColorNo17: @errorColorNo17;
@schedule-textColorNo5: @textColorNo5;

._ScheduleComponent_ {
    padding: 16px;
    user-select: none;
    .ant-card-body {
        padding: 15px 24px 15px 24px;
    }
    .slider-container {
        position: relative;
    }
    .ant-tooltip-inner {
        color: @schedule-textColorNo5;
        padding: 0 8px;
    }
    .btnContainer {
        float: right;
        button:nth-child(1) {
            margin-right: 10px;
        }
    }
    .main-container {
        border: 1px solid @schedule-dividerColorNo9;
        border-bottom: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 9px 0 4px 0;
        overflow: visible;
        &:last-child {
            border-bottom: 1px solid @schedule-dividerColorNo9;
        }
    }
}
._ScheduleComponent_,
._DaySliderComponent_ {
    .rule-box {
        align-items: flex-end;
        height: 40px;
        background: @bodyBgColorNo16;
    }
    .copy-btn {
        margin-top: 5px;
        padding: 4px;
    }
    
    .timeplan-ruler {
        height: 14px;
        position: relative;
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        div {
            display: inline-block;
            height: 5px;
            border-left: 1px solid #555;
            box-sizing: border-box;
            &:last-child {
                border-right: 0;
                .ruler-text {
                    margin-left: -5px;
                }
            }
        }
        .ruler-text {
            position: absolute;
            bottom: 15px;
            margin-left: -5px;
            font: 11px/1 sans-serif;
            word-break: keep-all;
        }
        .hour {
            height: 10px;
        }
    }

    .main-container {
        .label {
            float: left;
            height: 100%;
            line-height: 45px;
            padding-left: 10px;
        }
        .dayName{
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        .slider-container {
            float: left;
        }
        .copyBtn {
            float: left;
            height: 45px;
            line-height: 45px;
        }
        .dayplan {
            position: relative;
            height: 11px;
            margin-top: 16px;
            margin-bottom: 8px;
            border: 1px solid @schedule-inputBorderColorNo10;
            
            background-color: @schedule-listBorderColorNo8;
            cursor: pointer;
            box-sizing: border-box;
            .handle {
                position: absolute;
                width: 15px;
                height: 15px;
                margin-top: -3px;
                margin-left: -7px;
                background-color: #fff;
                border: solid 2px #91d5ff;
                border-radius: 50%;
                -webkit-box-shadow: 0;
                box-shadow: 0;
                cursor: pointer;
                z-index: 1;
                -webkit-transition: border-color 0.3s, -webkit-box-shadow 0.6s,
                    -webkit-transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
                transition: border-color 0.3s, -webkit-box-shadow 0.6s,
                    -webkit-transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
                transition: border-color 0.3s, box-shadow 0.6s,
                    transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
                transition: border-color 0.3s, box-shadow 0.6s,
                    transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28), -webkit-box-shadow 0.6s,
                    -webkit-transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
                &:hover {
                    border-color: #46a6ff;
                }
            }
          
            .track {
                position: absolute;
                height: 100%;
                &.green {
                    background: @schedule-successColorNo19;
                }
                &.yellow {
                    background: @schedule-warnColorNo18;
                }
                &.red {
                    background: @schedule-errorColorNo17;
                }
            }
        }
    }

    
    .header {
        height: 50px;
        line-height: 50px;
        margin-bottom: 20px;
        
        .status-container {
            margin-bottom: 20px;
            float: left;
            .circle (...) {
                content: '';
                height: 10px;
                width: 10px;
                display: inline-block;
                border-radius: 5px;
                margin: 0 10px;
                background-color: @arguments;
            }
            span:nth-child(2) {
                &:before {
                    .circle(@schedule-successColorNo19);
                }
            }
            span:nth-child(3) {
                &:before {
                    .circle(@schedule-warnColorNo18);
                }
            }
            span:nth-child(4) {
                &:before {
                    .circle(@schedule-errorColorNo17);
                }
            }
        }
        .button-container {
            float: right;
        }
    }
    .onlyNormal-header {
        .status-container {
            display: none;
        }
    }
}
.timeSchedule-drawer {
    width: 100%;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.timer-box {
    height: 30px;
    display: inline-block;
    .ant-input {
        padding: 4px 0px;
        background-color: transparent;
    }
    .timer-input {
        width: 20px;
        min-width: 10px;
        float: left;
        height: 30px;
        text-align: center;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border: none;
        color: #272727;
        
        &:focus {
            border: transparent;
        }
    }
    .timer-point {
        float: left;
        vertical-align: baseline;
        margin: 0;
        padding: 3px;
        height: 30px;
        font-weight: bold;
    }
}


@btnNormalColorNo1: #1890ff; 
@btnHoverColorNo2: #40a9ff; 
@btnPressedColorNo3: #096dd9; 
@titleColorNo4: #272727; 
@textColorNo5: #272727; 
@formContentColorNo6: #565656; 
@disableColorNo7: #8f8f8f; 
@listBorderColorNo8: #e8e8e8; 
@dividerColorNo9: #e8e8e8; 
@inputBorderColorNo10: #d9d9d9; 
@disableInputBgColorNo11:#f5f5f5; 
@firstNavBgColorNo12: #001529; 
@secondNavBgColorNo13: #ffffff; 
@secondNavHoverColorNo14: #e6f7ff; 
@contentBgColorNo15: #ffffff; 
@bodyBgColorNo16: #f0f2f5; 
@homePageNo1:#ffffff;
@homePageNo2:#f0f2f5;
@errorColorNo17: #f5222d; 
@warnColorNo18: #fcac15; 
@successColorNo19: #52c41a; 
@linkColorNo20: #1890ff; 


@font-size-improtant: 14px; 
@font-size-normal: 12px; 
@color-border: @listBorderColorNo8; 
@border-color: @listBorderColorNo8; 
@border-normal: 1px solid @color-border; 
@sideMenuBackColor:#ebecf0;
@sideSubMenuTitleColor:linear-gradient(#f7f7f7,#dadde1);



@text-color:@textColorNo5;
@primary-color:@btnNormalColorNo1;




@topMenuTabActiveColor:#ffffff; 
@topMenuTabColor:#a6adb4; 
@tabArrowColor:@contentBgColorNo15; 
@tabArrowHoverColor:@btnNormalColorNo1;
@tabCloseColor:@contentBgColorNo15;
@tabBackGroundColor:@firstNavBgColorNo12;
@tabMenuTabHoverColor:#ffffff;
@tabDividerColor: rgba(255, 255, 255, 0.2);


@MenuViewPageSwitch:#AFC6E1;
@MenuViewActivePageSwitch:@linkColorNo20;
@MenuViewItemLineColor:#81B6FC;
@MenuViewBackGroundColor:@homePageNo1;
@MenuViewItemMessageColor:@disableColorNo7;
@MenuViewItemHoverColor:#ECF4FF;
@MenuViewCarouselColor:#7DB1EC;


@sideMenuBackGroundColor:@secondNavBgColorNo13; 
@sideMenuSelectedColor:#ECF4FF; 


@loginForgetPasswordHoverColor:#ffffff; 
@loginIconColor:@btnHoverColorNo2; 


@font-size-normal: 12rem; 

@skin-black: #001529;
@skin-blue: #1890ff;

@export-color:#1890ff;


@body-background: #F0F2F5;
@indexBgColor:#fff;
@normalColor:#52c41a;   
@warnColor:#fcac15;   
@errorColor:#f5222d;  


@font-color:#272727;
@white: #fff;
@baseColor:#ebecf0;
@success-color:#52c41a;
@error-color:#f5222d;
@label-light-Color:#ffffff;
@label-dark-Color:#666666;
@tab-active-color:#e6f7ff;



@deviceOffline: #8f8f8f;
@px-unit: 14rem; 


@neutral-fg-3-normal: #808e9d;








@width: 0, 10, 16, 20, 30, 50, 80, 100, 120, 160, 200, 220, 250, 280, 300, 320, 400;
@widthP: 0, 10, 16, 20, 30, 100;
@height: 0, 10, 16, 20, 30, 40;
@heightP: 0, 10, 16, 20, 30, 100;
@minWidth: 0, 10, 16, 20, 30, 100, 120, 140, 200, 250;
@maxWidth: 0, 10, 16, 20, 30, 100, 120, 140, 200, 250;
@minHeight: 0, 10, 16, 20, 30, 100;

.fn-wid(@name, @value) when(@name = width){
    .fn-wid@{value}{
        width: @value + 0px;
    }
}

.fn-wid(@name, @value) when(@name = widthp){
    .fn-widp@{value}{
        width: @value + 0%;
    }
}

.fn-wid(@name, @value) when(@name = height){
    .fn-hei@{value}{
        height: @value + 0px;
    }
}

.fn-wid(@name, @value) when(@name = heightp){
    .fn-heip@{value}{
        height: @value + 0%;
    }
}

.fn-wid(@name, @value) when(@name = minWidth){
    .fn-minwid@{value}{
        min-width: @value + 0px;
    }
}
.fn-wid(@name, @value) when(@name = maxWidth){
    .fn-maxwid@{value}{
        max-width: @value + 0px;
    }
}
.fn-wid(@name, @value) when(@name = minHeight){
    .fn-minhei@{value}{
        min-height: @value + 0px;
    }
}

.loopLen(@list, @name, @i:1) when (@i <= length(@list)) {
    .fn-wid(@name, extract(@list, @i));
    .loopLen(@list, @name, @i+1);
}



.loopLen(@width, width);
.loopLen(@widthP, widthp);
.loopLen(@height, height);
.loopLen(@heightP, heightp);
.loopLen(@minWidth, minWidth);
.loopLen(@maxWidth, maxWidth);
.loopLen(@minHeight, minHeight);





@margin: 0, 10, 16, 20, 30;
@marginLeft: 0, 5, 10, 15, 16, 20, 30, 40, 60, 90;
@marginRight: 0, 5, 10, 15, 20, 50;
@marginTop: 0, 5, 6, 10, 15, 16, 20, 22, 30, 40, 50;
@marginBottom:  0, 5, 10, 12, 14, 15, 16, 18, 20, 30, 40, 50, 80;



@padding: 0, 10, 16, 20, 30;
@paddingLeft: 5, 10, 15, 16, 20;
@paddingTop:  5, 10, 15, 20;
@paddingRight: 5, 10, 15, 16, 20;
@paddingBottom: 0, 5, 10, 15, 16, 20, 40, 50, 80;


.fn-mar(@name, @value) when(@name = margin){
    .fn-mar@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = margin-left){
    .fn-marl@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = margin-right){
    .fn-marr@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = margin-top){
    .fn-mart@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = margin-bottom){
    .fn-marb@{value}{
        @{name}: @value + 0px;
    }
}


.loopEdge(@list, @name, @i:1) when (@i <= length(@list)) {
    .fn-mar(@name, extract(@list, @i));
    .loopEdge(@list, @name, @i+1);
}



.loopEdge(@margin, margin);
.loopEdge(@marginLeft, margin-left);
.loopEdge(@marginTop, margin-top);
.loopEdge(@marginRight, margin-right);
.loopEdge(@marginBottom, margin-bottom);



.fn-mar(@name, @value) when(@name = padding){
    .fn-pad@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = padding-left){
    .fn-padl@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = padding-right){
    .fn-padr@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = padding-top){
    .fn-padt@{value}{
        @{name}: @value + 0px;
    }
}
.fn-mar(@name, @value) when(@name = padding-bottom){
    .fn-padb@{value}{
        @{name}: @value + 0px;
    }
}

.loopEdge(@padding, padding);
.loopEdge(@paddingLeft, padding-left);
.loopEdge(@paddingTop, padding-top);
.loopEdge(@paddingRight, padding-right);
.loopEdge(@paddingBottom, padding-bottom);



.m-fw-normal {
    font-weight: normal !important;
}

.m-fw-bold {
    font-weight: bold !important;
}

.m-fs-small {
    font-size: small;
}

.m-fs-15 {
    font-size: 1.25rem;
}

.m-fs-18 {
    font-size: 1.5rem;
}

.m-fs-43 {
    font-size: 43/12rem;
}


.m-lh-24 {
    line-height: 2rem;
}

.m-lh-28 {
    line-height: 2.3333333333333335rem;
}

.m-lh-30 {
    line-height: 2.5rem;
}

.m-lh-32 {
    line-height: 32/12rem;
}

.m-lh-32-4 {
    line-height: 2.7rem;
}

.m-lh-35 {
    line-height: 35/12rem;
}

.m-lh-40 {
    line-height: 40/12rem !important;
}



.m-cursor-default {
    cursor: default !important;
}


.m-cursor-pointer {
    cursor: pointer !important;
}


.m-cursor-crosshair {
    cursor: crosshair !important;
}


.m-cursor-move {
    cursor: move !important;
}


.m-cursor-text {
    cursor: text !important;
}


.m-cursor-wait {
    cursor: wait !important;
}


.m-cursor-help {
    cursor: help !important;
}


.m-cursor-notAllowed {
    cursor: not-allowed !important;
}

.m-vertical-top {
    vertical-align: top !important;
}

.m-vertical-middle {
    vertical-align: middle !important;
}

.m-vertical-bottom {
    vertical-align: bottom !important;
}

.m-vertical-text-bottom {
    vertical-align: text-bottom !important;
}

.m-text-center {
    text-align: center;
}

.m-text-left {
    text-align: left;
}

.m-text-right {
    text-align: right;
}

.m-inline-block {
    display: inline-block;
}

.m-visibility-hidden {
    visibility: hidden !important;
}

.m-overflow-hidden {
    overflow: hidden !important;
}

.m-overflow-initial {
    overflow: initial !important;
}

.m-opacity-0 {
    opacity: 0;
}

.m-ws-nowrap {
    white-space: nowrap;
}

.m-text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.m-b-none {
    border: none !important;
}

.m-bb-0 {
    border-bottom: 0 !important;
}
.rtl {
    
    .direction-clean {
        direction: ltr;
    }
    .ant-col {
        .text,
        .wrap-title {
            text-align: left;
            direction: rtl;
        }
    }
    .ant-menu-title-content {
        & > span[title] {
            display: inline-block;
            width: 100%;
            vertical-align: text-top;
            & > span:last-child {
                display: inline-block;
                width: calc(100% - 30px);
                overflow: hidden;
                text-overflow: ellipsis;
                text-align: left;
                direction: rtl;
            }
        }
    }
    .ant-form-item-explain {
        text-align: left;
        direction: rtl;
    }
    .label-normal-container .label-normal {
        text-align: left;
        direction: rtl;
    }
    .sideView-menu .ant-menu-item a{
        text-align: left;
        direction: rtl;
    }
    .z-sections .z-sections-title .title-left {
        text-align: left;
        direction: rtl;
    }
    ._SystemUpgrade_ .find-version, ._SystemUpgrade_ .wrap-title {
        text-align: left;
        direction: rtl;
    }
    
    .ant-alert {
        
        direction: rtl;
        .ant-alert-message {
            margin-right: 10px;
        }
    }
    .ant-form-item-label {
        text-align: left;
        direction: rtl;
    }
    .ant-table-thead > tr > th, .ant-table-tbody > tr > td {
        text-align: left;
        direction: rtl;
    }
    ._SAFESecurityStatus_  {
        ._SAFESecurityStatus_titleTip {
            text-align: left;
            direction: rtl;
        }
        ._SAFESecurityStatus_list{
            ._SAFESecurityStatus_listTitle{
                direction: rtl;
                text-align: left;
                .anticon {
                    margin-left: 5px;
                }
            }
             .item-list-name{
                direction: rtl;
            }
        }
        .ant-modal .detail-modal{
            .state-detailtip{
                direction: rtl;
                text-align: left;
                max-width: calc(100% - 255px);
                .detail-title-icon{
                    display: inline-block;
                    vertical-align: top;
                    margin-top: 4px 
                }
            }
            .detail-optimize-list {
                >div:last-child{
                    direction: rtl;
                    text-align: left;
                    display: inline-flex;
                }           
            }
        }
    }
    .ant-popover .ant-popover-content .ant-popover-inner .ant-popover-inner-content .icon-desc-popover{
        .icon-desc-title {
            .ant-row{
                direction: ltr;
                .ant-col-20,.ant-col-4 {
                    text-align: left;
                    direction: rtl;
                }
            }
        }
        :not(.icon-desc-title) {
            text-align: left;
            direction: rtl;
        }
    }
    .ant-modal {
        .ant-modal-content .ant-modal-header .ant-modal-title{
            direction: rtl;
            text-align: left
        }
        .ant-modal-body {
            .selectGetCert-radio-group .info {
                text-align: left;
                direction: rtl;
            }
            .ant-select .ant-select-selection-item{
                text-align: left;
                direction: rtl;
            }
        }
    }
    .ant-select-item .ant-select-item-option-content {
        text-align: left;
        direction: rtl;
    }
    .label-normal-wrapper,.ant-select-in-form-item  {
        .labelRadio-content-wrapper,.ant-select-selection-item{
            text-align: left;
            direction: rtl;
        }
    }
   .ant-radio-wrapper >span:not(.ant-radio){
        text-align: left;
        direction: rtl;
   }
    .ant-checkbox-group .ant-checkbox-group-item >span:not(.ant-checkbox){
        text-align: left;
        direction: rtl;
   }
   .wizard-step-content .devicetype-text{
        direction: rtl;
   }
   .wizard-wrap .ant-steps-item-title{
    direction: rtl;
   }
   ._OneClickDiagnosis_{
        .result-box__tip{
            direction: rtl;
            display: inline-block;
        }
        .check-box__lists .check-box__item .check-box__detail>span{
            direction: rtl;
            display: inline-block;
        }
   }
    .diagnosis-detail-modal  {
        .error-tip{
            .detail-modal__description {
                direction: rtl;
                display: inline-block;
            }
        }
        .error-item {
            .error-item__desc{
                direction: rtl;
                display: inline-block;
            }
        }
        .advice-item .error-item__advice{
            direction: rtl;
            display: inline-block;
        }
    }
   ._SAFESystemServices_ ._publicHttps_ ._publicHttps_row .wrap-title{
        direction: rtl;
   }
   ._SAFEAttackDefense_ .ant-tabs-nav-list .ant-tabs-tab{
        direction: rtl;
   }
   ._SAFESafetyWarning_ .ant-collapse-content .ant-checkbox-group .alertMessage{
        direction: rtl;
        display: inline-block;
        text-align: left;
   }
}
.fn-flex {
    display: flex;
}
.fn-flexcenter {
    align-items: center;
    justify-content: center;
}
.fn-flexbetween {
    align-items: center;
    justify-content: space-between;
}

.fn-flexauto {
    flex: 0 1 auto;
}

.ant-drawer-header {
    position: relative;
    .ant-drawer-close {
        position: absolute;
        right: 0;
        
    }
}

.label-div-Container {
    .ant-input-suffix {
        color: #808e9d;
    }
}

.ant-form-item{
    margin-bottom: 0 !important;
    font-size: 14/@px-unit !important;
}
.wrap-title{
    display: inline-block !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}

._ImgCheckBox_ {
    .imgCheckBox-outer{
        display:inline-block
      }
      .imgCheckBox-innner{
        width:120px;
        height:120px;
        
        padding: 20px;
        background-color: white;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center;
        border: 1px solid #C0C0C0;
        border-radius: 2px;
        
        align-items: center;
        box-sizing: border-box;
        vertical-align: top;
        display: flex;
        text-align: center;
        cursor: pointer;
        outline: none;
        position:relative;
        margin-right:10px;
        
        &:hover{
          border: 1px solid #0c8ada;
        }
        margin-bottom: 10px;

        .img-ModalPreview{
          position:absolute;
          height: 80%;
          width: 80%;
          left: 50%;
          top: 50%;
          padding: 15px 10px;
          transform: translate(-50%,-50%);
          background-color: rgba(0,0,0,0.5);
          display: flex;
          align-items: center;
          
          justify-content: center;
          opacity: 0;
          .img-eye{
            color: white;
            &:hover{
               cursor: pointer;
            }
          }
          &:hover{
            opacity: 1;
           
          }
        }
      }
      .imgCheckBox-checkbox{
          position:absolute;
          
          top:2px;
          left:5px;
      }
      .img-delete{
        position:absolute;
        right: -8px;
        top: -8px;
        color: red;
        font-size: 16px;
        background-color: white;
        cursor: pointer;
      }
      .imgCheckBox-img{
        position:absolute;
        height: 90%;
        width: 90%;
        left: 50%;
        top: 50%;
        padding: 15px 10px;
        transform: translate(-50%,-50%);
        display: flex;
        align-items: center;
        
        justify-content: center;
        
      }
     

     

}
._ImgSelect_ {
    .imgSelect-outer{
        display:inline-block;
        margin-right:5px;
      }
      .imgSelect-innner{
        display: inline-block;
        position:relative;
        background-image: url("/static/media/theme.50f8acf7.png");
        background-repeat: no-repeat;
        background-position: center;
        border: 1px solid #C0C0C0;
        border-radius: 2px;
        box-sizing: border-box;
        vertical-align: top;
        text-align: center;
        cursor: pointer;
        outline: none;
        &:hover{
          border: 1px solid #0c8ada;
          
        }
        .imgSelect-text{
          position: absolute;
          bottom:0;
          width:100%;
          left:0;
          right:0;
          height:24px;
          line-height:24px;
          font-size: 12px;
          color:#fff;
          z-index:10;
          background-color: #0c8ada;
        }
      }
      .imgSelect-title{
        width:100%;
        text-align: center;
      }
      .imgSelect-custom- {
        &theme1{
          background-position: 0 0;
        }
        &theme3{
          background-position: -100px 0;
        }
        &theme2{
          background-position: -200px 0;
        }
        &theme4doNotDistub{
          background-position: -300px 0;
        }
        &theme4exit{
          background-position: -400px 0;
        }
        &theme4duty{
          background-position: -500px 0;
        }
        &template1{
          background-position: 0 -140px;
        }
        &template2{
          background-position: -100px -140px;
        }
        &template3{
          background-position: -200px -140px;
        }
        &template4{
          background-position: -300px -140px;
        }
        &horizontal_theme3{
          background-position:-400px -140px;
        }
        &horizontal_theme1{
          background-position:-555px -140px;
        }
      }

}

.z-sections {
    border: @border-normal;
    .z-sections-title {
        padding-left: 15px;
        padding-right: 15px;
        border-bottom: @border-normal;
        line-height: 30px;
        .title-left {
            float: left;
            margin-bottom: 0;
            font-size: 14px;
            font-weight: bold;
        }
        .title-right {
            float: right;
        }
    }
    .z-sections-content {
        padding: 15px;
    }
    
    &.noline {
        border-top: none;
    }
    .row-lists > div {
        margin-bottom: 10px;
        &:last-child {
            margin-bottom: 0;
        }
    }
}
.fileInput{
    margin: 20px 0;
    .fileLabel{
        text-align: center;
        label{
            vertical-align: middle;
            display:inline-block;
            line-height: 32px;
        }
    }
    input[type="file"]{
        position: absolute;
        top:0;
        right: 0;
        opacity: 0;
        height: 32px;
        font-size: 100px;
        cursor: pointer;
    }
    .fn-hidden {
        overflow: hidden;
    }
    .uploadBtn{
        margin-left: 20px;
        position: relative;
        .ant-btn{
            min-width: 85px
        }
        form {
            display: inline-block;
        }
    }
    .fn-relative {
        position: relative;
        overflow: hidden;
    }
    .upload-input {
        width: 100%;
        z-index: 20;
    }
}
.fileUpdate{
    .updateBtn {
        position: relative;
        margin: 0 0 0 70px;
        .ant-btn {
            min-width: 85px
        }
        .ant-input {
            margin-top: -32px;
            display:none;
        }
    }
}


.fixed-button {
    margin-top: 10px;
    margin-bottom: 10px;
    &.halfwidth {
        width: 87.5%;
    }
    &.fullwidth {
        width: 100%;
    }
    button {
        display: inline-block;
        margin-right: 10px;
    }
    
    
    
    
    
    
}
.custom-dnd {
    margin-top: 20px;
    .imgCheckBox-innner {
        cursor: move;
    }
}
.custom-dnd-disabled {
    margin-top: 20px;
    .imgCheckBox-innner {
        cursor: pointer;
    }
}
.custom-dnd-context {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    .hightlight-line {
        position: absolute;
        margin-top: 20px;
        margin-right: 2px;
        width: 2px;
        height: 114px;
        border: 1px solid #1890ff;
        z-index: 2;
        &.hidden {
            display: none;
        }
    }
}


.passwordInput-security {
    -webkit-text-security:disc;
    -moz-text-security:disc;
    -ms-text-security:disc;
}
.postopendoor_modal{
    .ant-form-item-has-error .ant-form-item-explain,
    .ant-form-item-explain {
        margin-left: 137px;
    }
}   
.track_roomno{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    height: 100%;
}

.virtual-grid {
    overflow-x: hidden!important;
}
.virtual-table-cell {
    box-sizing: border-box;
    padding: 16px;
    border-bottom: 1px solid @color-border;
    .ant-btn {
        padding: 0;
        height: 24px;
    }
}
._PureFileInput_ {
    
}

._import_or_export_modal_ {
    @-webkit-keyframes fadeInDownBig {
        from {
          opacity: 0;
          -webkit-transform: translate3d(0, -2000px, 0);
          transform: translate3d(0, -2000px, 0);
        }
      
        to {
          opacity: 1;
          -webkit-transform: none;
          transform: none;
        }
      }
      
      @keyframes fadeInDownBig {
        from {
          opacity: 0;
          -webkit-transform: translate3d(0, -2000px, 0);
          transform: translate3d(0, -2000px, 0);
        }
      
        to {
          opacity: 1;
          -webkit-transform: none;
          transform: none;