@import "./base/index.scss";
@import "./dc/index.scss";
@import "./icon/index.scss";
@import "./tool/index.scss";
@import "./element-ui/element-ui.scss";

@font-face {
  font-family: Roboto-Bold;
  src: url(./font/Roboto-Bold.ttf);
}
.pageContainer {
  color: #fff;
  width: 100%;
  .mt-15 {
    margin-top: 15px;
  }
  .flex {
    display: flex;
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .common-text {
    font-size: 16px;
    font-family: Alibaba PuHuiTi;
    font-style: italic;
    color: #F6F9FE;
  }
  .left-container,
  .right-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    width: 408px;
    height: 100%;
    pointer-events: auto;
    background: rgba(28, 115, 195, 0.05);

    &>div {
      display: flex;
      flex-direction: column;
      flex-shrink: 0;

      .title-box {
        position: relative;
        height: 38px;
        line-height: 38px;
        background: url(/images/title-box.png) no-repeat center / 100% 100%;

        .title {
          margin-left: 30px;
          text-align: left;
          font-size: 18px;
          font-family: Alibaba PuHuiTi;
          font-weight: bold;
          font-style: italic;
          color: transparent;
          text-shadow: 0px 2px 8px rgba(5, 28, 55, 0.42);
          background-image: linear-gradient(180deg, rgba(14, 197, 236, 0.36) 5%, rgba(49, 190, 255, 0.36) 20%, rgba(255, 255, 255, 1) 40%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparen
        }
        .title-sub {
          position: absolute;
          right: 10px;
          bottom: 4px;
          line-height: 1;
        }
      }

      .content-box {
        flex: 1;
      }
    }
    .chart-box {
      // background:  rgba(42,64,120,0.68);
    }
  }
  .common-empty {
    padding-top: 46px;
    display: flex;
    justify-content: center;
  }
  .left-container {
    left: 0;

    .one {
      height: 258px;
      position: relative;
      
    }

    .two {
      height: 454px;
    }

    .three {
      flex: 1;
    }
  }

  .right-container {
    right: 0;

    .one {
      height: 266px;
    }

    .two {
      height: 260px;
    }

    .three {
      height: 210px;
    }

    .four {
      flex: 1;
    }
  }
  .content-data  {
    padding-left: 18px;
    &>.common-text {
      margin-right: 8px
    }
    .data-item {
      height: 26px;
      line-height: 26px;
      background: #879EC7;
      border-radius: 6px;
      padding: 0 15px;
      margin-right: 12px;
    }
  };
  
  .more-text {
    position: absolute;
    color: #3BCAFF;
    right: 10px;
    bottom: 36px;
    cursor: pointer;
  }
  .scroll-table {
    font-family: Alibaba PuHuiTi;
    font-weight: 400;
    font-style: italic;
    color: #AFBED8;
    .scroll-table-head {
      height: 38px;
      font-size: 16px;
      border-bottom: 2px solid #6187E4;
      background: rgba(42,64,120,0.68);
      &>div {
        flex: 1;
        text-align: center;
      }
    }
    .scroll-table-body {
      overflow: hidden;
      height: 155px;
      margin-top: 10px;
    }
    .scroll-item {
      margin-top: 5px;
      height: 38px;
      border: 1px solid rgba(36, 57, 110, 1);
      background: rgba(36,57,110,0.34);
      &>div {
        text-align: center;
        flex: 1;
        color: #D4E8F8;
        font-size: 14px;
      }
    }
    .type-img {
      margin-left: 5px;
    }
  }
  .carousel-box {
    position: relative;
    .el-carousel__container {
      height: 142px;
    }
    .card-item {
      height: 142px;
      width: 122px;
      border: 1px solid rgba(110, 135, 197, .32);
      background: rgba(36,57,110,0.34);
      line-height: 1;
      padding: 10px 0 0 0;
      text-align: left;
      text-indent: 10px;
      .type-img {
        margin-left: 5px;
        position: relative;
        top: 3px;
      }
      &>div:nth-of-type(2) {
        margin-top: 10px;
        & .num {
          font-size: 20px;
          font-family: Roboto-Bold;
          font-weight: bold;
        }
      }
      &>div:nth-of-type(3) {
        margin-top: 8px;
        color: #F7101A;
      }
      &>div:nth-of-type(4) {
        margin-top: 12px;
      }
      &>div:nth-of-type(5) {
        margin-top: 5px;
      }
    }
    .justify-between {
      padding: 0 10px;
    }
    .btn-item  {
      width: 40px;
      height: 40px;
      cursor: pointer;
    }
    .btn-left {
      background-image: url(/images/ctrl-left.png);
    }
    .btn-right {
      margin-left: 3px ;
      transform: rotate(180deg);
    }
  }
  .big-num {
    margin: 10px 0;
    line-height: 1;
    .num-num {
      margin-left: 10px;
      font-size: 48px;
      font-family: Roboto-Bold;
      font-weight: bold;
    }
    .num-text{
      margin-left: 10px;
    }
  }
  .big-section {
    flex: 1;
    .big-num {
      padding-left: 30px;
    }
    .section-text {
      height: 22px;
      line-height: 22px;
      text-align: right;
    }
    .time {
      margin-top: 5px;
      color: #B5C5D4;
    }
  }
  .video-box {
    padding: 5px 12px 0;
    video {
      width: 100%;
      height: 185px;
      background-color: #333;
    }
  }
  .all-text-box {
    position: relative;
    .more-text {
      right: 24px
    }
  }
  .all-text {
    color: #D4E8F8;
    padding: 12px 18px 0 18px;
    line-height: 26px;
    text-indent: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }
  .detail-box {
    padding: 12px;
    img {
      height: 180px;
      width: 100%;
    }
    .all-text{
      -webkit-line-clamp: 3;
      text-indent: 0;
    }
  }
  .device-box {
    padding: 15px 8px 0;
    align-items: flex-start;
    .device-item {
      width: 110px;
      height: 113px;
      text-align: center;
      background-image: url(/images/device_01.png);
      background-size: 100% 100%;
      padding-top: 20px;
      &:nth-of-type(2) {
        background-image: url(/images/device_02.png);
        .item-title {
          color: #AED6FF;
        }
        .item-num {
          background: linear-gradient(to bottom, #FFF9C5 10%, #FFD24D 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
      }
    }
    .item-title {
      color: #44C1EF;
      line-height: 1;
      text-shadow: 1px 2px 0px rgba(17,20,22,0.22);
      font-size: 16px;
      font-weight: bold;
    }
    .item-num {
      margin-top: 5px;
      font-size: 28px;
      font-family: Roboto-Bold;
      font-weight: bold;
      font-style: italic;
      color: #EDFBFF;
      background: linear-gradient(to bottom, #8CEAFF 10%, rgba(255,255,255,1) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
  .warning-box {
    padding: 0 5px;
    img {
      width: 101px;
      height: 90px;
    }
    .warning-item {
      flex: 1;
    }
    .item-title {
      width: 100px;
      line-height: 32px;
      text-indent:32px;
      position: relative;
      left: -28px;
      color: #fff;
      font-size: 18px;
      background-image: url(/images/warnbg_01.png);
      background-repeat: no-repeat;
      background-position: left bottom;
      background-size: 100px 18px;
    }
    .item-num {
      height: 31.5px;
      width: 84px;
      margin-top: 5px;
      font-size: 28px;
      font-family: Roboto-Bold;
      font-weight: bold;
      font-style: italic;
      background-image: url(/images/warnbg_02.png);
      background-size: cover;
      span {
        width: 100%;
        background: linear-gradient(to right, #76B2EC 30%, rgba(255,255,255,1) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
    .el-carousel__indicators--horizontal {
      bottom: 5px
    }
    .el-carousel__button {
      height: 4px;
      border-radius: 2px;
      width: 40px;
    }
  }
  .rain-monitor-box {
    padding: 12px 15px;
    .item-title {
      text-indent: 15px;
      position: relative;
      line-height: 20px;
      font-size: 20px;
      text-shadow: 0px 2px 8px rgba(5,28,55,0.42);
      background: linear-gradient(to bottom,  rgba(14,197,236, .6) 0%, #EFFCFE 20%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1px;
        width: 4px;
        height: 18px;
        background-image: url(/images/rain-title.png);
      }
    }
    .info-item {
      padding-left: 20px;
      font-size: 16px;
      color: #BFD3E5;
      margin-top: 20px;
    }
    .box-bottom {
      margin-top: 20px;
    }
    .monitor-tab-section {
      .info-item  {
        margin-top: 18px;
      }
    }
    &>.justify-between {
      align-items: flex-start;
    }
    .tab-item {
      font-size: 16px;
      color: #BFD3E5;
      cursor: pointer;
      background: rgba(55,75,123,0.36);
      &:first-of-type {
        margin-right: 20px;
      }
    }
  }
}
.page-search {
  position: absolute;
  left: 488px;
  z-index: 99;
  top: 110px;
  .el-input {
    height: 38px;
    width: 280px;  
  }
  .el-input__inner {
    padding-right: 30px;
    font-size: 16px;
    font-weight: 400;
    color: #BFD3E5;
    border: 1px solid #4081CB;
    border-radius: 4px;
    background: rgba(135,158,199,0.3);
    box-shadow: inset 0px 3px 7px 0px rgba(42,138,236,0.95); 
  }
}
.page-select {
  left: 788px;
  .el-input {
    width: 120px;
  }
}
.select-popup {
  border: 1px solid #4081CB;
  background: rgba(0,0,0,1);
  box-shadow: inset 0px 3px 7px 0px rgba(42,138,236,0.95); 
  .el-cascader-menu {
    color: #fff;
  }
  .el-cascader-node:not(.is-disabled):focus, .el-cascader-node:not(.is-disabled):hover {
    background: rgba(42,138,236,0.35)
  }
  .el-cascader-node.in-active-path, .el-cascader-node.is-active, .el-cascader-node.is-selectable.in-checked-path {
    background: rgba(42,138,236,0.35)
  }
}
.page-full {
  top: auto;
  bottom: 55px;
  width: 80px;
  height: 30px;
  background: rgba(135,158,199,0.2);
  border-radius: 6px;
  font-size: 16px;
  color: #BFD3E5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  line-height: 1;
  .el-icon-rank {
    font-size: 20px;
    margin-right: 5px;
  }
}
.page-mode {
  top: auto;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  &>div {
    background-image: url(/images/mode-tab.png);
    background-size: cover;
    width: 150px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #BFD3E5;
    line-height: 32px;
    padding-top: 12px;
    font-style: italic;
    cursor: pointer;
    &:first-of-type {
      margin-right: -20px;
    }
    &.active {
      color: #F6FCFF;
      background-image: url(/images/mode-tab-ac.png);
    }
  }
}
.page-map {
  position: absolute;
  z-index: 99;
  bottom: 55px;
  right: 488px;
  width: 100px;
  height: 220px;
  background: rgba(135,158,199,0.2);
  border-radius: 6px;
  padding: 10px;
  &>div {
    height: 60px;
    background: #879EC7;
    border: 1px solid #3BCAFF;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    &:last-of-type {
      margin-bottom: 0;
    }
  }
}
.page-section {
  left: auto;
  right: 488px;
  width: 160px;
  .el-collapse-item__header{
    height: 40px;
    background: rgba(135,158,199,0.1);
    border: 0;
    padding-left: 10px;
    font-size: 18px;
    color: rgba(191, 211, 229, 0.7);
    &.is-active {
      background: rgba(13,43,84,0.76);
    }
  }
  .el-collapse-item__arrow {
    color: rgba(199,219,245,0.88);
    &::before {
      content: "\e790";
    }
  }
  .el-collapse-item__arrow.is-active {
    color: #2CB7FF;
    &::before {
      content: "\e792";
    }
  }
  .el-collapse-item__wrap {
    background: rgba(135,158,199,0.3);
    border: 0;
  }
  .el-collapse-item__content {
    padding-bottom: 0;
  }
  .check-item {
    padding-left: 10px;
    height: 40px;
    font-weight: 500;
    
    font-size: 18px;
    display: flex;
    align-items: center;
    .el-checkbox__label {
      color: rgba(191, 211, 229, 0.7);
    }
    .is-checked {
      .el-checkbox__label {
        color: #3BCAFF;
      }
    }
  }
}
.page-back {
  min-width: 182px;
  height: 50px;
  background-image: url(/images/back-bg.png);
  background-size: cover;
  display: flex;
  align-items: center;
  img {
    height: 100%;
  }
  div {
    font-size: 26px;
    color: #BFD3E5;
  }
}