﻿@charset "utf-8";

/*师资团队样式*/

.teacher {
    height: 1200px;
    background-color: #ecf3f6;
}

.pagination {
    background-color: #ecf3f6;
}

.teacher .container {
    width: 1060px;
    padding-bottom: 50px;
}

.teacher .teacher-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.teacher .teacher-list .item {
    flex: 0;
    min-width: 480px;
    margin-top: 50px;
}

.teacher .item img {
    /*  vertical-align: middle; */
    width: 100%;
    height: auto;
    margin: 0;
}

.teacher .item p {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80%;
    font-size: 17px;
    line-height: 28px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    transform: translate(-50%, -40%);
    White-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.teacher .item .title {
    position: relative;
    float: none;
    display: block;
}

.teacher .item .detail {
    line-height: 50px;
    color: #999999;
    font-size: 15px;
    height: 50px;
}

.teacher .item .detail span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 100%;
    padding: 0px 5px;
}

.teacher .detail h4 {
    font-size: 18px;
    height: 36px;
    line-height: 36px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teacher .detail p {
    line-height: 24px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teacher .item:hover {
    border-color: #ccc;
}

.teacher a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.footer {
    position: relative;
}