.public-title { width: 1200px; margin: 0 auto; } .public-line { flex: 1; height: 1px; background-color: #cfcece; margin-top: 75px; } .public-title-tp { width: 166px; height: 84px; } .public-title-tp img { width: 100%; height: 100%; } .public-more { display: block; margin: 20px auto 0; width: 155px; height: 35px; text-align: center; line-height: 35px; color: #fff; font-size: 16px; background-color: #b2b2b2; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px; } .public-more:hover { background-color: #ca1116; color: #fff; } /* banner */ .carousel { position: relative; width: 100%; } .carousel .swiper-container { width: 100%; min-width: 1200px; } .carousel-slide { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .carousel-slide a { display: block; width: 100%; } .carousel-slide img { width: 100%; height: 100%; } .carousel .swiper-pagination-bullet { width: 8px; height: 8px; background-color: #fff; opacity: 1; vertical-align: middle; outline: none; } .carousel .swiper-pagination-bullet-active { border: solid 3px #b70e24; box-sizing: content-box; } /* 慈善新闻 */ .news { width: 100%; padding-bottom: 65px; box-sizing: border-box; background-color: #fff; } .news .main { position: relative; margin-top: 20px; } .news .title-news { width: 100%; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; } .news-title { width: 680px; height: 35px; background-color: #f7f9fa; margin-top: 21px; } .news-link { position: relative; display: block; width: 137px; height: 35px; line-height: 35px; text-align: center; font-size: 18px; color: #999; cursor: pointer; } .news-link-selected { position: relative; color: #fff; background-color: #ca1116; } .news .news-link-selected::before, .news .news-link-selected::after { content: ""; display: block; position: absolute; top: 0; width: 1px; height: 100%; background-color: #fff; z-index: 2; } .news .news-link-selected::after { right: -1px; } .news .news-link-selected::before { left: -1px; } .news-link:hover { color: #fff; background-color: #ca1116; } /* news-wrapper */ .news-wrappers { position: relative; display: none; } .news-wrapper-selected { display: block; } .news-wrapper { margin-top: 20px; } .news-wrapper-left { width: 680px; } .news-item { width: 100%; height: 75px; overflow: hidden; margin-bottom: 15px; } .news-item:last-child { margin-bottom: 0; } .news-item:last-child .news-content { border-bottom: none; } .news-item:hover { background-color: #f6f6f6; } .news-item:hover .news-num { color: #c31116; } .news-item:hover .news-date { color: #c31116; } .news-item:hover .news-item-title { color: #be1920; } .news-num { width: 70px; height: 60px; border-right: solid 1px #dddede; margin-top: 5px; line-height: 60px; text-align: center; font-size: 44px; color: #b2b4b4; } .news-content { margin-top: 8px; margin-left: 17px; border-bottom: 1px solid rgb(229, 229, 229); } .news-item-title { font-size: 14px; color: #333333; max-width: 588px; } .news-item-title > span:nth-child(1) { display: inline-block; width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .news-date { font-size: 14px; line-height: 16px; color: #999999; } .news-item-text { width: 588px; font-size: 12px; height: 40px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 20px; color: #999; margin-top: 5px; } .news-wrapper-right { width: 480px; height: 345px; } .news-container { width: inherit; height: inherit; } .news-slide { width: 100%; height: 100%; } .news .swiper-slide a { width: 100%; height: 100%; display: block; } .news .swiper-slide img { width: 100%; height: 100%; } .news-bottom { position: absolute; width: inherit; height: 40px; background-color: rgba(182, 16, 21, 0.8); bottom: 0; color: #fff; padding: 0 12px; line-height: 40px; box-sizing: border-box; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .news .swiper-pagination { width: auto; bottom: 45px; left: auto; right: 10px; } .swiper-pagination-bullet { width: 10px; height: 10px; border-radius: 50%; background-color: #fff; opacity: 1; } .news .swiper-pagination-bullet-active { background-color: #901e23; } .news-more { display: block; width: 155px; height: 35px; text-align: center; line-height: 35px; color: #fff; font-size: 16px; background-color: #b2b2b2; position: absolute; bottom: -65px; left: 50%; margin-left: -77.5px; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px; } .news-more:hover { background-color: #ca1116; } /* 爱心捐赠 */ .donate { width: 100%; margin-top: 40px; background-color: #fff; } .donate .public-title-tp { margin: 0 auto; } .donate-wrapper { position: relative; width: 100%; height: 805px; } .donate-back { position: absolute; right: 0; top: 0; width: 100%; height: 805px; background-image: url(/uploads/image/himg/back_index_2.png); background-size: auto; background-repeat: no-repeat; background-position: center; z-index: 1; } .donate-back-1 { position: absolute; top: 0; left: 0; z-index: 10; width: 800px; height: 590px; background-color: #c41719; z-index: 1; } .donate .main { position: absolute; top: 0; left: 50%; margin-left: -600px; z-index: 200; border-radius: 0 0 50px 0; -webkit-border-radius: 0 0 50px 0; -moz-border-radius: 0 0 50px 0; -ms-border-radius: 0 0 50px 0; -o-border-radius: 0 0 50px 0; } .donate-left { width: 310px; box-sizing: border-box; color: #fff; margin-left: 20px; } .donate-left-title { font-size: 22px; } .web-title { margin-bottom: 30px; } .account-name { padding-bottom: 14px; } .now-title { margin-bottom: 30px; } .donate-icons { font-size: 45px; color: #fff; vertical-align: middle; } .donate-left p { font-size: 18px; border-bottom: solid 1px #fff; } .account-bank { padding: 8px 0; line-height: 30px; } .account-number, .account-phone { height: 45px; line-height: 45px; } .account-address { padding-bottom: 14px; } .donate-left-item { margin-top: 160px; } .donate-left-item-1 { margin-top: 45px; } .donate-right { margin-top: 135px; width: 810px; height: 620px; background-color: #fff; border-radius: 0 0 40px 0; padding: 45px 40px 0; box-sizing: border-box; margin-right: 30px; -webkit-border-radius: 0 0 40px 0; -moz-border-radius: 0 0 40px 0; -ms-border-radius: 0 0 40px 0; -o-border-radius: 0 0 40px 0; } .donate-right-ico { font-size: 27px; vertical-align: middle; } .donate-time { position: relative; width: 335px; height: 550px; color: #666666; } .donate-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1000; opacity: 0; } .donate-time-title { font-size: 22px; margin-bottom: 30px; color: #ca1116; } .donate-time-content { position: relative; height: 425px; overflow: hidden; } .donate-time-item { height: 85px; border-bottom: solid 1px #f3f3f3; box-sizing: border-box; } .donate-head-tp { width: 60px; overflow: hidden; height: 60px; border-radius: 50%; margin-right: 15px; } .donate-head-tp img { width: 100%; height: 100%; transition: 0.5s; } .donate-time-item:hover .donate-head-tp img { transform: scale(1.2); } .donate-message { width: 130px; font-size: 14px; } .donate-use, .donate-money { font-size: 12px; } .donate-use { line-height: 34px; } .donate-time-right { margin-top: 15px; font-size: 12px; color: #999; } .donate .more-donate { position: absolute; right: 0; bottom: 40px; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; color: #333; } .donate .more-donate:hover { color: #ca1116; } .donate .more-donate:hover span { background-image: url(/uploads/image/himg/ico_index_5sel.png); } .donate .more-donate span { display: inline-block; width: 18px; height: 18px; background-image: url(/uploads/image/himg/ico_index_5.png); background-repeat: no-repeat; background-size: 100% 100%; } /* 快速通道 */ .donate-aisle { /* width: 351px; */ width: 300px; } .donate-search { position: relative; margin-bottom: 53px; } .donate-search > input { width: 100%; height: 40px; border: solid 1px #c2c2c2; border-radius: 5px 5px 5px 10px; padding-left: 15px; font-size: 17px; color: #c3c3c3; } .search-ico { position: absolute; width: 20px; height: 20px; font-size: 20px; top: 50%; margin-top: -10px; right: 15px; color: #c83d43; cursor: pointer; } .donate-aisle > a { display: block; float: left; width: 100%; height: 62px; margin-right: 11px; text-align: center; line-height: 62px; font-size: 18px; color: #fff; border-radius: 5px; margin-bottom: 20px; } .donate-aisle > a:nth-child(even) { margin-right: 0; } .donate-aisle > a:hover { background-color: #ff9899; } .donate-ico { font-size: 24px; vertical-align: middle; margin-right: 5px; } .donate-1 { background-color: #ef636b; } .donate-2 { background-color: #94a89e; } .donate-3 { background-color: #93cbea; } .donate-4 { background-color: #8fb2c0; } .donate-item-container { width: 100%; height: 100%; } .donate-item-slide { height: 85px !important; /* center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .donate .public-more { position: absolute; bottom: 25px; left: 50%; margin-left: -77.5px; z-index: 10; } .donate-more:hover { background-color: #ca1116; color: #fff; border-color: #ca1116; } /* 慈善项目 */ .project { width: 100%; margin-top: 40px; background-color: #fff; } .project .main { width: 1300px; margin: 0 auto; min-width: 1300px; margin-top: 50px; overflow: hidden; } .project-father { position: relative; width: 1300px; height: 200px; margin: 0 auto; } .project-father .swiper-container { width: 1200px; } .project .swiper-slide { height: 190px; } .project .swiper-slide a { position: relative; display: block; width: 266px; height: 190px; } .project .swiper-slide .content-item { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); position: absolute; left: 0; top: 0; transition: 0.5s; transform: scale(0); -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; } .project .swiper-slide a img { width: 100%; height: 133px; } .project .swiper-slide .title-item { display: block; height: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 40px; color: #333; font-size: 16px; text-align: center; background-color: #fafafa; } .project .swiper-slide .mask { position: absolute; left: 20px; top: 10px; padding-top: 20px; width: 226px; height: 170px; border: solid 1px #fff; } .project .swiper-slide:hover .content-item { transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); } .project .swiper-slide:hover .title-item { color: #ca1116; } .project .swiper-slide .text { height: 72px; width: 80%; margin: 0 auto; line-height: 24px; font-size: 14px; color: #fff; text-align: center; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .project .swiper-slide button { display: block; width: 150px; line-height: 30px; background: #fc880c; color: #fff; text-align: center; font-size: 16px; border-radius: 3px; margin: 10px auto 0; outline: none; border: none; cursor: pointer; } .project .swiper-slide .money em, .project .swiper-slide .number em { color: #fc880c; font-size: 16px; font-style: normal; } .swiper-button-prev { left: 0; width: 30px; display: block; height: 60px; top: 50%; margin-top: -30px; left: 0; background: url(/uploads/image/himg/ico_index_arrow.png) 0 0 no-repeat; outline: none; } .swiper-button-next { right: 0; position: absolute; width: 30px; display: block; height: 60px; top: 50%; margin-top: -30px; right: 0; background: url(/uploads/image/himg/ico_index_arrow.png) -30px 0 no-repeat; outline: none; } /* 爱心基金*/ .fund { position: relative; width: 100%; margin-top: 40px; } .fund-back { position: absolute; top: 403px; width: 100%; height: 320px; background-color: #f8f8f8; z-index: -1; } .fund-btns { width: 390px; height: 41px; margin: 35px auto 0; } .fund-btn { width: 150px; height: 32px; font-size: 18px; color: #333333; text-align: center; line-height: 32px; border: solid 1px #cfcece; cursor: pointer; } .fund-btn-selected { background-color: #ca1116; color: #fff; border-color: #ca1116; } .fund .fund-wrappers { display: none; } .fund .fund-wrappers1 { display: block; } .fund .fund-wrapper { position: relative; z-index: 5; margin-top: 20px; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; } .fund .fund-wrapper li { width: 266px; height: 224px; background-color: #fafafa; } .fund .fund-wrapper li:hover .tp img { transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); } .fund .fund-wrapper li:hover .title-item { color: #ca1116; } .fund .fund-wrapper a { display: block; } .fund .tp { width: 266px; height: 133px; overflow: hidden; } .fund .tp img { width: 100%; height: 100%; transition: 0.5s; -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; } .fund .title-item { line-height: 35px; color: #333; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 5px; } .fund .name, .fund .detail { line-height: 24px; color: #666; font-size: 14px; padding: 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fund .money em { font-style: normal; color: #fc880c; } .fund .public-more { margin: 30px auto 20px; } /* 慈善文化 */ .culture { width: 100%; padding-top: 30px; box-sizing: border-box; } .culture .main { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; margin-top: 20px; } .culture .left-culture, .culture .center-culture, .culture .right-culture { width: 380px; } .culture .center-culture { padding: 0 15px; } .culture .left-culture ul { min-height: 240px; } .culture .item-title { width: 100%; height: 50px; line-height: 50px; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; font-size: 24px; color: #ca1116; } .culture .item-title img { max-width: 100%; max-height: 100%; margin-right: 10px; } .culture .left-culture ul li:hover a { color: #ca1116; } .culture .left-culture ul a { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; font-size: 14px; color: #666; height: 30px; } .culture .left-culture ul a h4 { position: relative; width: 70%; padding-left: 10px; line-height: 30px; } .culture .left-culture ul a h4::before { position: absolute; top: 13px; left: 0; width: 4px; height: 4px; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; content: ""; display: block; background-color: #666; } .culture .center-culture .content-item2 { display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; padding-top: 12px; } .culture .center-culture .item { display: block; } .culture .center-culture .item:hover img { transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); } .culture .center-culture .item:hover .text { color: #ca1116; } .culture .center-culture .tp { width: 151px; height: 198px; overflow: hidden; } .culture .center-culture .tp img { width: 100%; height: 100%; transition: 0.5s; -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; } .culture .center-culture .text { width: 151px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 30px; color: #333; text-align: center; font-size: 14px; } .culture .right-culture .tp { display: block; position: relative; width: 380px; height: 228px; margin-top: 12px; } .culture .right-culture .tp:hover .mask { display: block; background-color: rgba(0, 0, 0, 0.6); } .culture .right-culture .tp .content { width: 100%; height: 100%; } .culture .right-culture .tp .mask { position: absolute; left: 0; top: 0; background-color: rgba(0, 0, 0, 0); width: 100%; height: 100%; } .culture .right-culture .mask img { position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: auto; width: 46px; height: 46px; } /* 友情链接 */ .link { position: relative; margin-top: 40px; } .link .main { position: relative; margin-top: 20px; } .friend-title-tp { position: absolute; left: 0; top: -90px; } .friend-title-tp img { width: 100%; height: 100%; } .link .items { width: 100%; height: 190px; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; } .link .items li { display: block; width: 214px; margin-right: 32.5px; overflow: visible !important; } .link .items li a { display: block; width: 214px; height: 80px; padding: 5px; margin: 10px 0; } .link .items li a:hover { box-shadow: 0 0 3px 5px #efefef; } .link .items li img { width: 100%; height: 100%; } /* 底部 */ .footer { margin-top: 30px !important; } /* public */ .swiper-button-disabled span { color: #dbdbdb; } .project-item-main { position: absolute; left: 0; bottom: 0; right: 0; top: 0; background-color: rgba(0, 0, 0, 0.5); opacity: 0; } .project-more, .fund-more { position: relative; z-index: 10; display: block; text-align: center; line-height: 75px; color: #be1618; font-size: 24px; width: 335px; height: 54px; line-height: 54px; border: solid 1px #be1618; margin: 82px auto 0; } .project-more span, .fund-more span, .culture-more span { font-size: 75px; vertical-align: middle; } .project-more:hover, .fund-more:hover, .culture-more:hover { background-color: #ca1116; color: #fff; } .fix-side { position: fixed; right: 47px; bottom: 100px; width: 100px; z-index: 2000; } .fix-side .phone { position: absolute; top: -165px; left: -47px; width: 193px; height: 181px; background-image: url(/uploads/image/himg/ico_aside5.png); background-repeat: no-repeat; background-size: 100% 100%; color: #fff; } .fix-side .phone .num { position: absolute; top: 115px; left: 40px; color: #ca1116; font-weight: bold; } .fix-side .phone p { text-align: center; } .fix-side .phone img { margin-right: 5px; } .fix-side li { border-bottom: solid 1px rgba(255, 255, 255, 0.2); width: 100px; height: 80px; padding: 10px; background-color: #ca1116; } .fix-side li:hover { background-color: #d24340; } .fix-side .gzh { position: relative; width: 100px; text-align: center; } .fix-side .gzh .show { width: 80px; right: 10px; color: #fff; cursor: pointer; } .fix-side .gzh:hover .box { display: block; } .fix-side .gzh .box { display: none; position: absolute; left: -190px; bottom: 0; width: 190px; height: 200px; color: #fff; background-color: #fff; border: solid 1px #e5e5e5; border-right: none; box-sizing: border-box; } .fix-side .gzh .box img { margin-top: 15px; width: 150px; height: 150px; } .fix-side .gzh .box p { color: #666; } .fix-side p { margin-top: 10px; color: #fff; } .fix-side li a { display: block; text-align: center; width: 100%; height: 100%; color: #fff; } .fix-side li img { width: 36px; } .fix-side .return { border-bottom: none; transform: scaley(0); transition: 0.5s; background-color: #f85552; } .fix-side .active { transform: scale(1); }