/*大广告位*/
.banners{
    position: relative;
    height: 380px;
    margin-bottom: 20px;
}
.b-banner-wrap{
    width: 100%;
    height: 380px;
    position: absolute;
    overflow: hidden;
}

.b-banner-pagi {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 12px;
    display: flex;
    align-items: flex-end;
}
.b-banner-pagi > li{
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all .3s ease;
}
.b-banner-pagi > li.active{
    background: #26caac;
}

.b-banner-slider {
    z-index: 1;
    position: relative;
    height: 100%;
    opacity: 0;
    transition: opacity .2s ease;
}
.b-banner-slider.animating {
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    will-change: transform;
}


.b-banner-slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.b-banner-slide > a{
    display: block;
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .banners{
        margin-bottom: 15px;
    }
    .b-banner-wrap,.banners{
        height: 200px;
    }

    .b-banner-pagi {
        bottom: 10px;
    }
    .b-banner-pagi > li{
        width: 8px;
        height: 8px;
    }

}

.banners-txt-wrap{
    height: 380px;
    position: relative;
}
/*左侧分类*/
.slide-left{
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 380px;
    overflow: hidden;
    background: rgba(0,0,0,.8);
    color: #ffffff;
    z-index: 10;
}
.slide-left.cur{
    height: auto;
}
.slide-left li{
    width: 100%;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
}
.slide-left li > a{
    display: block;
    height: 42px;
    padding: 0 10px 0 80px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    position: relative;
}
.slide-left li > a > img{
    width: 16px;
    height: 16px;
    position: absolute;
    top: 13px;
    left: 46px;
}

/*右侧登录浮层*/
.slide-right{
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    height: 280px;
    overflow: hidden;
    background: rgba(255,255,255,.8);
    z-index: 10;
    text-align: center;
    padding: 0 40px;
}
.slide-right > h2{
    font-size: 15px;
    margin-top: 30px;
    line-height: 120%;
}
.slide-right > a{
    display: inline-block;
    width: 100px;
    height: 100px;
    font-size: 0;
    margin-top: 20px;
}
.slide-right > a > img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}
.slide-right > button{
    width: 100%;
    height: 38px;
    background: #26caac;
    border: 0;
    font-size: 16px;
    color: #ffffff;
    margin-top: 20px;
}
@media (max-width: 767px) {
    .banners-txt-wrap,.slide-right,.slide-left{
        display: none;
    }
}

/*内容框的公用*/
.content-wrap.mt-20{
    margin-top: 20px;
}
.content-title-sm{
    font-size: 24px;
    color: #333;
    margin: 15px 0;
}
.content-title-b{
    position: relative;
    padding: 0 70px 0 0;
    overflow: hidden;
    display: flex;
    height: 26px;
    margin: 15px 0;
}
.content-title-b > h2{
    font-size: 24px;
    color: #333;
    white-space:nowrap;
}
.content-title-b > div{
    margin-top: 5px;
    font-size: 14px;
}
.content-title-b > div > a{
    display: inline-block;
    text-decoration: none;
    color: #333;
    margin-left: 20px;
}
.content-title-b > div > a:hover{
    color: #26caac;
}
.content-title-b > a{
    position: absolute;
    top: 5px;
    right: 0;
    color: #999999;
    text-decoration: none;
    font-size: 14px;
}
@media (max-width: 767px) {
    .content-wrap.mt-20{
        margin-top: 15px;
    }
    .content-title-sm{
        font-size: 18px;
        margin: 10px 0;
    }
    .content-title-b{
        padding: 0 70px 0 0;
        height: 20px;
        margin: 10px 0;
    }
    .content-title-b > h2{
        font-size: 18px;
    }
    .content-title-b > div{
        margin-top: 2px;
        font-size: 12px;
    }
    .content-title-b > div > a{
        margin-left: 10px;
    }
    .content-title-b > a{
        top: 2px;
        font-size: 12px;
    }
}



/*推荐课程*/
/*.recommend-course-box .col-md-3{
    width: 20%;
}
@media (max-width: 992px) {
    .recommend-course-box .col-md-3{
        width: 33.33333333%;
    }
}
@media (max-width: 767px) {
    .recommend-course-box .col-md-3{
        width: 50%;
    }
}*/
.recommend-course-box{
    position: relative;
}

