@import "color.less";

.course-content {
  position: relative;
  float: right;
  width: 65%;
  padding: 2% 3%;
  height: auto;
  @media screen and (max-width: 991px){
    padding-top: 4% !important;
  }

  .course-subject {
    color: @primary;
  }
  .basic-title {
    color: #959494;
    font-size: 16px;
    &:not(:first-child) {
      margin-top: 36px;
    }
  }
  .basic-data {
    color: #515a6e;
    font-weight: bolder;
    font-size: 16px;
  }
  .group-btn {
    cursor: pointer;
    z-index: 1;
    float: right;
    position: relative;
    top: 25px;
    right: 5.5%;
    font-size: 30px;
  }
  .group-on {
    color: @primary;
  }

  //分頁組件
  .ivu-tabs-nav {
    float: left !important;

    text-align: center;
    margin-top: 20px;
    position: relative;
    @media screen and (max-width: 1366px) {
      margin-top: 8px;
    }
  }

  .ivu-tabs-tab {
    text-align: center !important;

    font-size: 20px;
    margin: 0px 10px;
    width: auto;
    
  }
  .ivu-tabs-tab:hover {
    text-align: center !important;
    color: @primary !important;
  }
  .ivu-tabs-tab.ivu-tabs-tab-active.ivu-tabs-tab-focused {
    color: @primary!important;
    font-weight: bolder;
    border-bottom: 5px solid @primary !important;
    margin: 0px 10px;
    width: auto;
  }
  .ivu-tabs-ink-bar {
    height: 0px;
  }
  .ivu-tabs-tabpane {
    position: relative;

    table {
      font-weight: 400;
      border-collapse: collapse;
      width: 100%;
    }

    td,
    th {
      font-size: 16px;
      @media screen and (max-width: 1366px) {
        font-size: 14px;
      }
      text-align: center;
      border-bottom: 1px solid #dddddd;

      &:nth-child(2) {
        text-align: left;
      }
      padding: 5px 0px;
    }
    /*
    tr:nth-child(even) {
      background-color: #dddddd;
    }*/
    td {
      &:first-child,
      &:last-child {
        width: 20%;
      }
      &:nth-child(2) {
        text-align: left;
      }
    }
    margin: 10px 0px;
    &:last-child {
      margin-top: -16px;
      padding-top: 10px;
      height: auto;
    }
    overflow-x: hidden;

   
    
  }
  .group-title {
    background-color: #ececec;
    border-radius: 4px;
    padding: 5px 15px;
    margin-bottom: 10px;
  }
  .group-student {
    border: 1px solid @border;
    display: inline-block;
    padding: 10px;
    width: 18%;
    position: relative;
    margin: 10px;

    td,
    th {
      border-bottom: none;
    }
    .student-no {
      position: relative;
      width: 5% !important;
    }
  }
  .group-studentEn{
    width: 30%;
  }
  
  @media screen and (max-width: 1366px) {
    .group-student {
      width: 30% !important;
    }
  }
  @media screen and (max-width: 991px) {
    .group-student {
      width: 40% !important;
    }
  }
  .my-name {
    color: #24b880;
  }
  .ivu-collapse-simple {
    border: none !important;
  }
  .ivu-collapse > .ivu-collapse-item > .ivu-collapse-header {
    padding-left: 0px;
    font-weight: bolder;
    color: @primary;
  }
}
.courseContentEn {
  width: 50% !important ;
}
