/* 鍒楄〃鏍峰紡 */
.teacher-list{
    padding: 25px 0;
    overflow: hidden;
}
.teacher-list .list-item{
    position: relative;
    float: left;
    width: 450px;
    height: 155px;
    margin: 15px 8px;
    background-color: #fff;
    color: #333;
    box-shadow: 0px 0px 16px rgba(13,5,9,0.06);
    /* transition: all 1s ease; */
}
.teacher-list .list-item:hover{
    box-shadow: 0px 0px 16px rgba(13,5,9,0.18);
}
.teacher-list .list-item:nth-child(even){
    margin-left: 20px;
}
.teacher-list .list-item .image{
    position: absolute;
    width: 110px;
    height: 155px;
}
.teacher-list .list-item .image>img {
    width: 100%;
    height: 100%;
}
.teacher-list .list-item .content{
    margin: 14px 0 0 120px;
}
.teacher-list .list-item .content h2{
    font-size: 20px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.teacher-list .list-item .content>div{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
    min-height: 30px;
    margin: 12px 0 0;
}
.teacher-list .list-item .content>div>span{
    color: #022617;
    background-color: #e5e9e7;
    font-size: 12px;
    font-weight: normal;
    border-radius: 16px;
    padding: 8px 10px;
    margin-right: 1em;
    font-family: '瀹嬩綋';
}
.teacher-list .list-item .content>p{
    color: #666;
    font-size: 12px;
    line-height: 28px;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 12px;
    max-height: 49px;
    padding-right: 20px;
    font-family: '瀹嬩綋';
}
/* 寮圭獥鏍峰紡 */
.teacher-detail .layui-layer-title{
    font-size: 17px;
    color: #022617;
}
.teacher-detail .image{
    position: fixed;
    height: 390px;
    width: 276px;
}
.teacher-detail .image>img {
    width: 100%;
    height: 100%;
}
.teacher-detail .content{
    margin: 20px 0 0 300px;
}
.teacher-detail .content h2{
    font-size: 20px;
    line-height: 20px;
}
.teacher-detail .content>div{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
    min-height: 30px;
    margin: 12px 0 0;
}
.teacher-detail .content>div>span{
    color: #022617;
    background-color: #e5e9e7;
    font-size: 12px;
    font-weight: normal;
    border-radius: 16px;
    padding: 8px 10px;
    margin-right: 1em;
    font-family: '瀹嬩綋';
}
.teacher-detail .content>p{
    color: #666;
    font-size: 14px;
    line-height: 28px;
    word-break: break-all;
    margin-top: 12px;
    padding-right: 20px;
    font-family: '瀹嬩綋';
}


/* 绉诲姩绔�傞厤 */
@media screen and (max-width: 480px){	    
    .teacher-list .list-item{
        width: auto;
	    margin: 10px 8px;
	    display: block;
	    float: none;
    }
    .teacher-list .list-item:nth-child(even){
        margin-left: 8px;
    }
    .teacher-list .list-item .content {
	    margin: 14px 0 0 120px;
	    position: relative;
	    top: 15px;
	}
    .teacher-detail{
        width: 100%!important;
        height: 100%!important;
    }
    .teacher-detail .image {
        position: absolute;
        height: 155px;
        width: 110px;
        right: 25px;
        top: 32px;
    }
    .teacher-detail .content {
        margin: 120px 0 0 30px;
    }
}