.course-lb{
    position: relative;
    margin: auto;
    overflow: hidden;
}
.course-lb .lb-wrapper{
    margin: auto;
    overflow: hidden;
}
.course-lb .lb-box{
    overflow: hidden;
    position: relative;
    transition: left .3s ease;
}
.course-lb .lb-list{
    float: left;
}




.course-prev,.course-next{
    position: absolute;
    width: 44px;
    height: 44px;
    line-height: 55px;
    text-align: center;
    color: #333;
    top: 50%;
    margin-top: -22px;
    transition: all .3s ease;
}
.course-prev.active,.course-next.active{
    display: none;
}
.course-prev{
    left: -54px;
}
.course-next{
    right: -54px;
}

.course-prev > i,.course-next > i{
    font-size: 30px;
}
@media (max-width: 767px) {
    .course-prev,.course-next{
        background: rgba(0,0,0,.3);
        color: #ffffff;
        width: 30px;
        height: 40px;
        line-height: 49px;
    }
    .course-prev{
        left: 0;
    }
    .course-next{
        right: 0;
    }
    .course-prev > i,.course-next > i{
        font-size: 24px;
    }
}


/*小banner*/
.sm-banner-wrap{
    margin: 15px 0;
}
.sm-banner-box{
    position: relative;
    height: 100px;
    overflow: hidden;
}
.sm-banner-box img{
    position: absolute;
    top: 0;
    height: 100%;
    left: 50%;
    max-width: none;
}
@media (max-width: 767px) {
    .sm-banner-wrap{
        margin: 10px 0;
    }
    .sm-banner-box{
        height: 50px;
    }
}

/*类别列表*/
.classification-box{
    margin-bottom: 20px;
}
.classification-box > .row > .col-md-3{
    width: 20%;
}
.classification-box > .row > .col-md-9{
    width: 80%;
}
@media (max-width: 992px) {
    .classification-box > .row > .col-md-3{
        width: 33.33333333%;
    }
    .classification-box > .row > .col-md-9{
        width: 66.66666667%;
    }
}
@media (max-width: 767px) {
    .classification-box > .row > .col-md-3{
        width: 100%;
    }
    .classification-box > .row > .col-md-9{
        width: 100%;
    }
}

