/* 轮播图按钮 */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}
.swiper-pagination-bullet-active{
    background: #e0151b;
}
.banner{
    width: 100%;
    height: 618px;
}

/* Select reason */
.selectReason{
    padding: 100px 0;
}
.title{
    text-align: center;
}
.selectReason ul li{
    float: left;
    width: 378px;
    font-size: 16px;
    line-height: 36px;
}
.selectReason ul li:nth-of-type(2){
    margin: 0 50px;
}
.selectReason ul li .img-box{
    position: relative;
    margin: 48px 0;
    width: 378px;
    height: 406px;
    overflow: hidden;
    cursor: pointer;

}
.selectReason ul li span{
    width: 10px;
    height: 10px;
    border: 2px solid #e0151b;
    margin-top: 10px;
    border-radius: 50%;
    float: left;
}
 .shade{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background:rgba(0,0,0,0.5);
    transition: all 0.6s;
}
.selectReason ul li .img-box .shade img{
    position: absolute;
    left: 0;
    top: 400px;
    bottom: 0;
    right: 0;
    transition: all .5s linear;
}
.selectReason ul li .img-box:hover .shade{
    display: block;
}
.selectReason ul li .shade:hover img{
    top: 0;
    margin: auto;
    transition: all .6s linear;
}
.selectReason ul li p:hover{
    color: #e0151b;
    cursor: pointer;
}
.selectReason ul li p:hover span{
    background: #e0151b;
}
.selectReason ul li p{
    overflow: hidden;
}
.selectReason ul li p a{
    width: 350px;
    float: right;
}

/* Professional courses */
.Professional{
    background: #eeeeee;
    padding: 100px 0;
}
.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{

    height: 48px;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 0;
    bottom: 48px;
    right: 0;
    margin: 0 auto;
    font-size: 32px;
    color: #fff;
    text-align: center;
    line-height: 48px;
}
.Professional ul li:hover .shade{
    display: block;
}
.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;
}

/* solemnPromise */
.solemnPromise{
    padding: 88px 0 50px 0;
}
.solemnPromise ul{
    margin-top: 68px;
}
.solemnPromise ul li{
    width: 220px;
    height: 108px;
    background: url(../bin_images/quan.png) no-repeat;
    text-align: center;
    padding-top: 20px;
    float: left;
    margin-right: 35px;
    cursor: pointer;
}
.solemnPromise ul li:nth-of-type(5){
    margin-right: 0;
}
.solemnPromise ul li strong{
    font-size: 30px;
}
.solemnPromise ul li:hover{
    background: url(../bin_images/quan1.png) no-repeat;
}
.solemnPromise ul li:hover strong{
    color: #de161c;
}
.solemnPromise ul li:hover p{
    color: #999999;
}


/* works */
.works{
    padding-bottom: 60px;
}
.works .works-title .works-tab{
    padding: 0 180px;
    font-size: 20px;
    height: 80px;
    margin-top: 70px;

}
.works .works-title .works-tab span{
    display: inline-block;
    margin: 0 66px;
    cursor: pointer;
    line-height: 36px;
}
.works .works-title .works-tab .active{
    color: #e0151b;
    border-bottom: 1px solid #999999;
    font-weight: bold;
}
.works .works-img{
    height: 519px;
    overflow: hidden;
}
.works .works-img div{
    display: none;
}
.works .works-img div a{
    width: 360px;
    height: 520px;
    overflow: hidden;
}
.works .works-img div img{
    width: 360px;
    height: 520px;
    transition: all 0.6s;
}
.works .works-img div img:hover{
    transform: scale(1.1);
}
.works .works-img .show {
    display: block;
    display:-webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content:space-between;
    justify-content:space-between;
    -moz-box-pack:space-between;
    box-pack:space-between;
}
.works-btn{
    width: 210px;
    height: 50px;
    background: url(../bin_images/btn1.png) no-repeat;
    margin: 70px auto 0 auto;
    transition: all .6s;
}
.works-btn:hover{
    background: url(../bin_images/btn01.png) no-repeat;
}


