@charset "utf-8"; /* CSS Document */ body{ } /*头部样式*/ .gp-header{width:100%; border-top:#c31818 5px solid; position: absolute;top: 0;z-index: 9;} .gp-header .gp-container{ position: relative; } .topList{ height: 24px; line-height: 24px; position: absolute; right: 160px; top: 6px; } .topList a{ display: inline-block; padding-left: 14px;} .topList .iconfont{ padding-right:6px; } .iconfont.home{ display: inline-block;width: 18px;height: 24px; background: url(../images/icon.png) no-repeat left center; float: left;} .icon-jiuban{ color: #a73308; } .logo{ max-width:372px; height:auto;padding: 15px 22px;background: #c31818; transition: all 0.3s ease;overflow: hidden; border-bottom-left-radius: 10px;border-bottom-right-radius: 10px; position: absolute; left: 50%; top: 0; z-index: 99992; margin-left: -208px;} .logo_02{ display: none; } .nav{ padding-top: 44px;} .nav-lf{ width: 32%; } .nav-rt{ width: 32%; } .nav ul li{ float:left;height: 50px;transition: all 0.3s ease;position: relative;} .nav ul > li{ position: relative; width: 33%;} .nav ul li > a{padding:0; line-height:50px;height: 50px; font-size:18px;font-size:1.8rem; display: block;transition: all 0.3s ease; position: relative;text-align: center;} .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:#fff; position: absolute;left:0;top:50px;display: none;z-index: 9;} .subNav dd {display: block;} .subNav a{padding:7px 10px; font-size: 15px; line-height: 24px;display: block; position: relative;text-align: center;} .gp-header.current .headerFix-menu{display: block;} .zoomIn { -webkit-animation-name: zoomIn ; animation-name: zoomIn ; animation-duration: 0.5s; -webkit-animation-duration: 0.5s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; visibility: visible !important; display: block; } @-webkit-keyframes zoomIn { from { opacity: 0; -webkit-transform: scale3d(0.3, 0.3, 0.3); transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } @keyframes zoomIn { from { opacity: 0; -webkit-transform: scale3d(0.3, 0.3, 0.3); transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } @-webkit-keyframes fadeInUp { from { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @keyframes fadeInUp { from { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } .fadeInUp { -webkit-animation-name: fadeInUp ; animation-name: fadeInUp ; animation-duration: 0.5s; -webkit-animation-duration: 0.5s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; visibility: visible !important; display: block; } .serBtn{cursor: pointer;display: block;height: 40px;position: relative;z-index: 99992;float: left;width: auto;} .serBtn i{display: inline-block;zoom:1;width: 30px;background:url(../images/ser.png) no-repeat center;height: 40px;} .serBtn i:before{display: inline-block;vertical-align: middle;} .ser{width:145px; height:28px; position: absolute;overflow:hidden;display: block;top: 5px;right: 0;border: #ddd 1px solid;border-radius: 20px;background: rgba(255, 255, 255, 0.1);} .search input{position:absolute; height: 28px;line-height:28px; color:#262626; border:none; background:none; top:0px; padding-left:0px; } .search input.notxt{color:#999; padding:0 30px 0 10px;width:71%;right: 0;} .search input.notxt1 {position: absolute;width: 15%;height:30px;left:116px;border: none;cursor:pointer; overflow: hidden;padding-right:0;color:#bbbdc3;border:none;background:url(../images/ser.png) no-repeat center #c31818;padding: 0 15px;} .mobile_search input.notxt{background: none;/*! text-align: 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:100%;position:absolute;height: 63px;display: none;top:5px;left: 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:100%;height: 63px;position: absolute;top: 0px;left: 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% - 1px) / 2); width: 25px; height: 2px; background-color: #fff;} .mobile-inner-header-icon{ height: 26px;float:right;width: 26px;position: relative; cursor: pointer;text-align: right;margin-right: 20px;text-align: center; line-height: 26px;/*! font-size: 26px; */margin-top: 18px;background:url(../images/mobile-menu.png) no-repeat; display: none; } .mobile-inner-header-icon.mobile-inner-header-icon-click{ background: #c31818; } .mobile-inner-header-icon.mobile-inner-header-icon-click span{ background: #fff;} .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:2px;display: none; 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:#c31818;display: none;} .mobile-inner-nav a{display: inline-block;line-height: 50px; text-decoration: none; width: 100%;font-size: 1.8rem; border-bottom: solid 1px #c93030; -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{position: relative;} .mobile-inner-nav li.on{background-color: #a61414;} .mobile-inner-nav li.on a{ color: #fff;border-bottom: none;} .mobile-inner-nav li .icon-fanhui{ background: url(../images/n-rt.png) no-repeat center; } .mobile-inner-nav li .icon-fanhui:before,.mobile-inner-nav li .icon-fanhui-copy:before{ display: none;} .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: 40px;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: #a61414;border-bottom: solid 1px #9f1616;overflow: hidden;padding-left: 18px;position: relative;} .mobile-inner-nav dd{ } .mobile-inner-nav dd a{height: 35px;line-height: 35px;border-bottom: none;font-size: 14px;} .mobile-inner-nav dd a:hover{} .mobile_search{clear: both;position: absolute;height: 40px;overflow: hidden;left: 0;top: 105px;width: 100%;z-index: 99993;display: block;} .mobile_search .search{ overflow:hidden;height: 37px;position:relative;border-bottom: #cf4646 2px solid;} .mobile_search input.notxt{width: 100%;color:#586f99;border:none;padding-right: 38px;height: 38px;box-sizing: border-box;font-size: 2.2rem;} .mobile_search input.notxt1{width: 40px;right:0;background:url(../images/ser.png) no-repeat center;border:none;height: 37px;left: auto;right: 15px;} .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: 85%;display: block;position: fixed;right: 0px;top: 0;opacity: 1; transform: scale(1);height: 85%;box-sizing: border-box;overflow-y: auto;overflow-x: hidden;z-index: 10;padding: 140px 0 0; transition: all 0.3s ease;} .m-link { color: #fff;} .m-link a{font-size: 12px;display: inline-block;width: auto;border: none;padding: 0 5px;} /*footer*/ .wrap_footer{background:#c31818; overflow: hidden;} .footer { padding: 60px 0;overflow: hidden;text-align: center;} .footer span{ line-height: 30px; color: #fff; padding: 0 10px;} @media screen and (min-width:1020px) { } @media screen and (max-width:1300px) { .logo{ max-width:270px; margin-left: -157px;} } @media screen and (max-width:1020px) { .gp-header{ background: #c31818; position: static;} .logo{ position: static; margin: 0; padding: 10px 0;max-width: none;width: 38%;} .nav,.ser,.topList { display: none; } .mobile,.mobile-inner-header-icon{ display: block; } .footer{ padding: 20px 0; } } @media screen and (max-width: 768px) { .footer span:last-child{ display: block; } } @media screen and (max-width:640px) { .logo{width: 60%;} .mobile-inner-header-icon{ margin-top: 15px; } } @media screen and (max-width:479px) { .footer span{ display: block; } }