@charset "utf-8";
/*重置属性*/
body,div,p,ul,ol,dl,dt,dd,li,form,input,table,th,td,img,h1,h2,h3,h4,h5,h6 {margin: 0; padding: 0;}

body {font-style: normal; font-family:'Microsoft Yahei','微软雅黑','Simsun','宋体','Arial', sans-serif;}
li { list-style:none;}
img { border:none;}
a { text-decoration:none; -webkit-tap-highlight-color:transparent;}
table { border-spacing:0; border-collapse:collapse;}
*{-webkit-appearance:none;}


/*通用*/
.hide {display: none;}
.flt {float:left;}
.frt {float:right;}
.clear { clear: both;}
.clearfix { *zoom: 1;} 
.clearfix:before, .clearfix:after { display: table; line-height: 0; content: "";}
.clearfix:after { clear: both;}


/* 基本布局 */

.xqh-wrap{
    max-width:480px;
    margin:0 auto;
    padding-bottom: 54px;
}
.xqh-banner{
    position:relative;
    left:0;
    top:0;
}
.logo-a{
    position:absolute;
    left: 5%;
    top: 4%;
    
}
.logo-a img{
    display:block;
    height:28px;
}
.banner-img{
    display:block;
    width:100%;
}

.xqh-teacher{
    position:relative;
    left:0;
    top:0;
    width:94%;
    margin:-38% auto 0;
    background-color:#ffffff;
    border-radius: 6px;
    box-shadow: 0px 5px 12px 0px rgba(197, 40, 31, 0.14);
}
.teacher-box{
    padding-left: 11px;
    padding-bottom: 15px;
}

.teacher-img{
    position:absolute;
    bottom:0;
    right:0;
    width:39%;
}
/* .teacher-box{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:90%;
    padding-left:5%;
    box-sizing:border-box;
    overflow:auto;
} */

.teacher-box-top{
    padding-top:25px;
}
.teacher-box-top .teacher-name{
    color:#333333;
    font-weight:bold;
    font-size:17px;
    vertical-align:17px;
}

.teacher-box-img{
    position:relative;
    left:0;
    top:0;
    display:inline-block;
    color:#FFFFFF;
    font-size:12px;
    width:80%;
    font-size:0;
}
.teacher-box-img .img1{
    display:block;
    width:100%;
}
.teacher-box-img span{
    position:absolute;
    left:0;
    top:10%;
    width:100%;
    text-align:center;
    box-sizing:border-box;
    font-size:13px;
}

.teacher-point{
    width:9px;
    height:9px;
    border-radius:9px;
    background-color:#B1100D;
    margin-top:6.5px;
}

.teacher-text{
    width:50%;
    margin-left:7px;
    color:#180C0C;
    font-size:13px;
    text-align:justify;
    word-wrap: break-word;
    line-height:22px;
}

.teacher-list{
    padding-top:5px;
}

.teacher-list ul li{
    margin-top:15px;
}
.teacher-list ul li:first-child{
    margin-top:0px;
}

.course-wrap{
    padding-top:20px;
    width:94%;
    margin:0 auto 35px;
}
.course-img{
    display:block;
    margin:0 auto 12px;  
    height:32px;
}
.course-box{
    background-color:#CB9171;
    padding-top:18px;
    background-color:rgba(203,145,113,0.14);
    border-radius:6px;
}
.star-img{
    display:block;
    height:32px;
    margin:0 auto;
}

.course-desc{
    padding:5px 11px 10px;
    color:#333333;
    font-size:14px;
    line-height:25px;
    text-align:justify;
    word-wrap: break-word;
}

.content-wrap{
    width:94%;
    margin:0 auto 38px;
    padding-top:34px;
    padding-bottom:25px;
    border-radius:6px;
    background-image:url(../../Images/emc/10.png);
    background-size:100% auto;
    box-shadow: 0px 5px 12px 0px rgba(197, 40, 31, 0.14);
}

.content-img{
    display: block;
    margin: 0 auto 12px;
    height: 32px;
}

