input::-webkit-input-placeholder,
input::-moz-placeholder,
input:-ms-input-placeholder,
input:-moz-placeholder {
  font-size: 14px;
  font-weight: 400;
  color: #8c94ac;
}
/* browse style */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-button {
  display: none;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #999;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-resizer {
  background: transparent;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}
.box-justify {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

// fomate
.color-primary {
  color: #1886fe;
}
.color-success {
  color: #1cd1a1;
}
.color-danger {
  color: #fe5863;
}
.color-warning {
  color: #e6a23c;
}

// part-box
.part-box {
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 6px;

  &-form {
    padding: 20px 20px 2px;
  }

  &-head {
    margin-bottom: 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    &-left {
      > h1 {
        color: #202b4b;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
      }
    }
  }
}
.part {
  &-filter {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 6px;

    > div[class^="part-filter"]:nth-of-type(2) {
      border-top: 1px solid #f0f4f9;
    }
    .line-split {
      display: inline-block;
      margin: 0 5px;
      color: #ccd4e2;
      font-weight: 600;
    }

    &-info {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      padding: 10px 20px;

      &-sub {
        padding-left: 20px;
      }
    }

    &-form {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      padding: 20px 20px 10px;

      &-action {
        padding-bottom: 15px;
        white-space: nowrap;
        display: flex;
        align-items: flex-end;
      }

      .el-form-item {
        margin-bottom: 15px;
      }
      .el-form-item__label {
        margin-bottom: 0;
      }
      .el-button {
        vertical-align: top;
      }
    }
  }
}

.part-page {
  margin-top: 20px;
  text-align: right;
  &::after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
  }

  .page-info {
    float: left;
    line-height: 32px;
  }
  .el-pagination {
    float: right;
    padding: 0;
  }
}

.clear-float {
  &::after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
  }
}

// other
.echarts {
  height: 100% !important;
  width: 100% !important;
}
.el-icon-btn {
  &.el-button {
    padding: 8px;
  }
  i.icon {
    margin: 0;
  }
}
// avarar
.avatar-default {
  width: 100%;
  height: 100%;
  background-color: #e8edf3;
  position: relative;

  > i {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #8c94ac;
  }
}
// tips-info
.tips-info {
  position: relative;
  padding-left: 30px;

  > i {
    position: absolute;
    display: block;
    left: 0;
    top: 3px;
    font-size: 20px;
  }
  > p {
    margin: 0;
    line-height: 20px;
    font-size: 14px;
    font-weight: 400;
  }
}
.tips-error {
  color: rgba(254, 88, 99, 1);
}
.margin-left-5 {
  margin-left: 5px;
}

// :fullscreen
.app-fullscreen {
  .nav-bar,
  .side-bar,
  .app-footer {
    display: none;
  }
  .main-container {
    margin: 0;
    padding: 0;
  }
}
// summary-line
.summary-line {
  font-size: 0;
  min-height: 32px;
  padding: 6px 10px 6px 0;
  &-item {
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 25px 0 0;
    line-height: 20px;
    color: #202b4b;
    cursor: pointer;

    &:first-child {
      margin: 0;
    }

    > .icon {
      margin-right: 8px;
      margin-top: -2px;
    }

    span.line-name {
      color: #626a82;
    }
    > span:last-child {
      color: #202b4b;
      font-weight: 600;
    }

    &:hover {
      span.line-name,
      > span:last-child {
        color: #1886fe;
      }
    }
  }
}
.el-popover.warning-popover {
  background: #ff9f43;
  box-shadow: 0px 0px 6px 0px rgba(255, 158, 59, 0.5);
  border-radius: 6px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  line-height: 17px;
  &[x-placement^="bottom"] .popper__arrow::after {
    border-bottom-color: #ff9f43 !important;
  }
  &[x-placement^="top"] .popper__arrow::after {
    border-top-color: #ff9f43 !important;
  }
}

// realtim-monitoring msg-monitor
.msg-monitor {
  color: #202b4b;
  > span {
    display: inline-block;
    vertical-align: middle;
    > b {
      margin: 0 3px;
    }
  }
  &-icon {
    height: 36px;
    width: 36px;
    background-color: #fe5863;
    padding-top: 6px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    > i {
      width: 18px;
      height: 17px;
    }
  }
  &-action {
    color: #1886fe;
    cursor: pointer;

    &:hover {
      font-weight: 600;
    }
  }
}
.msg-monitor-magbox {
  width: 400px;
  .el-notification__closeBtn {
    top: 25px;
  }
  .el-notification__content {
    margin: 0;
  }
}

