.chart-box {
  margin: 0 -15px;
}
// school-exam
.school-exam {
  &-overview {
    padding: 0 5px;
    margin-bottom: 20px;
  }
}
.exam-summary {
  display: flex;
  align-items: stretch;
  justify-content: space-between;

  margin: 0 -10px;
  color: $--color-text-dark-1;
  .summary-item {
    display: flex;
    justify-content: space-between;
    flex-grow: 2;
    flex-shrink: 0;

    border-radius: $--border-radius-large;
    border: 1px solid $--color-border;
    background-color: $--color-white;
    margin: 0 5px 10px;
    height: 160px;
    overflow: hidden;

    .summary-tag {
      flex-grow: 2;
      width: 50%;
      height: 100%;
      text-align: center;

      &:first-child {
        flex-shrink: 0;
        flex-grow: 0;
        width: 120px;
      }

      &:nth-of-type(2) {
        border-left: 1px solid $--color-border;
        .tag-body {
          padding-left: 20px;
          text-align: left;
          &:last-child {
            border-top: 1px solid $--color-border;
          }
        }
      }
    }

    .tag-body {
      height: 50%;
      padding: 20px 10px 10px;
      > p:nth-of-type(1) {
        opacity: 0.8;
        font-size: 12px;
      }
      > p:nth-of-type(2) {
        font-weight: 600;
        font-size: 16px;
        line-height: 1;
        padding-top: 5px;
      }
    }
    .tag-icon {
      display: inline-block;
      vertical-align: top;
      width: 32px;
      height: 32px;
      border-radius: $--border-radius;
    }

    &.summary-time {
      background-color: $--color-primary;
      color: $--color-white;
      border: 0;
      .summary-tag {
        flex-flow: 0;
        width: 100%;
      }
    }

    &.summary-college {
      flex-grow: 1;
      flex-shrink: 0;
      background-color: $--color-cyan-light;
      color: $--color-white;
      border: 0;
      .summary-tag {
        flex-flow: 0;
        width: 100%;
      }
    }

    &:nth-of-type(1) {
      .tag-icon {
        background-color: $--color-blue-white;
      }
    }
    &:nth-of-type(2) {
      .tag-icon {
        background-color: $--color-cyan;
      }
    }
    &:nth-of-type(3) {
      .tag-icon {
        background-color: $--color-warning;
      }
    }
    &:nth-of-type(4) {
      .tag-icon {
        background-color: $--color-success;
      }
    }
    &:nth-of-type(5) {
      .tag-icon {
        background-color: $--color-purple;
      }
    }
  }
}
// my-class-exam-view
.my-class-exam-view {
  .summary-info {
    color: $--color-text-dark-1;
    margin: 0 -10px;
    &-row {
      display: table;
      width: 100%;
      border-spacing: 10px;
      border-collapse: separate;

      &:first-child {
        .summary-info-item {
          display: table-cell;
          vertical-align: middle;
          width: 50%;
          border: 1px solid $--color-border;
          border-radius: $--border-radius-large;

          &:nth-of-type(1) {
            background-color: $--color-blue;
            color: $--color-white;
            i {
              background-color: $--color-blue-white;
            }
          }
          &:nth-of-type(2) {
            background-color: $--color-cyan-light;
            color: $--color-white;
            i {
              background-color: $--color-cyan;
            }
          }
        }
      }
      &:last-child {
        margin-top: -10px;
        .summary-info-group {
          display: table-cell;
          vertical-align: middle;
          border: 1px solid $--color-border;
          border-radius: $--border-radius-large;
          font-size: 0;

          &:first-child {
            .summary-info-item {
              width: 100%;
            }
          }
          .summary-info-item:nth-of-type(2) {
            border-left: 1px solid $--color-border;
          }

          &:nth-of-type(1) {
            i {
              background-color: $--color-warning;
            }
          }
          &:nth-of-type(2) {
            i {
              background-color: $--color-success;
            }
          }
          &:nth-of-type(3) {
            i {
              background-color: $--color-purple;
            }
          }
        }
        .summary-info-item {
          padding: 20px 5px;
          text-align: center;
          display: inline-block;
          vertical-align: top;
          width: 50%;
          > i {
            position: relative;
            margin: 0 auto 10px;
            display: block;
            left: auto;
          }
        }
      }
    }

    &-item {
      position: relative;
      padding: 20px 20px 20px 66px;
      overflow: hidden;

      > i {
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: $--border-radius;
        top: 50%;
        left: 20px;
        margin-top: -16px;
        overflow: hidden;
      }

      p {
        font-size: 12px;
        &:nth-of-type(1) {
          opacity: 0.8;
        }
        &:nth-of-type(2) {
          font-weight: 600;
          font-size: 16px;
          padding-top: 5px;
          line-height: 1;
          min-height: 16px;
        }
      }
    }
  }
  .chart-ksctnd {
    height: 400px;
  }
  .difficult-level-analysis .chart-ndspzd {
    height: 350px;
  }
  .school-course .chart-fsdfb {
    height: 282px;
  }
}
// school-course
.school-course {
  .summary-info {
    color: $--color-text-dark-1;
    &-row {
      display: table;
      width: 100%;
      border-spacing: 10px;
      border-collapse: separate;

      &:first-child {
        .summary-info-item {
          &:nth-of-type(1) {
            background-color: $--color-blue;
            color: $--color-white;
            i {
              background-color: $--color-blue-white;
            }
          }
          &:nth-of-type(2) {
            i {
              background-color: $--color-success;
            }
          }
          &:nth-of-type(3) {
            i {
              background-color: $--color-warning;
            }
          }
        }
      }
      &:last-child {
        margin-top: -10px;
        .summary-info-item {
          &:nth-of-type(1) {
            background-color: $--color-cyan-light;
            color: $--color-white;
            i {
              background-color: $--color-cyan;
            }
          }
          &:nth-of-type(2) {
            i {
              background-color: $--color-purple;
            }
          }
          &:nth-of-type(3) {
            i {
              background-color: $--color-danger;
            }
          }
        }
      }
    }

    &-item {
      position: relative;
      display: table-cell;
      vertical-align: middle;
      padding: 20px 20px 20px 66px;
      border-radius: $--border-radius-large;
      border: 1px solid $--color-border;
      overflow: hidden;

      > i {
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: $--border-radius;
        overflow: hidden;
        top: 50%;
        left: 20px;
        margin-top: -16px;
      }

      p {
        font-size: 12px;
        &:nth-of-type(1) {
          opacity: 0.8;
        }
        &:nth-of-type(2) {
          font-weight: 600;
          font-size: 16px;
          padding-top: 5px;
          line-height: 1;
          min-height: 16px;
        }
      }
    }
  }
  .summary-school {
    padding: 10px;
    color: $--color-text-gray;
    line-height: 1.8;
    p {
      overflow: hidden;
      span {
        display: block;
        &:first-child {
          float: left;
          width: 70px;
        }
        &:last-child {
          margin-left: 70px;
        }
      }
    }
  }
  .chart-fsdfb {
    height: 240px;
  }
  .chart-info {
    padding: 0 10px;
  }
  .chart-summary {
    margin: 10px -10px 20px;
    text-align: center;
    color: $--color-text-dark-1;
    &-body {
      display: table;
      width: 100%;
      border-spacing: 10px;
      border-collapse: separate;
    }

    &-item {
      display: table-cell;
      padding: 15px;
      border: 1px solid $--color-border;

      &:nth-of-type(3) {
        .chart-summary-icon {
          background-color: rgba($--color-primary, 0.1);
        }
      }
      &:nth-of-type(4) {
        .chart-summary-icon {
          background-color: rgba($--color-primary, 0.1);
        }
      }
    }
    &-icon {
      display: inline-block;
      width: 32px;
      height: 32px;
      border-radius: $--border-radius;
      margin-bottom: 10px;
      background-color: rgba($--color-cyan, 0.1);
    }
    p {
      line-height: 1;
      &:nth-of-type(1) {
        margin-bottom: 10px;
        opacity: 0.8;
        span {
          color: $--color-text-dark-1;
          font-weight: 600;
          margin-left: 3px;
        }
      }
      &:nth-of-type(2) {
        font-weight: 600;
        font-size: 16px;
        padding-top: 5px;
        line-height: 1;
        min-height: 16px;
        span {
          font-size: 12px;
          margin-left: 2px;
        }
      }
    }
  }
}
// inspect-course-exam-overview
.inspect-course-exam-overview {
  .chart-pk {
    height: 340px;
  }
  .chart-course {
    height: 400px;
  }
}
// inspect-course-exam-analysis
.inspect-course-exam-analysis {
  .summary-info {
    color: $--color-text-dark-1;
    margin: 0 -10px;
    &-row {
      display: table;
      width: 100%;
      border-spacing: 10px;
      border-collapse: separate;

      &:first-child {
        .summary-info-item {
          width: 50%;
          &:nth-of-type(1) {
            background-color: $--color-blue;
            color: $--color-white;
            i {
              background-color: $--color-blue-white;
            }
          }
          &:nth-of-type(2) {
            background-color: $--color-cyan-light;
            color: $--color-white;
            i {
              background-color: $--color-cyan;
            }
          }
        }
      }
      &:last-child {
        margin-top: -10px;
        .summary-info-item {
          width: 25%;
          padding: 20px 5px;
          text-align: center;
          > i {
            position: relative;
            margin: 0 auto 10px;
            display: block;
            left: auto;
          }
          &:nth-of-type(1) {
            i {
              background-color: $--color-warning;
            }
          }
          &:nth-of-type(2) {
            i {
              background-color: $--color-success;
            }
          }
          &:nth-of-type(3) {
            i {
              background-color: $--color-purple;
            }
          }
          &:nth-of-type(4) {
            i {
              background-color: $--color-danger;
            }
          }
        }
      }
    }

    &-item {
      position: relative;
      display: table-cell;
      vertical-align: middle;
      padding: 20px 20px 20px 66px;
      border-radius: $--border-radius-large;
      border: 1px solid $--color-border;
      overflow: hidden;

      > i {
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: $--border-radius;
        top: 50%;
        left: 20px;
        margin-top: -16px;
        overflow: hidden;
      }

      p {
        font-size: 12px;
        &:nth-of-type(1) {
          opacity: 0.8;
        }
        &:nth-of-type(2) {
          font-weight: 600;
          font-size: 16px;
          padding-top: 5px;
          line-height: 1;
          min-height: 16px;
        }
      }
    }
  }
  .summary-school {
    padding: 10px;
    color: $--color-text-gray;
    line-height: 25px;
    p {
      overflow: hidden;
      > span {
        display: block;
        &:first-child {
          float: left;
          width: 70px;
        }
        &:last-child {
          margin-left: 70px;
        }
      }

      &:first-child {
        > span {
          line-height: 45px;
        }
        > span:last-child {
          font-size: 32px;
          color: $--color-primary;
        }
      }
    }
  }
  .chart-cjfb {
    height: 232px;
  }
  .chart-cjdbfx {
    height: 232px;
  }
  .chart-ntzdqk {
    height: 260px;
  }
  .chart-jswddb {
    height: 400px;
  }
  .chart-ksctnd {
    height: 400px;
  }
  .chart-qfdnd {
    height: 320px;
  }
}
.answer-rate-analysis {
  .chart-ddldb {
    height: 300px;
  }
  .chart-table {
    min-height: 307px;
    overflow-x: hidden;
  }
}
// owner-course-exam-analysis
// .owner-course-exam-analysis {
// }
.question-difficult-score-analysis {
  .chart-table {
    min-height: 310px;
    margin-top: 10px;
  }
  .chart-nddfqk {
    height: 250px;
  }
  .box-justify {
    margin-bottom: 10px;
  }
  .chart-legend {
    margin-left: 30px;
    &::before {
      content: "";
      display: inline-block;
      vertical-align: middle;
      width: 8px;
      height: 8px;
      background-color: $--color-danger;
      border-radius: 50%;
      margin-right: 5px;
    }
  }
}
.difficult-level-analysis {
  .chart-ndspzd {
    height: 241px;
  }
  .box-justify {
    margin-bottom: 10px;
  }
  .chart-legend {
    margin-left: 30px;
    &::before {
      content: "";
      display: inline-block;
      vertical-align: middle;
      width: 8px;
      height: 8px;
      background-color: $--color-primary;
      border-radius: 50%;
      margin-right: 5px;
    }
  }
}
.teacher-clazz-score {
  .teacher-table {
    min-height: 273px;
  }
}

