.air-adjust {
  position: relative;
  box-sizing: border-box;
  width: 331px;
  min-height: 156px;
  margin-bottom: 15px;
  background: hsl(0, 0%, 100%);
  border-radius: 25px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(0, 0, 0, 0.05);
  user-select: none;
  .allAir {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 6px 0 16px 12px;

    .eachAir {
      position: relative;
      flex-shrink: 0;
      box-sizing: border-box;
      width: 50%;
      padding: 20px 0px 20px 0px;
      // border-right: 1px solid rgba(196, 196, 196, 0.4);
      border-top: 1px solid rgba(196, 196, 196, 0.4);

      &:nth-child(odd) {
        border-right: 1px solid rgba(196, 196, 196, 0.4);
      }

      &.closeAir {
        color: #c4c4c4;
      }

      &.oneAir {
        width: 100%;
        border-right: none;
      }

      .openButton {
        position: absolute;
        top: 28px;
        right: 15px;
        width: 25px;
        height: 8px;
        cursor: pointer;

        .openBack {
          width: 25px;
          height: 8px;
          background: rgba(196, 196, 196, 0.2);
          border-radius: 12px;
        }

        .openCircle {
          position: absolute;
          top: -3px;
          left: -4px;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 12px;
          height: 12px;
          background: #ffffff;
          border: 1px solid #c4c4c4;
          border-radius: 12px;
          box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.03);
        }

        &.open {
          .openBack {
            background: #ffe823;
          }

          .openCircle {
            left: 18px;
          }
        }
      }

      .airName {
        box-sizing: border-box;
        width: calc(100% - 55px);
        padding: 0px 0px 10px 15px;
        overflow: hidden;
        color: #4d5262;
        font-weight: 600;
        font-size: 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .airBox {
        display: flex;

        .adjustBox {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          width: 33.333%;

          .valueBox {
            height: 50px;
            overflow: hidden;
            color: #1f2429;

            .valueWrap {
              transition: transform 1s;

              // transform: translateY(0px);
              .value {
                display: flex;
                align-items: center;
                //font-weight: 600;
                justify-content: center;
                width: 100%;
                height: 50px;
                font-size: 14px;
                text-align: center;
              }
            }
          }

          .arrow {
            display: flex;
            justify-content: center;
            width: 100%;
            height: 18px;
            color: #405292;
            font-size: 16px;
            cursor: pointer;

            &.disable {
              color: rgba(196, 196, 196, 0.8);
            }
          }

          .adjustName {
            padding-top: 8px;
            color: #1f2429;
            font-size: 12px;
          }

          &.disable {
            .arrow {
              color: rgba(196, 196, 196, 0.8);
            }

            .adjustName {
              color: rgba(196, 196, 196, 1);
            }

            .valueBox {
              color: rgba(196, 196, 196, 1);
            }
          }
        }
      }
    }
  }

  .air-text {
    padding-bottom: 25px;
  }

  .air-content {
    position: relative;
    box-sizing: border-box;
    padding: 24px 15px 22px 30px;
  }

  .air-switch {
    position: absolute;
    right: 15px;
    bottom: 22px;
  }

  .air-adjust-env {
    .envname {
      color: rgba(77, 82, 98, 1);
      font-weight: 600;
      font-size: 16px;
      font-family: PingFang SC;
      line-height: 22px;
    }

    .envnum {
      padding-top: 4px;
      color: #1b144e;
      font-weight: 400;
      font-size: 32px;
      font-family: Montserrat;
      line-height: 32px;

      .unit {
        top: -17px;
        padding-left: 5px;
        color: #c4c4c4;
        font-size: 14px;
      }

      label {
        margin-left: 3px;
        color: #c4c4c4;
        font-weight: 800;
        font-size: 12px;
        font-family: Mulish;
        line-height: 15px;
        vertical-align: top;
      }
    }
  }

  .air-adjust-btn {
    flex: 1;

    .airImg {
      position: absolute;
      top: 16px;
      right: 22px;
      width: 132px;
    }
  }

  .air-common-text {
    padding-top: 2px;
    color: rgba(196, 196, 196, 1);
    font-weight: 400;
    font-size: 13px;
    font-family: PingFang SC;
    line-height: 15px;

    &.change-text {
      font-size: 12px;
      line-height: 20px;
    }
  }

  .office-card {
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.07), 0px 4px 10px rgba(0, 0, 0, 0.05);
  }

  .air-show-all {
    height: 25px;

    .text {
      margin-right: 4px;
    }

    .air-arrow {
      width: 25px;
      height: 18px;
    }

    .showarrow {
      color: #4d5262;
    }

    .arrow {
      padding-top: 4px;
    }
  }

  .air-show-all-cont {
    display: flex;
    align-items: center;
    width: 90px;
    color: rgba(196, 196, 196, 1);
    font-weight: 400;
    font-size: 14px;
    font-family: PingFang SC;
    line-height: 25px;
    cursor: pointer;
  }
  .air-slider {
    box-sizing: border-box;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 196, 196, 0.4);
  }
  .air-control-item {
    box-sizing: border-box;
    padding: 11px 20px 16px 20px;
    // border-top: 1px solid rgba(196, 196, 196, 0.4);
    &.temp-item {
      cursor: default;
    }
    &.item-flex {
      display: flex;
      justify-content: space-between;
    }

    .temp-wrap {
      display: flex;
      align-items: center;
      height: 20px;
      padding-top: 26px;
      padding-bottom: 5px;

      .minVal {
        flex-grow: 0;
        margin-right: 8px;
        color: #c4c4c4;
        font-size: 12px;
      }

      .maxVal {
        flex-grow: 0;
        margin-left: 8px;
        color: #c4c4c4;
        font-size: 12px;
      }

      .tempBar {
        position: relative;
        display: flex;
        flex-grow: 1;
        //background: red;
        height: 10px;
        border-radius: 10px;
        cursor: pointer;

        .circle {
          position: absolute;
          top: -5px;
          left: 0px;
          z-index: 1;
          width: 19px;
          height: 19px;
          background: #ffffff;
          border-radius: 21px;
          box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), 0px 4px 10px rgba(0, 0, 0, 0.07);

          .tvalue {
            position: relative;
            top: -26px;
            color: #1f2429;
            font-size: 12px;
            white-space: nowrap;
            text-align: center;
          }

          &.disable {
            opacity: 0.6;
          }
        }

        .eachBlock {
          width: 20%;
          background: red;

          &:nth-child(1) {
            background: #5e8bcf;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
          }

          &:nth-child(2) {
            background: #9fb7cd;
          }

          &:nth-child(3) {
            background: #f3f3f3;
          }

          &:nth-child(4) {
            background: #ff9882;
          }

          &:nth-child(5) {
            background: #e5574f;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
          }
        }
      }
    }

    .air-control-item-box {
      display: flex;
      // align-items: center;
      flex-direction: column;
    }

    .envnum-common {
      color: #1b2129;
      font-size: 16px;
      font-family: Montserrat;
      line-height: 24px;

      &.air-envnum-comon {
        display: flex;
        align-items: center;
      }

      .envnum-common-wind {
        margin-right: 7px;
        color: rgba(196, 196, 196, 1);
        font-weight: 500;
        font-size: 12px;
        font-family: Montserrat;
        line-height: 15px;

        &.windBlack {
          color: #1b2129;
          font-size: 18px;
          line-height: 24px;
        }
      }

      &.colorRed {
        color: red;
      }

      &.colorBlue {
        color: rgba(94, 139, 207, 1);
      }

      &.colorBlack {
        color: rgba(77, 82, 98, 1);
      }

      label {
        color: rgba(196, 196, 196, 1);
        font-size: 11px;
        line-height: 13px;
        vertical-align: top;
      }
    }

    .air-common-switch {
      display: flex;
    }

    .switch:last-child {
      margin-right: 0px;
    }

    .switch {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      margin-right: 8px;
      color: #424c59;
      font-size: 20px;
      background: rgba(196, 196, 196, 0.2);
      border-radius: 50%;
      cursor: pointer;

      .wimg {
        width: 20px;
        height: 20px;
      }

      &.yell {
        background: #ffe823;
      }
    }
  }

  .disabled {
    opacity: 0.4;
  }

  .lamp-item {
    border-top: 1px solid #e8ecf0;
    .unite {
      color: #c4c4c4;
      font-size: 12px;
    }
    .item-box {
      position: relative;
      width: 148px;
      height: 116px;
      margin-top: 12px;
      background: #f7f9fa;
      border-radius: 16px;
    }
    .item-box:nth-child(2n-1) {
      margin-right: 11px;
    }
    .lamp-basic-name {
      width: calc(100% - 23px);
      overflow: hidden;
      color: rgba(77, 82, 98, 1);
      font-weight: 600;
      font-size: 16px;
      line-height: 22px;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  .bg {
    background: #f1f4f6;
  }

  .dplCenter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .adjustBox {
      opacity: 0.3;
      img {
        width: 20px;
        height: 20px;
      }
    }
    .adjustActive {
      cursor: pointer;
      opacity: 1;
    }
  }

  .small-img-card {
    box-sizing: border-box;
    height: 80px;
    padding-top: 12px;
    padding-left: 16px;
    .value {
      margin-bottom: 4px;
      color: #1b144e;
      font-size: 22px;
      line-height: 1;
    }
    .status {
      display: flex;
      align-items: center;
      color: #c4c9cf;
      font-size: 12px;
      img {
        width: 14px;
        height: 14px;
        margin-right: 3px;
        opacity: 0.6;
      }
    }
  }
  .small-sw-card {
    position: absolute;
    top: 16px;
    right: 12px;
  }
}