// warning-detail
.warning-detail {
  position: absolute;
  top: 80px;
  left: 20px;
  bottom: 54px;
  right: 20px;
  z-index: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  &-head {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    position: relative;

    > h2 {
      font-weight: 600;
      font-size: 18px;
      line-height: 28px;
      margin: 0;
    }
  }

  &-body {
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .detail-body-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    border-bottom: 1px solid #f0f4f9;
    flex-grow: 0;
    flex-shrink: 0;

    &-left {
      > p {
        display: inline-block;
        vertical-align: middle;
        line-height: 32px;
        height: 32px;
        margin: 0 15px 0 0;
        color: #6d768e;

        &:first-child {
          font-size: 18px;
          color: #202b4b;

          i {
            margin-right: 10px;
          }
        }
      }
    }

    &-right {
      .el-button {
        padding: 0;
        width: 32px;
        height: 32px;
      }
    }
  }
  &-main {
    flex-grow: 2;
    position: relative;
  }
}
.warning-action {
  position: absolute;
  width: 292px;
  left: 0;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
  border-right: 1px solid #f0f4f9;

  .student-avatar {
    width: 180px;
    height: 240px;
    margin: 0 auto;
    position: relative;
    background-color: #e8edf3;

    > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .avatar-title {
      position: absolute;
      background-color: rgba($color: #000000, $alpha: 0.3);
      color: #fff;
      line-height: 30px;
      text-align: center;
      height: 30px;
      bottom: 0;
      width: 100%;
      z-index: auto;
      font-size: 12px;
    }
  }

  .warning-summary {
    width: 180px;
    margin: 24px auto;
    position: relative;

    .summary-bg {
      &-line {
        &:nth-of-type(1) {
          position: absolute;
          width: 100%;
          left: 0;
          top: 50%;
          z-index: 8;
          border-bottom: 1px dashed #e8edf3;
        }
        &:nth-of-type(2) {
          position: absolute;
          height: 100%;
          left: 50%;
          top: 0;
          z-index: 8;
          border-left: 1px dashed #e8edf3;
        }
      }
      &-spin {
        &:nth-of-type(3) {
          position: absolute;
          height: 8px;
          border-left: 1px solid #b3bfce;
          left: 50%;
          top: 50%;
          margin-top: -12px;
          z-index: 9;
        }
        &:nth-of-type(4) {
          position: absolute;
          height: 8px;
          border-left: 1px solid #b3bfce;
          left: 50%;
          top: 50%;
          margin-top: 4px;
          z-index: 9;
        }
        &:nth-of-type(5) {
          position: absolute;
          width: 8px;
          border-bottom: 1px solid #b3bfce;
          left: 50%;
          top: 50%;
          margin-left: -12px;
          z-index: 9;
        }
        &:nth-of-type(6) {
          position: absolute;
          width: 8px;
          border-bottom: 1px solid #b3bfce;
          left: 50%;
          top: 50%;
          margin-left: 4px;
          z-index: 9;
        }
      }
    }

    &-row {
      font-size: 0;

      &:nth-of-type(1) {
        padding-bottom: 16px;
      }
      &:nth-of-type(2) {
        padding-top: 16px;
      }
    }
    &-col {
      font-size: 14px;
      display: inline-block;
      vertical-align: top;
      width: 50%;
      color: #626a82;
      margin: 0;

      &:last-child {
        text-align: right;
      }
      .icon {
        vertical-align: top;
        margin-right: 8px;
      }

      span {
        display: inline-block;
        vertical-align: top;
        line-height: 1;
      }
      em {
        display: block;
        font-size: 16px;
        font-weight: 600;
        margin-top: 10px;
        font-style: normal;
        text-align: left;
      }
    }
  }

  .action-list {
    font-size: 0;
    .action-item {
      display: inline-block;
      vertical-align: top;
      width: 50%;
      text-align: center;
      margin: 5px 0;
    }
    .el-button {
      padding-left: 10px;
      padding-right: 10px;
      width: 115px;
      margin: 0;
    }
    button:nth-of-type(odd) {
      margin: 0;
    }
  }
}
.warning-content {
  position: absolute;
  right: 0;
  left: 292px;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;

  .warning-videos {
    margin: -5px;
    font-size: 0;
  }
  .student-video {
    &-item {
      display: inline-block;
      vertical-align: top;
      padding: 5px;
      width: 50%;
    }
    &-container {
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      height: 240px;

      .flv-media {
        z-index: 9;
      }
    }
    &-tips {
      position: absolute;
      bottom: 10px;
      left: 10px;
      z-index: 100;
      padding: 8px 20px;
      font-size: 12px;
      line-height: 1;
      background-color: rgba(215, 215, 215, 0.3);
      border-radius: 12px;
      color: #fff;
    }

    &-muted {
      position: absolute;
      width: 24px;
      height: 24px;
      bottom: 10px;
      right: 10px;
      z-index: 100;
      text-align: center;
      line-height: 24px;
      cursor: pointer;

      &:hover {
        transform: scale(1.05, 1.05);
      }

      .icon {
        margin-top: -2px;
      }
    }
  }
}
.warning-track {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f4f9;

  &-title {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 600;

    .icon {
      margin-top: -2px;
      margin-right: 10px;
    }
  }
  &-item {
    min-height: 100px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;

    &:last-child {
      .warning-track-type {
        &::before {
          display: none;
        }
      }
    }
  }
  &-body {
    flex-grow: 2;
    padding-bottom: 30px;
  }
  &-cancel {
    font-weight: 600;
    color: #fe5863 !important;
    cursor: pointer;

    &:hover {
      color: mix(#000, #fe5863, 20%) !important;
    }
  }
  &-info {
    &-title {
      margin-bottom: 6px;
      line-height: 20px;

      > span {
        display: inline-block;
        vertical-align: middle;
        color: #626a82;
        margin-right: 10px;
      }

      > h3 {
        font-size: 16px;
        font-weight: 600;
        color: #202b4b;
        margin: 0;
        display: inline-block;
        vertical-align: middle;
      }
    }

    > h5 {
      font-size: 13px;
      font-weight: 600;
      color: #626a82;
      line-height: 18px;
      margin-bottom: 4px;
    }

    > p {
      font-size: 13px;
      font-weight: 400;
      color: #626a82;
      line-height: 16px;
      margin: 0;
    }
  }

  &-type {
    position: relative;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0 20px;

    .icon {
      position: relative;
      z-index: 9;
    }

    &::before {
      content: "";
      display: block;
      position: absolute;
      height: 100%;
      border-left: 1px dashed #abb8c9;
      left: 50%;
      top: 0;
      z-index: 8;
    }
  }
  &-media {
    padding: 0;
    margin: 10px 0 0 0;
    list-style: none;

    li {
      display: inline-block;
      vertical-align: top;
      width: 180px;
      height: 100px;
      margin: 0 10px 5px 0;
      border-radius: 6px;
      background-color: #e8edf3;
      overflow: hidden;

      > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        cursor: pointer;
      }
    }
  }
}

// communication-dialog
.communication-dialog {
  position: fixed;
  overflow: hidden;
  width: 500px;
  height: 720px;
  background: #000;
  right: 40px;
  bottom: auto;
  left: auto;
  top: 120px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 0 10px #444;

  .communication-box {
    position: relative;
    height: 100%;
    video {
      display: block;
      width: 100%;
      height: 100%;
    }

    .communication-host {
      position: relative;
      height: 100%;
    }
    .communication-guest {
      position: absolute;
      width: 90px;
      height: 120px;
      border-radius: 6px;
      top: 10px;
      right: 10px;
      z-index: 99;
      background: rgb(58, 58, 58);
    }
    .communication-action {
      position: absolute;
      left: 50%;
      bottom: 10px;
      z-index: 99;
      transform: translateX(-50%);
    }
    .communication-info {
      position: absolute;
      right: 10px;
      bottom: 10px;
      height: 30px;
      line-height: 30px;
      color: #fff;
      z-index: 99;

      > span {
        display: block;
        float: left;

        &:last-child {
          float: right;
        }
      }
    }
  }

  .communication-wait {
    position: relative;
    height: 100%;
    text-align: center;
    padding: 150px 40px 40px;

    &-tips {
      font-size: 16px;
      font-weight: 600;
      color: rgba(28, 209, 161, 1);
      line-height: 22px;
    }

    &-avatar {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      overflow: hidden;
      margin: 20px auto 12px;
      > img {
        display: block;
        width: 100%;
        height: auto;
      }
    }
    &-username {
      font-size: 18px;
      font-weight: 600;
      color: #fff;
      line-height: 25px;
      margin-bottom: 180px;
    }
  }
  // element
  .el-dialog__footer,
  .el-dialog__header {
    display: none;
  }
}

// handle-rollup-dialog
.handle-rollup-dialog {
  .tips-info {
    margin-bottom: 30px;
  }
}

// student-breach-dialog
.student-breach-dialog {
  .student-info {
    margin: 30px 0 20px;
    &-item {
      display: inline-block;
      vertical-align: top;

      &:not(:last-child) {
        margin-right: 20px;
        color: #626a82;
      }
      span:nth-of-type(2) {
        color: #202b4b;
        font-weight: 600;
      }
    }
  }
}

// exam-batch-dialog
.exam-batch-dialog {
  .el-radio {
    color: #202b4b;
    margin-bottom: 20px;
    margin-right: 0;
    line-height: 20px;
    font-weight: 400;
  }
}

// student-log-detail-dialog
.student-log-detail-dialog {
  .el-dialog {
    background: #f0f4f9;
  }
  .el-dialog__footer {
    display: none;
  }
}

// gray-dialog
.gray-dialog {
  .el-dialog {
    background: #f0f4f9;
    .el-dialog__body {
      padding-top: 5px;
    }
  }
}

// exam-edit
.exam-edit {
  position: absolute;
  top: 90px;
  right: 30px;
  bottom: 45px;
  left: 30px;
  overflow: hidden;

  .tab-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9;
    border-top: 1px solid #f0f4f9;

    padding: 15px 30px;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    .el-button {
      width: 83px;
    }
  }

  .el-tabs {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 8;
    padding-bottom: 62px;
  }
  .el-tabs__header {
    flex-grow: 0;
    flex-shrink: 0;
  }
  .el-tabs__content {
    flex-grow: 2;
    overflow: auto;
  }
}

