.sub-nav {
    margin-bottom: 0;
}
.main-content {
    background: #f5f5f5;
}
.select-label h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2f929f;
    padding: 2% 0%;
}
.select-label ul.A-main {
    width: 100%;
    justify-content: space-between;
    height: 43px;
    border: 1px solid #2f929f;
    color: #2f929f;
    align-items: center;
}
.select-label ul.A-main li {
    width: 2.8%;
    height: 100%;
    line-height: 43px;
    text-align: center;
}
.select-label ul.A-main li a {
    display: block;
    line-height: 43px;
    text-align: center;
    width: 100%;
    color: #2f929f;
    font-weight: 700;
}
.select-label ul.A-main li.active {
    background: #2f929f;
    height: 100%;
    line-height: 43px;
}
.select-label ul.A-main li.active a {
    color: #fff;
}

.B-main {
    flex-wrap: wrap;
    padding-top: 30px;
}
.B-main li {
    border-radius: 6px;
    border: 1px solid #999;
    margin-right: 10px;
    margin-bottom: 20px;
}
.B-main li:hover {
    background: #2f929f;
    border: 1px solid #fff;
}
.B-main li:hover a {
    color: #fff;
}
.B-main li a {
    padding: 5px 10px;
    white-space: nowrap;
    font-size: 14px;
}
.B-main li.active {
    background: #2f929f;
    border: none;
}
.B-main li.active a {
    color: #fff;
}


/* 移动端适配 */

@media only screen and (max-width: 768px) {
    .sub-nav {
        margin-bottom: 1.25rem;
    }
    .select-label ul.A-main {
        flex-wrap: wrap;
    }
    .select-label ul.A-main {
        height: auto;
        padding-bottom: 10px;
    }
    .select-label ul.A-main li {
        width: 14.8%;
        line-height: 2rem;
    }
    .select-label ul.A-main li.active {
        line-height: 2rem;
    }
}