.content-list{
    padding-left:20px;
    padding-right:13px;  
}
.content-list ul li{
    background-color:#ffffff;
    margin:18px auto 0;
    box-shadow: 0px 7px 15px 0px rgba(197, 40, 31, 0.14);
    border-radius:5px;
    padding-top:12px;
    padding-bottom:12px;
}

.content-list ul li:first-child{
    margin:0px auto 0;
}

/* .content-title{
    position:relative;
    left:0;
    top:0;
    height:30px;
    line-height:30px;
    padding-left:20px;
    padding-right:20px;
    font-weight:bold;
    font-size:16px;
    color:#ffffff;
    border-radius: 30px 30px 0px 30px;
    margin-left:-10px;
} */
.content-title{
    position:relative;
    left:0;
    top:0;
    height:30px;
    line-height:30px;
    font-weight:bold;
    font-size:16px;
    color:#ffffff;
    border-radius: 30px 30px 0px 30px;
    margin-left:-10px;
    max-width:90%;
}
.content-title span{
    display:block;
    position:relative;
    left:0;
    top:0;
    z-index:1;
    padding-left:20px;
    padding-right:20px;
    height:30px;
    line-height:30px;
    border-radius: 30px 30px 0px 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
}
.content-title img{
    position:absolute;
    right:-13px;
    top:0;
    height:30px;
}

.content-speak{
    font-size:15px;
    color:#CA8F6F;
    margin-left:18px;
    margin-top:9px;
    font-weight:bold;
    height:20px;
    line-height:20px;
}

