﻿@charset "utf-8";

a {
    text-decoration: none;
    color: #333 !important;
}

img {
    width: 100%;
    height: 100%;
}

.bd_width {
    width: 1400px;
    margin: 0 auto;
    /* overflow: hidden; */
}

#menu a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    /* font-weight: bold; */
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}

#menu .senc ul a {
    font-weight: normal;
    font-size: 14px;
}

/* 头部head样式开始 */
#head {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
}

#head .top {
    width: 100%;
    max-width: 2160px;
    margin: 0 auto;
    height: 120px;
    background: url('/template/yncszh/images/headbg.png') center bottom;
    background-size: cover;
}

#head .top .top_content {
    height: 120px;
    display: flex;
    justify-content: left;
    align-items: center;
    position: relative;
}

.top_content .logo {
    height: auto;
    width: auto;
}

.nav {
    background: transparent;
    height: 50px;
    max-width: 2160px;
    margin: 0 auto;
    position: absolute;
    bottom: 10px;
    /* left: 37%; */
    right: 0;
}

.nav_box {
    position: relative;
    height: 50px;
}

#menu {
    height: 50px;
    margin: 0;
    padding: 0;
    display: flex;
}

.secondOrder li:hover {
    background: #DD171B;
}

#menu .secondOrder li a:hover {
    color: #fff !important;
}

.nav li {
    color: #222;
    float: left;
    /* width: 110px; */
    text-align: right;
    line-height: 50px;
    font-size: 16px;
    margin-left: 42px;
}

/* #menu .senc{
    margin-right: 46px;
} */
.secondOrder {
    position: absolute;
    background: #fff;
    display: none;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 6%);
    z-index: 1000;
}

.secondOrder li {
    float: none !important;
    line-height: 23px !important;
    font-size: 14px !important;
}

#menu .secondOrder li a {
    display: inline-block;
    padding: 0 20px;
    line-height: 44px;
    color: #3c3c3c !important;
}

#menu .senc>a:hover {
    /* background: #DD171B; */
    color: #DD171B !important;
}

/* 头部head样式结束 */

/* 主体部分样式开始 */
#main {
    background: #fff;
    /* margin-top: 230px; */
    min-height: 700px;
}

.g-body {
    margin-top: 0;
}

.bd-right {
    margin-top: 10px;
}

#banner {
    width: 100%;
    /* height: 496px; */
    display: flex;
    justify-content: center;
}

.mySwiper {
    width: 100%;
    /* height: 496px; */
    max-width: 2160px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.mySwiper img {
    width: 100%;
    /* height: 544px; */
    max-width: 2160px;
}

.mySwiper .next1 {
    width: 32px;
    height: 90px;
    background: url('/template/yncszh/images/next1.png');
    background-size: cover;
    margin-top: -43px;
    right: 0;
    /* display: none */
}

.mySwiper .prev1 {
    width: 32px;
    height: 90px;
    background: url('/template/yncszh/images/prev1.png');
    background-size: cover;
    left: 0;
    margin-top: -43px;
    /* display: none */
}

.mySwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 1;
    border-radius: 8px;
}
.pro_swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: #A5A5A5;
    border-radius: 8px;
}
.mySwiper .swiper-pagination .swiper-pagination-bullet-active,
.pro_swiper .swiper-pagination .swiper-pagination-bullet-active{
    width: 20px;
    background: #DD171B;
    opacity: 1;
    border-radius: 8px;
}


/* #pro_slide{
    display: flex;
    flex-wrap: wrap;
} */
#pro_slide .swiper-slide {
    height: 335px;
}

/* 隐藏空白占位slide，核心样式 */
.pro_swiper .swiper-slide-invisible-blank {
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 适配2行4列布局，防止错位、高度塌陷 */
.pro_swiper {
    height: auto !important;
}

.pro_swiper .swiper-slide {
    box-sizing: border-box;
    height: auto;
}

#banner2 .next2,
.fund_swiper .next2 {
    width: 32px;
    height: 72px;
    background: url('/template/yncszh/images/next2.png');
    background-size: cover;
    right: 0;
}

#banner2 .prev2,
.fund_swiper .prev2 {
    width: 32px;
    height: 72px;
    background: url('/template/yncszh/images/prev2.png');
    background-size: cover;
    left: 0;
}

#project .next3 {
    width: 32px;
    height: 32px;
    background: url('/template/yncszh/images/next3.png');
    background-size: cover;
    right: 258px;
}

