/* 教师详情页样式表 teacher-info.css */

/* 当前位置: start */
.location {
    margin: 0px 0px;
    padding-bottom: 50px;
}
.location .teacher-column {
    float: left;
    position: relative;
    width: 230px;
    height: 62px;
    margin-right: 85px;
    background: #055094;
}
.location .teacher-column p {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);

    width: 100%;
    font-size: 26px;
    line-height: 28px;
    color: #ffffff;
    text-align: center;
}
.location .current {
    float: left;
    width: 400px;
    border-bottom: none;
    margin-top: 13px;
}
/* 当前位置: end */

/* 教师详情: start */
.teacher {
    width: 100%;
    padding-bottom: 80px;
}
.teacher .info {
    position: relative;
    float: left;
    width: 342px;
}
.teacher .info::before {
    position: absolute;
    bottom: 0px;
    left: 0px;

    content: '';
    width: 50%;
    height: 8px;
    background: #055094;
}
.teacher .info::after {
    position: absolute;
    bottom: 0px;
    right: 0px;

    content: '';
    width: 50%;
    height: 8px;
    background: #f7b765;
}
.teacher .info .img-box {
    width: 100%;
    padding: 8px 8px 20px 8px;
    background: #dce7f0;
}
.teacher .info .img-box .img {
    position: relative;
    width: 100%;
    height: 232px;
    border: 8px solid #ffffff;
    
    overflow: hidden;
    
    /* 参数说明：box-shadow: 水平阴影位置(正数表示在左边，负数表示在右边，0表示不设置) 垂直阴影位置(正数表示在下方，负数表示在上方，0表示不设置) 模糊距离(正数越大，外扩距离越远) 阴影的颜色; */
    /* 比如设置上阴影: box-shadow: 0px -2px 2px red; */
    /* 设置上，右，下，左阴影（实际位置由水平阴影位置和垂直阴影位置的取值正负所决定）： box-shadow: 上阴影,右阴影,下阴影，左阴影; */
    box-shadow: 0px -2px 2px rgb(214, 216, 221), 2px 0px 2px rgb(121, 124, 128), 0px 2px 2px rgb(124, 125, 127), -2px 0px 2px rgb(214, 216, 221);
}
.teacher .info .img-box .img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    max-width: 100%;
    max-height: 100%;
}
.teacher .info .info-box {
    width: 100%;
    padding: 0px 20px;
    padding-bottom: 40px;
    background: #eeeeee;
}
.teacher .info .info-box .name {
    color: #055094;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
}
.teacher .info .info-box .level {
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    border-bottom: 1px solid #d2d2d2;
}
.teacher .info .info-box .research {
    padding-top: 20px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;

    overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.teacher .detail {
    float: right;
    width: 860px;
}
.teacher .detail .classification {
    width: 100%;
}
.teacher .detail .classification li {
    float: left;
    width: 120px;
    height: 42px;
    margin-right: 30px;
    cursor: pointer;
}
.teacher .detail .classification li:last-child {
    margin-right: 0px;
}
.teacher .detail .classification li a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #eeeeee;
    text-align: center;
    
    font-size: 18px;
    line-height: 42px;
    color: #666666;
}
.teacher .detail .classification li.active a {
    background: #055094;
    color: #ffffff;
}
.teacher .detail .article {
    padding: 10px 0px;

    display: none;
}
/* 教师详情: end */

/* 教师详情页-响应式样式表 */
@media(max-width: 1500px){
    .container {
        width: 1170px;
    }
    .teacher .detail {
        width: 780px;
    }
}


/* iPadPro（横屏1366) */
@media(max-width: 1300px){
    .container {
        width: 996px;
    }
    .teacher {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .teacher .info {
        /* display: flex; */
        float: none;
        width: 660px;
        margin-bottom: 30px;
    }
    .teacher .info .img-box {
        float: left;
        width: 50%;
    }
    .teacher .info .info-box {
        float: right;
        width: 50%;
        height: 260px;
        padding-top: 40px;
        padding-bottom: 0px;
    }
    .teacher .detail {
        float: none;
        width: 100%;
    }
}

/* iPadPro(1024), iPad(横屏1024)，iPhone X(横屏812)，Pixel2 XL(横屏823)*/
@media(max-width: 1024px){
    .container {
        width: 750px;
    }
}

/* iPad(768);Glaxy Fold(653);Pixel2(横屏731)*/
@media(max-width: 768px){
    .container {
        width: 510px;  /*因为当缩减到540时，padding为0px 15px；540-15*2 = 510，刚好拼接起来，不发生跳动*/
    }
    .location .teacher-column {
        margin-right: 0px;
    }
    .location .current {
        width: 100%;
    }
    .teacher .info {
        width: 342px;
    }
    .teacher .info .img-box {
        float: none;
        width: 100%;
    }
    .teacher .info .info-box {
        float: none;
        width: 100%;
        height: auto;
        padding-top: 0px;
        padding-bottom: 40px;
    }

}

/* Surface Duo(540) */
@media(max-width: 540px){
    .container {
        width: 100%;
        padding: 0px 15px;
    }
    
}

/* iPhone 6/7/8 Plus(414) */
@media(max-width: 450px){
    .teacher .info {
        width: 328px;
    }
    
}

/* iphone6,7,8(375)；iphoneX(375) */
@media(max-width: 375px){
    .teacher .info {
        width: 100%;
    }
    .teacher .detail .classification li {
        margin-right: 10px;
    }
}

/* iPhone5/SE(320) */
@media(max-width: 320px){
    .location .teacher-column {
        width: 100%;
    }
    .teacher .info .img-box .img {
        height: 200px;
    }
}