﻿.juniorhigh-bg-box{
    width: 100%;
    display: block;
    position: relative;
    padding-top: 80px;
    background-image: url('../img/index-news-bg.jpg');
    padding-bottom: 150px;
}
.juniorhigh-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    padding: 0 25px;
    box-sizing: border-box;

}
.juniorhigh-title-box{
    width: 100%;
    display: block;
    font-size: 0;
    padding-bottom: 50px;
}
.juniorhigh-title{
    font-size: 36px;
    position: relative;
    display: block;
    letter-spacing: 10px;
    padding-left: 50px;
    vertical-align: middle;
    width: 100%
}
.juniorhigh-title:before {
    content: "normal";
    background-image: url('../img/index-news-icon.png');
    width: 40px;
    height: 30px;
    position: absolute;
    font-size: 0;
    left: 0;
    top: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.juniorhigh-list-box{
    width: 100%;
    display:block;
    position: relative;
   
}
.juniorhigh-list{
    width: 100%;
    display: block;
    position: relative;
    margin-bottom: 300px;
  
}
.juniorhigh-img-box{
    width: 1000px;
    max-width: 100%;
    height: 600px;
    display: block;
    position: relative;
    overflow: hidden;
}
.juniorhigh-img{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}

.juniorhigh-info-box{
    width: 460px;
    max-width: 100%;
    height: 300px;
    display: block;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    position: absolute;
    bottom: -205px;
    right: 0;
    z-index: 1;
}
.juniorhigh-info{
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #FFF;
    box-sizing: border-box;
    padding: 0 20px;
}
.juniorhigh-info-title{
    font-size: 20px;
    color: #FFF;
    padding: 20px 0;
    text-align: center;
}
.juniorhigh-info-line{
    width: 100%;
    height: 1px;
    display: block;
    background-color: #ea4504;
    margin-bottom: 20px;
}
.juniorhigh-info-p{
    width: 100%;
    display: block;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 2px;
    color: #FFF;
    height: 100px;
    overflow: hidden;
}
.juniorhigh-icon{
    width: 100%;
    display: block;
    text-align: center;
    padding-top: 10px;
    font-size: 30px;
    color: #ea4504;
}
.juniorhigh-info a{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.juniorhigh-list-box .juniorhigh-list:nth-child(even) .juniorhigh-info-box{
    right: inherit;
    left: 0;
}
.juniorhigh-list-box .juniorhigh-list:nth-child(even) .juniorhigh-img-box{
    float: right;
}




.juniorhigh-page-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    position: relative;
    top: 0px;
    margin: 0 auto;
    padding:  0 100px;
    box-sizing: border-box;
    border: 1px dashed #ea4504;
    background-color: #FFF;

}
.juniorhigh-page-title{
    font-size: 36px;
    position: relative;
    display: block;
    letter-spacing: 10px;
    box-sizing: border-box;
    vertical-align: middle;
    margin: 20px 0;
    padding-left: 50px;
    width: 100%;
}
.juniorhigh-page-title:before {
    content: "normal";
    background-image: url(../img/index-news-icon.png);
    width: 40px;
    height: 30px;
    position: absolute;
    font-size: 0;
    left: 0;
    top: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.juniorhigh-page-bg-box {
    width: 100%;
    display: block;
    position: relative;
    background-image: url(../img/index-news-bg.jpg);
 
}
.juniorhigh-page-title-box{
    width: 100%;
    display: block;
    font-size: 0;
    padding-bottom: 20px;
}
.juniorhigh-editor-box{
    padding: 20px 0;
    font-size: 16px;
    color: #000;
}

.juniorhigh-page-back{
    width: 160px;
    height: 40px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
    font-size: 0;
    border: 1px solid  #ea4504;
    margin-bottom: 20px;
}
.juniorhigh-page-back span{
    width: 20px;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}
.juniorhigh-page-back span img{
    vertical-align: middle;
}
.juniorhigh-page-back p{
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    color: #ea4504;
    letter-spacing: 2px;
    padding-left: 10px;
   line-height: 40px;
 
}
.arrow-prev{
    width: 200px;
    max-width: 100%;
    display: block;
    position: fixed;
    top: 50%;
    right: 85%;
    font-size: 0;
    text-align: right;
}
.arrow-prev span,
.arrow-next span{
    width: 50px;
    display: inline-block;
    vertical-align: middle;
}
.arrow-prev span img,
.arrow-next span img{
    vertical-align: middle;
}
.arrow-prev p,
.arrow-next p{
    font-size: 28px;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    transition: all .3s linear;
}
.arrow-next{
    width: 200px;
    max-width: 100%;
    display: block;
    position: fixed;
    top: 50%;
    left: 85%;
    font-size: 0;
    text-align: left;
}

.juniorhigh-page-box .juniorhigh-img-box{
    height: inherit;
}


.juniorhigh-class-list-box{
    width: 100%;
    display: block;
    margin-top: 10px;
}
.juniorhigh-class-list-box li:last-child{
    margin-right: 0;
}
.juniorhigh-class-list{
    display: inline-block;
    vertical-align: top;
    padding-bottom: 10px;
    margin-right: 20px;
}

.juniorhigh-class-icon{
    width: 20px;
    height: 19px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/class-icon.png');
    vertical-align: middle;
    margin-right: 5px;
}
.juniorhigh-class{
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
}
.staute-class {
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: none;
    border: 1px solid #ea4504;
    padding-left: 10px;
    box-sizing: border-box;
    position: relative;
    font-size: 16px;
    color: #333333;
    letter-spacing: 2px;
    cursor: context-menu;
}
.staute-class:before {
    content: 'normal';
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    background-color: #ea4504;
    top: 0;
    right: 40px;
    font-size: 0;
}
.staute-class:after {
    content: 'normal';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #ea4504;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: 12px;
    right: 10px;
}


/* ----------------teacher---------------- */
.teacher-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    font-size: 0;
    margin: 0 auto;
    
}
.teacher-img-box{
    width: 100%;
    height: 400px;
    display: block;
    position: relative;
}
.teacher-list{
    width: 400px;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
.teacher-list-box .teacher-img-box{
    display: -webkit-flex;
  display:         flex;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
          overflow: hidden;
}
.teacher-list-box .teacher-img-box img{
    max-height: 100%;
}
.teacher-info-box {
    width: 90%;
    position: relative;
    display: block;
    margin: 0 auto;
    border: 1px solid #ea4504;
    background-color: #FFF;
    padding: 20px;
    box-sizing: border-box;
    top: -40px;
}
.teacher-list-box{
    width: 100%;
    display: block;
}
.teacher-class-box{
    display: block;
    padding: 30px 0;
}
.teacher-class{
    display: inline-block;
    padding-right: 30px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}
.teacher-class-box li a:before {
    content: 'normal';
    font-size: 0;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-bottom: 5px;
    border: 1px solid #000;
    display: inline-block;
    margin-right: 5px;
}
.teacher-class-box li.teacher-active a:before {
    background-image: url(../img/checked.png);
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: center;
}