#project .prev3 {
    width: 32px;
    height: 32px;
    background: url('/template/yncszh/images/prev3.png');
    background-size: cover;
    left: 258px;
}

.head {
    width: 100%;
    height: 112px;
    border-bottom: 1px solid #ededed;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* 搜索框 */
.project-search {
    width: 250px;
    height: 30px;
    border-radius: 2px;
    border: 1px solid #999;
    background: #FFF;
    position: relative;
    margin-right: 79px;
}

.project-search input {
    width: 200px;
    height: 25px;
    border: none;
    outline: none;
    padding-left: 10px;
}

/* 点击/聚焦时去掉边框 */
.project-search input:focus {
    /* 或者直接去掉边框 */
    border: none;
}

.project-search img {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 8px;
    right: 6px;
}

.title_icon {
    width: 25px;
    height: 25px;
    margin-right: 13px;
}

.head .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #D50915;
    border-bottom: 4px solid #D50915;
    line-height: 60px;
}

#news .news_classify {
    display: flex;
    justify-content: center;
    align-items: center;
}

#news .news_classify .tab {
    box-sizing: content-box;
    width: 176px;
    height: 40px;
    line-height: 40px;
    background: #F6F6F6;
    border-radius: 0;
    font-size: 18px;
    color: #222222;
    text-align: center;
    cursor: pointer;
}

#news .news_classify .tab_active {
    background: #D50915 !important;
    color: #fff !important;
}

.project_classify {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F6F6F6;
    padding: 18px 0;
    height: 100px;
}

.project_classify .tab {
    width: 120px;
    height: 64px;
    border-radius: 0;
    font-size: 18px;
    color: #222222;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #DCDCDC;
}

.project_classify .tab:last-child {
    border-right: none;
}

.project_classify img {
    width: 30px;
    height: 30px;
    margin-bottom: 9px;
}

.project_classify .tab_active2 {
    background: #D50915 !important;
    color: #fff !important;
    height: 100px;
}

.nodata {
    width: 1400px;
    text-align: center;
}

.news_content {
    height: 300px;
    margin-top: 31px;
    margin-bottom: 56px;
}

.news_content>div {
    float: left;
}

.news_item-wrap {
    width: 820px;
    margin-left: 16px;
}

#news .morebox {
    width: 100%;
    height: 40px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#news .morebox .morenews {
    display: inline-block;
    color: #fff;
    background: #D50915;
    text-align: center;
    width: 140px;
    line-height: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}


#banner2 {
    width: 533px;
    height: 300px;
    background: #fff;
    margin-right: 30px;
    cursor: pointer;
    position: relative;
}

#swiper2 {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#banner2 img {
    width: 533px;
    height: 300px;
    display: block;
}

#banner2 .swiper-slide {
    width: 533px;
    height: 300px;
    position: relative;
}

#banner2 .shadow {
    width: 540px;
    height: 48px;
    background: linear-gradient(180deg, #00000000 0%, #00000080 100%);
    position: absolute;
    bottom: 0;
    left: 0px;
    /* background: rgba(0, 0, 0, 0.65); */


    padding-left: 16px;

}

#banner2 .shadow .txt {
    width: 440px;
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    line-height: 48px;
    font-size: 14px;
}

#banner2 .pagination2 {
    width: 130px;
    left: 450px;
    bottom: 10px;
}

#banner2 .swiper-pagination .swiper-pagination-bullet-active {
    background: #D50915;
}

.news_item {
    display: flex;
    justify-content: left;
    margin-bottom: 18px;
    cursor: pointer;
    width: 100%;
}

