.tab {
    width: 100%;
    margin: 0;
    text-align: center;
    justify-content: center;
}

.regionActive {
    border-bottom: 2px solid #e02519;
    color: #e02519;
}
.cityActive {
    color: #fff;
    background-color: #e02519 !important;
}
.cityActive:hover {
    color: #fff !important;
}
.classType {
    background-color: #f2f2f5;
    padding: 20rpx;
}
.tab-li,
.tab-li1 {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    margin: 0;
    font-size: 1.1rem;
    cursor: pointer;
}
.tab-li1 {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 20px 10px 0;
    background-color: #eee;
}
.tab-li1:hover {
    color: #e02519;
}
.bd-bottom {
    position: relative;
    width: 100%;
    height: 1px;
    margin-bottom: 10px;
    clear: both;
}
.bd-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    transform: rotateY(1);
    -webkit-transform: rotateY(1);
}
.classRoom a {
    display: block;
    text-decoration: none;
    color: #333;
}
.col-lg-3 a div {
    width: 242px;
    height: 139px;
    margin: 0 auto;
    overflow: hidden;
}
.cover {
    width: 100%;
    height: 100%;
    transition: all 1s;
}
.cover:hover {
    transform: scale(1.2);
    transition: all 1s;
}
.classRoom {
    padding: 15px 0;
    height: 440px;
}

.sub-title {
    width: 100%;
    height: 56px;
    line-height: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.1rem;
    text-align: center;
}
.sub-title:hover {
    color: #e02519;
}

@media screen and (max-width: 768px) {
    .content {
        max-width: 100%;
    }
    .col-l-2 {
        width: 20%;
    }
    .sub-title {
        height: auto;
        line-height: 25px;
        white-space: normal;
        text-align: left;
    }
    .row {
        margin: 0;
    }
}
