/* banner */
#banner{
    width: 100%;
    height: 1.7rem;
}
/* nav_list */
.nav_list{
    display: flex;
    width: 100%;
    height: 1.45rem;
    justify-content: space-around;
    flex-wrap: wrap-reverse;
    padding: .3rem 0;
}
#nav a .nav_img,.nav_list a .nav_img{
    width: .575rem;
    height: .575rem;
}
#nav a p,.nav_list a p{
    line-height: .3rem;
}


/* 各种班 */
.ClassAndGrade{
    padding: .2rem .1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.ClassAndGrade figure{
    display: flex;
    width: 1.67rem;
    flex-direction: column;
}
.ClassAndGrade_img{
    width: 100%;
    height: 2rem;
}
.ClassAndGrade figure figcaption{
    width: 100%;
    height: 1.2rem;
    padding: .12rem 0rem;
}
.ClassAndGrade figure figcaption p span{
    color: #e26668;
}
.ClassAndGrade figure figcaption h3{
    font-size: .15rem;
    font-weight: bold;
}
.ClassAndGrade figure figcaption p{
    line-height: .2rem;
}
.ClassAndGrade figure figcaption section{
    display: inline-block;
    width: 1.15rem;
    height: .22rem;
    line-height: .22rem;
    border: 1px solid #000;
    margin: .05rem 0;
}
.ClassAndGrade figure figcaption section span:nth-of-type(1){
    display: inline-block;
    width: 40%;
    height: 100%;
    background: #000;
    color: #fff;
    text-align: center;
}
.ClassAndGrade figure figcaption section span:nth-of-type(2){
    display: inline-block;
    width: 60%;
    height: 100%;
    text-align: center;
}
.ClassAndGrade figure figcaption section span{
    font-weight: bold;
}

/* 妆典优势 */
.advantage_title{
    width: 1.7rem;
    height: .13rem;
    margin: 0 auto;
}
.advantage_txt{
    padding: .15rem .15rem 0 .15rem;
}
.advantage_txt h3{
    font-size: .14rem;
    font-weight: bold;
    padding-left: .44rem;
    line-height: .25rem;
}
.advantage_txt p{
    padding: .09rem .13rem .09rem .44rem;
    background: #f3f3f3;
    position: relative;
}
.advantage_txt p span{
    position: absolute;
    width: .28rem;
    height: .28rem;
    line-height: .28rem;
    text-align: center;
    font-size: .2rem;
    font-weight: bold;
    background: #de161c;
    color: #fff;
    left: .07rem;
    top: 0;
    transform: translate(0,-50%);
}

/* 妆典师生作品*/
.works_show_title{
    width: 1.89rem;
    height: .47rem;
    margin: .25rem auto;
}
.works_show_title span:nth-of-type(1){
    display: inline-block;
    width: .11rem;
    height: .12rem;
}
.works_show_title span:nth-of-type(2){
    font-weight: bold;
}

.works_show_list{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.works_show_list .img_box{
    width: 1.76rem;
    height: 2.46rem;
    margin-bottom: .12rem;
}
.relation{
    width: 100%;
    height: 1.1rem;
    margin: .25rem 0;
    padding: 0 .15rem;
}

/* 热门课程 */
.courses{
    width: 100%;
}
.courses_title,.works_title{
    width: 1.64rem;
    height: .28rem;
    margin: 0 auto;
}
.courses .courses_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    box-sizing: border-box;
    padding: .3rem 0.05rem;
}
.courses .courses_list figure{
    width: 1.76rem;
    height: 2.4rem;
    position: relative;
} 
.courses .courses_list figure figcaption{
    position: absolute;
    width: 100%;
    height: .4rem;
    background: rgba(0, 0, 0, .5);
    bottom: 0;
    left: 0;
    text-align: center;
    color: #fff;
}
.courses .courses_list figure figcaption h3{
    font-weight: bold; 
}
.courses .courses_list figure .courses_txt{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}
.courses .courses_list figure .courses_txt .courses_txt_content{
    position: absolute;
    width: 1.8rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
}
.courses .courses_list figure .courses_txt .courses_txt_content h3{
    font-size: .16rem;
    line-height: .4rem;
}
.courses .courses_list figure:hover .courses_txt{
    display: block;
}
.courses .courses_list figure:hover figcaption{
    display: none;
}

.advertising{
    width: 100%;
    height: 1.95rem;
    margin-bottom: .3rem;
}


/* 申请免费试课 */
.apply{
    width: 100%;
    height: 3rem;
    background: url(../img/apply.png) no-repeat;
    background-size: 100% 3rem;
	background-position:bottom;
    position: relative;
}
.apply .inp{
    position: absolute;
    left: 0;
    top: 1rem;
    width: 100%;
    padding: 0 .18rem;
    justify-content: space-around;
}
.apply .inp input{
    width: 3.4rem;
	display:block;
    height: .4rem;
}
.apply .inp section{
    width: 3.4rem;
    height: .4rem;
    line-height: .4rem;
    text-align: center;
    background: #de161c;
    color: #fff;
}

/* tel */
.tel{
    margin-top: .25rem;
}