/* Four Privileges */
.Privileges{
    padding-top: 60px;
    background: #f4f4f4;
    padding-bottom: 90px;
}
.Privileges ul li{
    width: 310px;
    height: 400px;
    float: left;
    text-align: center;
    box-sizing: border-box;
    padding: 70px 0px 50px 0px;
}
.Privileges ul li h3{
    font-size: 28px;
    line-height: 30px;
    margin: 10px 0;
}
.Privileges ul li p{
    overflow: hidden;
}
.Privileges ul li p span{
    float: left;
    width: 10px;
    height: 10px;
    border: 2px solid #e0151b;
    border-radius: 50%;
    margin: 8px 10px 0 0;
}
.Privileges ul li p a{
    text-align: left;
    width: 255px;
    float: left;
}
.Privileges ul li p{
    font-size: 18px;
    line-height: 30px;
}
.Privileges ul li p:hover span{
    background: #e0151b;
}
.Privileges ul li p:hover{
    color: #e0151b;
    cursor: pointer;
}
.Privileges-btn{
    width: 512px;
    height: 52px;
    margin: 0 auto;
}
.Privileges-btn div{
    width: 202px;
    height: 51px;
    transition: all .6s;
}
.Privileges-btn .btn-left{
    float: left;
    background: url(../bin_images/btn2.png) no-repeat;
}
.Privileges-btn .btn-left:hover{
    background: url(../bin_images/btn02.png) no-repeat;
}
.Privileges-btn .btn-right{
    float: right;
    background: url(../bin_images/btn3.png) no-repeat;
}
.Privileges-btn .btn-right:hover{
    background: url(../bin_images/btn03.png) no-repeat;
}
/* num-bj */
.num-bj{
    height: 500px;
    background: url(../bin_images/num-bj.png) no-repeat center;
    padding-top: 75px;
    box-sizing: border-box;
}

/* famousTeacher */
.famousTeacher{
    padding: 100px 0;
}
#swiper-container1{
    overflow: hidden;
    margin: 70px 0;
}
.swiper-button-prev{
    left: 120px;
    width: 44px;
    height: 87px;
    background: url(../bin_images/prev.png) no-repeat;
}
.swiper-button-next{
    width: 44px;
    height: 87px;
    right: 120px;
    background: url(../bin_images/next.png) no-repeat;
}
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {
    content: '';
}
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
    content: '';
}
.famousTeacher .Privileges-btn .btn-left{
    background: url(../bin_images/btn4.png) no-repeat;
}
.famousTeacher .Privileges-btn .btn-left:hover{
    background: url(../bin_images/btn04.png) no-repeat;
}
.famousTeacher .Privileges-btn .btn-right{
    background: url(../bin_images/btn5.png) no-repeat;
}
.famousTeacher .Privileges-btn .btn-right:hover{
    background: url(../bin_images/btn05.png) no-repeat;
}


/* school environment */
.environment{
    padding: 90px 0 120px 0;
    background: #f4f4f4;
}
.environment-img{
    margin-top: 80px;
}
.environment-img .left{
    float: left;
    width: 855px;
}
.environment-img .left li{
    float: left;
    margin-right: 5px;
    overflow: hidden;
    cursor: pointer;
    height: 270px;
}
.environment-img .right{
    float: right;
}
.environment-img .right div{
    width: 384px;
    height: 545px;
    cursor: pointer;
    overflow: hidden;
}
.environment-img .left li:nth-of-type(1),.environment-img .left li:nth-of-type(2){
    width: 270px;
    margin-bottom: 5px;
}
.environment-img .left li:nth-of-type(3){
    width: 300px;
}
.environment-img .left li:nth-of-type(4),.environment-img .left li:nth-of-type(5){
    width: 422px;
}
.environment-img li img,.environment-img .right div img{
    width: 100%;
    height: 100%;
    transition: all 0.6s;
}
.environment-img li:hover img,.environment-img .right div:hover img{
    transform: scale(1.1);
}
.news{
    padding: 100px 0;
}
.news ul li{
    float: left;
    width: 400px;
    border-bottom: 1px dashed #bababa;
}
.news ul li h2{
    font-size: 36px;
    position: relative;
    text-indent: 10px;
}
.news ul li h2 a{
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 16px;
    width: 62px;
    height: 26px;
    background: #171717;
    color: #e8e8e8;
    line-height: 26px;
    text-align: center;
    text-indent: initial;
    transition: all .6s;
}
.news ul li h2 a:hover{
    background: #e0151b;
    color: #fff;
}
.news-title{
    margin: 36px 0;
}
.news-title .img-box{
    width: 170px;
    height: 155px;
    float: left;
    overflow: hidden;
}
.news-title .img-box img{
    width: 100%;
    height: 100%;
    transition: all 0.6s;
    cursor: pointer;
}
.news-title .img-box img:hover{
    transform: scale(1.1);
}
.news-title .txt{
    width: 220px;
    float: right;
    height: 155px;
    box-sizing: border-box;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 34px;
}
.news-title .txt p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.news-title .txt span{
    font-size: 14px;
    color: #777;
}
.news ul li>p{
    line-height: 60px;
    font-size: 18px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    border-top: 1px dashed #bababa;
}
.news ul li>p span{
    color:#777;
}
.news ul li:nth-of-type(2){
    margin: 0 20px;
}