@charset "utf-8"; #header{ width: 100%; top: 0; position: absolute; z-index: 10; left: 0; background: #fff; } #header .headerBox{ padding-top: 0px; width: 1200px; max-width: 1920px; min-width:1200px; height: 120px; margin: 0 auto; position: relative; } #header.on{ position: fixed; top: -120px; border-bottom: 1px solid #f1f1f1; } #header .logo{ position: relative; width: 600px; height: 60px; background: url(../img/head-logo.png) no-repeat; top: 30px; left: 0; z-index: 9; } #header .logo a{ display: block; height: 51px;} #header .logo .icon-logo{ display: none; } #header .menu{ position: relative; z-index: 11; background-color: #f1f1f1; height: 60px; width: 100%; } #header .menu-con>ul{ margin: 0px; } #header .menu-con>ul>li{ display: block; position: relative; float: left; margin: 0 ; padding: 0; width: 16.6%; } #header .menu-con>ul>li>a{ display: block; margin: 0; padding-top: 0; position: relative; z-index: 3; } #header .menu-con>ul>li>a>span.en{ display: block; color: #000; padding: 0 ; line-height: 60px; margin: 0 35px 0; overflow: hidden; text-align: center; font-size: 16px; position: relative; text-transform: uppercase; z-index: 1; top: 0; } #header .menu-con>ul>li>a>span.en::after{ content: ''; display: none; position: absolute; width: 100%; height: 3px; background-color: #e52027; bottom: 0px; left: 0; } #header.on .menu-con>ul>li>a>span.en{ padding-top: 0; color: #000; } #header .menu-con ul li .navCon{ position: absolute; z-index: 0; top: 55px; left: 0; width: 100%; background: #e52027; display: block; height: 0; opacity: 0; overflow: hidden; } #header .menu-con ul li:hover .navCon{ opacity: 1; height: auto; } #header .menu-con ul li .navCon a{ font-size: 14px; display: block; line-height: 36px; color: rgba(255,255,255,0.8); border-top:1px solid rgba(255,255,255,0.1); text-align: center; } #header .menu ul li .navCon a:hover{ /* background: #274b94; */ color: #fff; } #header .qr{ position: absolute; top: 5px; right: 220px; } #header .qr div{ float: left; margin-right: 20px; } #header .qr div p{ display: block; padding: 0; color: #6e6e6e; text-align: center; font-size: 12px; line-height: 1.6em; } #header .qr img{ display: block; margin: 0 auto; width: 90px; } #header .con{ position: absolute; top: 35px; padding-top: 0; right: 0; z-index: 11; } #header .con a{ padding: 2px 10px; color: #fff; background-color: #e52027; } #header .search{ display: inline-block; position: relative; } #header .con input{ width: 220px; padding-left: 10px; height: 30px; font-size: 14px; line-height: 30px; color: #333; border: 1px solid rgba(200,200,200,0.8); background: rgba(255,255,255,0.1); border-radius: 16px; } #header .con input::placeholder{ color: #888; } #header .con button{ position: absolute; right: 3px; top: 3px; font-size: 14px; width: 24px; height: 24px; text-indent: -999em; background:#e52027 url(../img/search.png) no-repeat center center; background-size: 12px; border-radius: 16px; cursor: pointer; } #header .con .service{ font-size: 15px; padding: 6px 12px; } #banner{ width: 100%; min-width: 1200px; height: 500px; margin-top: 180px; position: relative;} #banner .banner{ z-index: 1; position: relative; width: 100%; height: 100%; overflow: hiddcn;} #banner .swiper-slide{background: #eee;} #banner .banner a{ display: block; width: 100%; height: 100%;} #banner .banner-bg{ width: 100%; height: 100%; position: absolute; z-index: 0; background-repeat: no-repeat; background-position: center center; background-size: cover; opacity: 1;} #banner .banner-con{ width: 100%; height: 100%; position: relative; z-index: 1;} #banner .banner-con img{width:100%; display: block;} #banner .banner-con .mainBox{ /* width: 80%; max-width: 80%; */ padding-top: 200px; color: #fff; } #banner .banner-con .mainBox h1{font-size: .5rem; opacity: .1; text-transform: uppercase;} #banner .banner-con .mainBox h2{font-size: .4rem; margin-top: -.35rem; margin-left: .1rem;} /*翻页按钮*/ .banner .swiper-button-prev, .banner .swiper-button-next{ position: absolute; width: 95px; height: 88px; z-index: 1; left: .5rem; text-indcnt:-99em; overflow: hiddcn; top: 50%; margin-top: -50px; background:url(../img/prev.png) no-repeat center center; border-radius: 5px; z-index: 8; transition: all 0.2s ease-out; opacity: .5;} .banner .swiper-button-next{ left: auto; right: .5rem; background-image: url(../img/next.png);} .banner .swiper-button-prev:hover, .banner .swiper-button-next:hover{opacity: .8;} .banner .swiper-button-next::after, .banner .swiper-button-prev::after{ display: none !important;} /*当前页码*/ .banner .swiper-pagination{ bottom: 15px !important; transition: all 0.2s ease-out; } .banner .swiper-pagination-bullet{ text-indent: -999em; width: 10px; height: 10px; opacity: 1; background: #fff; cursor: pointer; border-radius: 10px; transition: all 0.2s ease-in-out;} .banner .swiper-pagination-bullet-active{ background: #e52027;} @media screen and (max-width: 768px) { body.open{overflow: hidden;} #header { position: fixed; left: 0; top: 0; z-index: 99; } #header.on{ position: fixed; top: 0; border-bottom: 1px solid #f1f1f1; } #header .headerBox{ width: 100%; max-width: 100%; min-width:100%; margin:0 auto; height: 50px; position: relative; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #header .search-btn{ position: absolute; background: url(../img/header-search.png) no-repeat center center; background-size: 21px; width: 40px; height: 40px; top: 5px; right: 55px; cursor: pointer; } #header .con { display: none; top: 50px; height: 50px; width: 100%; left: 0; background-color: #f1f1f1; } #header .con.open{ display: block; } #header .search{ display: flex; position: relative; top: 10px; right: 0; padding: 0 15px; } #header .search form{ flex: 1; } #header .search .search-btn-close{ font-size: 14px; width: 40px; line-height: 30px; text-align: right; color: #888; } #header .con input{ width: 100%; padding-left: 10px; height: 30px; font-size: 14px; line-height: 30px; color: #333; border: 1px solid rgba(200,200,200,0.8); background: rgba(255,255,255,1); border-radius: 16px; } #header .con input::placeholder{ color: #888; } #header .con button{ position: absolute; right: 58px; top: 3px; font-size: 14px; width: 24px; height: 24px; text-indent: -999em; background:#e52027 url(../img/search.png) no-repeat center center; background-size: 12px; border-radius: 16px; cursor: pointer; } #header .con .service{ display: none; } #header .qr{ display: none; } #header .logo{ position: absolute; width: 120px; height: 40px; background: url(../img/head-logo.png) no-repeat; background-size: 300px; top: 13px; left: 15px; z-index: 9; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #header .menu{ position: absolute; background: none; width: 50px; height: 50px; top: 0px; right: 0; z-index: 11; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } #header .menu .icon-menu-btn {display: block; width: 40px; z-index: 12; height: 40px; margin-top: 5px; position: relative;} .icon-menu-btn:before, .icon-menu-btn:after { content: ""; display: block; width: 20px; height: 2px; background: #e52027; border-radius: 4px; position: absolute; left: 0; -webkit-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } .icon-menu-btn:before { top: 11px; left: 10px; box-shadow: 0 8px #e52027; } .icon-menu-btn:after { bottom: 11px; left: 10px;} .icon-menu-btn.open:before { top: 18px; left: 8px; width: 23px; height: 4px; background: #e52027; -webkit-transform: rotate(45deg); transform: rotate(45deg); box-shadow: none;} .icon-menu-btn.open:after { bottom: 18px; left: 8px; width: 23px; height: 4px; background: #e52027; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } #header .menu .menu-con{ position: fixed; z-index: 11; right: -100%; top: 0; width: 100%; height: 100%; background: #fff; padding: 0; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } #header .menu .menu-con.open{ right: 0; overflow: auto; } #header .menu .menu-title{ font-size: 26px; font-weight: 200; color: #888; padding: 10px 0 0 20px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #header .menu ul{ margin: 10px 20px; border-top: 1px dashed #dbd6d8; } #header .menu ul li{ display: block; float: none; margin: 0; width: auto; position: relative; border-bottom: 1px dashed #dbd6d8; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #header .menu ul li a span.en{ position: relative; display: block; color: #000; padding: 10px 0; line-height: 36px; overflow: hidden; text-align: left; font-size: 20px; margin: 0; } #header .menu ul li a:hover span.en{ color: #e52027; } #header .menu ul li.about a span.en{ padding: 20px 0 0 0; } #header .menu ul li .navCon{ position: relative; z-index: 0; top: 0; padding: 0; left: 0; width: 100%; background: #FFF; border-radius:0; display: block; height: auto; opacity: 1; overflow: hidden; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #header .menu ul li .navCon ul{ margin: 0; padding: 0 0 10px 0; overflow: hidden; border: 0; } #header .menu ul li .navCon li{ float: left; width: 33.3%; border: 0; } #header .menu ul li .navCon a{ font-size: 14px; display: block; line-height: 34px; color: #666; text-align: left; transition: all 0.2s ease-in-out; } #header .menu ul li .navCon a:hover{ color: #e52027; } #header .menu ul li.tel{ display: none; } #banner{ width: 100%; min-width: 100%; height: 30vw; margin-top: 50px; min-height: 30vw; position: relative;} #banner .banner{ z-index: 1; position: relative; width: 100%; height: 100%; overflow: hiddcn;} #banner .swiper-slide{background: #eee;} #banner .banner a{ display: block; width: 100%; height: 100%;} #banner .banner-bg{ width: 100%; height: 100%; position: absolute; z-index: 0; background-repeat: no-repeat; background-position: ccnter ccnter; background-size: auto 132%; opacity: 1;} #banner .banner-con{ width: 100%; height: 100%; position: relative; z-index: 1;} #banner .banner-con img{width:auto; height: 100%; display: block;} #banner .banner-con .mainBox{ /* width: 80%; max-width: 80%; */ padding-top: 150px; color: #fff; padding-left: 13px; } #banner .banner-con .mainBox h1{font-size: 1rem; opacity: .1; text-transform: uppercase;} #banner .banner-con .mainBox h2{font-size: .8rem; margin-top: -.35rem; margin-left: .1rem;} /*翻页按钮*/ .banner .swiper-button-prev, .banner .swiper-button-next{ display: none;} /*当前页码*/ .banner .swiper-pagination{ bottom: 5px !important; transition: all 0.2s ease-out; } .banner .swiper-pagination-bullet{ text-indent: -999em; width: 6px; height: 6px; opacity: 1; background: #fff; cursor: pointer; border-radius: 10px; transition: all 0.2s ease-in-out;} .banner .swiper-pagination-bullet-active{ background: #ff8a00;} }