header {
  padding: 46px 0 20px;
  background-image: -webkit-gradient(linear, left top, right top, from(#ff6700), to(#ffc299));
  background-image: linear-gradient(to right, #ff6700 0%, #ffc299 100%);
}
header .topheader {
  margin: 0 auto;
}
header .searchbar {
  margin: 0 auto;
  text-align: center;
}
header .search_input {
  width: 622px;
  height: 48px;
  padding: 10px 20px;
  background: #fff;
  font-size: 18px;
}
header .search_input:focus {
  outline-color: #ff6700;
}
header .search_button {
  display: inline-block;
  width: 98px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  color: #fff;
  background: #ff6700;
}
header .search_suggests_wrap {
  padding: 20px 0;
}
header .search_suggests {
  margin: 0 auto;
  width: 740px;
  padding-left: 40px;
  color: #fff;
  font-size: 16px;
}
header .search_suggests a {
  color: #fff;
  padding: 0 4px;
  margin-right: 6px;
}
section.category_wrap {
  padding-top: 130px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  background-color: #FF964F;
  -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.13);
          box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.13);
}
.category {
  width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}
.category_title {
  font-size: 16px;
  line-height: 60px;
  color: #fff;
}
.category_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.category_item {
  margin-right: 40px;
  margin-bottom: 30px;
  width: 150px;
  height: 48px;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  background: #fff;
}
.category_item:hover,
.category_item:active {
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #fe4822), to(#e60112));
  background: linear-gradient(to right, #fe4822 50%, #e60112 100%);
}
.category_item:hover .link,
.category_item:active .link {
  color: #f2f2f2;
}
.category_item:hover:nth-child(6n + 5) .sub_container,
.category_item:active:nth-child(6n + 5) .sub_container {
  margin-left: calc(-260px);
}
.category_item:hover:nth-child(6n + 5) .sub_container::before,
.category_item:active:nth-child(6n + 5) .sub_container::before {
  -webkit-transform: translateX(calc(260px)) rotate(45deg);
      -ms-transform: translateX(calc(260px)) rotate(45deg);
          transform: translateX(calc(260px)) rotate(45deg);
}
.category_item:hover:nth-child(6n) .sub_container,
.category_item:active:nth-child(6n) .sub_container {
  margin-left: calc(-390px);
}
.category_item:hover:nth-child(6n) .sub_container::before,
.category_item:active:nth-child(6n) .sub_container::before {
  -webkit-transform: translateX(calc(390px)) rotate(45deg);
      -ms-transform: translateX(calc(390px)) rotate(45deg);
          transform: translateX(calc(390px)) rotate(45deg);
}
.category_item:hover .sub_container,
.category_item:active .sub_container {
  opacity: 1;
  visibility: visible;
}
.category_item .link {
  padding: 0 4px;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 48px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.category_item .sub_container {
  position: relative;
  visibility: hidden;
  opacity: 0;
  z-index: 100;
  margin-top: 10px;
  padding: 10px;
  width: 508px;
  border: 1px solid #ff6700;
  border-radius: 10px;
  background-color: #fff;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}
.category_item .sub_container::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 60px;
  width: 8px;
  height: 8px;
  background-color: #F2F2F2;
  border-left: 1px solid #ff6700;
  border-top: 1px solid #ff6700;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.category_item .sub_container::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}
.category_item .sub_header {
  margin-bottom: 10px;
  color: #ff6700;
  font-size: 16px;
  font-weight: bold;
}
.category_item .sub_block label {
  float: left;
  padding: 3px 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  background-color: #ff6a05;
  border-top-left-radius: 1em;
  border-bottom-right-radius: 1em;
}
.category_item .sub_block .sub_block_list {
  margin-left: 100px;
}
.category_item .sub_block .sub_block_list li {
  display: inline;
  position: relative;
  margin-right: 8px;
  padding-right: 4px;
  font-size: 14px;
  line-height: 24px;
}
.category_item .sub_block .sub_block_list li:hover * {
  color: #ff6700;
}
.library_items {
  margin: 0 auto;
  width: 1220px;
}
.page_prev,
.page_next {
  width: 90px;
}
.page_summary {
  padding: 0 6px;
  line-height: 36px;
}
.library_r {
  padding-top: 20px;
}
.library_r_t {
  margin: 0 auto 20px;
  width: 1220px;
  background-color: #eeeeee;
  font-size: 20px;
  font-weight: 800;
  line-height: 50px;
  padding-left: 10px;
}
.question_d {
  padding-top: 136px;
}
.question_d .qsy_explain {
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  margin-bottom: 10px;
}
.question_tips {
  font-size: 14px;
  line-height: 40px;
  text-align: center;
}
.question_t {
  margin: 0 auto;
  font-size: 30px;
  font-weight: bold;
  max-width: 1220px;
  line-height: 80px;
  text-align: center;
}
.question_q {
  margin: 20px auto 0;
  width: 1220px;
  padding: 30px;
  border: 1px solid #eeeeee;
  line-height: 30px;
}
.question_q .question_list {
  border-bottom: 1px #eee dashed;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.lib_list_wrap {
  padding: 20px 0;
}
.lib_list {
  margin: 0 auto;
  width: 1200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.lib_card {
  margin-bottom: 30px;
  margin-right: 15px;
  padding: 10px 20px;
  width: 282px;
  height: 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  -webkit-box-shadow: 0  3px 3px #d2d2d2;
          box-shadow: 0  3px 3px #d2d2d2;
  overflow: hidden;
}
.lib_card .card_content {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  max-height: 4.6em;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-all;
  word-wrap: break-word;
  text-align: center;
}
.lib_card:nth-of-type(16n + 1),
.lib_card:nth-of-type(16n + 6),
.lib_card:nth-of-type(16n + 11),
.lib_card:nth-of-type(16n) {
  background: #FFF8EE;
}
.lib_card:nth-of-type(16n + 2),
.lib_card:nth-of-type(16n + 7),
.lib_card:nth-of-type(16n + 12),
.lib_card:nth-of-type(16n + 13) {
  background: #FCFFFF;
}
.lib_card:nth-of-type(16n + 3),
.lib_card:nth-of-type(16n + 8),
.lib_card:nth-of-type(16n + 9),
.lib_card:nth-of-type(16n + 14) {
  background: #FDFFF9;
}
.lib_card:nth-of-type(16n + 4),
.lib_card:nth-of-type(16n + 5),
.lib_card:nth-of-type(16n + 10),
.lib_card:nth-of-type(16n + 15) {
  background: #FFF9F9;
}
.suggest_wrap {
  background: #FFF8F1;
}
.suggests {
  margin: 0 auto;
  padding: 20px 0 ;
  width: 1200px;
}
.suggests_header {
  position: relative;
  margin: 0 auto 30px;
  width: 194px;
  height: 55px;
  line-height: 55px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #ff6700;
  -webkit-box-shadow: 0  3px 3px #d7d7d7;
          box-shadow: 0  3px 3px #d7d7d7;
  overflow: hidden;
}
.suggests_header .rec_mark {
  position: absolute;
  left: -40px;
  top: -40px;
  -webkit-transform: rotateZ(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotateZ(-45deg);
}
.suggests_header .rec_icon {
  width: 0;
  height: 0;
  border: 38px solid;
  border-color: transparent transparent #f20f transparent;
}
.suggests_header .rec_text {
  position: absolute;
  bottom: 0;
  right: 50%;
  -webkit-transform: translateX(50%);
      -ms-transform: translateX(50%);
          transform: translateX(50%);
  display: inline-block;
  height: 20px;
  line-height: 1;
  color: #FFF;
  font-size: 16px;
}
@media screen and (max-width: 700px) {
  .question-bank .header {
    width: 100vw;
    height: auto;
    border-top: 8px solid #F7F7F7;
    border-bottom: 8px solid #F7F7F7;
  }
  .question-bank .header .title {
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: bold;
  }
  .question-bank .header .title .iconfont {
    float: right;
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  .question-bank .header .active .iconfont {
    -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
            transform: rotate(-90deg);
  }
  .question-bank .header .options {
    width: 100vw;
    height: auto;
    display: none;
  }
  .question-bank .header .options .option {
    border-bottom: 1px solid #F7F7F7;
  }
  .question-bank .header .options .option .name {
    line-height: 66px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #F7F7F7;
  }
  .question-bank .header .options .option ul {
    padding: 8px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .question-bank .header .options .option ul li {
    font-size: 14px;
    display: block;
    width: 20vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 32px;
  }
  .question-bank .main .bank {
    padding: 20px 30px;
    font-size: 14px;
    line-height: 16px;
    border-bottom: 1px solid #F7F7F7;
  }
  .question_d {
    padding-top: 0;
  }
  .question_d .qsy_explain {
    padding: 10px 30px;
    line-height: 18px;
  }
  .question_d .question_t {
    line-height: 1.5;
    font-size: 18px;
    padding: 0 30px;
  }
  .question_d .question_q {
    width: 94vw;
  }
  .question_d .question_q .count {
    padding-bottom: 0;
  }
}
