.ccs-disaster {
  position: relative;
  width: 100%;
  height: 100%;
}

.ccs-disaster-dynamicinfo-details {
  padding: 10px 20px 10px 10px;
}

.ccs-disaster-left {
  display: inline-block;
  width: 70%;
  height: 100%;
  padding: 0 6px 10px 10px;
  vertical-align: top;

  .ccs-disaster-tabpanel {
    height: calc(100% - 5.8vw);
    padding-bottom: 10px;
  }

  .ccs-disaster-tablist {
    display: flex;
    height: 5.8vw;
    align-items: center;

    &-item {
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      width: 8.2vw;
      height: 100%;
      margin-right: 10px;
      font-size: 0.9vw;
      color: white;
      cursor: pointer;
      background: linear-gradient(180deg, rgba(154, 203, 251, 0.24) 0%, rgba(225, 238, 255, 0.36) 54%, rgba(157, 183, 223, 0.1) 54%, rgba(63, 117, 209, 0) 100%);
      border: 1px solid #6fc2e2;
      border-radius: 0 1.3vw 0 1.3vw;
    }
  }
}

.ccs-disaster-right {
  display: inline-flex;
  flex-direction: column;
  width: 30%;
  height: 100%;
  padding: 0 8px 10px 0;
  vertical-align: top;

  .ccs-disaster-frontlineliaison {
    height: 30%;
    margin-bottom: 8px;
  }

  .ccs-disaster-sitesttistics {
    height: auto;
    margin-bottom: 8px;

    .ccs-scrollbar {
      padding: 20px 10px;
    }

    &-content {
      display: flex;
      width: 100%;
      height: 12vh;
      color: white;
      background: linear-gradient(180deg, rgba(154, 203, 251, 0.24) 0%, rgba(225, 238, 255, 0.36) 54%, rgba(157, 183, 223, 0.1) 54%, rgba(63, 117, 209, 0) 100%);
      border: 1px solid #6fc2e2;
    }

    &-item {
      display: flex;
      flex: 1;
      height: 100%;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      color: #012aec;

      &:first-child {
        color: #ffbf0f;
      }
    }

    &-value {
      font-size: 2vw;
    }

    &-name {
      font-size: 0.8vw;
      color: white;
    }
  }

  .ccs-disaster-attendancesttistics {
    flex: 1;
    height: 0;

    .ccs-scrollbar {
      display: flex;
      flex-direction: column;
    }

    .ccs-comtablelist {
      flex: 1;
      height: 0;
    }

    &-table {
      height: 0;
      flex: 1;
    }

    &-content {
      display: flex;
      width: calc(100% - 20px);
      height: 12vh;
      margin: 10px;
      color: white;
      background: linear-gradient(180deg, rgba(154, 203, 251, 0.24) 0%, rgba(225, 238, 255, 0.36) 54%, rgba(157, 183, 223, 0.1) 54%, rgba(63, 117, 209, 0) 100%);
      border: 1px solid #6fc2e2;
    }

    &-item {
      display: flex;
      flex: 1;
      height: 100%;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      color: #012aec;

      &:first-child {
        color: #ffbf0f;
      }
    }

    &-value {
      font-size: 2vw;
    }

    &-unit {
      font-size: 1vw;
      color: white;
    }

    &-name {
      font-size: 0.8vw;
      color: white;
    }
  }
}

.ccs-disaster-dynamicinfo {
  width: 100%;
  height: 100%;

  &-details-wrapper {
    display: inline-block;
    width: 30%;
    height: 100%;
    vertical-align: top;
  }

  &-video-wrapper {
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: top;
  }

  &-tabs-wrapper {
    display: inline-block;
    width: 70%;
    height: 100%;
    padding-left: 4px;
    vertical-align: top;
  }
}

.ccs-instructionflow {
  width: 100%;
  height: 100%;
  padding: 1vw;

  &-item {
    display: flex;
  }

  &-index {
    position: relative;
    display: flex;
    align-items: center;
    width: 1.9vw;
    height: 1.9vw;
    color: #034776;

    > img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    > span {
      position: relative;
      top: -1px;
      z-index: 2;
      display: flex;
      width: 100%;
      height: 100%;
      align-items: center;
      justify-content: center;
      font-size: 1vw;
    }
  }

  &-content {
    width: 100%;
    padding-left: 0.8vw;
    color: white;
  }

  &-time {
    font-size: 1.1vw;
    color: #ffbf0f;
  }

  &-header {
    position: relative;
    top: -0.2vw;
    display: flex;
    align-items: center;
    width: 100%;
  }

  &-type {
    display: inline-block;
    flex: 1;
    padding-left: 5em;
    font-size: 1vw;
    color: white;
    vertical-align: top;
    opacity: 0.6;
  }

  &-unit {
    display: inline-flex;
    font-size: 1vw;
    color: white;
    vertical-align: top;
    opacity: 0.6;
    align-items: center;

    img {
      margin-right: 5px;
    }
  }

  &-info {
    position: relative;
    padding: 0.5vw 0 0.5vw 0;
    margin-bottom: 1vw;
    font-size: 0.95vw;
    line-height: 2;

    &::after {
      position: absolute;
      bottom: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 1px;
      background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
      background-repeat: repeat-x;
      background-size: 8px 1px;
      content: '';
    }
  }
}