.classification-left{
    background: #ffffff;
}
.classification-left > div{
    height: calc(100% - 100px);
    overflow: hidden;
}
.classification-left > div img{
    width: 100%;
    height: 100%;
}
.classification-left > ul{
    padding: 10px;
    height: 100px;
}
.classification-left > ul > li{
    position: relative;
    margin: 4px 0;
    /*padding-right: 50px;*/
    font-size: 14px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.classification-left > ul > li > a{
    text-decoration: none;
    color: #333;
}
.classification-left > ul > li > a:hover{
    color: #26caac;
}
.classification-left > ul > li > span{
    position: absolute;
    top: 0;
    right: 0;
    color: #999;
}
.classification-right{
    overflow: hidden;
}


/*教师推荐*/
.teacher-wrap{
    min-height: 200px;
    background: url("../images/teacher_bg.jpg") no-repeat;
    background-position: center;
    margin-top: 30px;
}
.teacher-box{
    padding: 20px 0;
}
.teacher-title{
    font-size: 24px;
    color: #ffffff;
    text-align: center;
    margin: 20px 0 40px 0;
}

.teacher-box .join-us{
    text-align: center;
    padding: 20px 0 0 0;
}
.teacher-box .join-us > a{
    text-decoration: none;
    display: inline-block;
    padding: 6px 30px;
    background: #26caac;
    color: #ffffff;
    font-size: 16px;
}
.teacher-box .join-us > a:hover{
    background: #1bb296;
}
@media (max-width: 767px) {
    .teacher-title{
        font-size: 18px;
        margin: 20px 0;
    }
    .teacher-box .join-us{
        padding: 10px 0 0 0;
    }
    .teacher-box .join-us > a{
        font-size: 14px;
    }
}


.teacher-con{
    position: relative;
}

.lb{
    height: 280px;
    position: relative;
    margin: auto;
    overflow: hidden;
}
.lb .lb-dot{
    position: absolute;
    bottom:20px;
    left: 50%;
    z-index: 20;
    height: 10px;
}
.lb .lb-dot li{
    width: 10px;
    float: left;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    margin: 0 3px;
}
.lb .lb-dot li.active{
    background: #000;
}
.lb .lb-wrapper{
    margin: auto;
    overflow: hidden;
}
.lb .lb-box{
    overflow: hidden;
    position: relative;
    transition: left .3s ease;
}
.lb .lb-list{
    float: left;
    height: 280px;
    padding: 0 40px;
}

.lb .lb-list a{
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
    color: #ffffff;
}
.lb .lb-list:hover a{
    color: #ffffff;
}
.lb .lb-list a .img-wrapper{
    height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.lb .lb-list a .img-wrapper > img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    transition: all .8s ease;
}

.lb .lb-list a h2{
    margin: 0;
    font-size: 18px;
    padding: 20px 0 15px 0;
    text-align: center;
}
.lb .lb-list a h5{
    text-align: center;
    margin: 0;
    font-size: 14px;
    padding: 0 0 15px 0;
}
.lb .lb-list a p{
    font-size: 14px;
    margin: 0;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
}


.controls-prev,.controls-next{
    position: absolute;
    width: 44px;
    height: 44px;
    line-height: 55px;
    text-align: center;
    color: #ffffff;
    top: 50%;
    margin-top: -22px;
    transition: all .3s ease;
}
.controls-prev.active,.controls-next.active{
    display: none;
}
.controls-prev{
    left: -54px;
}
.controls-next{
    right: -54px;
}

.controls-prev > i,.controls-next > i{
    font-size: 30px;
}
@media (max-width: 767px) {
    .controls-prev{
        left: 0;
    }
    .controls-next{
        right: 0;
    }
}



.right-bar{
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 40px;
    width: 80px;
}
.right-bar li{
    width: 80px;
    height: 80px;
    position: relative;
    cursor: pointer;
}
.right-bar li .icon{
    width: 80px;
    height: 80px;
    text-align: center;
    padding: 12px 5px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
}
.right-bar li .icon > img{
    width: 40px;
    height: 40px;
}
.right-bar li .icon > span{
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    color: #828080;
}
.right-bar li .text{
    position: absolute;
    top: 0;
    transition: right .5s ease;
}
.right-bar li .text h1{
    height: 80px;
    line-height: 80px;
    font-size: 20px;
    color: #828080;
    white-space: nowrap;
    padding: 0 30px;
    margin: 0;
}

.right-bar li.wx .icon > span{
    color: #828080;
}
.right-bar li.wx .icon{
    background: #ffffff;
}
.right-bar li.wx .text{
    right: -160px;
    width: 120px;
    padding-bottom: 10px;
    text-align: center;
    background: #ffffff;
}
.right-bar li.wx:hover .text,.right-bar li.phone:hover .text,.right-bar li.email:hover .text{
    right: 80px;
}
.right-bar li.wx .text > img{
    width: 120px;
}
.right-bar li.wx .text > span{
    margin-top: 5px;
}
.right-bar li.phone .icon,.right-bar li.phone .text{
    background: #ffffff;
}
.right-bar li.phone .text{
    right: -300px;
}
.right-bar li.email .icon,.right-bar li.email .text{
    background: #ffffff;
}
.right-bar li.email .text{
    right: -300px;
}
.right-bar li.gotop .icon{
    background: #ffffff;
    transition: background .5s ease;
}
.right-bar li.gotop:hover .icon{
    background: #ededed;
}
.right-bar li p {
    width: 50px;
    height: 1px;
    background: #ededed;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 50;
}
@media (max-width: 768px) {
    .right-bar{
        bottom: 20px;
        width: 50px;
    }
    .right-bar li{
        width: 50px;
        height: 50px;
    }
    .right-bar li .icon{
        width: 50px;
        height: 50px;
        padding: 12px 5px;
    }
    .right-bar li .icon > img{
        width: 25px;
        height: 25px;
    }
    .right-bar li .icon > span{
        display: none;
    }
    .right-bar li .text{
        position: absolute;
        top: 0;
        transition: right .5s ease;
    }
    .right-bar li .text h1{
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        padding: 0 20px;
    }
    .right-bar li.wx:hover .text,.right-bar li.phone:hover .text,.right-bar li.email:hover .text{
        right: 50px;
    }
}









