 .teacher-list ul li {
    width: 47.5%;
    float: left;
    background-color: #ffffff;
    padding: 25px 10px;}

.teacher-list ul li a {    display: block;
    box-shadow: 0px 3px 12px 0px rgba(12, 64, 118, 0.2);}

.teacher-list ul li a:hover {
    background-color: #064db8;}

.teacher-list ul li a:hover h3 {
    color: #fff;
    border-bottom: 1px solid #457ec6;}

.teacher-list ul li a:hover h3::before {
    background-color: #fff;}

.teacher-list ul li a:hover p {
    color: #fff;
    opacity: 0.8;}

.teacher-list ul li:nth-child(odd) {
    margin-right: 5%;}

.teacher-list .pic {
    width: 162px;
    height: 232px;
    float: left;
    padding-top: 0;}

.teach-tx {
    padding: 30px;
    overflow: hidden;
    text-overflow: ellipsis;}

.teach-tx h3 {
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    padding-bottom: 20px;
    padding-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;}

.teach-tx h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 5px;
    background-color: #0052b9;}

.teach-tx p {
    font-size: 14px;
    line-height: 26px;
    height: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666666;}
.pic img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 1s;
    object-fit: cover;}
.pic img:hover {
    transform: scale(1.05);}
.clear {
    clear: both;}
@media screen and (max-width: 1024px) {
.teacher-list ul li {
    width: 100%;
    float: none;
    margin: 0;}
}
