.coursewarePresetsContainer {
  // padding-bottom: 20px;
  height: 100%;
  display: flex;
  // position: relative;
  // overflow: hidden;

  &.rightLineShow {
    .presetsRight {
      transition: all .1s ease;
      opacity: 1;
      position: relative;
      transform: none;
    }

    // .list {
    //   .itemWrap {
    //     // width: calc(100% / 3);
    //     width: 336px;
    //   }
    // }
  }

  :global {
    .n-base-selection {
      --n-height: max(36px, 32Px) !important;
      width: 220px;
      font-size: max(13px, 12Px);
      border-radius: 7px !important;
    }

    .n-base-selection-input__content {
      font-size: max(15px, 13Px);
    }

    .n-tabs-tab {
      font-weight: 500 !important;
    }

    .n-tabs-tab-pad {
      width: 33px !important;
    }

    .n-tabs-tab.n-tabs-tab--disabled {
      color: #8B8D98 !important;
    }

    .n-tabs-nav {
      padding-top: 20px;
      padding-bottom: 10px;
      padding-left: 30px;
      padding-right: 30px;
    }
  }

  .presetsLeft {
    flex: 1;
    transition: all .1s ease;
    .popoverItem {
      font-weight: 600;
      font-size: max(16px, 12Px);
      width: 196px;
      height: 40px;
      color: #484F59;
      border-radius: 8px;
      text-align: center;
      line-height: 40px;
      padding: 0 12px;
      margin-bottom: 12px;

      &:last-child {
        margin-bottom: 0;
      }
      cursor: pointer;
      &:hover {
        background: #F5F6FA;
      }

      img {
        width: 22px;
        height: 22px;
        margin-right: 12px;
      }
      span {
        display: flex;
        align-items: center;
      }
    }

    :global {
      .n-popover {
        box-shadow: 0px 2px 12px 0px rgba(0,0,0,0.1);
        border-radius: 12px;
        padding: 12px !important;
      }
    }
  }

  .presetsRight {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0px 17px 17px 0px;
    flex: 0 0 340px;

    transition: all .1s ease;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateX(100%);


    .presetsArrar {
      position: absolute;
      left: -23px;
      top: 50%;
      margin-top: -30px;
      width: 23px;
      height: 50px;
      line-height: 50px;
      cursor: pointer;
      background-color: #F5F6FA;
      border-radius: 10px 0 0 10px;
      color: #ABAEB0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 99;

      svg {
        transform: rotate(180deg);
      }

      &:hover {
        color: #198CFE;
      }

      &.presetsArrarActive {
        svg {
          transform: rotate(0deg);
        }
      }
    }
  }
}

.openLoading {
  min-height: 200px;
}

.coursewarePresets {
  max-height: calc(var(--window-page-lesson-height) - 100px);
  min-height: calc(var(--window-page-lesson-height) - 100px);
  // padding: 0 20px 0px;
}

.btnSubjectList {
  :global {
    .n-base-selection-input {
      padding-left: 8px;
    }
  }
}

.addBtnIcon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px;
}

.addBtn {
  // height: max(36px, 32Px) !important;
  background: linear-gradient(312deg, #1B7AF8 0%, #3CBBFF 100%) !important;
  border-radius: 7Px !important;
  padding: 0 16Px !important;
  border-radius: 8px;
  height: max(38px, 32Px);
  font-size: max(18px, 13Px) !important;
  font-weight: 600 !important;
  position: relative;
  z-index: 9;

  &::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: -1px;
    display: inline-block;
    width: 80%;
    height: 8px;
    background: linear-gradient(136deg, #31ABFF 0%, #1A7BF8 100%);
    opacity: 0.6;
    filter: blur(7px);
  }

  &:hover {
    // &::after {
    background: linear-gradient(135deg, #62C7FF 0%, #4995FA 100%) !important;
    // }
  }
}


.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: max(17px, 14Px);
  color: #000000;
  line-height: 23px;
  height: 23px;
  text-align: left;
  padding-bottom: 20px;
  box-sizing: content-box;

  .titleLeft {
    display: flex;
    align-items: center;
  }

  .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
  }

  .iconWork {
    background: url('../../../images/icon-knowlage.png') no-repeat center center;
    background-size: contain;
  }

  .iconCourseware {
    background: url('../../../images/icon-courseware.png') no-repeat center center;
    background-size: contain;
  }

  &.line {
    margin-top: 25px;
    border-top: 1px solid #F2F2F2;
    padding-top: 35px;

    .more {
      display: flex;
      align-items: center;
      cursor: pointer;
      padding-left: 10px;
      font-weight: 400;
      font-size: max(13px, 12Px);
      color: #999999;

      &:hover {
        color: #1677FF;

        .iconP {
          background: url('../../../images/icon-arrow-p-active.png') no-repeat center;
          background-size: contain;
        }
      }
    }

    .iconP {
      width: 8px;
      height: 11px;
      display: inline-block;
      background: url('../../../images/icon-arrow-p.png') no-repeat center;
      background-size: contain;
      margin-left: 4px;
    }

    .swipeControll {
      height: 25px;

      .leftIcon {
        transform: rotate(180deg);
      }

      img {
        cursor: pointer;
        width: 25px;
        height: 25px;
      }

      .disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
    }
  }
}

