@font-face {
    font-family: mFont;
    src: url('../font/YouSheBiaoTiHei-2.ttf');
}

.letter_list {
    width: 100%;
    height: auto;
    padding: 27px 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    background-color: #fff;
}

.letter_list li {
    padding: 0 16px;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.letter_list li a {
    color: #666666;
}

.letter_list .selected {
    background-color: #6A2686;
    position: relative;
}

.letter_list .selected a {
    color: #fff;
}

.letter_list .selected::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid transparent;
    border-bottom: 10px solid #6A2686;
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.teacher_list {
    display: flex;
    justify-content: center;
}

.teacher_list .grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.teacher_list .grid .listitem {
    width: 32%;
    height: 302px;
    margin-bottom: 40px;
    box-sizing: border-box;
    position: relative;
    background: #F2F5F7;
    transition: all .4s;
}

.teacher_list .listitem:not(:nth-of-type(3n)) {
    margin-right: calc(4% / 2);
}

.teacher_list .listitem a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.listitem .item_content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 0 20px 20px;
    box-sizing: border-box;
}

.listitem .item_content .preview_img {
    width: 42%;
    height: 262px;
    object-fit: cover;
    /* position: relative;
    top: 20px;
    left: 20px;
    z-index: 10; */
}

.listitem .item_content .prev_content {
    width: 58%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.listitem .item_content .outer_border {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1;
    transition: all .4s;
}


.listitem .item_content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1A1A1A;
    padding-left: 34px;
    box-sizing: border-box;
    background: url(../images/icon_name.png) no-repeat;
    background-size: 24px 24px;
}

.listitem .item_content p {
    font-size: 16px;
    font-weight: 400;
    color: #101820;
    margin-top: 20px;
    padding-left: 34px;
    box-sizing: border-box;
}
.listitem .item_content .level {
    background: url(../images/icon_title.png) no-repeat;
    background-size: 24px 24px;
}

.listitem .item_content .major {
    background: url(../images/icon_search.png) no-repeat;
    background-size: 24px 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.listitem .item_content .email {
    background: url(../images/icon_email.png) no-repeat;
    background-size: 24px 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.listitem .item_content .work {
    background: url(../images/icon_work.png) no-repeat;
    background-size: 24px 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* .listitem:hover {
    border: 10px solid #6A2686;
} */
.listitem:hover .item_content .outer_border {
    border: 5px solid #6A2686;

}

.listitem:hover .item_content h3 {
    color: #6A2686;
}