body {
  background: #F5F5F4;
  font-family: 'Microsoft YaHei', Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

body, ul, li, p {
  margin: 0;
  padding: 0; }

li {
  list-style: none; }

.container {
  width: 1200px;
  margin: auto;
  height: 100%;
  position: relative; }

.flex {
  display: flex; }

.flex-three {
  display: flex;
  align-items: center;
  justify-content: space-between; }

a {
  text-decoration: none;
  color: inherit; }

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: ""; }

.header {
  height: 80px;
  background: #fff;
  font-size: 16px; }
  .header .h-left {
    height: 100%; }
    .header .h-left img {
      height: 90%; }
    .header .h-left nav {
      margin-left: 20px;
      margin-top: 9px;
      font-size: 0; }
      .header .h-left nav a {
        font-size: 16px;
        margin: 0 20px;
        width: auto;
        display: inline-block; }
        .header .h-left nav a:hover::after, .header .h-left nav a.active::after {
          visibility: visible; }
        .header .h-left nav a::after {
          height: 4px;
          background: #417EDA;
          display: block;
          visibility: hidden;
          content: '';
          width: auto;
          margin-top: 5px; }
  .header .h-right .search-wrap {
    width: 250px;
    height: 40px;
    border: 1px solid #B8B7B8;
    border-radius: 2px;
    margin-right: 30px; }
    .header .h-right .search-wrap input {
      width: 100%;
      height: 100%;
      border: none;
      padding-left: 20px;
      box-sizing: border-box;
      font-size: 14px;
      outline: none; }
      .header .h-right .search-wrap input::placeholder {
        color: #666; }
    .header .h-right .search-wrap img {
      width: 24px;
      margin: 0 8px;
      cursor: pointer; }
  .header .h-right .login-register a {
    margin: 0 10px; }
  .header .h-right .login-register .line {
    width: 2px;
    height: 15px;
    background: #DBDAD9;
    display: inline-block; }

.swiper-wrap {
  margin: 20px auto;
  height: 230px; }
  .swiper-wrap .swiper {
    height: 230px;
    border-radius: 10px; }
  .swiper-wrap .swiper-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box; }
  .swiper-wrap .swiper-btn img {
    width: 28px; }
  .swiper-wrap .swiper-button-next img {
    transform: rotate(180deg); }
  .swiper-wrap .swiper-button-prev, .swiper-wrap .swiper-container-rtl .swiper-button-next,
  .swiper-wrap .swiper-button-next, .swiper-wrap .swiper-container-rtl .swiper-button-prev {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
    background-size: contain; }
    .swiper-wrap .swiper-button-prev::after, .swiper-wrap .swiper-container-rtl .swiper-button-next::after,
    .swiper-wrap .swiper-button-next::after, .swiper-wrap .swiper-container-rtl .swiper-button-prev::after {
      content: none; }
  .swiper-wrap .banner-pagination.swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center; }
  .swiper-wrap .banner-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 1; }
  .swiper-wrap .banner-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #417EDA;
    width: 10px;
    height: 10px; }

.filter-ul li {
  height: 50px;
  border-bottom: 1px dashed #CECECE;
  font-size: 16px;
  display: flex;
  align-items: center; }
  .filter-ul li:last-child {
    border-bottom: none; }
  .filter-ul li span {
    display: inline-block;
    text-align: center;
    color: #494949;
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    cursor: pointer; }
    .filter-ul li span a {
      display: inline-block;
      width: 100%;
      padding-right: 15px; }
    .filter-ul li span + span {
      margin-left: 10px;
      min-width: 90px; }
    .filter-ul li span:first-child {
      color: #000;
      font-size: 18px;
      font-weight: bold;
      padding-left: 12px;
      width: auto;
      padding-right: 25px;
      cursor: default; }
      .filter-ul li span:first-child.active, .filter-ul li span:first-child:hover {
        background: transparent;
        color: #000; }
    .filter-ul li span.active, .filter-ul li span:hover {
      background: #D9E3F1;
      color: #407EDA;
      font-weight: bold; }

.sort-ul {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: -50px;
  height: 50px; }
  .sort-ul li {
    display: flex;
    align-items: center;
    color: #494949;
    font-size: 16px;
    cursor: pointer; }
    .sort-ul li.up img {
      transform: rotateZ(180deg); }
    .sort-ul li + li {
      margin-left: 40px; }
    .sort-ul li span {
      margin-right: 5px; }

.course-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 20px; }
  .course-list li {
    height: 343px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 26px;
    width: calc((100% - 78px) / 4);
    margin-bottom: 42px;
    cursor: pointer;
    position: relative;
    box-shadow: 0px 6px 12px 0px #0000000f, 0px 3px 5px -2px #0000000a; }
    .course-list li:nth-of-type(4n + 0) {
      margin-right: 0; }
    .course-list li .top {
      height: 172px;
      position: relative;
      background-size: cover;
      border-top-left-radius: 10px; }
      .course-list li .top .college {
        height: 24px;
        border-bottom-right-radius: 8px;
        color: #407EDA;
        padding: 0 10px;
        background: #fff;
        display: inline-flex;
        align-items: center; }
        .course-list li .top .college span {
          display: inline-flex;
          align-items: center; }
          .course-list li .top .college span:last-child::after {
            display: none; }
          .course-list li .top .college span::after {
            content: '';
            width: 1px;
            background-color: #407EDA;
            height: 15px;
            margin: 0 5px; }
      .course-list li .top .status {
        transform: rotateZ(45deg);
        display: inline-block;
        background: red;
        color: #fff;
        width: 80px;
        position: absolute;
        right: -20px;
        top: 10px;
        text-align: center;
        padding: 1px; }
    .course-list li .info {
      background: #fff;
      padding: 0 20px;
      height: 171px; }
      .course-list li .info .title {
        font-size: 16px;
        padding: 14px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap; }
      .course-list li .info .text .t-left > div {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.8); }
      .course-list li .info .text .t-left span {
        background: #eee;
        color: rgba(0, 0, 0, 0.6);
        font-size: 13px;
        padding: 3px 8px;
        border-radius: 5px;
        margin-top: 10px;
        display: inline-block; }
      .course-list li .info .text .cover {
        position: relative;
        height: 70px; }
        .course-list li .info .text .cover img {
          height: 70px;
          border: 1px solid #DDDCDB;
          position: absolute;
          right: 0; }
      .course-list li .info .user-time {
        margin-top: 20px;
        color: rgba(0, 0, 0, 0.5);
        font-size: 12px; }
        .course-list li .info .user-time .user {
          display: flex;
          align-items: center; }
          .course-list li .info .user-time .user p {
            margin-left: 3px; }

.empty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  padding: 40px 0;
  margin-top: 20px; }
  .empty svg {
    width: 100px; }
  .empty .empty-tip {
    color: #3E4245;
    font-size: 14px;
    margin-top: 20px; }

.footer {
  background: #333;
  color: #999;
  font-size: 14px;
  padding: 18px 0;
  text-align: center;
  margin-top: 80px; }
  .footer a:focus, .footer a:hover {
    text-decoration: underline; }