.news_item .datetime {
    width: 88px;
    height: 88px;
    background: #F6F6F6;
    color: #666666;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news_item .date {
    font-size: 28px;
    color: #DD171B;
    font-weight: bold;
    margin-bottom: 4px;
}

.item_mar {
    margin: 0 15px 30px;
}

.news_item .year {
    font-size: 14px;
    color: #666666;
}

.news_item .item_center {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.news_item .title {
    width: 700px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    color: #3B3B3B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    border: 0;
    font-weight: bold;
}

.news_item .summary {
    width: 700px;
    font-size: 12px;
    font-weight: 400;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mr20 {
    margin-right: 20px;
}

.project_content,
.links_content,
.fund_content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-top: 30px;
    max-width: 1400px;
    /* overflow: hidden */
}

.links_content{
    /* margin: 0; */
    justify-content: flex-start;
}

#project {
    position: relative;
}

.project_item {
    width: 332px;
    cursor: pointer;
}

.project_item img {
    width: 332px;
    height: 186px;
}

.project_item .shadow {
    position: relative;
}

.project_item .shadow:hover .mask {
    opacity: 1;
}

.project_item .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.project_item .mask>div {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    z-index: 100;
}

.project_item .mask img {
    width: 170px;
    height: 170px;
    z-index: 100;
}

.project_item .shadow:hover .fmask {
    opacity: 1;
}

.project_item .fmask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project_item .fmask>div {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    z-index: 100;
}

.project_item .fmask img {
    width: 170px;
    height: 170px;
    z-index: 100;
}

.project_info {
    margin: 20px 0 30px 15px;
}

.project_info .title {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    border: 0;
}

.project_info .summary {
    font-size: 12px;
    font-weight: 400;
    margin-top: 10px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #808080;
    height: 48px;
    line-height: 24px;
}

.project_speed {
    width: 364px;
    height: 8px;
    margin: 0 10px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #e6e6e6;
    display: none
}

.project_speed>span {
    background: #D50915;
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
    border-radius: 4px;
}

.gomore {
    margin: 20px auto;
    color: #fff;
    background: #D50915;
    text-align: center;
    width: 140px;
    line-height: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.links_content img {
    width: 220px;
    height: 64px;
    margin-bottom: 20px;
    cursor: pointer;
    margin-right: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.links_content a:nth-child(6n)>img {
    margin-right: 0;
}

#links {
    padding-bottom: 40px;
    border-bottom: 2px solid #D50915;
}

#donate {
    max-width: 2160px;
    height: 380px;
    background: url('/template/yncszh/images/donatebg.png') center bottom;
    background-size: cover;
    margin: 0 auto;
}

.donate_content {
    display: flex;
    justify-content: space-between;
}

.donate_content .donate_lf {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
}

.donate_content .donate_lf span {
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #fff;
    border-radius: 2px;
    margin-right: 8px;
}

.donate_lf .title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: left;
    align-items: center;
    color: #fff;
    padding: 0;
    border: 0;
}

.donate_lf .inform {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.donate_ct {
    width: 230px;
    height: 284px;
    background: #fff;
    margin-top: 44px;
}

.donate_ct .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 30px;
    padding: 0;
    border: 0;
}

.donate_ct img {
    width: 180px;
    height: 180px;
    margin: 14px 0 14px 24px;
}

.donate_rt {
    width: 705px;
    height: 284px;
    background: #fff;
    margin-top: 44px;
}

.donate_head {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #ededed;
}

.donate_fl {
    display: flex;
    justify-content: left;
    line-height: 42px;
    padding: 0 33px;

}

.donate_rt .name {
    width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #222222;

}

.donate_rt .time {
    width: 191px;
    text-align: left;
    color: #222222;
    font-size: 16px;
    margin: 0;
}

.donate_rt .money {
    width: 240px;
    text-align: left;
}

