@charset "utf-8"; * { padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; outline: none; } html, body { color: #333; font-size: 16px; font-family: "Arial","PingFang SC", "Helvetica Neue", Helvetica, sans-serif, system-ui, -apple-system, BlinkMacSystemFont; margin-left: auto !important; margin-right: auto !important; text-align: left; background-color: #fff; } li { list-style: none; } a { text-decoration: none; } img, input { border: 0; outline: none; } .wap { display: none; } .top>img.wap { display: none; } body .clear { clear: both; height: 0 !important; width: 0 !important; border: none !important; margin: 0 !important; padding: 0 !important; float: none !important; } .px1360 { max-width: 1360px; margin: 0 auto; } .px1400 { max-width: 1400px; margin: 0 auto; } .h-bj>img{ width: 100%; display: block; } .h-nav{ padding: 30px 0; background-color: #d50826; } .h-nav .px1400{ position: relative; } .h-nav h2{ float: left; width: 25%; font-family: SourceHanSansCN-Regular; font-size: 24px; color: #ffffff; margin-right: 5%; } .h-nav h2 a{ color:#fff; } .nav{ display: inline-block; width: 69%; } .nav>ul>li { float: left; width: 13.9%; text-align: center; position: relative; } .nav>ul>li a { display: block; font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: 2px; color: #ffffff; } .nav>ul>li>ul{ position: absolute; z-index: 99; top: 30px; width: 100%; background-color: #d50826; padding: 8px; display: none; border-radius: 8px; } .nav>ul>li>ul>li>a{ display: block; font-size: 16px; line-height: 40px; letter-spacing: 2px; color: #ffffff; } .nav>ul>li>ul>li:hover{ background-color: #fff; } .nav>ul>li>ul>li:hover a{ color: #d50826; } .foot{ padding: 25px 0; background-color: #a40e16; text-align: center; font-size: 0; } .foot span{ display: inline-block; font-size: 16px; letter-spacing: 1px; color: #fbfbfb; margin: 0 1.6%; } /* 搜索 */ .search-con { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 21px; height: 23px; overflow: hidden; } .search-con button { width: 100%; height: 100%; background: none; cursor: pointer; } .search-con button img { width: 100%; height: 100%; } .search { width: 500px; height: 50px; background: #fff; margin-top: 20px; position: absolute; right: 0; top: 24px; z-index: 1; display: none; } input, button { border: none; outline: none; } .search .text { width: 500px; padding-left: 15px; padding-right: 80px; height: 50px; font-size: 14px; background: none; color: #333; } .search .button { width: 80px; height: 50px; background: #990000 url(../images/fdj.png) no-repeat center; position: absolute; top: 0; right: 0; cursor: pointer; text-align: center; } input::-webkit-input-placeholder { color: #666; } input::-moz-input-placeholder { color: #666; } input::-ms-input-placeholder { color: #666; } /* 定位搜索框 */ .yc-search { line-height: 40px; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999999; display: none; } .yc-search-bg { position: fixed; z-index: 99998; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, .8); } .search { display: block; position: fixed; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); z-index: 99999; } @media screen and (max-width:1410px){ .h-nav h2{ font-size: 17px; letter-spacing: normal; margin-right: 3%; } .nav>ul>li a{ font-size: 16px; } .search-con{ right: 1%; } } @media screen and (max-width:1400px) { .px1400 { padding-left: 10px; padding-right: 10px; } .logo { padding-left: 10px; } } @media screen and (max-width:1024px) { html, body { font-size: 14px; } body { padding-top: 60px; } .pc { display: none; } .wap { display: block; } .top { max-width: 1920px; margin: 0 auto; position: fixed; right: 10px; top: 18px; width: 25px; height: 25px; z-index: 9999; } .top>img { display: block; width: 100%; } .wap-menu { position: absolute; top: 0; right: 0; z-index: 99999; font-size: 0; } .wap-menu img { height: 25px; } .close-menu { display: none; position: absolute; right: 0; top: 0; } .m-head { position: fixed; top: 0; left: 0; right: 0; background: #d50826; padding: 10px; z-index: 999; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1); } .m-logo { font-size: 0; } .m-logo a { font-size: 0; line-height: 40px; } .m-logo h2 a { max-height: 40px; max-width: 85%; line-height: 40px; font-family: SourceHanSansCN-Regular; font-size: 24px; font-weight: 600; letter-spacing: 1px; color: #ffffff; } .m-tlink { padding: 10px 15px 0 15px; } .m-tlink a { font-size: 12px; margin-right: 10px; color: #fff; display: inline-block; line-height: 24px; background: #fff; color: #304174; line-height: 24px; padding: 0 15px; border-radius: 5px; } .m-search { margin: 0 15px; padding-right: 50px; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; position: relative; line-height: 35px; border: 1px solid #fff; border: 1px solid rgba(255, 255, 255, 0.5); margin-top: 15px; } .m-search input[type="text"] { display: block; width: 100%; line-height: 25px; background: none; color: #fff; } .m-search input[type="text"]::placeholder { color: #fff; } .m-search input[type="image"] { position: absolute; right: 10px; top: 10px; height: 15px; } .m-nav { position: fixed; top: 60px; left: 100%; right: 0; bottom: 0; z-index: 999; background: #d50826; ; overflow-y: scroll; border-top: 1px solid rgba(255, 255, 255, 0.5); } .m-nav ul { padding: 0 15px; /* border-top: 1px solid rgba(255, 255, 255, 0.2); */ } .m-nav ul li { border-bottom: 1px solid #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.5); position: relative; } .m-nav ul li>span.on { transform: rotateZ(90deg); } .m-nav ul li ul { display: none; overflow: hidden; } .m-nav ul li ul li { border: none; float: left; width: 33%; } .m-nav>ul>li a { display: block; font-size: 14px; line-height: 20px; padding: 15px 0; position: relative; color: #fff; } .m-nav>ul>li ul li a { padding: 10px 0; } .m-nav>ul>li>span { position: absolute; width: 20px; height: 20px; background: url(../images/m-nav_down.png) no-repeat; background-size: 14px 14px; background-position: center center; right: 0; top: 15px; cursor: pointer; display: block; color: #fff; transition: all 0.3s; } .m-logo h2 a{ font-size: 20px; } } @media screen and (max-width:768px){ .m-logo h2 a{ font-size: 18px; } .foot span{ font-size: 14px; } .foot{ padding: 15px 0; } } @media screen and (max-width:480px){ .foot span{ font-size: 12px } }