.flex {
    display: flex;
    align-items: center;
}
.bb {
    box-sizing: border-box;
}
.title-layout {
    height: 70px;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-top: 30px;
}
.title-layout > h3 {
    height: 70px;
    line-height: 70px;
    padding-left: 28px;
    box-sizing: border-box;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #333333;
}
.sort-container {
    margin: 30px auto;
    justify-content: space-between;
}
.sort-container > .course-count {
    width: 120px;
    height: 28px;
    line-height: 28px;
    background: #FFEFEB;
    border-radius: 13px;
    text-align: center;
}
.sort-container > .course-count > span {
    font-size: 16px;
    font-weight: 400;
    color: #FA6644;
}
.sort-container > .course-count > span > .num {
    margin: 0 3px;
}
.sort-container > .course-count > img {
    width: 13px;
    height: 14px;
    margin-left: 8px;
    vertical-align: baseline;
    margin-bottom: -2px;
}
.sort-layout {
    width: 130px;
    height: 28px;
    justify-content: space-between;
    margin: 0;
}
.search-layout > .price-con {
    position: relative;
}
.sale-up {
    top: 0px;
}
.sale-down {
    bottom: -2px;
}
.search-layout .sale-up:before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #cfcfcf;
    border-right: 2px solid #cfcfcf;
    transform: rotate(-45deg);
    position: absolute;
    top: 2px;
    right: 5px;
}
.search-layout .sale-down:after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #cfcfcf;
    border-right: 2px solid #cfcfcf;
    transform: rotate(135deg);
    position: absolute;
    top: 0px;
    right: 5px;
}
.search-layout .active {
    color: #FA6644;
    border-color: #FA6644;
}
.search-layout .active:before {
    color: #FA6644;
    border-color: #FA6644;
}
.search-layout .active:after {
    color: #FA6644;
    border-color: #FA6644;
}
.cont-list .course-buy .course-count {
    color: #5A5754;
}

@media screen and (max-width: 900px) {
    .title-layout {
        height: 60px;
        margin-top: 20px;
    }
    .title-layout > h3 {
        width: 100%;
        height: 60px;
        line-height: 60px;
        padding-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sort-container {
        margin-top: 20px;
        margin-bottom: 0;
    }
    .c-sort-box {
        margin-top: 5px;
    }
}
