.@{prefixClass} {
  position: relative;
  outline: none;
  font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif;
  width: 253px;
  border: 1px solid #ccc;
  list-style: none;
  font-size: 12px;
  text-align: left;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 5px #ccc;
  background-clip: padding-box;
  border: 1px solid #ccc;
  line-height: 1.5;

  &-date-panel, &-panel {
    position: relative;
    outline: none;
  }

  &-week-number {
    width: 286px;

    &-cell {
      text-align: center;
    }
  }

  &-header {
    padding: 0 10px;
    height: 34px;
    line-height: 30px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    border-bottom: 1px solid #ccc;

    > a {
      font-weight: bold;
      display: inline-block;
      padding: 0px 5px;
      line-height: 34px;
      text-align: center;
      width: 30px;

      &:hover {
        cursor: pointer;
        color: #23c0fa;
      }
    }

    .@{prefixClass}-prev-month-btn {
      position: absolute;
      left: 25px;

      &:after {
        content: '‹'
      }
    }

    .@{prefixClass}-next-month-btn {
      position: absolute;
      right: 25px;

      &:after {
        content: '›'
      }
    }
  }

  &-year-select, &-month-select, &-day-select {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    padding: 0 8px;
    line-height: 34px;

    &:hover {
      cursor: pointer;
      color: #23c0fa;
    }
    &.@{prefixClass}-time-status:hover{
      cursor: pointer;
      color: #666;
    }
  }

  &-prev-month-btn,
  &-next-month-btn,
  &-prev-year-btn,
  &-next-year-btn {
    position: absolute;
    top: 0;
    cursor: pointer;
    color: #999;
    font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
    padding: 0 5px;
    font-size: 16px;
    display: inline-block;
    line-height: 34px;

    &:hover {
      color: #23c0fa;
    }
  }

  &-next-year-btn {
    right: 0;

    &:after {
      content: '»'
    }
  }

  &-prev-year-btn {
    left: 0;

    &:after {
      content: '«'
    }
  }

  &-body {
    padding: 9px 10px 10px;
    height: 217px;
  }

  table {
    border-collapse: collapse;
    max-width: 100%;
    background-color: transparent;
    width: 100%;
  }

  table, td, th, td {
    border: none;
  }

  &-table {
    border-spacing: 0;
    margin-bottom: 0;
  }

  &-column-header {
    line-height: 18px;
    padding: 6px 0;
    width: 33px;
    text-align: center;
    .@{prefixClass}-column-header-inner {
      display: block;
      font-weight: normal;
    }
  }

  &-week-number-header {
    .@{prefixClass}-column-header-inner {
      display: none;
    }
  }

  &-cell {
    padding: 1px 0;
  }

  &-date {
    display: block;
    margin: 0 auto;
    color: #666;
    border-radius: 4px 4px;
    width: 26px;
    height: 26px;
    padding: 0;
    background: transparent;
    line-height: 26px;
    text-align: center;

    &:hover {
      background: #ebfaff;
      cursor: pointer;
    }
  }

  &-selected-day &-date {
    background: tint(#3fc7fa, 80%);
  }

  &-selected-date &-date {
    background: #1890FF;
    color: #fff;
    &:hover {
      background: #1890FF;
    }
  }

  &-today &-date {
    border: 1px solid #1890FF;
  }

  &-disabled-cell &-date {
    cursor: not-allowed;
    color: #bcbcbc;
    background: #f3f3f3;
    border-radius: 0;
    width: auto;

    &:hover {
      background: #f3f3f3;
    }
  }

  &-disabled-cell-first-of-row &-date {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }

  &-disabled-cell-last-of-row &-date {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  &-last-month-cell &-date, &-next-month-btn-day &-date {
    color: #bbb;
  }

  &-footer {
    border-top: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
    position: relative;

    .@{timePickerClass} {
      width: 90px;
      &-input {
        height: 24px;
      }
    }
    &-show-ok {
      text-align: right;
      .@{prefixClass} {
        &-footer-btn {
          padding-right: 12px;
        }

        &-time-picker-btn {
          margin-left: 0;
          padding: 0 12px;
        }
        &-today-btn {
          float: left;
          padding-left: 12px;
        }
      }
    }
  }

  &-footer-btn {
    margin-top: 2px;

    &:after {
      content: 'x';
      height: 0;
      font-size: 0;
      overflow: hidden;
      clear: both;
    }
  }

  &-time-picker-btn {
    margin-left: 10px;
  }

  &-today-btn, &-ok-btn, &-time-picker-btn {
    display: inline-block;
    text-align: center;
    color: #f46830;

    &:hover {
      cursor: pointer;
      color: #23c0fa;
    }

    &-disabled {
      color: #bbb;
      &:hover {
        color: #bbb;
      }
    }
  }

  &-today-btn {
    padding-left: 10px;
  }
}
.@{prefixClass}-decade-panel {
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #ffffff;
  z-index: 10;
  position: absolute;
  outline: none;
}

.@{prefixClass}-decade-panel-hidden {
  display: none;
}

.@{prefixClass}-decade-panel-header {
  padding: 0 10px;
  height: 34px;
  line-height: 34px;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: 1px solid #ccc;

  > a {
    font-weight: bold;
    display: inline-block;
    padding: 1px 5px;
    text-align: center;
    width: 30px;

    &:hover {
      cursor: pointer;
      color: #23c0fa;
    }
  }
}

.@{prefixClass}-decade-panel-prev-century-btn, .@{prefixClass}-decade-panel-next-century-btn {
  position: absolute;
  top: 0;
}

.@{prefixClass}-decade-panel-next-century-btn {
  &:after {
    content: '»'
  }
}

.@{prefixClass}-decade-panel-prev-century-btn {
  user-select: none;
  left: 0;
  &:after {
    content: '«'
  }
}

.@{prefixClass}-decade-panel-next-century-btn {
  user-select: none;
  right: 0;
}

.@{prefixClass}-decade-panel-body {
  padding: 9px 10px 10px;
  position: absolute;
  bottom: 0;
  top: 34px;
}

.@{prefixClass}-decade-panel-table {
  table-layout: fixed;
  width: 100%;
  height: 100%;
  border-collapse: separate;
}

.@{prefixClass}-decade-panel-cell {
  text-align: center;
}

.@{prefixClass}-decade-panel-decade {
  display: block;
  margin: 0 auto;
  color: #666;
  border-radius: 4px 4px;
  height: 36px;
  padding: 0;
  background: transparent;
  line-height: 36px;
  text-align: center;

  &:hover {
    background: #ebfaff;
    cursor: pointer;
  }
}

.@{prefixClass}-decade-panel-selected-cell .@{prefixClass}-decade-panel-decade {
  background: #1890FF;
  color: #fff;

  &:hover {
    background: #1890FF;
    color: #fff;
  }
}

.@{prefixClass}-decade-panel-last-century-cell, .@{prefixClass}-decade-panel-next-century-cell {
  .@{prefixClass}-decade-panel-decade{
    user-select: none;
    -webkit-user-select: none;
    color: rgba(0, 0, 0, 0.25);
  }
}
.input() {
  height: 25px;
  position: relative;
  display: inline-block;
  margin: 0 0;
  padding: 4px 10px;
  border-radius: 6px 6px;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  color: #666;
  line-height: 1.5;
  transform: border 0.3s cubic-bezier(0.35, 0, 0.25, 1), background 0.3s cubic-bezier(0.35, 0, 0.25, 1), box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1);

  &:hover {
    border-color: #23c0fa;
  }

  &:focus {
    border-color: #23c0fa;
    box-shadow: 0 0 3px #23c0fa;
  }
}
.@{prefixClass}-month-panel {
  left: 0;
  top:0;
  bottom: 0;
  right: 0;
  background: #ffffff;
  z-index: 10;
  position: absolute;
  outline: none;
}

.@{prefixClass}-month-panel-hidden {
  display: none;
}

.@{prefixClass}-month-panel-header {
  padding: 0 10px;
  height: 34px;
  line-height: 30px;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: 1px solid #ccc;

  > a {
    font-weight: bold;
    display: inline-block;
    padding: 4px 5px;
    text-align: center;
    width: 30px;

    &:hover {
      cursor: pointer;
      color: #23c0fa;
    }
  }
}

.@{prefixClass}-month-panel-prev-year-btn, .@{prefixClass}-month-panel-next-year-btn {
  position: absolute;
  top: 0;
}

.@{prefixClass}-month-panel-next-year-btn {
  &:after {
    content: '»'
  }
}

.@{prefixClass}-month-panel-prev-year-btn {
  user-select: none;
  left: 0;

  &:after {
    content: '«'
  }
}

.@{prefixClass}-month-panel .@{prefixClass}-month-panel-year-select {
  width: 180px;
}

.@{prefixClass}-month-panel-year-select-arrow {
  display: none;
}

.@{prefixClass}-month-panel-next-year-btn {
  user-select: none;
  right: 0;
}

.@{prefixClass}-month-panel-body {
  padding: 9px 10px 10px;
  position: absolute;
  top: 34px;
  bottom: 0;
}

.@{prefixClass}-month-panel-table {
  table-layout: fixed;
  width: 100%;
  height: 100%;
  border-collapse: separate;
}

.@{prefixClass}-month-panel-cell {
  text-align: center;



  .@{prefixClass}-month-panel-month {
    display: block;
    width: 46px;
    margin: 0 auto;
    color: #666;
    border-radius: 4px 4px;
    height: 36px;
    padding: 0;
    background: transparent;
    line-height: 36px;
    text-align: center;

    &:hover {
      background: #ebfaff;
      cursor: pointer;
    }
  }

  &-disabled{
    .@{prefixClass}-month-panel-month {
      color: #bfbfbf;

      &:hover {
        background: white;
        cursor: not-allowed;
      }
    }
  }
}

.@{prefixClass}-month-panel-selected-cell .@{prefixClass}-month-panel-month {
  background: #1890FF;
  color: #fff;

  &:hover {
    background: #1890FF;
    color: #fff;
  }
}

.@{prefixClass}-month-header-wrap {
  position: relative;
  height: 308px;
}
.@{prefixClass} {
  &-picker {
    .effect() {
      animation-duration: .3s;
      animation-fill-mode: both;
      transform-origin: 0 0;
      display: block !important;
    }

    &-slide-up-enter {
      .effect();
      opacity: 0;
      animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
      animation-play-state: paused;
    }

    &-slide-up-appear {
      .effect();
      opacity: 0;
      animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
      animation-play-state: paused;
    }

    &-slide-up-leave {
      .effect();
      opacity: 1;
      animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
      animation-play-state: paused;
    }

    &-slide-up-enter&-slide-up-enter-active&-placement-bottomLeft,
    &-slide-up-enter&-slide-up-enter-active&-placement-bottomRight,
    &-slide-up-appear&-slide-up-appear-active&-placement-bottomLeft,
    &-slide-up-appear&-slide-up-appear-active&-placement-bottomRight {
      animation-name: rcDropdownSlideUpIn;
      animation-play-state: running;
    }

    &-slide-up-enter&-slide-up-enter-active&-placement-topLeft,
    &-slide-up-enter&-slide-up-enter-active&-placement-topRight,
    &-slide-up-appear&-slide-up-appear-active&-placement-topLeft,
    &-slide-up-appear&-slide-up-appear-active&-placement-topRight {
      animation-name: rcDropdownSlideDownIn;
      animation-play-state: running;
    }

    &-slide-up-leave&-slide-up-leave-active&-placement-bottomLeft,
    &-slide-up-leave&-slide-up-leave-active&-placement-bottomRight {
      animation-name: rcDropdownSlideUpOut;
      animation-play-state: running;
    }

    &-slide-up-leave&-slide-up-leave-active&-placement-topLeft,
    &-slide-up-leave&-slide-up-leave-active&-placement-topRight {
      animation-name: rcDropdownSlideDownOut;
      animation-play-state: running;
    }

    @keyframes rcDropdownSlideUpIn {
      0% {
        opacity: 0;
        transform-origin: 0% 0%;
        transform: scaleY(0);
      }
      100% {
        opacity: 1;
        transform-origin: 0% 0%;
        transform: scaleY(1);
      }
    }

    @keyframes rcDropdownSlideUpOut {
      0% {
        opacity: 1;
        transform-origin: 0% 0%;
        transform: scaleY(1);
      }
      100% {
        opacity: 0;
        transform-origin: 0% 0%;
        transform: scaleY(0);
      }
    }

    @keyframes rcDropdownSlideDownIn {
      0% {
        opacity: 0;
        transform-origin: 100% 100%;
        transform: scaleY(0);
      }
      100% {
        opacity: 1;
        transform-origin: 100% 100%;
        transform: scaleY(1);
      }
    }
    @keyframes rcDropdownSlideDownOut {
      0% {
        opacity: 1;
        transform-origin: 100% 100%;
        transform: scaleY(1);
      }
      100% {
        opacity: 0;
        transform-origin: 100% 100%;
        transform: scaleY(0);
      }
    }
  }
}


.@{prefixClass}-time-input {
  .input();
  width:40px;
}
.@{prefixClass}-time-panel {
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #ffffff;
  z-index: 10;
  position: absolute;
  outline: none;
}

.@{prefixClass}-time-panel-header {
  padding: 0 10px;
  height: 34px;
  line-height: 34px;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: 1px solid #ccc;
}

.@{prefixClass}-time-panel-body {
  padding: 9px 10px 10px;
}

.@{prefixClass}-time-panel-title {
  width: 180px;
  font-weight: bold;
  display: inline-block;
  padding: 4px 5px;
  text-align: center;
  height: 30px;
  line-height: 22px;
  border-radius: 4px;
}


.@{prefixClass}-time-panel-table {
  table-layout: fixed;
  width: 100%;
  height:255px;
  border-collapse: separate;
}

.@{prefixClass}-time-panel-cell {
  text-align: center;
  height: 42px;
  vertical-align: middle;
}

.@{prefixClass}-time-panel-time {
  line-height: 26px;
  display: block;
  border-radius: 4px;
  width:26px;
  margin: 0 auto;

  &:hover {
    background: #ebfaff;
    cursor: pointer;
  }
}


.@{prefixClass}-time-panel-selected-cell .@{prefixClass}-time-panel-time {
  background: #1890FF;
  color: #fff;

  &:hover {
    background: #1890FF;
    color: #fff;
  }
}
.@{prefixClass}-year-panel {
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #ffffff;
  z-index: 10;
  position: absolute;
  outline: none;
}

.@{prefixClass}-year-panel-hidden {
  display: none;
}

.@{prefixClass}-year-panel-header {
  padding: 0 10px;
  height: 34px;
  line-height: 30px;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: 1px solid #ccc;

  > a {
    font-weight: bold;
    display: inline-block;
    padding: 4px 5px;
    text-align: center;
    width: 30px;

    &:hover {
      cursor: pointer;
      color: #23c0fa;
    }
  }
}

.@{prefixClass}-year-panel-prev-decade-btn, .@{prefixClass}-year-panel-next-decade-btn {
  position: absolute;
  top: 0;
}

.@{prefixClass}-year-panel-next-decade-btn {
  &:after {
    content: '»'
  }
}

.@{prefixClass}-year-panel-prev-decade-btn {
  user-select: none;
  left: 0;

  &:after {
    content: '«'
  }
}

.@{prefixClass}-year-panel .@{prefixClass}-year-panel-decade-select {
  width: 180px;
}

.@{prefixClass}-year-panel-decade-select-arrow {
  display: none;
}

.@{prefixClass}-year-panel-next-decade-btn {
  user-select: none;
  right: 0;
}

.@{prefixClass}-year-panel-body {
  padding: 9px 10px 10px;
  position: absolute;
  bottom: 0;
  top: 34px;
}

.@{prefixClass}-year-panel-table {
  table-layout: fixed;
  width: 100%;
  height: 100%;
  border-collapse: separate;
}

.@{prefixClass}-year-panel-cell {
  text-align: center;
}

.@{prefixClass}-year-panel-year {
  display: block;
  width: 46px;
  margin: 0 auto;
  color: #666;
  border-radius: 4px 4px;
  height: 36px;
  padding: 0;
  background: transparent;
  line-height: 36px;
  text-align: center;

  &:hover {
    background: #ebfaff;
    cursor: pointer;
  }
}

.@{prefixClass}-year-panel-selected-cell .@{prefixClass}-year-panel-year {
  background: #1890FF;
  color: #fff;

  &:hover {
    background: #1890FF;
    color: #fff;
  }
}

.@{prefixClass}-year-panel-last-decade-cell, .@{prefixClass}-year-panel-next-decade-cell {
  .@{prefixClass}-year-panel-year{
    user-select: none;
    -webkit-user-select: none;
    color: rgba(0, 0, 0, 0.25);
  }
}













.sdd-checkboxGroup-container {
    width: 100%;
    .labelCheckbox-content-wrapper {
        display: inline-flex;
    }
    .labelCheckboxGroup {
        label.ant-checkbox-wrapper {
            margin-left: 0;
            margin-right: 8/@px-unit;
            &:last-of-type {
                margin-right: 0/@px-unit;
            }
        }
    }
    .sdd-vertical-checkboxGroup {
        label.ant-checkbox-wrapper {
            margin-left: 0;
            margin-right: 0/@px-unit;
        }
    }
}
// .label-normal-wrapper {
//     .ant-checkbox-group {
//         .ant-checkbox-wrapper {
//             margin-left: 0;
//             margin-right: 24/@px-unit;
//             &:last-of-type {
//                 margin-right: 0;
//             }
//         }
//     }
// }


@CheckboxInnerMaxWidth: 24/@px-unit;

.sdd-checkbox-container {
    display: inline-block;
    width: 100%;
    .labelCheckbox {
        width: 100%;
    }
    .ant-checkbox + span {
        display: inline-block;
    }
    .labelCheckbox-content-wrapper {
        display: inline-flex;
        width: 100%;
    }
}
// 指定了wrapWith才赋值计算宽度，否则wrapWidth为auto情况下因为短了8px会自动省略
.label-custom-wrapper {
    .sdd-checkbox-container {
        .ant-checkbox + span {
            width: calc(100% - @CheckboxInnerMaxWidth);
        }    
    }
}



.LabelFileReader-IEInput{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:999;
    opacity:0;
}

.IE-submit-button {
    position:relative;
    float:left;
    margin-left: 8/@px-unit;
}
.IE-sdd-form {
    height:0;
    width:0;
    opacity:0;
}
.upload-sdd-button {
    float: left;
    margin-left: 8/@px-unit;
}
.select-btn {
    float: left;
    margin-left: 8/@px-unit;
}
input.ant-input.fileReader-input {
    width: 200/@px-unit;
    float: left;
}




@IPV4-baseColor: @SddContentBgColor; // 背景色
@IPV4-inputBorderColor: @SddInputBorderColor; // 边框颜色
@IPV4-disabledColor:@SddDisableInputBgColor; // disable背景色
@IPV4-borderColor: @SddInputBorderColorNo1; // 聚焦状态边框颜色
@IPV4-explainColor: @SddErrorColor; //错误提示颜色

.Loop(@index) when(@index<7){
    input:nth-child(@{index}){
        border-left: none;
        border-right: none;
    }
    //递归调用 达到循环目的
    .Loop(@index+1);
 
}
.LabelIPV4 {
    .mac-input {
        position: relative;
        ime-mode: disabled;
        width: 22%;
        background-color: @IPV4-baseColor;
        border: 1/@px-unit solid @IPV4-inputBorderColor;
        text-align: center;
        border-radius: 0;
        border-left: none;
        vertical-align: top;
        border-right: none;
        padding: 4/@px-unit 4/@px-unit;
        margin-right: 0/@px-unit;
        // height: 32/@px-unit;
        box-shadow: none;
        transition: none;
        &:first-of-type {
            border-radius: 2/@px-unit 0 0 2/@px-unit;
            border-left: 1/@px-unit solid @IPV4-inputBorderColor
        }
        &:last-of-type {
            border-radius: 0 2/@px-unit 2/@px-unit 0;
            border-right: 1/@px-unit solid @IPV4-inputBorderColor
        }

    }
    .input-enabled {
        &.ipt-focus {
            border: 1/@px-unit solid @IPV4-borderColor;
            outline: 0;
            &:first-of-type {
                border-right: none;
            }
            &:nth-of-type(3){
                border-left: none;
                border-right: none;
            }
            &:nth-of-type(5){
                border-left: none;
                border-right: none;
            }
            &:last-of-type {
                border-left: none;
            }
        }

    }
    .mac-point {
        background-color: @IPV4-baseColor;
        vertical-align: top;
        padding: 4/@px-unit 0 4/@px-unit 0;
        text-align: center;
        border-radius: 0;
        width: 4%;
        margin-right: 0/@px-unit;
        font-weight: bold;
        border: none;
        transition: none;
        border-top: 1/@px-unit solid @IPV4-inputBorderColor;
        border-bottom:  1/@px-unit solid @IPV4-inputBorderColor;
        &:hover {
            border-top: 1/@px-unit solid @IPV4-borderColor !important;
            border-bottom:  1/@px-unit solid @IPV4-borderColor !important;
        }
        &:disabled {
            cursor: default;
        }
        &.dot-focus {
            border-top: 1/@px-unit solid @IPV4-borderColor;
            border-bottom: 1/@px-unit solid @IPV4-borderColor;
            border-left: none;
            border-right: none;
            outline: 0;
        }

    }
    .mac-point.input-disabled {
        cursor: not-allowed;
    }
    .input-disabled {
        background-color: @IPV4-disabledColor;
    }
    .ant-input-group.ant-input-group-compact > *:not(:last-child) {
        margin-right: 0/@px-unit;
        border-right-width: 0/@px-unit;
    }
    &:hover {
        .ant-input {
            border: 1/@px-unit solid @IPV4-borderColor;
            &:first-of-type {
                border-color: @IPV4-borderColor;
                border-right: none;
            }
            &:last-of-type {
                border-color: @IPV4-borderColor;
                border-left: none;
            }
        }
        .Loop(2);
        .input-disabled {
            border-color: @IPV4-inputBorderColor;
            &:first-of-type {
                border-color: @IPV4-inputBorderColor;
            }
            &:last-of-type {
                border-color: @IPV4-inputBorderColor;
            }
        }
        
    }
}
.has-error {
    .LabelIPV4 {
        .ant-input{
            border: 1/@px-unit solid @IPV4-explainColor;
            border-radius: 0;
            border-left: none;
            border-right: none;
            &:first-of-type {
                border-radius: 2/@px-unit 0 0 2/@px-unit;
                border-left: 1/@px-unit solid @IPV4-explainColor
            }
            &:last-of-type {
                border-radius: 0 2/@px-unit 2/@px-unit 0;
                border-right: 1/@px-unit solid @IPV4-explainColor
            }
            box-shadow: none;
        }
        &:hover {
            input {
                &:first-of-type {
                    border-color: @IPV4-explainColor;
                    border-right: none;
                }
                &:last-of-type {
                    border-color: @IPV4-explainColor;
                    border-left: none;
                }
            }
            .Loop(2)
        }
    }
}


.LabelIPV6 {
  display: flex;
  .ipv6-separator {
    display: inline-block;
    width:30px;
    height: 32px;
    text-align: center;
    line-height: 32px;
  }
  .ipv6-number {
    width:104px;
  }
}



.label-textArea  {
    width: 350/@px-unit;
}


@macInput-baseColor: @SddContentBgColor;// 背景色
@macInput-inputBorderColor: @SddInputBorderColor;// 边框颜色
@macInput-disabledColor:@SddDisableInputBgColor;// disable背景色
@macInput-borderColor: @SddInputBorderColorNo1;// 聚焦状态边框颜色
@macInput-explainColor: @SddErrorColor;//错误提示颜色

.LoopMac(@index) when(@index<11){
    .ant-input:nth-child(@{index}){
        border-left: none;
        border-right: none;
    }
    //递归调用 达到循环目的
    .LoopMac(@index+1);
 
}
.LabelMac {
    .mac-input {
        width: 15%;
        background-color: @macInput-baseColor;
        ime-mode: disabled;
        border: 1/@px-unit solid @macInput-inputBorderColor;
        text-align: center;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 4/@px-unit 4/@px-unit;
        margin-right: 0/@px-unit;
        vertical-align: top;
        box-shadow: none;
        transition: none;
        &:first-of-type {
            border-radius: 2/@px-unit 0 0 2/@px-unit;
            border-left: 1/@px-unit solid @macInput-inputBorderColor
        }
        &:last-of-type {
            border-radius: 0 2/@px-unit 2/@px-unit 0;
            border-right: 1/@px-unit solid @macInput-inputBorderColor
        }

    }
    .input-enabled {
        &.ipt-focus {
            border: 1/@px-unit solid @macInput-borderColor;
            outline: 0;
            &:first-of-type {
                border-right: none;
            }
            &:nth-of-type(3){
                border-left: none;
                border-right: none;
            }
            &:nth-of-type(5){
                border-left: none;
                border-right: none;
            }
            &:nth-of-type(7){
                border-left: none;
                border-right: none;
            }
            &:nth-of-type(9){
                border-left: none;
                border-right: none;
            }
            &:last-of-type {
                border-left: none;
            }
        }

    }
    .mac-point {
        background-color: @macInput-baseColor;
        text-align: center;
        vertical-align: top;
        padding: 4/@px-unit 0 4/@px-unit 0;
        border-radius: 0;
        width: 2%;
        margin-right: 0/@px-unit;
        font-weight: bold;
        border: none;
        transition: none;
        border-top: 1/@px-unit solid @macInput-inputBorderColor;
        border-bottom:  1/@px-unit solid @macInput-inputBorderColor;
        &:disabled {
            cursor: default;
        }
        &:hover {
            border-top: 1/@px-unit solid @macInput-inputBorderColor;
            border-bottom: 1/@px-unit solid @macInput-inputBorderColor;
        }
        &.dot-focus {
            border-top: 1/@px-unit solid @macInput-borderColor;
            border-bottom: 1/@px-unit solid @macInput-borderColor;
            border-left: none;
            border-right: none;
            outline: 0;
        }

    }
    .mac-point.input-disabled {
        cursor: not-allowed;
    }
    .input-disabled {
        background-color: @macInput-disabledColor;
    }
    .ant-input-group.ant-input-group-compact > *:not(:last-child) {
        margin-right: 0/@px-unit;
        border-right-width: 0/@px-unit;
    }
    &:hover {
        .ant-input {
            border: 1/@px-unit solid @macInput-borderColor;
            &:first-of-type {
                border-color: @macInput-borderColor;
                border-right: none;
            }
            &:last-of-type {
                border-color: @macInput-borderColor;
                border-left: none;
            }
        }
        .LoopMac(2);
        .input-disabled {
            border-color: @macInput-inputBorderColor;
            &:first-of-type {
                border-color: @macInput-inputBorderColor;
            }
            &:last-of-type {
                border-color: @macInput-inputBorderColor;
            }
        }
    }
}
.has-error {
    .LabelMac {
        .ant-input{
            border: 1/@px-unit solid @macInput-explainColor;
            border-radius: 0;
            border-left: none;
            border-right: none;
            &:first-of-type {
                border-radius: 2/@px-unit 0 0 2/@px-unit;
                border-left: 1/@px-unit solid @macInput-explainColor
            }
            &:last-of-type {
                border-radius: 0 2/@px-unit 2/@px-unit 0;
                border-right: 1/@px-unit solid @macInput-explainColor
            }
            box-shadow: none;
        }
        &:hover {
            .ant-input {
                &:first-of-type {
                    border-color: @macInput-explainColor;
                    border-right: none;
                }
                &:last-of-type {
                    border-color: @macInput-explainColor;
                    border-left: none;
                }
            }
            .LoopMac(2)
        }
    }
}



@LabelNumberAreaIconWidth : 12/@px-unit;
@LabelNumberAreaIconWidthSub : 13/@px-unit;
.labelNumberArea-numberInput {
    float: left;
    width: calc((100% - @LabelNumberAreaIconWidthSub) / 2);
}
.labelNumberArea-icon {
    float: left;
    width: @LabelNumberAreaIconWidth;
    text-align: center;
}



@SddPasswordCheckStatusWeakColor:@SddErrorColor; // 弱密码颜色
@SddPasswordCheckStatusMiddleColor:@SddWarnColor; // 中密码颜色
@SddPasswordCheckStatusStrongColor:@SddSuccessColor; // 强密码颜色
.label-passwordCheck-tip {
    float: left;
    border-radius: 4/@px-unit;
    background-color: @SddPasswordCheckStatusbgColor;
    height: 5/@px-unit;
    width: 30%;
    margin: 0 2/@px-unit;
    margin-top: 8/@px-unit;
    -webkit-transition: background-color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: background-color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.label-passwordCheck-status-weak-1 {
    background-color: @SddPasswordCheckStatusWeakColor;
}
.label-passwordCheck-status-middle-1 {
    background-color: @SddPasswordCheckStatusMiddleColor;
}
.label-passwordCheck-status-middle-2 {
    background-color: @SddPasswordCheckStatusMiddleColor;
}

.label-passwordCheck-status-strong-1 {
    background-color: @SddPasswordCheckStatusStrongColor;
}
.label-passwordCheck-status-strong-2 {
    background-color: @SddPasswordCheckStatusStrongColor;
}
.label-passwordCheck-status-strong-3 {
    background-color: @SddPasswordCheckStatusStrongColor;
}


@RadioInnerMaxWidth: 24/@px-unit;

.sdd-radio-container {
    display: inline-block;
    width: 100%;
    .labelRadio {
        width: 100%;
    }
    .ant-radio + span {
        display: inline-block;
    }
    .labelRadio-content-wrapper {
        display: inline-flex;
        width: 100%;
    }
}

// 指定了wrapWith才赋值计算宽度，否则wrapWidth为auto情况下因为短了8px会自动省略
.label-custom-wrapper {
    .sdd-radio-container {
        .ant-radio + span {
            width: calc(100% - @RadioInnerMaxWidth);
        }    
    }
}




.sdd-vertical-radioGroup {
    height: auto;
}

.sdd-radioGroup-container {
    width: 100%;
    .labelRadio-content-wrapper {
        display: inline-flex;
    }
}

// .label-normal-wrapper {
//     .ant-radio-group {
//         .ant-radio-wrapper {
//             margin-right: 24/@px-unit;
//             &:last-of-type {
//                 margin-right: 0;
//             }
//         }
//     }
// }



/**
* Rangeslider
*/
.rangeslider {
  margin: 12/@px-unit 0 18/@px-unit 0;
  position: relative;
  background: #e6e6e6;
  -ms-touch-action: none;
  touch-action: none;

  &,
  .rangeslider__fill {
    display: block;
    box-shadow: inset 0 1/@px-unit 3/@px-unit rgba(0, 0, 0, 0.4);
  }
  .rangeslider__handle {
    background: #fff;
    border: 1/@px-unit solid #ccc;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    outline: none;
    box-shadow: 0 1/@px-unit 3/@px-unit rgba(0, 0, 0, 0.4), 0 -1/@px-unit 3/@px-unit rgba(0, 0, 0, 0.4);
    .rangeslider__active {
      opacity: 1;
    }
  }

  .rangeslider__handle-tooltip {
    width: 40/@px-unit;
    height: 40/@px-unit;
    text-align: center;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    font-weight: normal;
    font-size: 14/@px-unit;
    transition: all 100ms ease-in;
    border-radius: 4/@px-unit;
    display: inline-block;
    color: white;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    span {
      margin-top: 12/@px-unit;
      display: inline-block;
      line-height: 100%;
    }
    &:after {
      content: ' ';
      position: absolute;
      width: 0;
      height: 0;
    }
  }
}

/**
* Rangeslider - Horizontal slider
*/
.rangeslider-horizontal {
  height: 8/@px-unit;
  border-radius: 10/@px-unit;
  .rangeslider__fill {
    height: 100%;
    background-color: @SddlinkColor;
    border-radius: 10/@px-unit;
    top: 0;
  }
  .rangeslider__handle {
    width: 12/@px-unit;
    height: 12/@px-unit;
    border-radius: 30/@px-unit;
    top: -10%;
  }
  .rangeslider__handle-tooltip {
    top: -55/@px-unit;
    &:after {
      border-left: 8/@px-unit solid transparent;
      border-right: 8/@px-unit solid transparent;
      border-top: 8/@px-unit solid rgba(0, 0, 0, 0.8);
      left: 50%;
      bottom: -8/@px-unit;
      transform: translate3d(-50%, 0, 0);
    }
  }
}

/**
* Rangeslider - Vertical slider
*/
.rangeslider-vertical {
  margin: 20/@px-unit auto;
  height: 150/@px-unit;
  max-width: 8/@px-unit;
  background-color: transparent;

  .rangeslider__fill,
  .rangeslider__handle {
    position: absolute;
  }

  .rangeslider__fill {
    width: 100%;
    background-color: @SddlinkColor;
    box-shadow: none;
    bottom: 0;
  }
  .rangeslider__handle {
    width: 12/@px-unit;
    height: 12/@px-unit;
    left: -2/@px-unit;
    border-radius: 50%;
    box-shadow: none;
  }
  .rangeslider__handle-tooltip {
    left: -100%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    &:after {
      border-top: 8/@px-unit solid transparent;
      border-bottom: 8/@px-unit solid transparent;
      border-left: 8/@px-unit solid rgba(0, 0, 0, 0.8);
      left: 100%;
      top: 12/@px-unit;
    }
  }
}

/**
* Rangeslider - Reverse
*/

.rangeslider-reverse {
  &.rangeslider-horizontal {
    .rangeslider__fill {
      right: 0;
    }
  }
  &.rangeslider-vertical {
    .rangeslider__fill {
      top: 0;
      bottom: inherit;
    }
  }
}

/**
* Rangeslider - Labels
*/
.rangeslider__labels {
  .rangeslider-vertical & {
    position: relative;
    list-style-type: none;
    margin: 0 0 0 24/@px-unit;
    padding: 0;
    text-align: left;
    width: 250/@px-unit;
    height: 100%;
    left: 10/@px-unit;

    .rangeslider__label-item {
      position: relative;
      transform: translate3d(0, -50%, 0);
      &::before {
        content: '';
        width: 10/@px-unit;
        height: 2/@px-unit;
        background: black;
        position: absolute;
        left: -14/@px-unit;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
      }
    }
  }

  .rangeslider__label-item {
    position: absolute;
    font-size: 14/@px-unit;
    cursor: pointer;
    display: inline-block;
    top: 8/@px-unit;
    transform: translate3d(-50%, 0, 0);
  }
}


.labelSlider-float-left{
    float: left;
    width: 14/@px-unit;
    cursor: pointer;
}
.labelSlider-float-right{
    float: right;
    width: 14/@px-unit;
    cursor: pointer;
}
.labelSlider-center {
    margin:0 14/@px-unit;
}
.ant-slider {
    margin-top: 10px !important;
}
.cursor-not-allowed {
    cursor: not-allowed;
}


.sdd-swtich-contianer {
    font-size: 0;
}


.labelText-wrapper{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.virtual-text-wrapper {
    position: relative;
    overflow-x: hidden;
}


.labelTimeRangePicker ~ a {
    color: inherit;
    cursor: initial;
}



section.sdd-layout {
    background-color: inherit;

    .sdd-layout-header {
        display: flex;
        padding: 0;

        // background-color: inherit;
        .header-item {
            flex-shrink: 0;
        }

        .logo-wrapper {
            display: flex;

            .logo-divider {
                width: 5/@px-unit;
                text-align: center;

                .ant-divider {
                    background-color: @SddLayoutHeaderDividerColor;
                    margin-left: 0;
                    margin-right: 0;
                }
            }
        }

        .header-menu-wrapper {
            flex-grow: 1;
            padding-right: 32/@px-unit;
            min-width: 80/@px-unit;
            overflow: hidden;

            .menu-content-wrapper {
                display: flex;

                .menu-content {
                    overflow: hidden;

                    .menu-content-children {
                        position: relative;
                        transition: left .3s linear;

                    }
                }

                .menu-turn-left,
                .menu-turn-right {
                    cursor: pointer;
                    position: relative;
                    z-index: 999;
                    color: @SddLayoutHeaderButtonColor;
                    text-align: center;
                    width: 40/@px-unit;
                    flex-shrink: 0;

                    &:hover {
                        color: @SddLayoutHeaderButtonHoverColor;
                        background-color: @SddLayoutHeaderButtonHoverBgColor;
                    }
                }

                .left-button,
                .right-button {
                    font-size: 16/@px-unit;
                    padding: 0;
                }
                .tab-icon {
                    color: @SddLayoutHeaderButtonColor;
                }
            }
        }

        .sdd-tab-list {
            white-space: nowrap;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            -khtml-user-select: none;
            user-select: none;

            .sdd-tab-item {
                display: inline-block;
                text-align: center;
                color: @SddLayoutHeaderButtonColor;
                padding-left: 16/@px-unit;
                padding-right: 12/@px-unit;
                min-width: 64/@px-unit;
                transition: all 0.3s;

                &:hover {
                    color: @SddLayoutHeaderButtonHoverColor;
                    background-color: @SddLayoutHeaderButtonHoverBgColor;

                    .tab-remove-button {
                        visibility: visible;
                    }
                }

                .tab-remove-button {
                    font-size: 16/@px-unit;
                    height: 16/@px-unit;
                    width: 16/@px-unit;
                    visibility: hidden;
                    margin-left: 4/@px-unit;
                    transition: visibility 0s;
                    padding: 0;
                }
            }

            .sdd-tab-item-selected {
                color: @SddLayoutHeaderButtonSelectedColor;
            }
        }

    }

    .sdd-layout-sider {
        background-color: inherit;
        border-right: 1/@px-unit solid @SddBorderSplitColor;
        .layout-sider-menu.ant-menu-inline {
            height: 100%;
            margin-top: 10/@px-unit;
            border-right: unset;
            overflow-y: auto;

            .menu-icon-wrapper {
                display: inline-block;
                font-size: 20/@px-unit;
                margin-right: 8/@px-unit;
                vertical-align: top;
            }

            .ant-menu-submenu-arrow {
                right: 24/@px-unit;
            }

            .ant-menu-submenu-title {
                padding-right: 42/@px-unit;
            }

            .ant-menu-item,
            .ant-menu-submenu-title {
                width: 100%;

                .anticon {
                    margin-right: 0;
                    font-size: inherit;
                }
            }
        }
    }

    .sdd-layout-content {
        padding: 16/@px-unit;
        background-color: @SddLayoutContentBgColor;

        .main-content {
            background-color: @SddLayoutContentColor;
            height: 100%;
        }
    }

    .sdd-layout-footer {
        padding: 0;
        border-top: 1/@px-unit solid @SddBorderSplitColor;
        height: 57/@px-unit;
        line-height: 57/@px-unit;
        background-color: @SddLayoutFooterColor;
    }
}



/*各个组件请将颜色再次赋值各自的的实际变量，便于后续新增颜色可更改*/
@loading-bg-color: @SddDisableInputBgColor; // 蒙层颜色
.Loading-wapper{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    top:0;
    left: 0;
    text-align: center;
    background-color: @loading-bg-color;
    filter:alpha(opacity=50); 
    -moz-opacity:0.5; 
    -khtml-opacity:0.5; 
    opacity: 0.5;
    .ant-spin{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .Loading-addMargin .ant-spin-text{
        margin-top: 40/@px-unit;
    }
}
@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;
._NewScheduleComponent_{
    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 {
        // height: 64/@px-unit;
        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 {