// invigilation-student-media-dialog
.invigilation-student-media-dialog {
  .el-dialog {
    background-color: rgba($color: #000000, $alpha: 0.8);
    border-radius: 0;

    .el-dialog__body {
      height: 100%;
      padding-bottom: 60px;
    }
  }
  .el-dialog__header {
    display: none;
  }
  .el-dialog__footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9;
    padding: 10px;
    border-top: 1px solid #333;
    text-align: left;
    color: #888;
  }
  .media-close {
    position: absolute;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    top: 10px;
    right: 10px;
    font-size: 32px;
    z-index: 99;
    cursor: pointer;
    &:hover {
      color: #fff;
    }
  }
  .media-video {
    height: 100%;

    video {
      width: 100%;
      height: 100%;
    }
  }
  .media-info p {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
    margin-bottom: 0;

    &:first-child {
      font-size: 16px;
      color: #1886fe;
    }
  }
}

.preview-paper-dialog {
  .el-dialog {
    width: 1000px;
    height: 100%;
    position: relative;
  }
  .el-dialog__body {
    background-color: #f0f4f9;
    position: absolute;
    top: 57px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
  }
  .el-dialog__header {
    position: absolute;
    z-index: 999;
    width: 100%;
  }
  .el-dialog__footer {
    display: none;
  }
  .paper-content {
    background-color: #fff;
    margin: 10px auto;
  }
  .paper-content-long {
    height: auto;
  }
}

