.banner{
    width: 100%;
    height: auto;
}

.teacher-block{
    width:1280px;
    margin: 0 auto;
}

.teacher-block-first{
    margin: 10px auto;
}

.item-img{
    width:50px;
    height: auto;
    vertical-align: top;
}

.img-title{
    display: inline-block;
    width: 50px;
}

.list-item{
    width:80%;
    height: auto;
    display: inline-block;
    margin-left: 15px;
}

.list-item-title{
    color:#174d60;
    font-size: 20px;
    font-weight: 600;
    padding-left: 10px;
}

.teacher-list{
    display: flex;
    flex-flow: row wrap;
width: 120%;
}

.teacher-list-item{
    width:80px;
    height: 44px;
    margin: 10px;
    cursor: pointer;
}

.teacher-list-item img{
    width:80px;
    height:80px;
    object-fit: cover;
}

.teacher-list-item a{
    text-decoration: none;
}

.teacher-list-item .name{
    width:80px;
    text-align: center;
    color:#184c61;
    font-size: 16px;
    margin-top:10px;
    margin-bottom: 0px;
}

.teacher-list-item .ename{
    width:80px;
    color:#184c61;
    font-size: 14px;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
text-align: center;
}

@media screen and (max-width: 1024px) {
    .teacher-block{
        width:90%;
        margin: 0 auto;
    }

    .list-item{
        width:calc(100% - 100px);
    }
}

@media screen and (min-width: 1024px) and (max-width: 1280px)  {
    .teacher-block{
        width:95%;
        margin: 0 auto;
    }
}