/* 初始化 */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; }
fieldset, img { border:none; } /*为了照顾ie6 链接图片有边框*/
img{display: block;}
ul, ol { list-style:none; }
input { padding-top:0; padding-bottom:0; font-family: "SimSun","宋体";}
select, input { vertical-align:middle; }
select, input, textarea { font-size:12px; margin:0; }
textarea { resize:none; }
table { border-collapse:collapse; }
h1,h2,h3,h4,h5,h6{font-size:100%; font-weight:normal;}
body {font-size:12px; color:#000;font-family:"微软雅黑";}
.clearfix:after { content:"."; display:block; height:0; visibility:hidden; clear:both; }
.clearfix { zoom:1; }
.clearit { clear:both; height:0; font-size:0; overflow:hidden; }
a { color:#000; text-decoration:none; }
a:hover { color:#000; text-decoration:none; }
html {
  -webkit-text-size-adjust:100%;
  -ms-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  width: auto;
}
body,html{
  font-family: 微软雅黑;
}
.media img{
    max-width: unset;
}
.w1200 {
    width: 1200px;
    margin: 0 auto;
}
/* 自定义 */
.g-box {
    width: 100%;
}
.head{
    background: url(../img/bg.png) top center no-repeat;
    width: 100%;
    height: 1324px;
    overflow: hidden;
}
.intro {
    width: 748px;
    height: 280px;
    margin: 630px auto 0;
}
.intro p{
    margin: 0 auto;
    font-size: 22px;
    line-height: 2em;
    text-indent: 2em;
    text-align: justify;
    color: #484848;
    writing-mode: vertical-rl;/*从左向右 从右向左是 writing-mode: vertical-rl;*/
    writing-mode: tb-rl;/*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl；*/
}
body {
    background-image: linear-gradient(to bottom, #fbf2e1 , #fffaf2);
}
.title img{
    margin: 0 auto;
}
.part1 {
    margin-top: -300px;
}
.imgBox {
    display: inline-block;
    margin: 100px 28px 0 0;
    position: relative;
    width: 584px;
    height: 394px;
    box-sizing: border-box;
    padding: 0 38px 40px 27px;
    border: 3px solid rgb(192, 10, 2);
}
.imgBox:nth-child(even){
    margin-right: 0;
}
.photo {
    width: 204px;
    height: 259px;
    margin: -45px 0 0;
}
.teacherInfo {
    margin-top: 27px;
    width: 204px; /*09.09改*/
}
.teacherInfo .name {
    font-size: 30px;
    color: #484848;
}
.teacherInfo .school,
.teacherInfo .subject{
    margin-top: 10px; /*09.09改*/
    font-size: 16px;
    color: #484848;
}
.left {
    float: left;
}
.right {
    float: right;
}
.teaTxt p {
    padding-top: 38px;
    width: 290px;
    height: 260px;
    line-height: 1.8em;
    font-size: 16px;
    color: #484848;
    text-indent: 2em;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
}
.sw1 .teaTxt p {
    height: auto;
    -webkit-line-clamp: 11;
}
.toDetail {
    margin-top: 30px;
    float: right;
    font-size: 16px;
    color: #9d3925;
}
.part2 {
    margin-top: 50px;
}
.swFather {
    position: relative;
}
.swFather .swiper-wrapper {
    margin-bottom: 60px !important;
}
.swFather .swiper-button-next {
    background-image: url(../img/right.png);
    background-size: contain;
    width: 99px;
    height: 99px;
    right: -150px;
}
.swFather .swiper-button-prev {
    background-image: url(../img/left.png);
    background-size: contain;
    width: 99px;
    height: 99px;
    left: -150px;
}
.sw-page .swiper-pagination-bullet {
    border: 3px solid rgb(187, 138, 100);
    width: 15px;
    height: 14px;
    background: transparent;
    opacity: 1;
}
.sw-page .swiper-pagination-bullet-active {
    border-color: #cf5632 ;
    background: #cf5632;
}
.foot {
    background: url(../img/footBg.png) bottom center no-repeat;
    height: 207px;
    margin-top: 80px;
    overflow: hidden;
}
.foot img{
    margin: 49px auto 22px;
}
.foot p{
    font-size: 16px;
    line-height: 2em;
    color: #1b1b1b;
    text-align: center;
}
@media (max-width:768px){
    .w1200 {
        width: 100%;
    }
    .head {
        background: url(../img/bg.png) top center no-repeat;
        background-size: cover;
        width: 100%;
        height: 100vw;
        overflow: hidden;
    }
    .part1 {
        margin-top: 0;
    }
    .intro {
        width: 70%;
        height: 40vw;
        margin: 47vw auto 0;
    }
    .intro p {
        font-size: 12px;
        line-height: 1.5em;
        text-indent: 1em;
    }
    .imgGroup {
        margin-top: 70px;
    }
    .imgBox {
        display: block;
        margin: 70px auto 0;
        width: 90%;
        height: 80vw;
        padding: 0 2% 15px;
    }
    .imgBox:nth-child(even) {
        margin: 70px auto 0;
    }
    .part2 .imgBox {
        height: 70vw;
    }
    .photo {
        width: 30vw;
        height: auto;
        margin: -45px 0 0;
    }
    /* 09.09改 */
    .teacherInfo {
        width: 30vw;
    }
    .teacherInfo .school, .teacherInfo .subject {
        margin-top: 10px;
        font-size: 12px;
    }
    .teaTxt p {
        padding-top: 15px;
        width: 47vw;
        height: auto;
        line-height: 1.5em;
        font-size: 12px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 13;
    }
    .sw1 .teaTxt p {
        height: auto;
        -webkit-line-clamp: 12;
    }
    .foot p {
        font-size: 12px;
    }
    .foot {
        background: url(../img/footBg.png) bottom center no-repeat;
        height: 207px;
        margin-top: 80px;
        overflow: hidden;
        background-size: 100% 100%;
    }
    .toDetail {
        margin-top: 20px;
        font-size: 13px;
    }
    .title img {
        height: 10vw;
    }
    .swFather .swiper-button-next {
        width: 5vw;
        height: 5vw;
        right: 1vw;
        display: none;
    }
    .swFather .swiper-button-prev {
        width: 5vw;
        height: 5vw;
        left: 1vw;
        display: none;
    }
    @media (min-width:500px) and (max-width:550px) {
        .intro {
            height: 22vw;
        }
        .part1 {
            margin-top: -20vw;
        }
        .imgBox {
            height: 60vw;
        }
        .teaTxt p {
            font-size: 15px;
            -webkit-line-clamp: 11;
        }
    }
    @media (min-width:450px) and (max-width:500px) {
        .intro {
            height: 28vw;
        }
        .part1 {
            margin-top: -15vw;
        }
        .imgBox {
            height: 70vw;
        }
        .teaTxt p {
            font-size:15px;
            -webkit-line-clamp: 13;
        }
    }
    @media (min-width:401px) and (max-width:450px) {
        .teaTxt p {
            font-size: 13px;
        }
    }
    @media (max-width:320px) {
        .intro {
            height: 43vw;
        }
        .intro p{
            line-height: 1.2em;
        }
        .imgBox {
            height: 100vw;
        }
        .part2 .imgBox {
            height: 95vw;
        }
        .sw1 .teaTxt p {
            height: auto;
            -webkit-line-clamp: 14;
        }
    }

}
