.teacher-box h3 {
    float: left;
}

.teacher-box {
    padding: 0 20px;
}

.nav-box {
    padding: 20px 0;
    border-bottom: 1px solid #F2F2F2;
}

.title-nav {
    display: inline-block;
    padding: 4px 7px;
    color: #999999;
    font-size: 16px;
    line-height: 20px;
}

.not-use {
    color: rgb(222, 222, 222)!important;
    cursor: default!important;
}

.nothing {
    width: 160px;
}

.title-select {
    background-color: #6F1685;
    font-weight: 700;
    color: white !important;
}

.teacher-title {
    padding: 30px 0;
    color: #999999;
    font-size: 16px;
}

.teacher-line {
    /*! display: flex; */
    justify-content: space-between;
    overflow: hidden;
    margin: 0 -28px;
}

.teacher-item {
    display: block;
    padding-bottom: 10px;
    width: 25%;
    float: left;
}

.teacher-item a {
    display: block;
    margin: 0 28px;
}

.teacher-img {
    width: 160px;
    height: 224px;
    display: block;
}

.teacher-img>img {
    width: 100%;
    height: 100%;
}

.teacher-font {
    padding: 15px 0;
    text-align: center;
    max-width: 160px;
    font-size: 14px;
    color: #333333;
    font-weight: 700;
}

@media screen and (max-width: 1280px) and (min-width: 880px) {
    .teacher-line {
        flex-wrap: wrap;
    }
    .teacher-item {
        width: 50%;
    }
    .nothing {
        width: 50%;
    }
    .teacher-line>.teacher-item:nth-child(odd)>div {
        margin-right: auto;
    }
    .teacher-line>.teacher-item:nth-child(even)>div {
        margin-left: auto;
    }
}

@media screen and (max-width: 730px) {
    .teacher-line {
        flex-wrap: wrap;
    }
    .teacher-item {
        width: 50%;
    }
    .nothing {
        width: 50%;
    }
    .teacher-line>.teacher-item:nth-child(odd)>div {
        margin-right: auto;
    }
    .teacher-line>.teacher-item:nth-child(even)>div {
        margin-left: auto;
    }
}

@media screen and (max-width: 320px) {
    .teacher-img {
        width: 120px;
        height: 142px;
    }
    .teacher-font {
        max-width: 120px;
    }
}