* { margin: 0; padding: 0; } html, body { color: #333; font-family: "微软雅黑"; margin-left: auto !important; margin-right: auto !important; text-align: left; } body { min-width: 1600px; } img { border: 0; } li { list-style: none; } .fl { float: left; } .fr { float: right; } .clear { clear: both; } .center { width: 1400px; margin: 0 auto; } .centers { width: 1600px; margin: 0 auto; } a { text-decoration: none; /* display: block; */ } img { border: 0; outline: none; transition: all 0.3s; } .clearfix:after { content: ""; clear: both; display: block; overflow: hidden; font-size: 0; height: 0; } .clearfix { zoom: 1; } .pic { padding-top: 75%; position: relative; overflow: hidden; } .pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: all 1s; } .pic img:hover { transform: scale(1.2); } /* 头部样式 */ .head { position: relative; } .head_top { margin-top: 20px; } .head::before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 160px; background: url(../img/bg3.png) no-repeat center; background-size: cover; } .head_line { height: 1px; opacity: 0.3; background-color: #ffffff; width: 100%; } .head_navs { width: 100%; position: fixed; left: 0; right: 0; z-index: 999; transition: all 0.3s; } .head_top::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url(../img/bg3.png) no-repeat center; transition: all 0.5s; z-index: -1; background-size: cover; } .logo { border-bottom: 1px solid rgba(0, 0, 0, 0.3); } .logo > img { display: block; } .head_tit { margin-bottom: 20px; height: 17px; margin-left: 170px; } .head_tit span { font-size: 14px; line-height: 17px; letter-spacing: 0px; color: #ffffff; opacity: 0.6; } .head_search { position: relative; margin-bottom: 25px; } .search_txt { width: 255px; height: 50px; background-color: #fef7ef; border-radius: 25px; border: none; outline: none; padding-left: 23px; padding-right: 50px; } .span1:hover { opacity: 1; } .span2:hover { opacity: 1; } .search { position: absolute; right: 15px; top: 10px; } /* 导航样式 */ .nav { border-top: 1px solid rgba(255, 255, 255, 0.2); } .first { height: 50px; } .first > li { display: inline-block; font-size: 16px; line-height: 50px; letter-spacing: 0px; color: #ffffff; text-align: center; height: 50px; width: 140px; overflow: hidden; } .first > li a { color: #ffffff; } .first_nav:hover > a { font-weight: bold; } .second { position: absolute; z-index: 9999; width: 140px; display: none; background: #fff; box-shadow: 0 0 10px rgb(0 0 0 / 20%); } .text-list a { color: #333; } .second > li { height: 50px; width: 140px; } .second > li a { font-size: 14px; transition: 0.3s; color: #333; display: block; } .first :hover .second { display: block; } .second li > a:hover { background: #94070a; color: #ffffff; } /* 轮播图样式 */ .banner { overflow: hidden; padding-top: 185px; } .banner a { display: block; } .banner > img { display: block; width: 100%; } .banner .slick { position: relative; z-index: 9; } .banner .slick-slide a img { display: block; width: 100%; } .banner .slick .slick-prev { background: url(../img/icon1.png); border: none; width: 29px; height: 39px; z-index: 222; position: absolute; top: 50%; left: 7%; } .banner .slick .slick-next { background: url(../img/icon2.png); border: none; width: 29px; height: 39px; z-index: 222; position: absolute; top: 50%; right: 7%; } .banner .slick button { font-size: 0; cursor: pointer; } /* 尾部样式 */ .foot { background: #920b0d; padding-top: 40px; } .ls { margin-left: 65px; } .foot span { font-size: 14px; font-weight: normal; font-stretch: normal; line-height: 32px; letter-spacing: 0px; color: #ffffff; opacity: 0.48; } .foot p { font-size: 14px; font-weight: normal; font-stretch: normal; line-height: 32px; letter-spacing: 0px; color: #ffffff; opacity: 0.48; } .foot a:hover { text-decoration: underline; text-decoration-color: #ffffff; } .foot .foot_l { font-size: 18px; font-weight: bold; font-stretch: normal; line-height: 25px; letter-spacing: 0px; color: #ffffff; opacity: 1; border-left: solid 3px #ffffff; padding-left: 10px; } .foot_line { width: 315px; height: 2px; background-color: #ffffff; opacity: 0.2; margin-top: 20px; margin-bottom: 20px; } .yqlink li{ width:49%; float:left; } .foot_lines { height: 2px; background-color: #ffffff; opacity: 0.2; margin-top: 20px; } .foot-media { padding-top: 10.5px; } .foot-media > div { float: left; text-align: center; margin-left: 30px; position: relative; } .foot-media > div:hover div { display: block; } .foot-media > div > div { position: absolute; left: 50%; transform: translateX(-50%); bottom: 100%; margin-bottom: 15px; width: 120px; padding: 5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); display: none; } .foot-media > div > div img { display: block; width: 100%; } .foot-media > div > div::before { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-top: 10px solid #fff; border-left: 10px solid transparent; border-right: 10px solid transparent; } .foot-media > div > img { display: block; margin: 0 auto; cursor: pointer; } .banquan { font-size: 12px; font-weight: normal; font-stretch: normal; line-height: 32px; letter-spacing: 0px; color: #ffffff; text-align: center; opacity: 0.3; }