/* 教师列表部分开始 */
.kgwbx{
    width: 100%;
    height: auto;
}

.fauList{
    flex-wrap: wrap;
}

.fauItem{
    flex-shrink: 0;
    width: 48%;
    height: auto;
    margin-bottom: 2em;
    box-sizing: border-box;
    border: 1px solid white;
    transition: all 1s;
}

.fauItem:nth-child(odd){
    margin-left: 4%;
}

.fauItem .avatar{
    width: 12.2em;
    height: 17em;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

.avatar img{
    width: 100%;
    height: inherit;
    transition: all 1s;
}

.teacherInfo{
    width: calc(100% - 12.2em);
    background: white;
    box-sizing: border-box;
    padding: 1em;
}

.teacherInfo h3{
    font-size: 1.2em;
    font-family: KTXP-Kaguya-Serif-Bold;
    font-weight: bold;
    color: #816E5D;
    line-height: 2em;
    transition: all 1s;
}

.teacherInfo > p{
    max-height: 5.5em;
    font-size: 1em;
    font-family: SourceHanSerifSC;
    color: #918A84;
    line-height: 1.8em;
    margin-top: 0.5em;
    transition: all 1s;
}

.toDetail{
    width: 4em;
    border-bottom: 1px solid rgba(129, 110, 93, 0.25);
    margin-top: 2em;
    transition: all 1s;
}

.toDetail p{
    font-size: 0.8em;
    font-family: SourceHanSerifSC;
    color: #918A84;
    box-sizing: border-box;
    line-height: 2em;
    transition: all 1s;
}

.toDetail img{
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.2em;
}

.toDetail img:nth-child(3){
    display: none;
}

.fauItem:hover{
    border: 1px solid #B09987;
}

.fauItem:hover .teacherInfo{
    background: url(../images/ny_tu5.png) no-repeat left bottom;
    background-size: 100%;
}

.fauItem:hover .avatar img{
    transform: scale(1.1);
}

.fauItem:hover .teacherInfo h3{
    color: #A5190E;
}

.fauItem:hover .teacherInfo > p{
    color: #333333;
}

.fauItem:hover .toDetail{
    border-color: #A5190E;
}

.fauItem:hover .toDetail p{
    color: #A5190E;
}

.fauItem:hover .toDetail img:nth-child(3){
    display: block;
}

.fauItem:hover .toDetail img:nth-child(2){
    display: none;
}

/* 教师列表部分结束 */

/* 教师详情部分开始 */
.teacherDetails{
    width: 100%;
}

.jsxq{
    width: 100%;
    height: auto;
}

.deL{
    flex-shrink: 0;
    width: 12.2em;
    text-align: center;
}

.deR{
    width: calc(100% - 12.2em);
    box-sizing: border-box;
    padding-left: 5%;
}

.deImg{
    width: inherit;
    height: 17em;
    overflow: hidden;
}

.deImg img{
    width: 100%;
    height: inherit;
    transition: all 1s;
}

.deImg img:hover{
    transform: scale(1.1);
}

.deL h3{
    font-size: 1.3em;
    font-family: SourceHanSerifSC;
    font-weight: bold;
    color: #A5190E;
    line-height: 3em;
}

.deR h3{
    font-size: 1.2em;
    color: #333333;
    font-family: SourceHanSerifSC;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.deR h3:first-child{
    margin-top: 0;
}

.deR p{
    font-size: 1.2em;
    color: #333333;
    font-family: SourceHanSerifSC;
    line-height: 2em;
}

/* 教师详情部分结束 */

/* 搜索结果部分开始 */
.conTitle .conTL{
    display: flex;
    align-items: center;
}

.conTitle .conTL p{
    margin-left: 2em;
}

.textRed{
    color: #A5190E;
}

.conTL{
    max-width: 60%;
}

.conTL .singleRow{
    max-width: 60%;
}

.searchRes{
    width: 100%;
    height: auto;
}

.resItem{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 1.5em;
    background: white;
    margin-bottom: 1.5em;
    transition: all 1s;
}

.resL{
    width: 6.6em;
    height: 6.6em;
    flex-direction: column;
    background: #B39A84;
    transition: all 1s;
}

.resR{
    width: calc(100% - 6.6em);
    box-sizing: border-box;
    padding-left: 1em;
}

.resL h3{
    font-size: 2.3em;
    font-family: SourceHanSerifSC;
    font-weight: bold;
    color: #F1ECE8;
}

.resL p{
    font-size: 1em;
    font-family: SourceHanSerifSC;
    font-weight: bold;
    color: #F1ECE8;
    line-height: 2em;
}

.resR h3{
    font-size: 1.1em;
    font-family: SourceHanSerifSC;
    font-weight: bold;
    color: #816E5D;
    margin-bottom: 1em;
}

.resR p{
    max-height: 3.6em;
    font-size: 0.8em;
    font-family: SourceHanSerifSC;
    color: #918A84;
    line-height: 2em;
}

.resItem:hover{
    background: #F0EAE5;
}

.resItem:hover .resL{
    background: #A5190E;
}

/* 搜索结果部分结束 */














/* 响应式处理开始 */
@media screen and (max-width: 1400px) {
    .fauItem{
        width: 100%;
    }

    .fauItem:nth-child(odd){
        margin-left: 0;
    }
}

@media screen and (max-width: 1199px) {
    .mainR{
        margin-top: 0;
    }

    .fauItem{
        width: 48%;
    }
    
    .fauItem:nth-child(odd){
        margin-left: 4%;
    }

    .conTL p{
        display: none;
    }

}

@media screen and (max-width: 800px) {
    .fauItem{
        width: 100%;
    }

    .fauItem:nth-child(odd){
        margin-left: 0;
    }
}

@media screen and (max-width: 700px) {
    .jsxq{
        display: block;
    }

    .deL{
        margin: 0 auto;
    }

    .deR{
        width: 100%;
        padding-left: 0;
    }
}

@media screen and (max-width: 460px) {
    .teacherInfo h3{
        font-size: 1.4em;
    }

    .teacherInfo > p{
        font-size: 1.3em;
    }

    .toDetail{
        width: 4.3em;
        font-size: 16px;
    }

    .resL {
        font-size: 11px;
    }

    .resR h3{
        font-size: 1.4em;
    }

    .resR p{
        max-height: 3em;
        font-size: 1.3em;
        line-height: 1.5em;
    }

    .deL h3{
        font-size: 1.5em;
    }

    .deR h3, .deR p{
        font-size: 1.4em;
    }
}


/* 响应式处理结束 */