*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 5.208vw;
}
.bg-transparent{
    margin: 0;
    padding: 0;
}
/*背景*/
.head{
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}
.head>img{
    width: 100%;
    height: 100%;
}
/*tab页*/
/*tab*/
.layui-tab{
    margin: 0;
    position: relative;
}
.layui-tab .layui-tab-title{
    height: 0;
    border-bottom: none;
}
.layui-tab-title{
    width: 80%;
    height: 0px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    background-color: rgba(0,0,0,0);
    border: 0px solid rgba(0, 0, 0, .05);
    position: absolute;
    top: -200px;
}
.layui-tab .layui-tab-title li{
    font-size: 20px;
    line-height: 80px !important;
}
.layui-tab-title li{
    width: 18%;
    height: 80px;
    background: white;
    font-size: 20px;
    line-height: 80px;
}
.layui-tab-title .layui-this:after{
    height: 80px;
    line-height: 80px;
    border: none;
}
.layui-tab-title .layui-this{
    width: 18%;
    height: 80px;
    line-height: 80px;
    background-color: #226FD8;
    color: white;
}
.layui-tab-content{
    width: 100%;
    padding: 0;
    background: rgba(238, 249, 249, 1);
}
/*师资力量*/
.sc-content{
    width: 80%;
    margin: auto;
}
.ch{
    width: 100%;
    text-align: center;
    position: relative;
    color: #222222;
    padding-bottom: 80px;
}
.ch-e{
    font-size: 80px;
    line-height: 200px;
    opacity: .05;
    font-family:'BEBAS';
}
.ch-c{
    font-size: 50px;
    margin-top: -100px;
}
.sc-c{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.tea-c{
    width: 100%;
    height: 400px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
}
.tea-img{
    width: 20%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.tea-img>img{
    min-width: 100%;
    height:100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
}
.tea-itr{
    width: 72%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: space-between;
}
.tea-name{
    width: 20%;
    line-height: 100px;
    font-size: 30px;
    text-align: center;
}
.teas{
    width: 80%;
    position: relative;
    overflow-y: scroll;

}
.teas::-webkit-scrollbar{
    width: 3px;

}
.teas::-webkit-scrollbar-thumb {
    background:#226fd8;
    border-radius: 25px;
    height: 50%;
}
.teas::-webkit-scrollbar-track{
    background: #e5e5e5;
    border-radius: 25px;
}
.teas>p:first-child{
    width: 90%;
    height:auto;
    line-height: 30px;
    color: #226fd9;
    font-size: 20px;
    position: relative;
    padding-top: 30px;
}
.teas>div{
    width: 90%;
    color: #666;
    font-size: 15px;
    padding: 20px 0;
}
.teas>div>p{
    line-height: 30px;
}
/*特色课程*/
.cour{
    width: 100%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}
.cour-img{
    width: 33%;
    height: 300px;
    padding-bottom: 20px;
}
.cour-imgs{
    width: 90%;
    height: 85%;
    margin: auto;
    overflow: hidden;
    position: relative;
}
.cour-imgs>img{
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.cour-name{
    width: 90%;
    height: 15%;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    background: white;
    margin: auto;
}
/*分页*/
#laypage{
    margin: auto;
    text-align: right;
}
@media screen and (max-width: 1680px) {
    .layui-layer{
        height: 60%!important;
    }
}
@media screen and (max-width: 1480px) {
    .layui-layer{
        width: 70%!important;
    }
    .cour{
        justify-content: space-between;
    }
}
@media screen and (max-width: 1280px) {
    .head{
        height: 500px;
    }
    .layui-tab .layui-tab-title{
        top: -150px;
    }
    .layui-tab-title li,.layui-tab-title .layui-this{
        height: 60px;
    }
    .layui-tab .layui-tab-title li{
        font-size: 18px;
        line-height: 60px!important;
    }
    .tea-img{
        width: 30%;
    }
    .tea-itr{
        width: 68%;
    }
    .tea-name{
        font-size: 22px;
    }
    .teas>p:first-child{
        font-size: 18px;
    }
    .cour-img{
        width: 50%;
        height: 260px;
    }
    .layui-layer{
        width: 70%!important;
        height: 48%!important;
    }
}

@media screen and (max-width: 990px) {
    .head{
        height: 400px;
    }
    .layui-tab .layui-tab-title{
        width: 100%;
        top: -100px;
    }
    .layui-tab .layui-tab-title li{
        width: 20%;
        padding: 0;
    }
    .ch-e{
        font-size: 60px;
    }
    .ch-c{
        font-size: 40px;
    }

    .teas>p:last-child:hover{
        overflow-y: scroll;
    }
    .teas>p:last-child::-webkit-scrollbar {
        height: 2px;
        width: 3px;
    }
    .teas>p:last-child::-webkit-scrollbar-thumb {
        background: #226fd8;
        border-radius: 25px;
        height: 10px;
    }
    .teas>p:last-child::-webkit-scrollbar-track {
        background: #e5e5e5;
        border-radius: 25px;
    }
    .cour{
        justify-content: space-between;
    }
    .layui-layer{
        width: 70%!important;
        height: 45%!important;
    }
}

@media screen and (max-width: 768px) {
    .head{
        height: 300px;
    }
    .layui-tab .layui-tab-title{
        top: -80px;
    }
    .layui-tab-title li,.layui-tab-title .layui-this{
        height: 40px;
    }
    .layui-tab .layui-tab-title li{
        font-size: 15px;
        line-height: 40px!important;
    }
    .ch-e{
        font-size: 40px;
        line-height: 100px;
    }
    .ch-c{
        font-size: 30px;
        margin-top: -60px;
    }
    .tea-c{
        height: auto;
    }
    .tea-img{
        width: 100%;
        height: 400px;
    }
    .tea-img>img{
    }
    .tea-itr{
        width: 100%;
        height: auto;
        flex-wrap: wrap;
    }
    .tea-name{
        width: 90%;
        margin: auto;
        text-align: left;
        line-height: 50px;
    }
    .teas{
        width: 90%;
        height: auto;
        margin: auto;
        overflow-y: auto;
    }
    .teas>p:first-child{
        height: auto;
        line-height: 30px;
        padding-top: 0px;
    }
    .teas>p:last-child{
        height: auto;
    }
    .teas>p:last-child:hover{
        overflow-y: visible;
    }
    .cour-img{
        width: 100%;
        height: 300px;
    }
    .layui-layer{
        width: 80%!important;
        height: 40%!important;
    }
}
@media screen and (max-width: 500px) {
    .head{
        height: 250px;
    }
    .h-tit{
        font-size:40px ;
    }
    .layui-tab .layui-tab-title{
        width: 100%;
        top: -80px;
    }
    .layui-tab .layui-tab-title li{
        width: 21%;
        padding: 0;
    }
    .ch-e{
        font-size: 30px;
    }
    .ch-c{
        font-size: 25px;
    }
    .c-img{
        width: 100%;
    }
    .cour-img{
        height: 220px;
    }
    .cour-name{
        font-size: 15px;
        line-height: 35px;
    }
    .layui-layer{
        width: 90%!important;
        height: 40%!important;
    }
}
@media screen and (max-width: 400px) {
    .head{
        height: 200px;
    }
    .layui-tab .layui-tab-title{
        width: 100%;
        top: -60px;
    }
}