.donate_rt .project {
    width: 150px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.donate_body {
    font-size: 14px;
    color: #444;
    font-weight: 400;
    height: 224px;
    position: relative;
    overflow: hidden;
}

.donate_item {
    height: 34px;
    line-height: 34px;
}

.donate_rt .donate_body .money {
    font-weight: bold;
    color: #DD171B;
}

.dynamic_content {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.dynamic_lf {
    width: 660px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.dynamic_lf_item {
    width: 320px;
    height: 167px;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.dynamic_lf .dynamic_lf_bac {
    width: 320px;
    height: 167px;
    position: absolute;
    left: 0;
    top: 0;
}
.dynamic_lf div{
    z-index: 10;
}
.dynamic_lf .dynamic_lf_icon{
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    z-index: 10;
}

.dynamic_rt {
    width: 661px;
    margin-top: -10px;
}

.dynamic_rt img {
    width: 4px;
    height: 4px;
    margin-right: 10px;
}

.dynamic_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dynamic_item .title {
    width: 536px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #222222;
    line-height: 38px;
    font-weight: 400;
    padding: 0;
    border: 0;
}

.dynamic_item .time {
    font-size: 16px;
    font-weight: 400;
    color: #999999;
    /* margin-left: 20px; */
    margin-right: 0;
}

/* 首页底部样式开始 */
#foot {
    height: 290px;
    background: #FBFBFB;
}

.foot_top {
    height: 205px;
    border-bottom: 1px solid #ddd;
    background: #FBFBFB;
}

.foot_content {
    height: 205px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot_logo {
    width: 221px;
    height: 140px;
}

.contact img {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.contact>div {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 36px;
}

.contact-title{
    color: #333 !important;
    margin-bottom: 16px;
    font-size: 16px;
}

.wx_code img {
    width: 110px;
    height: 110px;
    display: block;
}

.wx_code {
    /* display: flex;
    justify-content: left;
    font-size: 13px;
    font-weight: 400;
    line-height: 36px;
    color: #333;
    text-align: center; */
    width: 316px;
    height: 134px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 0 20px 0 12px;
}

.bottom-right{
    width: 160px;
    text-align: center;
    line-height: 28px;
}

.foot_bottom {
    height: 71px;
    line-height: 71px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    border-top: 1px solid #FBFBFB;
    background: #FBFBFB;
}

.foot_bottom a {
    color: #333;
}

.foot_bottom span {
    width: 2px;
    height: 14px;
    background: #333;
    margin: 0 10px;
    display: inline-block;
}

/* 捐款统计数据模块样式开始 */
#statistics {
    width: 100%;
    max-width: 2160px;
    height: 168px;
    margin: 0 auto;
    background: url('/template/gdcszh/images/donatedatabg.png') center bottom;
    background-size: cover;
    margin-top: 60px;
}

#statistics .content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#statistics .sta_lf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 870px;
    height: 100%;
}

#statistics .sta_rt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 150px;
    height: 100%;
    padding: 32px 0;
}

#statistics .sta_rt button {
    width: 140px;
    height: 44px;
    border-radius: 6px;
}

.sta_rt>div {
    width: 140px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

#btn_donation {
    background: #DD342F;
}

#btn_publicity {
    background: #FFAF00;
}

.sta_item {
    display: flex;
    justify-content: left;
    height: 64px;
}

.sta_item img {
    width: 64px;
    height: 64px;
    display: block;
    margin-right: 20px;
}

.sta_item .item_center {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sta_item .item_number .number {
    font-size: 32px;
    font-weight: bold;
    line-height: 35px;
}

.sta_item .item_number .unit {
    font-size: 14px;
    font-weight: normal;
}

.sta_item .item_name {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* 捐款统计数据模块样式结束 */
.fund_bg {
    width: 100%;
    max-width: 2160px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* margin-top: 50px; */
}

.fund_bg img {
    width: auto;
    height: 225px;
}

@keyframes rowup {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, -307px, 0);
        transform: translate3d(0, -307px, 0);
        display: none;
    }
}

.rowup {
    -webkit-animation: 10s rowup linear infinite normal;
    animation: 10s rowup linear infinite normal;
    position: relative;
}

/* 底部 */
.mamage-wrap{
    position: absolute;
    right: 0;
    top: 0px;
}

.mamage-wrap>a{
    color: #666 !important;
}