@charset "utf-8"; /* CSS Document */ /*头部样式*/ .gp-header { width: 100%; transition: all 0.3s ease-in-out; position: absolute; top: 0; z-index: 99; padding-bottom: 50px; background-color: rgba(22, 34, 71, 0.9); background: -webkit-linear-gradient(top, rgba(22, 34, 71, 0.9), rgba(22, 34, 71, 0)); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(bottom, rgba(22, 34, 71, 0.9), rgba(22, 34, 71, 0)); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(bottom, rgba(22, 34, 71, 0.9), rgba(22, 34, 71, 0)); /* Firefox 3.6 - 15 */ background: linear-gradient(to bottom, rgba(22, 34, 71, 0.9), rgba(22, 34, 71, 0)); /* 标准的语法 */ } .gp-header .gp-container { position: relative; } .topNav { float: right; margin-top: 62px; margin-right: 220px; } .topNav a { color: #fff; position: relative; opacity: 0.7; padding: 0 20px; position: relative; } .topNav a:before { content: ""; display: block; width: 1px; height: 14px; background: rgba(255, 255, 255, 0.16); position: absolute; right: 0; top: 4px; } .logo { position: relative; z-index: 99992; transition: all 0.3s ease; float: left; overflow: hidden; padding: 33px 0 10px; } .logo_01 { width: 517px; display: inline-block; transition: all 0.2s ease; } .nav {} .nav ul { /* display: flex; */ display: -moz-box; /*firefox*/ display: -ms-flexbox; /*IE10*/ /* display: -webkit-box; */ /*Safari*/ /* display: -webkit-flex; */ /*Chrome*/ display: box; display: flexbox; display: block\9; position: relative; } .nav ul li { float: left; height: 40px; transition: all 0.3s ease; /* width: 100%; */ width: auto\9; float: left\9; padding: 0 2%\9; position: relative; padding: 0 1.66%; } .nav ul>li:before { content: ''; background-color: #fff; position: absolute; left: 50%; bottom: 0; width: 0; height: 0; transition: all 0.35s ease-in-out; } .nav ul>li.on:before { width: 100%; height: 2px; left: 0 } .nav ul li>a { padding: 0; text-align: center; line-height: 40px; height: 40px; color: #fff; font-size: 18px; font-size: 1.8rem; display: block; font-weight: bold; transition: all 0.3s ease; margin: 0 0%; } .nav ul li.on>a, .nav ul li:hover>a { color: #fff; } .nav ul li.on .subNav { display: block; } .nav-wrapper>div { position: relative; } .headerFix-menu { position: absolute; right: -30px; top: 3px; cursor: pointer; display: none; } .headerFix-menu i { color: #fff; font-size: 30px; } .headerFix-close { float: right; height: 40px; line-height: 40px; margin-left: 10px; cursor: pointer; display: none; } .headerFix-close i { color: #ccd2de; font-size: 24px; } .subNav { width: 100%; background: rgba(0, 0, 0, 0.6); position: absolute; left: 0; top: 40px; display: none; text-align: center; z-index: 99; } .subNav dd {} .subNav a { color: #fff; padding: 9px; font-size: 16px; line-height: 24px; display: block; } .subNav a:hover { background-color: #2c448c; } .gp-header.current { position: fixed; top: 0; box-shadow: 0 0 6px 0 #333; z-index: 99; background: #2c448c; padding: 13px 0; } .gp-header.current .logo, .gp-header.current .topNav, .gp-header.current .gp-search { display: none; } /*1.默认展开的搜索*/ .gp-search { width: 200px; overflow: hidden; display: inline-block; *display: inline; *zoom: 1; vertical-align: middle; transition: all 0.35s ease-in-out; background: rgba(0, 0, 0, 0.2); border-radius: 30px; position: absolute; right: 0; top: 55px; } .gp-ser { width: 100%; height: 35px; z-index: 9999994; margin: 0 auto; position: relative; } .gp-search input, .gp-search button { position: absolute; height: 35px; line-height: 35px; border: none; background: none; top: 0px; overflow: hidden; } .gp-search input.notxt { color: #fff; width: 65%; left: 0; padding-left: 10%; opacity: 0.5; outline: none; } .gp-search .notxt1 { position: absolute; width: 15%; right: 10px; cursor: pointer; background: url(../images/ser.png) no-repeat center; } .goTop { position: fixed; bottom: 40px; right: 20px; z-index: 9999999; color: #fff; text-align: center; transition: none; background-color: #000; width: 50px; height: 50px; line-height: 50px; text-align: center; display: none; } .goTop:hover { color: #fff; background-color: #4b9ef7; } .goTop i { font-size: 32px; } /*手机端导航*/ .mobile { width: auto; position: absolute; height: 33px; display: none; top: 22px; right: 0; z-index: 99991; } .mobile-search-btn { float: right; margin-right: 15px; cursor: pointer; } .mobile-search-btn i { color: #fff; font-size: 20px; } .mobile-inner-header { width: auto; height: 33px; position: absolute; top: 0px; right: 0px; z-index: 50 } .mobile-inner-header-icon { color: #ffffff; height: 40px; font-size: 25px; text-align: center; float: right; width: 40px; position: relative; -webkit-transition: background 0.5s; -moz-transition: background 0.5s; -o-transition: background 0.5s; transition: background 0.5s; } .mobile-inner-header-icon:hover { opacity: 0.8; cursor: pointer; } .mobile-inner-header-icon span { position: absolute; left: calc((100% - 25px) / 2); top: calc((100% - 10px) / 2); width: 25px; height: 4px; background-color: rgba(255, 255, 255, 1); } .mobile-inner-header-icon { color: #fff; height: 30px; float: right; width: 35px; position: relative; cursor: pointer; text-align: right; margin-right: 8px; text-align: center; line-height: 28px; font-size: 30px; /*! margin-top: 9px; */ } .mobile-inner-header-icon-out i { font-size: 22px; position: absolute; right: 0; top: 0 } .mobile-inner-header-icon-click i { display: none; } .mobile-inner-header-icon-out span { width: 25px; height: 4px; display: block; border-radius: 5px; } .mobile-inner-header-icon-out span:nth-child(1) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outfirst; } .mobile-inner-header-icon-out span:nth-child(2) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outsecond; } .mobile-inner-header-icon-out span:nth-child(2) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outthird; } .mobile-inner-header-icon span:nth-child(1) { transform: translateY(4px) rotate(0deg); } .mobile-inner-header-icon span:nth-child(2) { transform: translateY(-4px) rotate(0deg); } .mobile-inner-header-icon span:nth-child(3) { transform: translateY(-4px) rotate(0deg); } .mobile-inner-header-icon-click span:nth-child(1) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: clickfirst; } .mobile-inner-header-icon-click span:nth-child(2) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: clicksecond; } .mobile-inner-header-icon-click span:nth-child(3) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: clickthird; } @keyframes clickfirst { 0% { transform: translateY(4px) rotate(0deg); } 100% { transform: translateY(0) rotate(45deg); } } @keyframes clicksecond { 0% { transform: translateY(-4px) rotate(0deg); } 100% { transform: translateY(0) rotate(-45deg); } } @keyframes clickthird { 0% { opacity: 0 } 100% { opacity: 0 } } .mobile-inner-header-icon-out span:nth-child(1) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outfirst; } .mobile-inner-header-icon-out span:nth-child(2) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outsecond; } .mobile-inner-header-icon-out span:nth-child(3) { animation-duration: 0.5s; animation-fill-mode: both; animation-name: outthird; } @keyframes outfirst { 0% { transform: translateY(0) rotate(-45deg); } 100% { transform: translateY(-4px) rotate(0deg); } } @keyframes outsecond { 0% { transform: translateY(0) rotate(45deg); } 100% { transform: translateY(4px) rotate(0deg); } } @keyframes outthird { 0% { transform: translateY(0) rotate(90deg); } 100% { transform: translateY(12px) rotate(0deg); } } .mobile-inner-nav { width: 100%; text-align: center; opacity: 0; transform: scale(0.8); width: 0; transition: left 0.3s ease-in-out; height: 0; background-color: #3652a6; } .mobile-inner-nav a { display: inline-block; line-height: 50px; text-decoration: none; width: 100%; font-size: 1.6rem; border-bottom: solid 1px #4b65af; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; color: #fff; -o-transition: all 0.5s; transition: all 0.5s; text-align: left; padding: 0 20px; } .mobile-inner-nav li:first-child a { border-top: 1px solid rgba(255, 255, 255, 0.2); } .mobile-inner-nav li { position: relative; } .mobile-inner-nav li.on { background-color: #304da5; } .mobile-inner-nav li.on a { color: #fff; } .mobile-inner-nav li .icon-fanhui { background: url(../images/n-rt.png) no-repeat center; } .mobile-inner-nav li .icon-fanhui-copy { background: url(../images/n-dw.png) no-repeat center; } .mobile-inner-nav li strong { color: #2c4780; position: absolute; right: 5px; top: 0; font-size: 1.4rem; cursor: pointer; width: 20px; height: 45px; text-align: center; line-height: 40px; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; line-height: 50px; } .mobile-inner-nav a { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: returnToNormal; animation-name: returnToNormal; } @-webkit-keyframes returnToNormal { from { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } to { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes returnToNormal { from { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } to { opacity: 1; -webkit-transform: none; transform: none; } } .mobile_subNav { display: none; background: #304da5; } .mobile-inner-nav dd a { height: 40px; line-height: 40px; border-bottom: solid 1px rgba(255, 255, 255, 0.1); font-size: 1.5rem; } .mobile-inner-nav dd a:hover { background-color: #0c5aa8; } .mobile_search input.notxt { background: none; } .mobile_search { clear: both; position: absolute; height: 40px; overflow: hidden; left: 0; top: 106px; width: 100%; z-index: 99993; display: block; } .mobile_search .search { overflow: hidden; height: 37px; position: relative; border-bottom: #4b65af 1px solid; } .mobile_search input.notxt { width: 84%; color: #566c99; border: none; padding: 0 20px; height: 38px; box-sizing: border-box; font-size: 1.6rem; float: left; } .mobile_search input.notxt1 { width: 40px; right: 10px; background: url(../images/ser.png) no-repeat center; border: none; height: 37px; left: auto; /*! right: 0; */ float: right; } .mobile-links { width: auto; margin: 0 20px 10px; overflow: hidden; padding: 10px 0 0; opacity: 0.6; font-size: 14px; } .mobile-links span { float: left; padding: 0 15px; } .mobile-links span a { border: none; line-height: 25px; padding: 4px 0; font-size: 14px; } .nav-open .mobile-inner-nav { width: 100%; display: block; position: fixed; left: 0px; top: 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); opacity: 1; transform: scale(1); height: 100%; box-sizing: border-box; overflow-y: auto; overflow-x: hidden; z-index: 10; padding: 143px 0 20px; transition: all 0.3s ease; } /*footer*/ .wrap_footer { background: url(../images/footerbg.jpg) no-repeat center top; background-size: cover; overflow: hidden; } .footer { position: relative; padding: 40px 0; } .footer .gp-fl { width: 37%; float: left; overflow: hidden; margin-top: 20px; } .footer .gp-fr { width: 270px; float: right; } .codeList { margin: 0 -22px; overflow: hidden; } .codeList li { display: inline-block; overflow: hidden; } .codeList li a { display: block; margin: 0 22px; overflow: hidden; } .codeList .codeImg { width: 77px; height: 77px; border: #fff 8px solid; background: #d6d6d6; text-align: center; overflow: hidden; } .codeList .codeImg img { width: 77px; height: 77px; } .codeList .codeText { text-align: center; margin: 10px 0 0; } .copyRight { background: rgba(0, 0, 0, 0.16); border-top: #425397 1px solid; text-align: center; overflow: hidden; } .copyRight p { padding: 19px; opacity: 0.7; line-height: 22px; } .copyRight span { padding: 0 12px; } @media screen and (max-width:1827px) { .nav ul li { padding: 0 9px } } @media screen and (max-width:1366px) { .nav ul li { padding: 0 14px } } @media screen and (max-width:1365px) { .nav ul li { padding: 0 12px } } @media screen and (max-width:1440px) { .gp-container { width: 86vw; } } @media screen and (max-width:1300px) { .gp-container { width: auto; margin-left: 30px !important; margin-right: 30px !important; } .gp-f26 { font-size: 20px; font-size: 2.0rem; } } @media screen and (max-width: 1200px) { .gp-header { background: #2c448c; padding-bottom: 0; position: static; } .logo { padding: 20px 0; } .nav, .gp-search, .topNav { display: none; } .mobile { display: block; } .gp-header .logo_01 { width: 360px; } } @media screen and (max-width: 1024px) { .gp-container { width: auto; margin-left: 15px !important; margin-right: 15px !important; } } @media screen and (max-width: 766px) { .logo { padding: 12px 0; } .footer { padding: 20px 0; } .footer .gp-fl { width: 300px; float: none; margin: 10px auto; } .footer .gp-fr { float: none; margin: 0 auto; width: 190px; } .codeList li a { margin: 0 10px; } .copyRight span { display: block; } .gp-title-lh24, .gp-title-lh22 { height: auto; } } @media screen and (max-width:640px) { .gp-header .logo_01 { width: 280px; } } @media screen and (max-width:360px) { .gp-header .logo_01 { width: 240px; } }