.flex-stretch {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
// invi-container
.invi-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: auto;
  background-image: url(../assets/bg-invi-body.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  min-height: 900px;
  min-width: 1440px;

  .invi-header {
    position: absolute;
    width: 100%;
    height: 65px;
    top: 0;
    left: 0;
    z-index: 8;
    background-image: url(../assets/bg-invi-head.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    .text-clock {
      position: absolute;
      bottom: 18px;
      right: 20px;
      font-size: 12px;
    }
  }
  .invi-title {
    margin: 0;
    padding-top: 16px;
    height: 100%;
    font-size: 28px;
    text-align: center;
    line-height: 32px;
    letter-spacing: 2px;
    text-shadow: 0px 0px 10px rgba(45, 153, 255, 0.5);
  }

  .invi-body {
    height: 100%;
    padding-top: 65px;
    overflow: hidden;
    @extend .flex-stretch;
  }
  .invi-monitor {
    flex-shrink: 0;
    flex-grow: 0;
    width: 280px;
    padding: 10px 20px;
    &-item {
      height: 25%;
      padding: 10px 0;
    }

    .invigilation-student {
      padding: 20px 20px 70px;
      margin: 0;
      height: 100%;
      background: rgba(63, 67, 87, 0.3);
      border-radius: 10px;
      box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
      overflow: hidden;
      border: none;
    }
    .student-video {
      margin-bottom: 0;
      height: 100%;
    }
    .student-info {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 20px;
      z-index: 9;
    }
    .student-info-tips {
      display: none;
    }
    .student-info-header {
      margin-bottom: 0;
      margin-right: 55px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .student-info-content {
      > p {
        font-size: 12px;
        line-height: 1;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.5);
        margin-right: 55px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      > p:nth-of-type(2) {
        display: none;
      }
    }
    .student-info-name {
      font-size: 12px;
      line-height: 1;
      margin-bottom: 6px;
      > i {
        display: none;
      }
    }
    .student-info-detail {
      position: absolute;
      top: 5px;
      right: 0;
      margin: 0;
      z-index: 9;
      box-shadow: inset 0px 0px 6px 0px #2d99ff;
      border-radius: 4px;
      border: 1px solid #2d99ff;
      padding: 0 4px;
      border-radius: 4px;
      .el-button {
        display: block;
        line-height: 20px;
        font-size: 12px;
        margin-top: -1px;
      }
      i {
        display: none;
      }
    }
  }
  .invi-main {
    flex-grow: 2;
    position: relative;
  }
  .invi-summary {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 8;
    top: 40px;
    white-space: nowrap;

    &-item {
      display: inline-block;
      vertical-align: top;
      margin: 0 10px;
      background: rgba(63, 67, 87, 0.3);
      border-radius: 10px;
      box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
      overflow: hidden;
      padding: 20px 10px;
      width: 160px;

      > h4 {
        font-size: 12px;
        line-height: 1;
        margin-bottom: 8px;
      }
      > p {
        font-size: 24px;
        line-height: 1;
        font-weight: bold;
        text-shadow: 0px 0px 10px rgba(45, 153, 255, 0.5);
        margin: 0;
      }
    }
  }
  .invi-map-chart {
    height: 100%;
    padding-top: 130px;
    padding-bottom: 10px;
  }
  .invi-analysis {
    flex-shrink: 0;
    flex-grow: 0;
    width: 600px;
    padding: 10px 20px;

    &-item {
      height: 25%;
      padding: 10px 0;
      .el-progress-bar__outer {
        box-shadow: inset 0px 0px 6px 0px rgba(45, 153, 255, 0.5);
        background-color: transparent;
        padding: 2px;
      }
      .el-progress-bar__inner {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
      }
    }
    &-box {
      height: 100%;
      padding: 8px;
      background: rgba(63, 67, 87, 0.3);
      border-radius: 10px;
      box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
      position: relative;
    }
    &-title {
      position: absolute;
      width: 180px;
      height: 30px;
      top: 8px;
      left: 8px;
      z-index: 8;
      background: linear-gradient(90deg, #3f4357 0%, rgba(63, 67, 87, 0) 100%);
      border-radius: 6px 0px 0px 6px;
      padding: 9px 0 9px 12px;
      margin: 0;
      font-size: 12px;
    }
  }
  .invi-types {
    @extend .flex-stretch;
    &-table {
      width: 50%;
      padding-top: 50px;
      overflow: hidden;
    }
    &-chart {
      width: 50%;
    }
  }

  .invi-area {
    @extend .flex-stretch;

    &-table {
      width: 50%;
      padding-top: 50px;
      overflow: hidden;
    }
    &-chart {
      width: 50%;
    }
  }
  .invi-types-chart,
  .invi-area-chart {
    position: relative;

    .invi-chart-title {
      position: absolute;
      width: 100px;
      height: 100px;
      left: 50%;
      top: 50%;
      margin-top: -50px;
      margin-left: -50px;
      border-radius: 50%;
      background: rgba(63, 67, 87, 0.3);
      box-shadow: inset 0px 0px 10px 0px #3f4357;
      font-size: 12px;
      font-weight: 500;
      color: rgba(225, 230, 239, 0.5);
      line-height: 100px;
      text-align: center;
      letter-spacing: 1px;
      z-index: 9;
    }
  }

  .invi-time {
    padding: 0;
    &-chart {
      height: 100%;
    }
  }

  .invi-student {
    &-table {
      padding-top: 50px;
      padding-bottom: 8px;
      overflow: hidden;
      height: 100%;

      .invi-table {
        text-align: left;
      }
      td {
        color: rgba(225, 230, 239, 1);
      }

      tr:nth-of-type(even) {
        background: linear-gradient(
          90deg,
          #20242b 0%,
          rgba(32, 36, 43, 0) 100%
        );

        td:first-child {
          border-top-left-radius: 6px;
          border-bottom-left-radius: 6px;
        }
      }
    }
  }

  .invi-table {
    width: 100%;
    height: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    text-align: right;
    font-size: 12px;
    color: rgba(225, 230, 239, 0.5);

    th,
    td {
      border: none;
      font-weight: 400;
      padding: 0 5px;
    }
    .td-cont {
      display: inline-block;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .echarts > div {
    margin: 0 auto !important;
  }
}
.flip-list-move {
  transition: transform 0.5s;
}
@media screen and (max-width: 1919px) {
  .exam-invigilation-full {
    .invi-header {
      height: 40px;
      .text-clock {
        bottom: 10px;
      }
    }
    .invi-title {
      padding-top: 8px;
      font-size: 18px;
      line-height: 24px;
      letter-spacing: 1px;
    }
    .invi-body {
      padding-top: 40px;
    }
    .invi-summary {
      top: 20px;
      &-item {
        padding: 15px 10px;
        width: 120px;
        margin: 0 5px;
      }
    }
    .invi-map-chart {
      padding-top: 105px;
    }
    .invi-monitor {
      width: 220px;
      padding: 5px 5px 5px 10px;
      &-item {
        padding: 5px 0;
      }

      .invigilation-student {
        padding: 10px 10px 50px;
      }
      .student-info {
        bottom: 10px;
        left: 10px;
        right: 10px;
      }
    }
    .invi-analysis {
      width: 460px;
      padding: 5px 10px 5px 5px;
      &-item {
        padding: 5px 0;
      }
      &-title {
        height: 24px;
        top: 6px;
        left: 6px;
        padding: 6px 0 6px 8px;
      }
    }

    .invi-types {
      padding: 6px;
      &-table {
        width: 60%;
        padding-top: 30px;
      }
      &-chart {
        width: 40%;
      }
    }
    .invi-area {
      padding: 6px;
      &-table {
        width: 60%;
        padding-top: 30px;
      }
      &-chart {
        width: 40%;
      }
    }
    .invi-types-chart,
    .invi-area-chart {
      .invi-chart-title {
        width: 80px;
        height: 80px;
        margin-top: -40px;
        margin-left: -40px;
        letter-spacing: 0;
        line-height: 80px;
      }
    }
    .invi-student {
      padding: 6px;

      &-table {
        padding-top: 30px;
        padding-bottom: 6px;
        .invi-table {
          th,
          td {
            padding: 0;
          }
        }
      }
    }
  }
}
// exam-invigilation
.exam-invigilation {
  &.invi-container {
    position: relative;
    background-image: none;
    color: inherit;
    @extend .flex-stretch;
  }
  .invi-body {
    height: auto;
    flex-grow: 2;
    padding-top: 0;
    display: block;
    &-title {
      font-size: 18px;
      line-height: 1;
      margin-bottom: 15px;
    }
  }
  .invi-monitor {
    position: relative;
    padding: 13px 0 0 20px;
    &-title {
      position: absolute;
      top: 0;
      font-size: 18px;
      line-height: 1;
      margin: 0;
    }
    &-item {
      height: 25%;
      padding: 20px 0 0 0;
    }
    .invigilation-student {
      background: #fff;
    }
    .student-info-content {
      > p {
        color: inherit;
      }
    }
    .student-info-detail {
      box-shadow: none;
    }
  }
  .invi-summary {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 10px;
    &-item {
      display: block;
      flex-grow: 1;
      background: #fff;
      margin: 0;
      &:not(:first-child) {
        margin-left: 20px;
      }
    }
  }
  .invi-analysis {
    width: auto;
    padding: 10px 0;

    &:last-child {
      padding-bottom: 0;
    }
    &-item {
      height: 300px;
      padding: 0;
    }

    &-2 {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      .invi-analysis-item {
        flex-grow: 1;
        &:not(:first-child) {
          margin-left: 20px;
        }
      }
    }

    &-box {
      background: #fff;
      padding: 10px;
    }
    &-title {
      background: transparent;
      font-size: 16px;
      padding: 0;
      line-height: 30px;
      top: 10px;
      left: 10px;
    }
  }

  .invi-types-chart,
  .invi-area-chart {
    .invi-chart-title {
      background: #fff;
      box-shadow: none;
      font-size: 14px;
      color: inherit;
    }
  }

  .invi-student {
    &-table {
      padding-top: 40px;

      td {
        color: inherit;
      }

      tr:nth-of-type(even) {
        background: rgba(45, 153, 255, 0.1);
      }
    }
  }

  .invi-table {
    color: inherit;
    font-size: 14px;
  }
}
// flv-media
.flv-media {
  position: relative;
  height: 100%;

  > video {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
  }

  .media-error {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 1);
    color: #d0d0d0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 6px;
    font-size: 14px;

    &-content {
      span {
        display: inline-block;
        vertical-align: middle;
      }

      .el-button {
        padding: 0;
        font-size: 14px;
        outline: none;
        border: none;
      }
    }
  }
  .media-video-muted {
    position: absolute;
    width: 28px;
    height: 28px;
    bottom: 10px;
    right: 10px;
    z-index: 100;
    text-align: center;
    line-height: 28px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;

    &:hover {
      transform: scale(1.1, 1.1);
    }
  }
}

.cc-image-preview {
  &-header {
    position: absolute;
    width: 100%;
    padding: 15px;
    top: 0;
    left: 0;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
    z-index: 99;
    color: #f0f0f0;
    h3 {
      position: absolute;
      left: 15px;
      z-index: auto;
    }
  }
  &-close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 5px;
    right: 15px;
    z-index: 100;
    line-height: 30px;
    text-align: center;
    font-size: 40px;
    color: #fff;
    text-shadow: 0 0 2px #333;
    cursor: pointer;

    &:hover {
      color: #f56c6c;
    }
  }
  &-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: auto;
    overflow: hidden;
  }
  &-imgs {
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    margin-left: -300px;
    // box-shadow: 0px 24px 36px 0px rgba(0, 0, 0, 0.3);
    transition: width, height, transform 0.2s linear;
    z-index: 8;
    &-nosition {
      transition: none;
    }
    &-move {
      cursor: move;
    }
    > img {
      display: block;
      width: 100%;
    }
  }
  &-guide {
    position: absolute;
    width: 80px;
    height: 80px;
    line-height: 80px;
    top: 50%;
    margin-top: -80px;
    text-align: center;
    color: #d0d0d0;
    z-index: 9;
    font-size: 60px;
    text-shadow: 0 0 2px #333;
    cursor: pointer;

    &:hover {
      color: #eee;
    }
    > i {
      margin-top: -5px;
    }
    &-prev {
      left: 0;
    }
    &-next {
      right: 0;
    }
  }
  &-footer {
    position: absolute;
    width: 50px;
    bottom: 0;
    right: 0;
    padding: 5px;
    color: #838eb4;
    z-index: 99;
    ul {
      padding: 0;
    }
    li {
      height: 40px;
      width: 40px;
      line-height: 40px;
      text-align: center;
      font-size: 30px;
      cursor: pointer;
      list-style-type: none;
      transition: transform 0.2s linear;
    }
    li:hover {
      text-shadow: 0 0 5px #333;
      color: #e1efe0;
      transform: scale(1.2, 1.2);
    }
    li.li-disabled {
      cursor: not-allowed;
      color: #d0d0d0 !important;
      transform: none !important;
    }
  }

  &-loading {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    left: 50%;
    margin: 0 0 0 -30px;
    color: rgba(221, 226, 237, 1);
    font-size: 50px;
    text-align: center;
    line-height: 60px;
    z-index: 99;
  }

  &-preload {
    position: absolute;
    z-index: 9;
    width: 100px;
    height: 100px;
    overflow: hidden;
    top: -1000px;
    left: -1000px;
  }

  &-none {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e0e0e0;
    text-align: center;
    font-size: 20px;
    > i {
      font-size: 30px;
    }
  }

  // element
  .el-dialog {
    background: rgba(55, 55, 55, 0.8);
  }
  .el-dialog__body {
    top: 0;
    background-color: transparent;
  }
  .el-dialog__footer,
  .el-dialog__header {
    display: none;
  }
}

.student-track {
  &-record {
    position: absolute;
    top: 80px;
    left: 20px;
    bottom: 54px;
    right: 20px;
    z-index: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  &-head {
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 10px;
  }
  &-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: #202b4b;
  }

  &-info {
    flex-grow: 0;
    flex-shrink: 0;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 6px;

    &-left {
      font-size: 16px;
      font-weight: bold;
      line-height: 1;
      color: #202b4b;

      .icon {
        margin-right: 10px;
        margin-top: -4px;
      }
    }

    &-list {
      font-size: 12px;
      color: #626a82;
      font-weight: bold;
    }
    &-item:not(:first-child) {
      margin-left: 20px;
    }
  }

  &-body {
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    flex-grow: 2;
    overflow: hidden;

    .el-row {
      height: 100%;
    }
    .el-col {
      height: 100%;
      overflow: auto;

      &:first-child {
        border-right: 1px solid #f0f4f9;
      }
    }

    .warning-track {
      margin: 0;
      border: none;
      padding-top: 0;
    }

    .table {
      width: 100%;
      border-spacing: 0;
      border-collapse: collapse;
      text-align: left;
      color: #626a82;

      th {
        padding: 12px 20px;
        line-height: 1.2;
        color: #202b4b;
        border: 1px solid #e8edf3;
        background: #f0f4f9;
      }
      td {
        padding: 14px;
        line-height: 1.2;
        border: 1px solid #e8edf3;

        &.td-link {
          span {
            color: #1886fe;
            cursor: pointer;
            &:hover {
              opacity: 0.8;
            }
          }
        }
      }
    }
  }
}

.student-monitor-record-dialog {
  .el-dialog {
    background-color: transparent;
    border-radius: 0;
    .el-dialog__header {
      padding: 0;
      border-bottom: none;
    }
  }
  .el-dialog__headerbtn {
    font-size: 30px;
    color: #000;
    top: 0;
    right: 0;
    z-index: 9;
    .el-dialog__close {
      color: #fff;
    }
  }
  .el-dialog__body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
  }
  .el-dialog__footer {
    position: absolute;
    height: 40px;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    line-height: 20px;
    background-color: #fff;
  }
  .record-video {
    background: #000000;
    border-radius: 6px;
    height: 100%;
    overflow: hidden;

    &-none {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-around;
      text-align: center;
      color: #333;

      i {
        font-size: 80px;
      }
    }
  }
  .record-footer-tips {
    text-align: center;
    .icon {
      margin-right: 10px;
      margin-top: -1px;
    }

    .record-qr {
      color: #1886fe;
      text-decoration: underline;
      font-style: normal;
      cursor: pointer;
      &:hover {
        color: mix(#333, #1886fe, 20%);
      }
    }
  }
}
.record-code-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;

  .el-dialog__header,
  .el-dialog__footer {
    display: none;
  }
  .el-dialog__body {
    position: relative;
    padding: 40px 40px 30px 40px;
    text-align: center;
    font-size: 12px;
  }
  .record-close {
    position: absolute;
    height: 20px;
    width: 20px;
    font-size: 16px;
    line-height: 20px;
    top: 8px;
    right: 8px;
    z-index: 9;
    color: #959fb1;
    cursor: pointer;

    &:hover {
      color: #fe5863;
    }
  }
  .record-tips {
    margin: 20px 0 0;
  }
}
.student-track-record-dialog {
  .el-dialog {
    border-radius: 0;
  }
  .el-dialog__body {
    position: absolute;
    width: 100%;
    top: 58px;
    bottom: 0;
    background-color: #f0f4f9;
  }
  .student-track-record {
    position: relative;
    height: 0;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    height: 100%;
  }
}

// data-statistics
.data-stat {
  position: absolute;
  top: 80px;
  right: 20px;
  bottom: 50px;
  left: 20px;
  overflow: hidden;
  background-color: #fff;
  &-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    padding: 20px;
  }
  &-body {
    position: relative;
    height: 100%;
    padding-top: 88px;
    padding-left: 340px;
  }
  &-table {
    position: absolute;
    left: 10px;
    top: 88px;
    bottom: 20px;
    width: 320px;
    z-index: 9;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f0f4f9;
    border-radius: 10px;
    padding: 15px 10px;

    &-title {
      font-size: 16px;
      font-weight: 600;
      line-height: 1;
      margin-bottom: 10px;
    }

    .el-table {
      background-color: #f0f4f9;

      td,
      th {
        background-color: #f0f4f9;
        padding-top: 8px;
        padding-bottom: 8px;
      }
    }
  }

  .stat-summary {
    text-align: center;
    &-item {
      display: inline-block;
      vertical-align: middle;
      width: 25%;
      font-size: 0;

      > h4 {
        font-size: 14px;
        line-height: 1;
        margin-bottom: 8px;
      }
      p {
        margin: 0;
        font-size: 26px;
        line-height: 1;
      }
    }
  }

  &-chart {
    height: 100%;
    position: relative;

    &-title {
      font-size: 16px;
      font-weight: 600;
      line-height: 1;

      position: absolute;
      top: 15px;
      left: 0;
      z-index: 9;
    }
  }
}
