.user-right {
  width: 82%;
  float: right;
  padding-top: 30px;
  padding-left: 30px;
  box-sizing: border-box;
}

.user-subjects-exam-title {
  line-height: 50px;
  font-size: 16px;
  color: #6b6c70;
  border: 1px solid #e5e5e5;
  padding-left: 24px;
  .switch_examine, span, a {
    color: #d64554;
    font-size: 14px;
    cursor: pointer
  }
}

.user-subjects-index {
  margin-top: 15px;
  height: 310px;
  background: #fff;
  box-sizing: border-box;

  border: 1px solid #e5e5e5;
  .exam_continue {
    width: 36%;
    padding: 80px 0;
    box-sizing: border-box;
    float: left;
    height: 100%;
    background: #f8f8f8;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    .exam_box_icon {
      padding-top: 10px;
      line-height: 62px;
      text-align: center;
      img {
        line-height: 62px;
        vertical-align: middle;
      }
    }
    .text {
      margin-top: 10px;
      line-height: 36px;
      color: #626262;
    }
  }
  .exam_list {
    width: 64%;
    float: left;
    ul {
      li {
        float: left;
        width: 50%;
        height: 155px;
        padding: 30px 0 25px;
        text-align: center;
        box-sizing: border-box;
        border-right: 1px solid #e5e5e5;
        border-top: 1px solid #e5e5e5;
        a {
          display: block;
        }
        .exam_list_icon {
          line-height: 62px;
          text-align: center;
          img {
            line-height: 62px;
            vertical-align: middle;
          }
        }
        &:first-child {
          border-top: none;
        }
        &:nth-child(2) {
          border-top: none;
        }
        &:nth-child(2n) {
          border-right: none;
        }
      }
    }
  }
}

#fade {
  display: none;
  background: url("../images/gray.png") repeat center;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
}

.switch_main {
  display: none;
  .rests_list {
    padding-left: 140px;
    a {
      display: block;
      width: 100/5%;
      line-height: 50px;
      color: #b5b5b5;
      font-size: 14px;
      float: left;
    }
  }

}

.switch_classification {
  display: none;
  .rests {
    .search {
      position: relative;
      width: 275px;
      float: right;
      line-height: 34px;
      box-sizing: border-box;
      border-radius: 20px;
      border: 1px solid #f0f0f0;
      overflow: hidden;
      .details {
        width: 100%;
        line-height: 28px;
        padding: 0 64px 0 4px;
        box-sizing: border-box;
      }
      .present {
        width: 64px;
        line-height: 34px;
        text-align: center;
        background: #f6f9fa;
        position: absolute;
        right: 0;
        top: 0;
      }
    }
  }
  .classification_list {
    margin-top: 15px;
    padding-left: 40px;
    ul {
      li {
        width: 100/6%;
        box-sizing: border-box;
        padding: 0 15px;
        float: left;
        h2 {
          color: #e54240;
          font-size: 16px;
          line-height: 36px;
          margin-bottom: 15px;
        }
        .text {
          background: url("../images/icon_bg.jpg") repeat-y top right;
          line-height: 32px;
          a {
            color: #b5b5b5;
            line-height: 20px;
            margin-bottom: 15px;
            display: block;
            &:first-child {
              //margin-top: -15px;
            }
          }
        }
        &:nth-child(6n) {
          .text {
            background: none;
          }
        }
      }
    }
  }
}
.switch_random{
  display: none;
  .random_title{
    border-bottom: 1px solid #ececec;
    line-height: 36px;
    padding-bottom: 10px;
    font-size: 16px;
    padding-left: 40px;
    color: #747474;
    span {
      margin-left: 15px;
      display: inline-block;
      position: relative;
      color: #e54240;
      i {
        position: absolute;
        right: -30px;
        display: block;
        width: 18px;
        height: 18px;
        top: 50%;
        margin-top: -15px;
      }
    }
  }
  .random_text{
    margin-top: 15px;
    color: #626262;
    line-height: 30px;
    padding-left: 40px;
    .random_nav{
      display: inline-block;
      float: right;
      a{
        margin: 0 4px;
        background: #e54240;
        color: #fff;
        font-size: 12px;
        line-height: 30px;
        display: inline-block;
        padding: 0 15px;
        border-radius: 4px;
      }
    }
  }
}
.switch_errors{
  display: none;
  .random_title{
    border-bottom: 1px solid #ececec;
    line-height: 36px;
    padding-bottom: 10px;
    font-size: 16px;
    padding-left: 40px;
    color: #747474;
    span {
      margin-left: 15px;
      display: inline-block;
      position: relative;
      color: #e54240;
      i {
        position: absolute;
        right: -30px;
        display: block;
        width: 18px;
        height: 18px;
        top: 50%;
        margin-top: -15px;
      }
    }
  }
  .random_text{
    margin-top: 15px;
    color: #626262;
    line-height: 30px;
    padding-left: 40px;
    .random_nav{
      display: inline-block;
      float: right;
      a{
        margin: 0 4px;
        background: #e54240;
        color: #fff;
        font-size: 12px;
        line-height: 30px;
        display: inline-block;
        padding: 0 15px;
        border-radius: 4px;
      }
    }
  }
}

