/* 轮播图 */
/* .swiper{
    height: calc(750px / 300px * 100vh);
} */
/* 搜索框 */
.searchBox a {

    padding: 0 8px;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 35px;
    margin: 20px 15px 0;
    background: #F4F4F5;
    border-radius: 8px;
}

.searchBox img {
    position: relative;
    top: -1px;
    width: 16px;
    height: 16px;
    margin-right: 7px;
}

.searchBox span {
    font-size: 14px;
    color: #666;
}

/* 标题栏 */
.titleBar {
    position: relative;
    padding: 0 16px;
    width: 100%;
    height: 50px;
    margin-top: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.titleBar.fixed {
    position: fixed;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin-top: 0;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

@media only screen and (min-width: 1000px) {
    .titleBar.fixed {
        width: 550px;
    }
}

.titleBar h2 {
    font-size: 16px;
    color: #333;
}

.titleBar h2 span {
    color: #5DA7F1;
}

.titleBar a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.titleBar a img {
    width: 10px;
    height: 5px;
    margin-left: 5px;
}

.titleBar a span {
    margin-left: 5px;
    font-size: 14px;
    color: #666;
}

/* 下拉框 */
#selectList {
    display: none;
    background-color: #fff;
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    z-index: 10;
    padding: 0 15px;
}

.titleBar.fixed #selectList {
    position: fixed;
    width: 100%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;

}

#selectList.show {
    display: block;
}

#selectList li {
    line-height: 44px;
    border-bottom: 1px solid #eaeaea;
    font-size: 14px;
    color: #333;
    text-align: center;
}

#selectList li.active {
    color: #5DA7F1;
}

#selectList li:last-child {
    border-bottom: 0;
}

@media only screen and (min-width: 1000px) {
    #selectList {
        width: 550px;
    }
}

/* 横向列表 */
.horizontalList {
    padding: 0 15px;


}

.horizontalList ul {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.horizontalList li {

    width: calc(33% - 10px);
    display: flex;
    justify-content: center;
    margin-right: 15px;

}

.horizontalList :last-child {
    margin-right: 0;
}

.horizontalList a {
    position: relative;
    width: 105px;
}

.horizontalList img {
    width: 105px;
    height: 105px;
    border-radius: 5px;
}

.horizontalList span {

    width: 100%;
    padding: 0 6px;
    top: calc(105px - 27px);
    height: 27px;
    font-size: 12px;
    color: #fff;
    position: absolute;
    display: flex;
    align-items: center;
}

.horizontalList p {
    height: 42px;
    line-height: 1.5;
    margin: 4px 0;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 设置最大显示行数 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* icon导航列表 */
.iconNavBar ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}

.iconNavBar li {
    padding-top: 20px;
    padding-bottom: 18px;
    width: 25%;
    display: flex;
    justify-content: center;
}

.iconNavBar img {
    width: 29px;
    height: 29px;
    margin: 0 auto;
    margin-bottom: 9px;
}

.iconNavBar span {
    font-size: 12px;
    color: #666;
}

.iconNavBar li {
    border-left: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.iconNavBar li:nth-child(4n+1) {
    border-left: 0;
}

.iconNavBar li:nth-child(n+5) {
    border-bottom: 0;
}

/* 纵向列表 */
.directionList {
    position: relative;
}

.directionList #mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index: 5;
}

.directionList #mask.show {
    display: block;
}
.directionList li:nth-child(1) {
    border-top: 1px solid #eaeaea;
}
.directionList li {
    border-bottom: 1px solid #eaeaea;
    padding: 22px 15px 24px;
}

.directionList li a {
    display: flex;
    justify-content: space-between;
}

.directionList img {
    border-radius: 5px;
    width: 90px;
    height: 90px;
}

.directionList h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    overflow: hidden;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 设置最大显示行数 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.directionList span {
    margin-right: 8px;
    display: inline-block;
    position: relative;
    width: calc(100% - 98px);
}

.directionList p {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.directionList span p:last-child {
    position: absolute;
    bottom: 0;
}

.directionList .desc {
    padding: 20px;
    line-height: 40px;
    font-size: 12px;
    color: #999;
    text-align: center;
}