body {
    background-color: #f7f8fb;
}

.wrap {
    width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}
.swiper-thumbs .swiper-slide a {display: inline-block;width: 100%;height: 100%}
.swiper-thumbs .swiper-slide a img {width: 100%;height: 100%}
   .gallery-top .swiper-slide a {display: inline-block;width: 100%;height: 100%}
.gallery-top .swiper-slide a img {width: 100%;height: 100%}
.head {
    width: 100%;
    height: 682px;
    background: url(mooc-head.png) no-repeat 0 0;
    background-size: 100% 100%;
    overflow: hidden;
    margin-bottom: 120px;
}

.head .head-top {
    overflow: hidden;
    /* height: 32px; */
    margin-top: 30px;
}

.head-top .nav {
    overflow: hidden;
}

.head-top .nav-item {
    float: left;
    /* line-height: 32px; */
    font-size: 16px;
    border-left: 1px solid #ccc;
    width: 180px;
    text-align: center;
}

.head-top .nav-item a {
    color: #333;
}

.head-top .nav-item:hover a {
    color: #fff;
}

.head-top .nav-item:last-child {
    border-right: 1px solid #ccc;
}

.head-top .nav-item.active a {
    color: #fff;
}

.head-ad {
    margin-top: 92px;
    position: relative;
    width: 408px;
    text-align: center;
}

.head-ad h1 {
    line-height: 50px;
    font-size: 34px;
    color: #1d69b1;
}

.head-ad p {
    line-height: 50px;
    font-size: 28px;
    color: #1d69b1;
    margin-bottom: 10px;
}

.head-ad .detail {
    width: 99px;
    height: 29px;
    text-align: center;
    line-height: 29px;
    font-size: 14px;
    color: #fff;
    background: url(mooc-head-detail.png) no-repeat 0 0;
    margin-left: 146px;
}

.swiper-container {
    width: 996px;
    height: 520px;
    margin-left: auto;
    margin-right: auto;
}
/* 
.swiper-slide {
    background-size: cover;
    background-position: center;
} */

.swiper-slide img {
    width: 100%;
    height: 100%;
}

.gallery-top {
    height: 520px;
    width: 996px;
}

.gallery-thumbs {
    width: 900px;
    margin: 20px auto;
    height: 80px;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 120px;
    height: 100%;
    box-sizing: border-box;
    /* opacity: 0.4; */
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 4px solid #fff100;
}

.swiper-thumbs {
    width: 996px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 50px;
}

.swiper-button-prev.swiper-button-white {
    background-image: url(mooc-arrow-left.png);
}

.swiper-button-next.swiper-button-white {
    background-image: url(mooc-arrow-right.png);
}

.swiper-button-prev.swiper-button-white:focus,
.swiper-button-next.swiper-button-white:focus {
    outline: none;
}

.block-tit {
    padding-top: 110px;
    color: #333;
    text-align: center;
    font-size: 20px;
    padding-bottom: 30px;
    background: #fff;
    margin-bottom: 30px;
}

.block-tit .tit {
    line-height: 30px;
}

.block-tit .subtit {
    line-height: 32px;
}

.block-tit .subtit:before {
    content: '';
    display: inline-block;
    width: 86px;
    height: 2px;
    background: #555;
    margin-right: 30px;
    position: relative;
    top: -4px;
}

.block-tit .subtit::after {
    content: '';
    display: inline-block;
    width: 86px;
    height: 2px;
    background: #555;
    margin-left: 30px;
    position: relative;
    top: -4px;
}

.block-more {
    /* height: 30px; */
    /* text-align: right; */
    font-size: 16px;
    color: #999;
    margin-bottom: 20px;
    background: #fff;
}

.block-more:nth-child(2) {
    border-bottom: 1px dashed #b8b8b8;
    height: 40px;
    line-height: 40px;
    margin-bottom: 30px;
    position: relative;
}

.block-more .tearchs {
    float: left;
}

.block-more .teacher {
    float: left;
    width: 138px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #1389c5;
    color: #fff;
    font-size: 16px;
    margin-right: 20px;
}

.tearchs-list {
    float: left;
}

.block-more .tearch-name {
    float: left;
    width: 65px;
    height: 32px;
    line-height: 32px;
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-top: 4px;
    cursor: pointer;
}