// assign-score-action-try
.assign-score-action-try {
  .summary-info {
    color: $--color-text-dark-1;
    margin: 0 -10px;
    &-row {
      display: table;
      width: 100%;
      border-spacing: 10px;
      border-collapse: separate;

      .summary-info-item {
        &:nth-of-type(1) {
          background-color: $--color-blue;
          color: $--color-white;
          i {
            background-color: $--color-blue-white;
          }
        }
        &:nth-of-type(2) {
          background-color: $--color-cyan-light;
          color: $--color-white;
          i {
            background-color: $--color-cyan;
          }
        }
        &:nth-of-type(3) {
          i {
            background-color: $--color-warning;
          }
        }
        &:nth-of-type(4) {
          i {
            background-color: $--color-success;
          }
        }
        &:nth-of-type(5) {
          i {
            background-color: $--color-purple;
          }
        }
        &:nth-of-type(6) {
          i {
            background-color: $--color-danger;
          }
        }
      }
    }

    &-item {
      position: relative;
      display: table-cell;
      vertical-align: middle;
      padding: 20px 20px 20px 66px;
      border-radius: $--border-radius-large;
      border: 1px solid $--color-border;
      overflow: hidden;

      > i {
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: $--border-radius;
        top: 50%;
        left: 20px;
        margin-top: -16px;
        overflow: hidden;
      }

      p {
        font-size: 12px;
        &:nth-of-type(1) {
          opacity: 0.8;
        }
        &:nth-of-type(2) {
          font-weight: 600;
          font-size: 16px;
          padding-top: 5px;
          line-height: 1;
        }
      }
    }
  }
  .summary-school {
    padding: 10px;
    color: $--color-text-gray;
    line-height: 1.8;
    p {
      overflow: hidden;
      span {
        display: block;
        &:first-child {
          float: left;
          width: 70px;
        }
        &:last-child {
          margin-left: 70px;
        }
      }

      &:first-child {
        span {
          line-height: 45px;
        }
        span:last-child {
          font-size: 32px;
          color: $--color-primary;
        }
      }
    }
  }
  .chart-ksctnd {
    height: 400px;
  }
  .chart-qfdnd {
    height: 503px;
  }
  .chart-ndspzd {
    height: 340px;
  }
}

// module-select
.module-select {
  font-size: 0;
  border-radius: 8px;
  overflow: hidden;
  height: 24px;
  line-height: 24px;
  &-item {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    padding: 0 10px;
    background-color: $--color-background;
    color: #afb3c7;
    cursor: pointer;

    &-act {
      background-color: #afb3c7;
      color: $--color-white;
    }
    &:hover {
      color: $--color-text-gray;
    }
  }
}
.report-tips {
  font-size: 12px;
  font-weight: 400;
  color: #626a82;
  line-height: 20px;
  margin-top: 13px;

  &::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(../images/college/icon-star.png);
    width: 10px;
    height: 10px;
    margin-right: 3px;
    margin-top: -2px;
  }
}

// frame-container
.frame-container {
  position: relative;
}
.frame-loading {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 150px;
  left: 50%;
  margin-left: -40px;
  border: 2px solid #999;
  border-radius: 50%;
  z-index: auto;
  animation: ani-spin 1s linear infinite;

  &::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: -2px;
    left: 50%;
    margin-left: -10px;
    z-index: auto;
    background: #fff;
  }

  &-white {
    &::before {
      background: #fff;
    }
  }
}
@keyframes ani-spin {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(1turn);
  }
}