.box_main {
  width: 950px;
  box-sizing: border-box;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  min-height: 300px;
  position: fixed;
  left: 50%;
  margin-left: -475px;
  top: 20%;
  z-index: 10;
  .switch_bg {
    position: relative;
  }
  .click_close {
    width: 48px;
    height: 48px;
    position: absolute;
    right: -55px;
    top: -60px;
    z-index: 20;
  }
  .switch_main_title {
    line-height: 60px;
    text-align: center;
    font-size: 30px;
  }
  .selected {
    border-bottom: 1px solid #ececec;
    line-height: 36px;
    padding-bottom: 10px;
    font-size: 16px;
    padding-left: 40px;
    color: #747474;
    span {
      margin-left: 15px;
      display: inline-block;
      position: relative;
      color: #e54240;
      i {
        position: absolute;
        right: -30px;
        display: block;
        width: 18px;
        height: 18px;
        top: 50%;
        margin-top: -15px;
      }
    }
  }
  .rests {
    padding-top: 15px;
    padding-left: 40px;
    font-size: 16px;
    color: #747474;
    line-height: 36px;
  }
}

.harness {
  .harness_top {
    border: 1px solid #eeeeee;
    padding-bottom: 20px;
    .harness_title {
      background: #efefef;
      line-height: 54px;
      .exercise {
        width: 134px;
        float: left;
        line-height: 54px;
        text-align: center;
        color: #fff;
        background: #e64a3b;
      }
      .examine {
        min-width: 140px;
        margin-right: 15px;
        line-height: 54px;
        color: #6e6f73;
        float: right;
        .switch_examine {
          color: #d64554;
          font-size: 14px;
          cursor: pointer
        }
      }
    }
  }
  .harness_subjects {
    padding-left: 96px;
    line-height: 30px;
    position: relative;
    .item {
      line-height: 30px;
      display: block;
      width: 96px;
      position: absolute;
      font-size: 14px;
      left: 0;
      top: 0;
      text-align: center;
    }
    .harness_nav {
      margin-top: 10px;
      .tab-hd {
        li {
          line-height: 30px;
          float: left;
          display: inline-block;
          color: #545454;
          text-align: center;
          margin-right: 24px;
          cursor: pointer;
        }
        li.active {
          color: #e54240;
        }
      }
      .tab-bd {
        width: 80%;
        margin-top: 15px;
        background: #f8f8f8;
        li {
          display: none;
          border-top: 0 none;
          font-size: 14px;
          line-height: 34px;
          a{
            display: inline-block;
            margin: 0 15px;
          }
        }
        li.thisclass {
          display: list-item;
        }
      }
    }

  }
  .harness_sort{
    border: 1px solid #eeeeee;
    padding-left: 100px;
    position: relative;
    line-height: 56px;
    .sortord{
      width: 100px;
      line-height: 56px;
      text-align: right;
      position: absolute;
      left: 0;
      top: 0;
      font-size: 14px;
    }
    .text{
      margin-top: 16px;
      line-height: 24px;
      padding-bottom: 20px;
      a{
        display: inline-block;
        line-height: 24px;
        margin: 0 15px;
        font-size: 12px;
        &.active{
          background: #e54240;
          padding: 0 15px;
          color: #fff;
          border-radius: 4px;
        }
      }
    }

  }
  .harness_lists{
    margin-top: 30px;
    ul{
      li{
        position: relative;
        box-sizing: border-box;
        padding-top: 30px;
        padding-right: 200px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eeeeee;
       .list_title{
         line-height: 24px;
         padding-left: 34px;
         background: url("../images/spot.jpg")no-repeat left 15px center;
         .list_icon{
           display: none;
         }
        .news_title{
          position: relative;
          .list_icon{
            display: block;
            height: 24px;
            position: absolute;
            right: -30px;
            top: 30%;
            margin-top: -12px;
            z-index: 5;

          }
        }

       }
        .bottom{
          line-height: 24px;
          color: #b9b9b9;
          font-size: 12px;
          padding-left: 34px;
          .people{
            float: left;
            margin-right: 34px;
          }
          .difficulty{
            float: left;
            display: inline-block;
            position: relative;
            .star{
              position: absolute;
              right: -90px;
              top: 50%;
              margin-top: -10px;
              display: block;
              width: 80px;
              height: 20px;
              background: url("../images/star.png")no-repeat left center;
            }
          }
        }
        .list_right{
          position: absolute;
          width: 200px;
          right: 15px;
          top: 50%;
          height: 36px;
          margin-top: -18px;
          .down{
            float: left;
            color: #c1c1c1;
            width: 60px;
            line-height: 36px;
            font-size: 12px;
            padding-left: 30px;
           position: relative;
            &:after{
              content: '';
              width: 24px;
              height: 24px;
              background: url("../images/down.png")no-repeat left center;
              position: absolute;
              left: 0;
              top: 50%;
              margin-top: -12px;
              background-size: 80% auto;
            }
          }
          .initiate{
            text-align: center;
            border-radius: 6px;
            box-sizing: border-box;
            float: right;
            color: #e54240;
            width: 110px;
            line-height: 36px;
            border: 1px solid #e54240;
            a{
              display: block;
              color: #e54240;
            }
          }
        }
      }
    }
  }

}