.listLoading {}

.list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  padding: 10px 20px 12px;
  // padding: 0 20px 0px;
  gap: 20px 0;
  margin: 0 -10px 0;
  // height: 313px;


  &.listEmpty {
    min-height: calc(var(--window-page-lesson-height) - 100px);
    align-items: center;
  }

  &.listSame {
    margin-top: 0;
    padding-top: 0;
  }

  .empty1 {
    // padding: 10px 0;
  }

  .itemWrap {
    // width: calc(100% / 4);
    width: 336px;
    // padding-bottom: calc(100% / 3 * 0.73333);
    // position: relative;

    .itemWrapBox {
      //   position: absolute;
      //   left: 0;
      //   top: 0;
      //   width: 100%;
      //   height: 100%;
      padding: 0 10px;
    }
  }

}

.itemWrapBox {
  padding: 0 10px;
}

.attendClassModal1 {
  width: 1360px;
  border-radius: 16px;
  overflow: hidden;
}

.removeVisiable1 {
  width: 432px;

  :global {
    .n-card-header {
      font-size: max(22px, 16Px);
    }
  }

  .studentRemove {
    padding: 20px 40px 0;

    p {
      font-size: max(18px, 14Px);
      color: #777777;
      line-height: 30px;

      span {
        color: #EA4132;
      }
    }
  }

  .btnGroupModal {
    padding: 32px 0;

    :global {
      .n-button {
        height: 47px;
        min-width: 156px;
      }
    }
  }
}

.attendClassModal {
  width: 800px;
  border-radius: 16px;
  overflow: hidden;
}

.workVisiable {
  width: 1420px;

  :global {
    .c-cascaderPopover {
      width: 320px !important;
    }
  }
}

.workContainer {
  display: flex;
  align-items: center;

  .workTrain {
    flex: 1;
    height: 75vh;

    &>div {
      padding-top: 15px;
    }
  }

  :global {
    .train-container {
      // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
      max-height: calc(var(--window-page-lesson-height) - 100px) !important;

      .train-listSection {
        min-height: calc(var(--window-page-lesson-height) - 100px) !important;
      }
    }
  }

  .resourceMain {
    flex: 0 0 360px;
    width: 360px;
    height: 75vh;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  }
}

.popSelect {
  font-size: 16px;
  width: 200px;
  box-shadow: 0px 2 16px 0px rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  --n-option-height: 34px;

  :global {
    .n-base-select-option__content {
      width: 80% !important;
    }
  }
}

.textBtn {
  // background: #fff;
  // border-radius: 8Px;
  // padding: 4Px 0;
  // font-size: max(16px, 13Px);
  // color: rgba(0, 0, 0, 0.6);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 500;

  .iconArrow {
    display: inline-block;
    margin-left: 8px;
    width: 8px;
    height: 5px;
    background: url('@/views/prepare-lessons/images/icon-arrow-1.png') no-repeat center center / contain;
    // transform: rotate(180deg);
  }

  &:hover,
  &.textBtnActive {
    // background: #D2ECFF;
    font-weight: 600;
    color: #131415;
  }

  &:hover {
    color: #198CFE;

    .iconArrow {
      // transform: rotate(0deg);
      background: url('@/views/prepare-lessons/images/icon-arrow-2.png') no-repeat center center / contain;
    }
  }
}

.pptCoursewareModal{
  width: 486px;
  :global{
    .n-card-header{
      background: #F5F6FA;
    }
    .n-card__content{
      padding: 30px;
      .n-form-item .n-form-item-label{
        color: #666666;
        .n-form-item-label__text{
          font-size: max(18px, 13Px);
        }
      }
    }
  }
  .updateBtnGroup {
    padding: 0;
    justify-content: center !important;
    :global {
      .n-button {
        height: 48px !important;
        min-width: 156px;
      }
    }
  }
  .btnItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;

    &.block {
      flex-direction: column;
      align-items: flex-start;

      .btnTitle {
        padding-bottom: 8px;
      }
    }

    .btnTitle {
      flex-shrink: 0;
      font-size: max(18px, 13Px);
      font-weight: 400;
      display: flex;
      align-items: center;
      color: #666666;
    }

    .iconQuestion {
      display: inline-block;
      margin-left: 6px;
      width: 13Px;
      height: 14Px;
      background: url('../../../images/icon-question.png') no-repeat center;
      background-size: contain;
      cursor: pointer;
    }
  }
}
