/* 轮播图 */
#banner{
    width: 100%;
    height: 1.82rem;
}


/* 导航栏 */
#nav{
    display: flex;
    width: 100%;
    height: 2.65rem;
    justify-content: space-around;
    align-content: space-around;
    flex-wrap: wrap-reverse;
    padding: .3rem 0;
}
#nav a,.nav_list a{
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#nav a .nav_img,.nav_list a .nav_img{
    width: .575rem;
    height: .575rem;
}
#nav a p,.nav_list a p{
    line-height: .3rem;
}

/* 专业课程 */
.courses{
    width: 100%;
}
.courses_title,.works_title{
    width: 100%;
    height: .28rem;
}
.courses .courses_list{
    height: 6.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    box-sizing: border-box;
    padding: .3rem .1rem;
}
.courses .courses_list figure{
    width: 1.66rem;
    height: 1.92rem;
    position: relative;
} 
.courses .courses_list figure figcaption{
    position: absolute;
    width: .94rem;
    height: .2rem;
    line-height: .2rem;
    background: rgba(0, 0, 0, .5);
    bottom: .2rem;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    color: #fff;
}
.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.4rem;
    height: 1rem;
    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: .5rem;
}
.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;
}


/* 妆典师生作品 */
.works .tab_bar{
    height: .85rem;
    display: flex;
    align-items: center;
}
.works .tab_bar section{
    width: 100%;
    height: .33rem;
    display: flex;
    justify-content: space-between;
}
.works .tab_bar section p{
    width: 24.5%;
    text-align: center;
    line-height: .33rem;
    background: #efefef;
}
.works_img section{
    display: flex;
    flex-wrap: wrap;
    height: 4.95rem;
    justify-content: space-around;
    align-content: space-between;
    padding: 0 .1rem;
}
.works_img section a{
    width: 1.65rem;
    height: 2.4rem;
}
.works_img section{
    display: none;
}
.works_img .show {
    display: flex;
}
.works .tab_bar section .active{
    background: #de161c;
    color: #fff;
}
.works_btn{
    height: .75rem;
    text-align: center;
    padding-top: .3rem;
}
.works_btn a{
    display: inline-block;
    width: 2.1rem;
    height: .38rem;
    line-height: .38rem;
    background: #171717;
    color: #fff;
    text-align: center;
    font-size: .15rem;
}
/* nav_list */
.nav_list{
    display: flex;
    width: 100%;
    height: 1.45rem;
    justify-content: space-around;
    flex-wrap: wrap-reverse;
    padding: .3rem 0;
}

/* 各种活动 */
.news_nav{
    display: flex;
    height: .45rem;
    justify-content: space-between;
    align-items: center;
}
.news_nav a{
    width: 33%;
    height: .35rem;
    line-height: .35rem;
    text-align: center;
    background: #f4f4f4;
    font-weight: bold;
}
.news_nav .active{
    background: #c30d23;
    color: #fff;
}
.news_list>div{
    display: none;
}
.news_list .show{
    display: block;
}
.news_list figure{
    display: flex;
    height: .98rem;
    border-bottom: 1px dashed #bababa;
    padding: .18rem .15rem;
    justify-content: space-between;
}
.news_list .news_img{
    width: .75rem;
    height: .6rem;
}
.news_list figure figcaption{
    width: 2.6rem;
}
.news_list figure figcaption a{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news_list figure figcaption a:hover{
    color:#cc4853;
}
.news_list figure figcaption p{
    color: #777;
    line-height: .3rem;
}
.btn_more{
    display: block;
    height: .35rem;
    line-height: .35rem;
    background: #f4f4f4;
    margin: .35rem 0;
    text-align: center;
    font-size: .15rem;
}