.ccs-stationreview {
  width: 100%;
  height: 100%;
  padding: 10px;

  &-mgmt {
    display: flex;
    align-items: center;
  }

  &-content {
    position: relative;
    height: calc(100% - 4.4vw);
    padding-top: 10px;
  }

  .amos-assetsview-pro {
    width: 100%;
    height: 100%;
    border: 1px solid #6fc2e2;

    .amos-assetsview-pro-title {
      height: 2vw;
      padding-left: 0.5vw;
      font-size: 0.9vw;
      line-height: 2vw;
      color: white;
      border-bottom: 1px solid #6fc2e2;
    }

    .amos-assetsview-pro-content {
      position: relative;
      display: flex;
      height: calc(100% - 2vw);
      padding: 1vw;
      align-items: center;
      justify-content: center;

      > img {
        max-width: 100%;
        max-height: 100%;
        min-width: 40%;
        min-height: 40%;
        object-fit: contain;
      }

      > .amos-iframe {
        background: white;
      }
    }
  }

  &-list {
    display: flex;
    width: 0;
    height: 4.4vw;
    margin-left: 1vw;
    border: 1px solid #6fc2e2;
    flex: 1;
    border-radius: 4px;
  }

  &-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.7vw;
    height: 100%;
    cursor: pointer;
    border-right: 1px solid #6fc2e2;
  }

  &-list-content {
    display: inline-block;
    width: calc(100% - 3.4vw);
    padding: 0.42vw 0.4vw;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  &-item {
    position: relative;
    display: inline-block;
    width: 5vw;
    height: 100%;
    margin-right: 0.5vw;
    vertical-align: top;
    cursor: pointer;
    border: 1px solid #6fc2e2;

    &-active {
      background: #2272a9;
    }

    > img {
      position: absolute;
      top: 0;
      right: 0;
      width: 0.7vw;
      cursor: pointer;
      transform: rotate(-90deg);
    }

    .amos-assetsthumbnail-pro {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      padding: 5px;

      img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
    }
  }

  &-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.7vw;
    height: 100%;
    cursor: pointer;
    border-left: 1px solid #6fc2e2;
  }

  &-add {
    &.amos-btn {
      height: 20px;
      padding: 0 1em;
      background: linear-gradient(180deg, rgba(154, 203, 251, 0.24) 0%, rgba(225, 238, 255, 0.36) 54%, rgba(157, 183, 223, 0.1) 54%, rgba(63, 117, 209, 0) 100%);
      border: 1px solid #0febff;
    }
  }
}

.ccs-acdm {
  position: relative;
  width: 100%;
  height: 100%;
}


.ccs-flight-details {
  position: absolute;
  bottom: 8px;
  left: 10px;
  width: calc(100% - 20px);
  padding-bottom: 0.5vw;
  color: white;
  background: rgb(6, 88, 151);
  border-bottom: 0;
  border-radius: 6px;

  .ccs-flight-details-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
  }
}

.ccs-flight-details-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0.8vw 0 0 0.8vw;

  .ccs-flight-details-one {
    display: flex;
    width: 8vw;
    height: 100%;
    align-items: center;

    img {
      width: 8vw;
      height: 6vw;
    }
  }

  .ccs-flight-details-two {
    width: 12vw;
    height: 100%;
    margin-left: 0.5vw;

    .ccs-flight-details-two-one {
      display: flex;
      align-items: center;

      img {
        width: 2vw;
        height: 2vw;
      }
    }

    .ccs-flight-details-two-two {
      position: relative;
      top: -3px;

      span {
        &:first-child {
          margin-right: 3px;
          line-height: 1vw;
          color: #f0b100;
        }
      }
    }

    .ccs-flight-details-two-three {
      display: flex;

      p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .ccs-flight-details-two-left {
        width: calc(50% - 0.6vw);
      }

      .ccs-flight-details-two-center {
        width: calc(50% - 1.2vw);
        padding-top: 25px;

        img {
          width: 30px;
          object-fit: contain;
        }
      }

      .ccs-flight-details-two-right {
        width: calc(50% - 0.7em);
        text-align: right;
      }

      .ccs-flight-details-big {
        font-size: 0.9vw;
        font-weight: 500;
        line-height: 1vw;
        color: white;
      }

      .ccs-flight-details-small {
        margin-bottom: 0.4vw;
        font-size: 0.74vw;
        color: #caf4ff;
      }
    }
  }

  // .ccs-flight-details-three {
  //   width: 300px;
  //   margin-left: 20px;
  // }

  .ccs-flight-details-four {
    display: flex;
    flex: 1;
    width: 0;
    height: 9.4vw;
    margin-left: 0.5vw;
    align-items: center;
    font-size: 0.74vw;

    .ccs-flight-details-four-col {
      display: flex;
      height: 100%;
      flex: 1;
      flex-direction: column;

      .ccs-flight-details-four-row {
        flex: 1;
      }
    }
  }

  .ccs-flight-details-label {
    line-height: 1vw;
    color: #c7cacb;
  }

  .ccs-flight-details-value {
    color: white;
  }
}

