/* 导航栏 */
.r-nav{
    height: 40px;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 20px;
}
.r-nav .r-home{
    float: left;
    width: 90px;
    height: 40px;
    text-align: center;
    background: red;
    color: #fff;
    line-height: 40px;
    font-size: 22px;
}
.r-nav .right-nav{
    float: right;
    font-size: 20px;
    line-height: 40px;
}
.r-nav .right-nav a{
    padding: 10px 5px;
    margin-left: 25px;
    box-sizing: border-box;
}

.r-nav .right-nav .on{    border-bottom: 2px solid #000;}

.r-nav .right-nav span{
    color: red;
}
.r-nav .right-nav a:hover{
    border-bottom: 2px solid #000;
} 

/* banner图 */
.banner{
    height: 620px;
}
.banner-btn{
    position: relative;
    height: 100%;
}
.banner-btn a{
    position: absolute;
    width: 152px;
    height: 40px;
    bottom: 136px;
	border:1px solid #fff;
	border-radius:5px;
	line-height:40px;
	color:#fff;
	font-size:20px;
	text-indent:10px;
	background-image:url(../bin_images/2.png);
	background-position:right 10px bottom 8px;
	background-repeat:no-repeat;
	
}
.btn-left{
    left: 50px;
}
.banner-btn a:hover{
	background-color:#fff;
	color:#333;
	background-image:url(../bin_images/1.png);
}
.btn-right{
    left: 230px;
}
.btn-right:hover{
    box-shadow: 0 0 10px #6275a6;
    
}
.banner .banner-btn{
    position: relative;
    height: 620px;  
}
.banner .banner-btn .buttton{
    position: absolute;
    left: 60px;
    top: 400px;
    overflow: hidden;
}
.banner .banner-btn .buttton a{
    text-align: center;
    float: left;
    width: 165px;
    height: 55px;
    line-height: 55px;
    box-sizing: border-box;
    border: 1px solid #6f4034;
    font-size: 26px;
    color: #211711;
    border-radius: 0 4px 4px 0;
}
.banner .banner-btn .buttton a:nth-of-type(1){
    border-right: 0;
    background: #6f4034;
    color: #fff;
    border-radius: 4px 0 0 4px;
}
.banner .banner-btn .buttton a:hover{
    color: red;
}

/* class and grade */
.classAndGrade{
    padding: 90px 0;
}
.classAndGrade .grade li{
    width: 610px;
    height: 330px;
    background: #eeeeee;
    margin-right: 20px;
    float: left;
    margin-bottom: 30px;
    overflow: hidden;
}
.classAndGrade .grade li:nth-of-type(2n){
    margin-right: 0;
}
.classAndGrade .grade li .img-box{
    float: left;
    width: 330px;
    height: 330px;
    overflow: hidden;
}
.classAndGrade .grade li .img-box img{
    width: 100%;
    height: 100%;
    transition: all .6s;
}
.classAndGrade .grade li .img-box:hover img{
    transform: scale(1.1);
}
.classAndGrade .grade li .txt{
    float: left;
    width: 280px;
    height: 330px;
    box-sizing: border-box;
    padding: 85px 28px;
    font-size: 26px;
}
.classAndGrade .grade li .txt h3{
    font-size: 26px;
    font-weight: bold;
}
.classAndGrade .grade li .txt strong{
    font-size: 18px;
    font-weight: normal;
}
.classAndGrade .grade li .txt p{
    font-size: 18px;
}
.classAndGrade .grade li .txt p i{
    font-weight: bold;
}
.classAndGrade .grade li .txt p b{
    color:#de151b;
}
.classAndGrade .grade li .txt p span{
    font-weight: bold;
}
.classAndGrade .grade li .txt div{
    display: inline-block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    border: 1px solid #000;
    margin: 20px 0;
}
.classAndGrade .grade li .txt div span:nth-of-type(1){
    display: inline-block;
    width: 80px;
    height: 40px;
    background: #000;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.classAndGrade .grade li .txt div span:nth-of-type(2){
    display: inline-block;
    width: 120px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    font-weight: normal;
}
.classAndGrade .grade li .txt div span{
    font-weight: bold;
}
.classAndGrade .grade li a:hover{
    color: currentColor;
}
.classAndGrade .grade li:hover h3{
    color: #de151b;
}
/* 优势 */
.advantage{ background: url(../bin_images/bj.png) no-repeat center center;
    height: 700px;
}
.advantage .advantage-txt{
    position: absolute;
    width: 420px;
    height: 100px;
}
.advantage .advantage-txt h3{
    font-size: 20px;
    line-height: 36px;
    font-weight: bold;
}
.advantage .advantage-txt p{
    font-size: 14px;
}
.advantage .advantage-txt:nth-of-type(1){
    top: 220px;
    left: 20px;
}
.advantage .advantage-txt:nth-of-type(2){
    top: 220px;
    right: 20px;
}
.advantage .advantage-txt:nth-of-type(3){
    bottom: 120px;
    left: 20px;
}
.advantage .advantage-txt:nth-of-type(4){
    bottom: 110px;
    right: 20px;
}
/* 妆典师生作品 */
.production{
    padding: 100px 0;
}
.production .title{
    width: 688px;
    height: 154px; background: url(../bin_images/title.png) no-repeat;
    margin: 0 auto;
}
.production .production-img{
    margin-top: 70px;
    width: 1240px;
    height: 660px;
}
.production .production-img .left-img{
    float: left;
    width: 530px;
    height: 660px;
    overflow: hidden;
    margin-right: 15px;
    cursor: pointer;
}
.production .production-img .left-img img{
    width: 100%;
    height: 100%;
    transition: all .6s;
}
.production .production-img .left-img:hover img{
    transform: scale(1.1);
}
.production .production-img .right-img{
    width: 695px;
    height: 660px;
    float: right;
}
.production .production-img .right-img .img-box{
    width: 224px;
    height: 320px;
    float: left;
    overflow: hidden;
    margin: 0 11px 20px 0;
    cursor: pointer;
}
.production .production-img .right-img .img-box:nth-of-type(3n){
    margin-right: 0;
}
.production .production-img .right-img .img-box:nth-of-type(4){
    margin-bottom: 0;
}
.production .production-img .right-img .img-box:nth-of-type(5){
    margin-bottom: 0;
}
.production .production-img .right-img .img-box:nth-of-type(6){
    margin-bottom: 0;
}
.production .production-img .right-img .img-box img{
    width: 100%;
    height: 100%;
    transition: all .6s;
}
.production .production-img .right-img .img-box:hover img{
    transform: scale(1.1);
}

/* 热门课程 */
.hot .title{
    text-align: center;
}

.hot .iphone{
    margin: 60px 0;
}
.hot .iphone li{
    float: left;
    width: 280px;
    height: 155px;
    box-sizing: border-box;
    border: 1px dashed #ccc;
    text-align: center;
    padding-top: 20px;
    margin-right: 40px;
}
.hot .iphone li p:nth-of-type(1){
    font-size: 20px;
}
.hot .iphone li img{
    height: 40px;
}
.hot .iphone li p:nth-of-type(2){
    font-size: 30px;
}
.hot .iphone li:nth-of-type(4){
    margin-right: 0;
}
.hot  h5{
    color: #5a5a5a;
    font-size: 16px;
    text-align: center;
}



















/* Professional */
.Professional{
    padding: 100px 0;
}
.Professional .title{
    text-align: center;
}
.Professional ul{
    margin-top: 40px;
}
.Professional ul li{
    float: left;
    width: 395px;
    height: 456px;
    position: relative;
    margin-top: 30px;
    cursor: pointer;
    overflow: hidden;
}
.Professional ul li:nth-of-type(2),.Professional ul li:nth-of-type(5){
   margin-left: 27px;
   margin-right: 27px;
}
.Professional ul li .img-box{
    width: 395px;
    height: 456px;
    overflow: hidden;
}
.Professional ul li .txt{
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}
.Professional ul li .txt h4{
    font-size: 22px;
    color: #fff;
    line-height: 38px;
}
.Professional ul li .txt p{
    font-size: 16px;
}
.Professional ul li:hover .shade{
    display: block;
}
.Professional ul li .shade{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    transition: all 0.6s;
}
.Professional ul li:hover .txt{
    display: none;
}
.Professional ul li .shade:hover .shade-txt{
    top: 120px;
}
.Professional ul li .shade .shade-txt{
    position: absolute;
    left: 0;
    top: -200px;
    bottom: 0;
    right: 0;
    margin: auto;
    text-align: center;
    transition: all .5s linear;
}
.Professional ul li .shade .shade-txt h3{
    font-size: 32px;
    line-height: 90px;
    font-weight: bold;
    color: #fff;
}
.Professional ul li .shade .shade-txt P{
    line-height: 24px;
    color: #fff;
}

/* Places */
.Places{
    box-sizing: border-box;
    height: 302px;
    background: url(../bin_images/img04.png) no-repeat;
    padding-top: 190px;
    margin-bottom: 80px;
}
.Places .apply input{
    width: 288px;
    height: 36px;
    text-indent: 24px;
}
.Places .apply .tel{
    margin: 0 35px;
}
.Places .apply span{
    width: 130px;
    height: 36px;
    display: inline-block;
    background: red;
    border-radius: 4px;
    vertical-align: middle;
    margin-top: -4px;
    font-size: 20px;
    color: #fff;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}