.block-more .tearch-name.active {
    background: #f9bdb9;
    color: #ed4239;
    border: 2px solid #ed4239;
    box-sizing: border-box;
    border-radius: 12px;
}

.block-more .more {
    float: right;
    width: 70px;
    height: 100%;
    line-height: 30px;
    background: url(mooc-more-arrow.png) no-repeat right 8px;
    background-size: 19px 14px;
    margin-right: 20px;
    position: absolute;
    right: 0;
    cursor: pointer;
}

.block-more .tearch-name a {
    color: #333;
   }

.class-list {
    /* overflow: hidden; */
    width: 1100px;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

.class-list::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    clear: both;
}

.class-list-item {
    background: #fff;
    box-shadow: 0 0 6px #ddd;
    width: 23%;
    border-radius: 4px;
    /* margin-right: 150px; */
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 18px;
    cursor: pointer;
}

/* .class-list-item:nth-child(4),.class-list-item:nth-child(8) {
    margin-right: 0;
} */

.class-list-item .item-pic {
    width: 100%;
    height: 152px;
    margin-bottom: 16px;
}

.video-mask {
    width: 100%;
    height: 152px;
    background: url(mooc-video.png) no-repeat center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.class-list-item .item-pic img {
    width: 100%;
    height: 100%;
}

.item-tit {
    line-height: 28px;
    color: #666;
    font-size: 16px;
    padding-left: 10px;
}

.item-info {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.item-info .item-teacher {
    line-height: 28px;
    color: #1389c5;
    font-size: 16px;
}

.item-info .item-type {
    float: right;
    width: 54px;
    line-height: 20px;
    text-align: center;
    color: #eb2418;
    font-size: 14px;
    background-color: #f9bdb9;
    border-radius: 9px;
    margin-top: 4px;
}

.class-list-item:hover .video-mask {
    background-image: none;
}

.class-list-item:hover {
    transform: scale(1.1);
}

.class-list:last-child {
    margin-bottom: 30px;
}

.classes-list {
    display: none;
}

.classes-list.show {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.classes {
    background-color: #fff;
    box-shadow: 0 0 6px #ddd;
    width: 23%;
    border-radius: 4px;
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 18px;
    background: url(mooc-hot-bg.png) no-repeat 0 0;
    padding: 30px 64px 24px 64px;
    box-sizing: border-box;
    text-align: center;
}

.classes>img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.classes .class-name {
    color: #333;
    font-size: 15px;
}

.classes .tearch-name {
    color: #666;
    font-size: 15px;
    margin-bottom: 14px;
}

.tearch-comment img {
    width: 16px;
    height: 16px;
    margin-bottom: 12px;
}

.tearch-info {
    font-size: 13px;
    color: #999999;
    margin-bottom: 20px;
}

.serise {
    width: 90px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #eb2418;
    border: 2px solid #eb2418;
    border-radius: 20px;
    margin: 10px;
}

.classes-list:last-child {
    margin-bottom: 10px;
}

.bottom {
    padding-top: 90px;
    background: #fff;
    overflow: hidden;
}

.bottom-main {
    padding: 40px 314px 40px 314px;
    background: #333;
    overflow: hidden;
}

.bottom-main .left {
    text-align: left;
}

.contact {
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    font-weight: bold;
}

.hotline {
    color: #e3e3e3;
    font-size: 18px;
    line-height: 30px;
}

.icon-list {
    overflow: hidden;
    margin-top: 20px;
}

.icon-list .icon {
    float: left;
    width: 44px;
    height: 41px;
    border-radius: 50%;
    margin-right: 24px;
}

.icon-list .icon:nth-child(1) {
    background: url(mooc-bottom-phone.png) no-repeat 0 0;
    background-size: cover;
}

.icon-list .icon:nth-child(2) {
    background: url(mooc-bottom-email.png) no-repeat 0 0;
    background-size: cover;
}

.icon-list .icon:nth-child(3) {
    background: url(mooc-bottom-compony.png) no-repeat 0 0;
    background-size: cover;
}

.icon-list .icon:nth-child(4) {
    background: url(mooc-bottom-zili.png) no-repeat 0 0;
    background-size: cover;
}

.bottom-main .right {
    margin-top: 24px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.bottom-main .right p {
    margin-bottom: 20px;
}

.bottom-main .right img {
    width: 160px;
    height: 160px;
}

.more-tearchs-list .hide{
    display: none;
}