.banner-box { position: relative; padding-top: 40%; overflow: hidden; margin-bottom: 30px; } .banner { position: absolute; inset: 0px; } .banner img { display: block; width: 100%; } .banner .slick-prev { width: 30px; height: 41px; background: url("../images/bal.png") center center / cover no-repeat; left: 3%; z-index: 9; } .banner .slick-next { width: 30px; height: 41px; background: url("../images/bar.png") center center / cover no-repeat; right: 3%; z-index: 9; } .banner .slick-dots { width: auto; margin-left: 50%; transform: translateX(-50%); bottom: 32px; height: 20px; } .banner .slick-dots::after { content: ""; position: absolute; left: 0px; right: 0px; background: rgba(255, 255, 255, 0.7); height: 1px; z-index: -1; width: 76%; margin: 10px 15px; } .banner .slick-dots li { width: 13px; height: 13px; margin: 0px 15px; background: rgb(242, 242, 242); border-radius: 50%; } .banner .slick-dots li button { display: none; } .banner .slick-dots li.slick-active { background: rgb(105, 143, 51); } /* */ .i_title { line-height: 40px; padding: 20px 0 20px 0; overflow: hidden; } .i_title h2 { float: left; position: relative; font-weight: bold; font-size: 30px; color: #333; height: 50px; line-height: 50px; background: url(../images/ico_yqlj.png) left center no-repeat; padding: 0 40px 0 35px; font-family: sySong, microsoft yahei; margin-bottom: 0; } .i_title .more a { transition: all 0.3s; width: 100px; height: 50px; line-height: 50px; display: block; font-size: 16px; padding-right: 0; color: #698f33; background: url(../images/more_ico.png) right bottom no-repeat; padding-left: 5px; } .i_title .more a:hover { /* color: #ff6600; */ transition: all 0.3s; width: 95px; } /* */ .section1 { padding-bottom: 50px; } .imain_left { width: 920px; float: left; margin-right: 35px; position: relative; z-index: 99; } .imain_right { position: relative; z-index: 0; } /**/ .picnewbox { float: left; width: 445px; margin-right: 0; margin-top: 0; } .picnewbox ul li a { display: block; position: relative; } .picnewboxinfo { overflow: hidden; margin-top: 20px; } .picnewboxinfo p { font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 30px; padding-right: 120px; } .picnewbox .slick-dots { width: auto; right: 2%; bottom: 20px; text-align: right; z-index: 0; } .picnewbox .slick-dots li { width: 9px; height: 9px; border-radius: 50%; background: #c5bdbd; margin: 0 5px; transition: all 0.3s; } .picnewbox .slick-dots li button { display: none; } .picnewbox .slick-dots li.slick-active { background: #698f33; width: 20px; border-radius: 20px; transition: all 0.3s; } .picnewbox .linfo { overflow: hidden; margin-top: 0; position: absolute; bottom: 0; z-index: 999; background: url(../images/pictitlebg.png) bottom repeat-x; width: 100%; height: 80px; padding-top: 36px; } .picnewbox .linfo p { font-size: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 30px; padding-left: 12px; color: #ffffff; text-align: left; width: 70%; } /**/ .newsbox { width: 430px; float: left; margin-left: 30px; } .public-list { margin-top: 2px; } .public-list li { line-height: 36px; height: 36px; overflow: hidden; } .public-list li span { float: right; font-size: 14px; color: #999; padding-left: 15px; } .public-list li a { font-size: 16px; display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; background: url("../images/ico_li.png") left center no-repeat; padding-left: 15px; color: #333; } .public-list li a:hover { color: #ff9900; } .top_news {} .top_news span { color: #698f33; font-size: 16px; font-weight: bold; text-align: left; display: block; height: 24px; margin: 0; padding: 0; } .top_news span i { font-style: normal; border: #698f33 2px solid; border-radius: 20px; color: #fff; font-size: 14px; line-height: 24px; height: 40px; padding: 0 12px; margin-right: 10px; background: #698f33; } .top_news li { border-bottom: #e6e6e6 1px dotted; height: 125px; overflow: hidden; margin-bottom: 5px; width: 100%; } .top_news li a { font-size: 18px; line-height: 28px; font-weight: bold; color: #333; } .top_news li a {} .top_news li a h2 { font-size: 18px; color: #333; line-height: 40px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .top_news li a p { font-size: 14px; color: #999; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -moz-box; -moz-line-clamp: 2; -moz-box-orient: vertical; word-wrap: break-word; word-break: break-all; white-space: normal; } /**/ .date_list { overflow: hidden; } .date_list ul li { margin-top: 0; width: 100%; height: 90px; overflow: hidden; border-bottom: #dcdcdc 1px dotted; padding: 10px 0; } .date_list ul li a { display: block; transition: all 0.3s; height: auto; overflow: hidden; } .date_list ul li:first-child { margin-top: 0; height: auto; padding-top: 0; } .date_list ul li:last-child { border: none; } .date_list ul li .date { float: left; width: 68px; height: 68px; border: 1px solid #dddddd; text-align: center; margin-right: 20px; transition: all 0.3s; } .date_list ul li .date p { font-size: 30px; font-weight: bold; color: #698f33; margin-top: 5px; line-height: 35px; transition: all 0.3s; } .date_list ul li .date span { display: block; font-size: 12px; color: #999999; transition: all 0.3s; } .date_list ul li .rtx { overflow: hidden; height: 60px; } .date_list ul li .rtx h3 { font-size: 18px; line-height: 27px; margin-top: 4px; color: #111; /* white-space: nowrap; */ /* text-overflow: ellipsis; */ overflow: hidden; word-break: break-all; transition: all 0.3s; font-weight: normal; } .date_list ul li .rtx p { font-size: 14px; line-height: 24px; height: 48px; color: #999; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; margin-top: 10px; display: none; } .date_list ul li a:hover .date { background: #698f33; border-color: #698f33; } .date_list ul li a:hover .date p, .date_list ul li a:hover .date span { color: #fffF; } .date_list ul li a:hover .rtx h3 { color: #698f33; } .section2 { margin: 0px auto; background: url(../images/xsxxbg.jpg) center no-repeat #f3f6ef; background-size: cover; padding: 50px 0px; } .s2b { position: relative; } .s2b ul { padding: 10px 0px; } .s2b ul li { margin-left: 30px; margin-right: 30px; box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 7px; background: url("../images/xs_logo1.png") 90% 1% no-repeat rgb(255, 255, 255); transition: all 0.3s ease 0s; } .s2b ul li:hover { background: url("../images/xs_logo.png") 170% -15% no-repeat rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 10px; transition: all 0.3s ease 0s; } .s2b ul li:hover img { width: 105% !important; height: 105% !important; } .s2b ul li .xslb { height: auto; overflow: hidden; border-bottom: 1px solid rgb(238, 238, 238); padding: 26px 0px; margin: 0px 24px; } .s2b ul li .xslb a { font-size: 14px; border: 2px solid rgb(105, 143, 51); border-radius: 20px; display: block; float: left; width: 80px; line-height: 30px; height: 32px; text-align: center; color: rgb(105, 143, 51); } .s2b ul li:hover .xslb a { background: rgb(105, 143, 51); color: rgb(255, 255, 255); } .s2b ul li:hover .text h2 { color: rgb(0, 0, 0); font-weight: bold; transition: all 0.3s ease 0s; } .s2b ul li:hover .wqtxt>div { height: auto; } .s2b ul li:hover .pic { top: 108px; transition: all 0.3s ease 0s; } .s2b ul li .xslb span { font-size: 16px; color: rgb(105, 143, 51); font-weight: bold; display: block; float: right; line-height: 32px; } .s2b ul li a { display: block; } .s2b ul li a .pic { padding-top: 62.7%; top: 0px; transition: all 0.3s ease 0s; } .s2b ul li a .pic:hover { box-shadow: rgba(34, 24, 21, 0.3) 0px 1px 6px; } .s2b ul li .pic img { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translateX(-50%) translateY(-50%); } .s2b ul li .pic>img:hover { width: 105% !important; height: 105% !important; } .s2b ul li .text { padding: 20px 0px; transition: all 0.3s ease 0s; margin: 0px 24px; } .s2b ul li .text h2 { font-size: 20px; line-height: 28px; font-weight: normal; color: rgb(51, 51, 51); max-height: 60px; position: relative; padding-bottom: 0px; transition: all 0.3s ease 0s; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: justify; margin-bottom: 12px; } .wqtxt { position: relative; } .wqtxt>div { position: absolute; left: 0px; top: 0px; right: 0px; height: 0px; overflow: hidden; } .s2b ul li .text p { padding: 0px 0px 0px 20px; font-size: 14px; height: 27px; line-height: 27px; color: rgb(102, 102, 102); max-height: 30px; text-align: justify; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: block; transition: all 0.3s ease 0s; } .s2b ul li .icotit { background: url("../images/icotit.png") left center no-repeat; } .s2b ul li .icotime { background: url("../images/icotime.png") left center no-repeat; } .s2b ul li .icotipp { background: url("../images/icotipp.png") left center no-repeat; } .s2b ul li .icotiadd { background: url("../images/icotiadd.png") left center no-repeat; } .s2b .slick-list { padding: 0px 0px 116px; position: relative; z-index: 9; margin-right: -30px; margin-left: -30px; } .s2b .slick-prev, .s2b .slick-next { width: 28px; height: 28px; bottom: 28px; top: auto; left: auto; transform: translate(0px, 0px); background-color: rgb(153, 153, 153); z-index: 10; } .s2b .slick-prev { background: url("../images/slick-prev.png") center center no-repeat; right: 50px; } .s2b .slick-next { background: url("../images/slick-next.png") center center no-repeat; right: 0px; } .s2b .slick-dots { position: absolute; left: 0px; bottom: 20px; width: auto; z-index: 2; } .s2b .slick-dots li { display: none; width: auto; height: auto; margin: 0px; padding: 0px; line-height: 24px; box-shadow: none; background: none; } .s2b .slick-dots li.slick-active { display: block; } .s2b .slick-dots li div { font-size: 18px; font-weight: normal; letter-spacing: 1px; color: rgb(153, 153, 153); } .s2b .slick-dots li div span { float: left; font-size: 24px; font-weight: 600; line-height: 24px; color: rgb(105, 143, 51); vertical-align: middle; } .s2b .slick-speed { position: absolute; bottom: 40px; left: 85px; right: 105px; z-index: 2; } .s2b .slick-speed div { height: 3px; background-color: #e2e2e2; position: relative; } .s2b .slick-speed span { position: absolute; left: 0px; top: -1px; height: 5px; background: rgb(105, 143, 51); background-blend-mode: normal, normal; border-radius: 1px; } @keyframes go { 0% { transform: translateX(0px); } 50% { transform: translateX(10px); } 100% { transform: translateX(0px); } } @keyframes roted { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @media screen and (max-width: 1440px) {} @media screen and (max-width: 1400px) { .banner-box { /* padding-top: 50%; */ } } @media screen and (max-width: 1200px) { .banner-box { margin-bottom: 0; } .index .section1 { padding-bottom: 40px; } .imain_left { width: 100%; float: none; margin-right: 0; height: auto; overflow: hidden; } .picnewbox { width: 100%; float: none; margin-right: 0; height: auto; overflow: hidden; } .newsbox { width: 100%; float: none; margin-left: 0; height: auto; overflow: hidden; margin-top: 30px; } .imain_right { width: 100%; float: none; } } @media screen and (max-width: 1024px) { .banner .slick-dots { bottom: 10px; } .banner .slick-dots li { width: 10px; height: 10px; margin: 0px 5px; } .link_yq { padding-top: 20px; margin-bottom: 0; } .link_yq .list { display: block; line-height: 50px; } .link_yq .list a { line-height: 50px; background: none; } .foot { padding: 30px 0 30px 0; } .end-rwm { width: 38%; margin-right: 2%; } .foot-l { width: 60%; } .foot-c { display: none; } .foot-r { display: none; } } @media screen and (max-width: 768px) { .s2b ul li .xslb { padding: 10px 0px; } .s2b ul { padding: 0px; } .wqtxt>div { position: relative; height: auto; } .s2b ul li:hover .pic { top: 0; } .i_title h2 { font-size: 27px; } .section1 { padding-bottom: 20px; } .section2 { padding: 20px 0px; } .s2b .slick-list { padding: 0; } .s2b ul li:hover .wqtxt>div { height: auto; } .s2b .slick-prev, .s2b .slick-next, .s2b .slick-speed, .s2b .slick-dots { display: none !important; } .end-rwm { width: 100%; margin-right: 0%; padding: 0 20%; height: auto; overflow: hidden; } .foot-l { width: 100%; text-align: center; float: none; height: auto; overflow: hidden; padding-top: 15px; } .foot-l h2 { padding-left: 0; border-left: none; } .foot-l p { text-align: center; } } @media screen and (max-width: 520px) { .banner .slick-prev { width: 20px; height: 31px; left: 28px; } .banner .slick-next { width: 20px; height: 31px; right: 28px; } .index .section1 .s1tit { font-size: 26px; } } @media screen and (max-width: 375px) { .banner .slick-prev { left: 20px; } .banner .slick-next { right: 20px; } .section2 { padding-top: 25px; } .picnewbox .slick-dots li{ width: 5px; height: 5px; } }