/**!
 * 首页
 * author: gl;
 * date:2023-06-01
 */
.box {
    padding: 0 16px 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.04);
    background-color: #fff;
}
.box-hd {
    height: 56px;
    line-height: 55px;
    border-bottom: 1px solid #eee;
}
.box-tt {
    font-weight: 500;
    font-size: 18px;
    color: #333;
    padding-left: 32px;
    background-repeat: no-repeat;
    background-position: left center;
}
.box-more {
    position: relative;
    color: #666;
    padding-right: 11px;
    transition: color 0.1s linear;
}
.box-more:hover {
    color: #ff9425;
}
.box-more:before {
    position: absolute;
    content: '>';
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.data-item {
    padding-top: 8px;
}
.data-list {
    font-size: 16px;
    line-height: 46px;
}
.data-list + .data-list {
    border-top: 1px dashed #eee;
}
.data-list .data-infor {
    max-width: calc(100% - 120px);
}
.data-list .data-infor > a {
    display: block;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.1s linear;
}
.data-list .data-date {
    color: #999;
}
.data-list:hover .data-infor > a {
    color: #ff9425;
}
/* 轮播 */
.slider-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.rslides {
    overflow: hidden;
    position: relative;
}
.rslides > li {
    width: 100%;
}
.rslides > li > a {
    display: block;
    height: 100%;
}
.rslides > li > a > img {
    display: block;
    width: 100%;
    height: 360px;
}

.slider-item .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    font-size: 16px;
    padding: 0 150px 0 16px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.slider-item .caption-tt {
    display: block;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 自定义分页导航 */
.slider-pager {
    position: absolute;
    right: 12px;
    bottom: 20px;
    z-index: 3;
}

.slider-pager > li {
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 8px;
}
.slider-pager > li > a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}
.slider-pager > .rslides-cur > a {
    background-color: #fff;
}

/* 通知公告 */
.news {
    height: 360px;
}
.news .box-tt {
    background-image: url('../images/index/news_ico.png');
}

/* 圆梦活动 */
.activity {
    height: 360px;
}
.activity .box-tt {
    background-image: url('../images/index/activity_ico.png');
}

/* 圆梦故事 */
.story {
    height: 360px;
}
.story .box-tt {
    background-image: url('../images/index/story_ico.png');
}
/* 梦想园地 */
.dream {
    display: flex;
    padding-top: 16px;
}
.dream-hd {
    width: 184px;
    height: 232px;
    border-radius: 5px;
    background: url('../images/index/dream_hd_bg.jpg') no-repeat;
    background-size:contain
}
.dream-hd-tt {
    margin: 40px 0 0 20px;
    vertical-align: top;
}
.dream-bd {
    flex: 1;
    margin-left: 20px;
    margin-top: -15px;
}
.dream-tab-items {
    margin-top: 1px;
}
.dream-tab-item + .dream-tab-item {
    margin-left: 40px;
}
.dream-tab-item > a {
    position: relative;
    display: block;
    font-size: 18px;
    color: #333;
}
.dream-tab-item.active > a {
    font-weight: 500;
    color: #ff9425;
}
.dream-tab-item.active > a:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: #ff9425;
}
.dream-items {
    margin-left: -16px;
}
.dream-item {
    float: left;
    width: calc(25% - 16px);
    height: 168px;
    margin-top: 20px;
    margin-left: 16px;
}
.dream-item-jjh {
    float: left;
    width: 520px;
    height: 168px;
    margin-top: 20px;
    margin-left: 16px;
}
.dream-item-link {
    display: block;
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 148, 37, 0.1);
    border-radius: 4px;
    background: url('../images/index/dream_item_bg.png') no-repeat #fffbf4;
    background-size: 100% 100%;
    overflow: hidden;
    transition: all 0.1s linear;
}
.dream-item-link .title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 4px;
    max-height: 48px;
    color: #333;
    overflow: hidden;
    transition: color 0.1s linear;
}
.dream-item-link .info {
    line-height: 14px;
    margin-top: 12px;
    overflow: hidden;
}
.dream-item-link .info > label {
    float: left;
    width: 72px;
    color: #999;
}
.dream-item-link .info > span {
    float: left;
    width: calc(100% - 72px);
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dream-item-link:hover {
    background: #fffbf4;
    border: 1px solid rgba(255, 148, 37, 0.1);
    box-shadow: 0px 2px 6px -1px rgba(0, 0, 0, 0.06);
}
.dream-item-link:hover .title {
    color: #ff9425;
}
.empty-tip {
    font-size: 20px;
    text-align: center;
    padding: 80px 0;
}
/* pad端 */
@media (max-width: 979px) {
    .rslides > li > a > img {
        height: 100%;
    }
    .news,
    .activity,
    .story {
        height: auto;
    }
    .dream {
        display: block;
    }
    .dream-hd {
        height: 64px;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        background-size: 100% 100%;
    }
    .dream-hd-tt {
        margin-top: 9px;
    }
    .dream-bd {
        margin-left: 0;
    }
}

/* 手机端 */
@media (max-width: 767px) {
    .dream-item {
        width: calc(50% - 16px);
    }
    .rslides > li > a > img {
        height:461px;
    }
}

@media (max-width: 480px) {
    .box-tt {
        font-size: 16px;
    }
    .dream-item {
        width: calc(100% - 16px);
        margin-top: 14px;
    }
    .dream-tab-item + .dream-tab-item {
        margin-left: 18px;
    }
    .dream-tab-item > a {
        font-size: 16px;
    }
    .empty-tip {
        font-size: 16px;
        padding: 20px 0;
    }
    .rslides > li > a > img {
        height:304px;
    }
}
