/* 教师详情页面样式 */
.teacher_info{
    display: flex;
    align-items: flex-start;
    padding: 37px 0 50px;
}

.avatar_box{
    flex-shrink: 0;
    width: 355px;
    height: 526px;
    background: url(../images/pc/inner/ny_tu18.png) no-repeat;
    background-size: 100% 100%;

    box-sizing: border-box;
    padding: 14px;
    position: relative;
}

.avatar_box img{
    width: 100%;
    height: 463px;
    object-fit: cover;
}

.award{
    width: 45px;
    height: auto;
    background: url(../images/pc/inner/ny_tu19.png) no-repeat;
    background-size: 100% 100%;
    padding: 5px 0 10px;

    font-size: 20px;
    color: #AC1101;

    position: absolute;
    left: 25px;
    top: 25px;
}

.award p{
    writing-mode: vertical-lr;
    margin: 0 auto;
}

.u_name{
    width: 208px;
    height: 80px;
    background: url(../images/pc/inner/ny_tu20.png) no-repeat;
    background-size: 100% 100%;

    font-size: 24px;
    color: #AC1101;
    font-weight: bold;
    text-align: center;
    line-height: 76px;

    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
}

.intro{
    width: calc(100% - 355px - 42px);
    margin-left: 42px;

    font-size: 18px;
    color: #333333;
    line-height: 36px;
}

@media screen and (max-width: 1200px){
    .my_tab{
        margin-top: 0;
    }

    .teacher_info{
        flex-wrap: wrap;
        padding: 15px 0 0;
    }

    .avatar_box{
        margin: 0 auto;
        width: 178px;
        height: 263px;

        padding: 7px;
        margin-bottom: 15px;
    }

    .avatar_box img{
        height: 231px;
    }

    .intro{
        width: 100%;
        font-size: 14px;
        line-height: 28px;
        margin-left: 0;
    }

    .award{
        width: 26px;
        font-size: 10px;
        left: 14px;
        top: 14px;
    }

    .u_name{
        width: 100px;
        height: 30px;

        font-size: 12px;
        line-height: 26px;
    }
}