.ccs-disaster-videos {
  padding: 15px;

  .mod-com-hikvideo {
    width: 100%;
    height: 100%;

    video {
      object-fit: fill;
    }
  }

  .ccs-disaster-videos-item {
    display: inline-block;
    width: calc(50% - 5px);
    height: 50%;
    margin-top: 5%;
    margin-right: 5px;
    border: 1px solid #478c97;
    flex-direction: column;

    .ccs-disaster-videos-title {
      width: 100%;
      height: 2.5em;
      padding-left: 1em;
      font-size: 0.85vw;
      line-height: 2.1em;
      color: white;
      background: transparent;
      border-bottom: 1px solid #478c97;
    }

    .mod-com-hikvideo {
      flex: 1;
    }
  }
}

.ccs-disaster-video-header {
  width: 100%;
  height: 42px;

  span {
    color: white;
  }

  .modcom-matrixpagination .modcom-matrixpagination-btngroup > span {
    color: white;
  }

  .modcom-matrixpagination .modcom-matrixpagination-btngroup .modcom-matrixpagination-btn {
    background-color: #044c83;
    border: solid 1px #6fc2e2;
  }

  .modcom-matrixpagination .modcom-matrixpagination-btngroup {
    margin-left: 0;
  }

  .modcom-matrixpagination .modcom-matrixpagination-btngroup .modcom-matrixpagination-pagenum {
    color: white;
    background: #044c83;
    border-left: 0;
    border-color: #6fc2e2;

    input {
      color: white;
    }
  }

  .modcom-matrixpagination-btngroup {
    margin-right: 20px;

    .modcom-matrixpagination-btn {
      border-color: #6fc2e2;
    }

    .modcom-matrixpagination-btn + .modcom-matrixpagination-btn-last {
      border-radius: 0 4px 4px 0;
    }
  }

  .modcom-matrixpagination .modcom-matrixpagination-btngroup .modcom-matrixpagination-btn.modcom-matrixpagination-btn-active,
  .modcom-matrixpagination .modcom-matrixpagination-btngroup .modcom-matrixpagination-btn:hover {
    background-color: #143c70;
    border-color: #6fc2e2;
  }
}

.ccs-disaster-video-content {
  width: 100%;
  height: calc(100% - 42px);

  .mod-com-videomatrix-item {
    border: solid 1px #6fc2e2;
  }

  .mod-com-videomatrix-4 {
    padding: 0;
  }

  .mod-com-videomatrix-1 {
    padding: 0;
  }

  .mod-com-videomatrix-9 {
    padding: 0;
  }
}

.ccs-disaster-carvideo {
  width: 100%;
  height: 100%;

  .ccs-disaster-carvideo-list {
    display: inline-block;
    width: 220px;
    height: 100%;
    padding-top: 6px;
    line-height: 1.8;
    color: white;
    vertical-align: top;

    .ccs-disaster-carvideo-title {
      font-size: 18px;
    }

    .ccs-disaster-carvideo-item {
      padding-left: 20px;
      font-size: 15px;
      cursor: pointer;

      &:hover {
        background: #2174ac;
      }

      &.ccs-disaster-carvideo-item-active {
        background: #2174ac;
      }
    }
  }

  .ccs-disaster-carvideo-content {
    display: inline-block;
    width: calc(100% - 220px);
    height: 100%;
    vertical-align: top;
  }
}

.ccs-select-popover.amos-select-dropdown-popover.amos-popover {
  &.amos-popover-up,
  &.amos-popover-down {
    .amos-popover-content {
      color: white;
      background: #0a4f83;
      border: 1px solid transparent;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);

      .amos-select-option {
        &:hover {
          background: #69f;
        }

        &.amos-select-option-selected {
          color: white;
        }
      }

      input {
        color: white;
        background: transparent;
        border-color: #65c1f7;
      }
    }
  }
}