.content-desc{
    padding:18px 18px 0px;
    margin-bottom:12px;
    text-align:justify;
    color: #333333;
    font-size:14px;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.content-bottom{
    padding:0 18px;
}

.content-price{
    height:28px;
    line-height:28px;
    color: #AD5E14;
    font-weight:bold;
}

.content-price-num{
    height:28px;
    line-height:28px;
    color: #C42720;
    font-weight:bold;
    font-size:20px;
}
.content-price-num span{
    font-size:16px;
}
.content-try{
    width:70px;
    height:28px;
    line-height:28px;
    text-align:center;
    color:#ffffff;
    border-radius:30px;
    font-size:14px;
    background: linear-gradient(95deg, #fac693 0%, #ef9e67 100%);
}


.content-buy{
    width:70px;
    height:28px;
    line-height:28px;
    text-align:center;
    color:#ffffff;
    border-radius:30px;
    font-size:14px;
    background: linear-gradient(95deg, #FD130D 0%, #FF6F4D 100%);
}


.content-list ul li.try .content-price-num{
    display:none;
}

.content-list ul li.try .content-buy{
    display:none;
}

.content-list ul li.buy .content-price{
    display:none;
}

.content-list ul li.buy .content-try{
    display:none;
}

.content-list ul li:nth-child(odd) .content-title span{
    background: linear-gradient(92deg, #DAB693 0%, #CA8F6F 100%);
}
.content-list ul li:nth-child(odd) .content-title .img-red{
    display:none;
}


.content-list ul li:nth-child(even) .content-title span{
    background: linear-gradient(92deg, #C82C23 0%, #B00E0C 100%);
}

.content-list ul li:nth-child(even) .content-title .img-yellow{
    display:none;
}

.content-more{
    padding-top:30px;
    color: #903504;
    font-size:15px;
    font-weight:bold;
    text-align:center;
    text-decoration: underline;
}

.learn-wrap{
    background-color: #343434;
    padding-top:35px;
}

.learn-box{
    width:94%;
    margin:22px auto 0;
    padding-bottom:27px;
}
.learn-box:first-child{
    margin:0px auto 0;
}
.learn-box-top{
    height:75px;
    margin-right:56px;
    background: linear-gradient(-55deg, #DE4736 0%, #B00E0C 100%);
}

.box-top-text{
    font-weight:bold;
    font-size:15px;
    padding-top:10px;
    padding-left:10px;
    background: linear-gradient(-29deg, #FFCA28 0%, #FF9D19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.learn-box-bottom{
    box-shadow: 0px 13px 38px 0px rgba(0, 0, 0, 0.06);
    border-radius: 3px 3px 40px 6px;
    background-color: #FFFFFF;
    margin-left:10px;
    margin-top:-37px;
    padding-top:14px;
    padding-bottom:14px;
}

.box-bottom-title{
    font-size:14px;
    padding:0 12px 10px 12px;
    color: #B00E0C;
    font-weight:bold;
    text-align:justify;
    word-wrap: break-word;
}
.box-bottom-desc{
    font-size:14px;
    padding:0 12px 0 12px;
    text-align:justify;
    word-wrap: break-word;
}



.buy-wrap{
    background-color:#343434;
}
.bj-wrap{
    background-color:#343434;
}
.bj-wrap img{
    display:block;
    width:100%;
}

.buy-wrap-son{
    padding-top:5px;
    padding-bottom:23px;
    margin-top:-5px;
    background: linear-gradient(-66deg,#b4130f 0%, #d33a2c 100%);
}

.buy-img{
    display: block;
    height: 32px;
    margin:0 auto 15px;
}

.buy-box{
    width:94%;
    background: linear-gradient(0deg, #DAB693 0%, #CA8F6F 100%);
    border-radius: 6px;
    padding:29px 22px 19px;
    box-sizing:border-box;
    margin:0 auto;
}

.buy-box-son{
    padding:9px 15px;
    margin-top:12px;
    background-color: #343434;
    border-radius:5px;
}
.buy-box-son img{
    width:20px;
}
.buy-box-son:first-child{
    margin-top:0px;
}
.buy-box-text{
    font-size:14px;
    color:#ffffff;
    text-align:justify;
    word-wrap: break-word;
    margin-left:38px;
    padding-top:3px;
    line-height:23px;
}

.buy-box-text span{
    color:#F9CA88;
}

.buy-box-num{
    color: #FDB78C;
    font-size:22px;
    width:28px;
}


.buy-desc{
    text-align:justify;
    font-size:14px;
    padding-top:25px;
    line-height:23px;
}
.buy-desc span{
    color:#6B0303;
}

/* 页脚开始 */
.index-nav {
    padding: 5px 0;
    width: 100%;
    /* height: 54px; */
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 9;
    box-sizing: border-box;
}

.index-nav-link {
    display: inline-block;
    width: 32%;
    padding-top: 28px;
    font-size: 12px;
    color: #909599;
}

.index-nav-link.home {
    background: url('../../Images/emc/home.png?v=2') center 3px no-repeat;
    background-size: 22px;
}

.index-nav-link.course {
    background: url('../../Images/emc/course.png?v=2') center 3px no-repeat;
    background-size: 22px;
}

.index-nav-link.my {
    background: url('../../Images/emc/my.png?v=2') center 3px no-repeat;
    background-size: 22px;
}

.index-nav-link.active {
    color: #405FD4;
}

.index-nav-link.active.home {
    background: url('../../Images/emc/home-hover.png?v=1') center 3px no-repeat;
    background-size: 22px;
}

.index-nav-link.active.course {
    background: url('../../Images/emc/course-hover.png?v=1') center 3px no-repeat;
    background-size: 22px;
}

.index-nav-link.active.my {
    background: url('../../Images/emc/my-hover.png?v=1') center 3px no-repeat;
    background-size: 22px;
}
/* 页脚结束 */

/* 兼容iphonex底部小黑条 */
.footer-box{
    padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
    padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
}


@media screen and (max-width: 440px){
    .teacher-img{
        width: 45%;
    }
}
@media screen and (max-width: 420px){
    .teacher-img{
        width: 53%;
    }
}

@media screen and (max-width: 390px) {
    .teacher-box-img{
        display:block;
    }
    .teacher-box-top .teacher-name{
        vertical-align: 10px;
    }
}
@media screen and (max-width: 375px) {
    .teacher-box-img{
        width:86%;
    }
}
@media screen and (max-width: 360px) {
    .teacher-box-img{
        width:90%;
    }
}

@media screen and (max-width: 350px) {
    .teacher-box-img{
        width:100%;
    }
    .teacher-box-top{
        padding-top:10px;
    }
}






















