@charset "utf-8"; /* @font-face { font-family: 'DIN-Black'; src: url('../fonts/din-black.woff2') format('woff2'), url('../fonts/din-black.woff') format('woff'), url('../fonts/din-black.ttf') format('ttf'); font-weight: normal; font-style: normal; } */ /*1.默认展开的搜索*/ .gp-search { width: 200px; height: 30px; line-height: 30px; overflow: hidden; display: inline-block; border: none; display: inline; * zoom: 1; vertical-align: middle; transition: all 0.35s ease-in-out; /* background: #f4f4f4; */ /* border-radius: 6px; */ /* margin-top: 12px; */ } .gp-ser { width: 100%; height: 30px; z-index: 9999994; margin: 0 auto; position: relative; } .gp-search input, .gp-search button { position: absolute; height: 30px; line-height: 30px; border: none; background: none; top: 0px; overflow: hidden; } .gp-search input.notxt { color: #ccc !important; left: 0; padding-left: 10px; box-sizing: border-box; background: #fff; } .gp-search .notxt1 { background: #fff url(../images/serbtn.png) no-repeat center !important; right: 0; top: 0; height: 30px; line-height: 30px; background: #fff; } /*2.搜索按钮当前位置展开*/ .gp-serBtn2 { width: 10px; width: 1; height: 20px; *width: 18px; *height: 18px; } .gp-search2 { width: 0; border: none; } .gp-search2.active { width: 200px; border: 1px solid #ccc; } /*3.搜索按钮顶部展开*/ #gp-serBtn3 { position: relative; z-index: 801; } .gp-search3 { height: 0; border: none; width: 100%; overflow: hidden; transition: height 0.5s ease-in-out; } .gp-search3 .gp-ser { max-width: 800px; } .gp-search3 input, .gp-search3 button { height: 40px; line-break: 40px; } .gp-search3 .gp-ser { height: 40px; border: 1px solid #ccc; margin-top: 20px; } .gp-search3 .notxt1 { background: #C7000A; color: #fff } .gp-search3 .gp-ser { display: none; } .gp-search3.active .gp-ser { display: block; } .gp-search3.active { height: 80px; } /*4.搜索按钮全屏展开*/ #gp-serBtn4 { position: relative; z-index: 10; margin-left: 2.2%; /* margin-top: 16px; */ } .gp-search4 { height: 0; border: none; width: 100%; overflow: hidden; position: fixed; top: 50%; z-index: 802; left: 0; } .gp-search4 .gp-ser { max-width: 800px; } .gp-search4 input, .gp-search4 button { height: 40px; line-break: 40px; } .gp-search4 .gp-ser { height: 40px; border: 1px solid #ccc; margin-top: 20px; } .gp-search4 .notxt1 { /* background: #424594; */ color: #fff } .gp-search4 .gp-ser { display: none; border: none; background: #fff; } .gp-search4.active .gp-ser { display: block; } .gp-search4.active { height: 80px; } .searchActive .gp-overlay { top: 0; } @media screen and (max-width:998px) { .gp-search4 .gp-ser { width: 80%; } .gp-search4 input, .gp-search4 button { box-sizing: border-box; } .gp-search4 input.notxt { width: 100%; padding-right: 90px; } .gp-search4 .notxt1 { width: 85px; } } /*5移动端搜索默认*/ .gp-m-search { width: 80%; margin: 0 auto; display: block; } .gp-m-search .notxt1 { right: auto; left: 0; width: 40px; } .gp-m-search input.notxt { left: 0; width: 100%; box-sizing: border-box; padding-left: 42px; } .nav::before { /* content: ''; */ display: block; width: 100%; height: 80px; position: absolute; left: 0; top: 0; background: rgba(0, 0, 0, .45); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); /* Firefox 3.6 - 15 */ background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); } .nav ul li:hover .subNav { -webkit-animation-name: fadeInUpSmall; animation-name: fadeInUpSmall; animation-duration: 0.6s; -webkit-animation-duration: 0.6s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; visibility: visible !important; display: block; } .fadeInUpSmall { -webkit-animation-name: fadeInUpSmall; animation-name: fadeInUpSmall; animation-duration: 0.4s; -webkit-animation-duration: 0.4s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; visibility: visible !important; } .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 fadeInUpSmall { 0% { opacity: 0; -webkit-transform: translate3d(0, 20px, 0); -ms-transform: translate3d(0, 20px, 0); transform: translate3d(0, 20px, 0); } 100% { opacity: 1; -webkit-transform: none; -ms-transform: none; transform: none; } } @keyframes flipInY { from { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); transform: perspective(400px) rotate3d(0, 1, 0, 90deg); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; opacity: 0; } 40% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); transform: perspective(400px) rotate3d(0, 1, 0, -20deg); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 60% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); transform: perspective(400px) rotate3d(0, 1, 0, 10deg); opacity: 1; } 80% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); transform: perspective(400px) rotate3d(0, 1, 0, -5deg); } to { -webkit-transform: perspective(400px); transform: perspective(400px); } } .nav ul li>a { line-height: 1.28; color: #333; position: relative; display: block; box-sizing: border-box; position: relative; } .nav1 li.on .subNav { display: block; } .nav { position: relative; z-index: 5; width: 69.6%; margin-top: 25px; } .nav ul { text-align: justify; overflow: hidden; overflow: visible; justify-content: space-between; font-size: 0; /* background: #fff; */ box-sizing: border-box; } .nav ul:after { content: ''; width: 100%; display: inline-block; *display: inline; *zoom: 1; height: 0; } .nav li { position: relative; display: inline-block; z-index: 50; } .subNav { left: calc(50% - 61px); width: 122px; top: 50px; z-index: 0; /* padding: 20px 0; */ background: rgba(140, 0, 0, .8); box-sizing: border-box; } .subNav dd:hover { background: #fff; } .subNav dd:hover a { color: #333; } .gp-menu-nav { background: rgba(46, 61, 135, .8); } header.currents .headerBottom { background: #fff; box-shadow: 0 0 10px rgb(0 0 0 / 15%); } header.currents { width: 100%; min-width: 300px; height: auto; background: #fff; position: fixed; box-shadow: 0px 5px 6px rgba(0, 0, 0, .1); top: 0; z-index: 10; transition: all ease-in-out 0.3s; -ms-transition: all ease-in-out 0.3s; -moz-transition: all ease-in-out 0.3s; -webkit-transition: all ease-in-out 0.3s; -o-transition: all ease-in-out 0.3s; -webkit-animation-name: header_in; animation-name: header_in; animation-duration: 1.2s; -webkit-animation-duration: 1.2s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; z-index: 9999 !important; } /* nav */ .nav1>li>a { position: relative; display: inline-block; transition: transform 0.3s; overflow: hidden; } .nav1>li>a>span { display: inline-block; position: relative; transition: transform 0.3s; } .nav1>li>a>span:before { position: absolute; top: 100%; content: attr(data-hover); font-weight: bold; transform: translate3d(0, 0, 0); } .nav1>li>a:hover span { transform: translateY(-100%); } /*效果2*/ .subNav dd:hover a { font-weight: bold; } /* header */ body { height: 100vh } .section { width: 100%; transform-origin: left top !important; position: absolute; left: 50%; top: 50%; } .header { position: relative; padding: 13px 0; box-sizing: border-box; background: url(../images/top.png) no-repeat; background-size: cover; } .logo { display: inline-block; width: 175px; height: 68px; overflow: hidden; } footer { padding: 30px 0; box-sizing: border-box; background: url(../images/footer.png) no-repeat; background-size: cover; text-align: center; } .footerTopul { display: inline-block; margin-bottom: 20px; } .footerTopul li, .footerBotul, .footerBotul li { display: inline-block; } .footerTopul li a, .footerBotul li a { display: block; padding: 0 27px; box-sizing: border-box; position: relative; line-height: 1; } .footerBotul li a { padding: 0 15px; } .footerTopul li a::before, .footerBotul li a::before { content: ''; display: block; width: 1px; height: 100%; background: #fff; position: absolute; right: 0; top: 0; } .footerTopul li:last-child a::before, .footerBotul li:last-child a::before { display: none; } @media screen and (max-width: 1660px) {} @media screen and (max-width: 1560px) {} @media screen and (max-width: 1460px) {} @media screen and (max-width: 1301px) {} @media screen and (max-width: 1201px) {} @media screen and (max-width: 1101px) { .footerBotul li a { padding: 0 10px; } } @media screen and (min-width: 996px) { .effect0 { opacity: 0; transition: all 0.8s ease-out; } .effect0.isView { opacity: 1; -webkit-animation-name: effect0; animation-name: effect0; } @-webkit-keyframes effect0 { from { opacity: 0; } to { opacity: 1; } } @keyframes effect0 { from { opacity: 0; } to { opacity: 1; } } .effect1, .effect11, .effect11 li { opacity: 0; transition: all 1.5s ease-out; transform: translateY(70px); } .effect1.isView, .effect11.isView, .effect11.isView li { opacity: 1; transform: none; -webkit-animation-name: effect1; animation-name: effect1; } @-webkit-keyframes effect1 { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } } @keyframes effect1 { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } } .effect2, .effect21, .effect21 li { opacity: 0; transition: all 1.5s ease-out; transform: translateX(50px); } .effect2.isView, .effect21.isView, .effect21.isView li { opacity: 1; transform: none; -webkit-animation-name: effect2; animation-name: effect2; } @-webkit-keyframes effect2 { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } } @keyframes effect2 { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } } .effect3, .effect31, .effect31 li { opacity: 0; transition: all 1.5s ease-out; transform: translateY(-70px); } .effect3.isView, .effect31.isView, .effect31.isView li { opacity: 1; transform: none; -webkit-animation-name: effect3; animation-name: effect3; } @-webkit-keyframes effect3 { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } } @keyframes effect3 { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } } .effect4, .effect41, .effect41 li { opacity: 0; transition: all 1.5s ease-out; transform: translateX(-50px); } .effect4.isView, .effect41.isView, .effect41.isView li { opacity: 1; transform: none; -webkit-animation-name: effect4; animation-name: effect4; } @-webkit-keyframes effect4 { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } } @keyframes effect4 { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } } .effect { transition: transform 1s, opacity 1s ease-in-out; animation-duration: 1s; -webkit-animation-duration: 1s; animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out; } } @media screen and (max-width:1301px) { .subNav a { font-size: 12px } } @media screen and (max-width:1201px) {} @media screen and (max-width:1100px) { .gp-container { width: 900px !important; } } @media screen and (max-width:1024px) {} @media screen and (max-width:997px) { .nav { display: none } .footerBotul li a { padding: 0 5px; } .footerBotul li { margin-bottom: 20px; } .gp-menu-nav { display: block !important; } .gp-menu { display: block; } .gp-menu-header { top: 23px; right: 0; width: 40px; display: block; } .gp-container { width: auto !important; margin: 0 30px; } } @media screen and (max-width:960px) {} @media screen and (max-width:767px) { .gp-container { width: auto !important; margin: 0 15px; } } @media screen and (max-width:700px) {} @media screen and (max-width:600px) {} @media screen and (max-width:479px) { .gp-menu-header { transform: scale(.8); top: 27px; right: 0; } .footerTopul li a, .footerBotul li a { padding: 0 10px; } } @media screen and (max-width:414px) { .footerTopul li { margin-bottom: 20px; } .footerTopul { display: inline-block; margin-bottom: 0; } .gp-menu-header { top: 21px; } .gp-menu-header { top: 20px; right: 0; } }