@charset "utf-8"; header{ width:100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -o-transition: all 0.5s; z-index: 999; background: #fff; position: relative; } .header .logo { padding: 25px 0px; } .header .logo img{ height: 70px; width: auto; transition: all .5s; } @media(max-width:767px){ .header .logo { padding: 15px 0px; } .header .logo img{ height: 28px; } } .header{ padding:0px 0px; width:100%; } .header .language ul{ transition: all .5s; color: #3c4a76; display: flex; justify-content: flex-end; } .header .language ul li{ border-right: 1px solid #ededed; padding: 15px 15px 0px; margin-bottom: 15px; } .header .language i{ font-size: 18px; color: #3c4a76; } .header .language i span{ font-size: 14px; } .header .language .top-drop p{ text-align: center; width: 90%; border-bottom: 1px solid #efefef; margin: 0px auto; line-height: 40px; } header .nav>ul{ margin:0px auto 0px auto; transition: all .5s; display: flex; justify-content: space-between; flex-wrap: nowrap; } header .nav>ul>li{ display: inline-block; padding: 0 0px; padding-left: 30px; position: relative; } header .nav>ul>li>a{ display: block; position: relative; font-size: 18px; line-height: 1; padding:20px 0 20px 0; } header .nav>ul>li>a>b{ display: block; height:3px; width:100%; background:#3c4a76; position: absolute; left:0; bottom:0; transform: rotateY(90deg); -webkit-transform: rotateY(90deg); -o-transform: rotateY(90deg); transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; } header .nav>ul>li:hover a{ color: #3c4a76; } header .nav>ul>li:hover a>b{ transform: rotateY(0); -webkit-transform: rotateY(0); -o-transform: rotateY(0); } header .nav>ul>li.has-children > a::after { content: "\f107"; font-family: FontAwesome; font-size: 12px; font-weight: normal; margin-left: 5px; margin-top: 5px; float: right; } header .nav ul.submenu { display: none; position: absolute; left: 50%; top: 100%; margin-left: -60px; width: 160px; background: #fff; border-radius: 4px; overflow: hidden; } header .nav ul.submenu li{width:100%; border-bottom:1px solid rgba(0,0,0,.05);} header .nav ul.submenu li a{display:block;font-size:14px; color:#444; line-height:20px; padding:12px 2%; text-align:center; } header .nav ul.submenu li a:hover{color:#3c4a76; background:#f2fcfa;} header .nav>ul>li:hover ul.submenu{ display: block; } .m-btn{ display: none; position: absolute; cursor: pointer; right:20px; top:35px; } .m-btn span{ display: block; width:20px; height:2px; background:#424242; position: relative; -webkit-transition: all 200ms cubic-bezier(.4,0,0,1); -o-transition: all 200ms cubic-bezier(.4,0,0,1); transition: all 200ms cubic-bezier(.4,0,0,1); } .m-btn span::before, .m-btn span::after{ content:''; display: block; height:2px; width:20px; background:#424242; position: absolute; left: 0; -webkit-transition: all 200ms cubic-bezier(.4,0,0,1); -o-transition: all 200ms cubic-bezier(.4,0,0,1); transition: all 200ms cubic-bezier(.4,0,0,1); } .m-btn span:before { top: -8px; } .m-btn span:after { bottom: -8px; } .m-btn.active span { background: transparent; margin-left: 10px; } .m-btn.active span:before { transform: rotate(-48deg) translate(-6px, 5px); -webkit-transform: rotate(-48deg) translate(-6px, 5px); -o-transform: rotate(-48deg) translate(-6px, 5px); width: 24px; } .m-btn.active span:after { transform: rotate(48deg) translate(-6px, -5px); -webkit-transform: rotate(48deg) translate(-6px, -5px); -o-transform: rotate(48deg) translate(-6px, -5px); width: 24px; } header.on{ position: fixed; } header.on .header .logo img{ height: 40px; } @media(max-width:767px){ header.on .header .logo img{ height: 28px; } } @media(max-width:461px){ .header .logo img{ margin-right: 0; } } header.on .nav>ul>li>a{ padding: 10px 0 10px 0; font-size: 16px; } @media (max-width: 1199px){ .header .nav>ul>li{ padding-left:10px; } } @media (max-width: 992px){ .m-btn{ display: block; } .header{ position: relative; padding:0; } header .nav>ul{ display: block; } header.on .header .logo .logo, .header .logo .logo{ height:60px !important; } .header .header-mail { margin: 8px 45px 0px; line-height: 45px; } header .nav{ position: absolute; left:-100vw; top:64px; width:70%; height:calc(100vh - 60px); background:#fff; box-shadow: 0 0 10px #eee; z-index:999; transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; padding-top:20px; } header .nav.show{ left:0; transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; } header .nav ul li{ display: block !important; padding:0 20px; } header .nav ul li a{ color:#424242; font-size: 14px; } header .nav>ul>li::before, header .nav>ul>li:last-child::after{ border-left: 0px dotted #c1c1c1; } } @media(max-width:1200px){ .header .nav .submenu li { display: none !important; } } @media (max-width: 540px){ header.on .header .logo .logo, .header .logo .logo { height: 45px !important; margin-top: 10px; } } /* banner */ .banner{ position: relative; overflow: hidden; } .banner .swiper-button-next, .banner .swiper-button-prev{ width: 27px; height: 27px; } .banner .swiper-button-next{ right: 60px; } .banner .swiper-button-prev{ left: 60px; } .banner .swiper-pagination-bullet{ width: 20px; height: 20px; } .banner.swiper-container-horizontal>.swiper-pagination-bullets{ bottom: 60px; } .banner .swiper-pagination-bullet-active{ background-color: #fff; } .video{ background: #000; display: block; position: relative; margin-top: 78px; } .video-img img{ width: 100%; position: relative; margin-top: 78px; } @media(max-width:991px){ .banner .swiper-button-next{ right: 10px; } .banner .swiper-button-prev{ left: 10px; } .banner.swiper-container-horizontal>.swiper-pagination-bullets { bottom: 10px; } .banner .swiper-pagination-bullet { width: 12px; height: 12px; } .video-img img{ width: 100%; position: relative; margin-top: 58px; } .video{ margin-top: 58px; } } .banner .banner-txt{ text-align: left; width:100%; position: absolute; left:0%; top: 0px; color:#fff; padding-top:12%; height: 100%; background: rgba(0,0,0,0.4); } @media(max-width:991px){ .banner .banner-txt{ padding-top:18%; } } .banner .banner-txt h3{ font-size: 75px; font-weight: bolder; } .banner .banner-txt p{ font-size: 40px; line-height: 1.2; margin:20px 0px; width: 56%; } @media(max-width:1299px){ .banner .banner-txt h3{ font-size: 54px; } .banner .banner-txt p{ font-size: 32px; width: 100%; } } @media(max-width:991px){ .banner .banner-txt h3{ font-size: 46px; } .banner .banner-txt p{ font-size: 26px; width: 100%; } } @media(max-width:767px){ .banner .banner-txt h3{ font-size: 28px; } .banner .banner-txt p{ font-size: 16px; width: 100%; } } .banner .banner-txt p span{ font-weight: bolder; display: block; } .homeLink{ position:relative; display: inline-block; line-height:40px; font-size:18px; font-weight: bold; text-align: center; border-radius:35px; padding: 4px 100px; overflow:hidden; color:#fff; background:#54ac06; transition: all 0.3s ease-in-out; } .homeLink:hover{ padding: 4px 150px; color:#fff;} @media(max-width:767px){ .homeLink{ padding: 4px 80px; } .homeLink:hover{ padding: 4px 80px; color:#fff;} } @media(max-width:512px){ .homeLink{ font-size: 14px; line-height:20px; padding: 4px 20px; } } @media (max-width:991px){ .banner .carousel-inner>.item>a>img, .banner .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img { display: block; max-width: 136%; margin-left: -18%; height: auto; } } .common{ padding-top:80px; padding-bottom:80px; } .title{ font-size: 32px; color:#3c4a76; line-height:1.2; padding-bottom: 20px; text-transform: uppercase; position: relative; background: url(../img/line.jpg) no-repeat bottom center; } .product{ background: #f9f9f9; overflow: hidden; } .title-pro{ font-size: 32px; color:#3c4a76; line-height:1.2; padding-bottom: 20px; text-transform: uppercase; position: relative; background: url(../img/h.jpg) no-repeat bottom left; } .title-pro span{ font-size: 16px; color: #2b2b2b; float: right; width: 50%; } @media (max-width:767px){ .common{ padding-top:50px; padding-bottom:50px; } .title{ font-size: 24px; } .title-pro span{ display: block; float: none; width: 100%; } } .pro-tab{ display: flex; justify-content: center; overflow: hidden; margin: 40px 0px; } .pro-tab li{ width: 50%; text-align: center; } .pro-tab li a{ padding: 18px 25px; background: #d7d7d7; font-size: 22px; display: block; transition: all 0.6s; } @media (max-width:767px){ .pro-tab li a{ padding: 8px 6px; font-size: 16px; } } .pro-tab li.active a,.pro-tab li a:hover{ background: #fff; } /*合作客户*/ .services .brands-box{ padding: 80px 0px; background: #fff; text-align: center; position: relative; } @media(max-width:767px){ .services .brands-box{ padding: 80px 0px; } } .services .brands .swiper-slide img{ max-width: 100%; transition: all 0.6s; } .services .brands .swiper-slide:hover img{ transform: scale(1.05); } .services .swiper-container .swiper-wrapper{ -webkit-transition-timing-function: linear; /*之前是ease-out*/ -moz-transition-timing-function: linear; -ms-transition-timing-function: linear; -o-transition-timing-function: linear; transition-timing-function: linear; } .news-content .news-list, .ny-notice .news-list{ border-bottom: 1px solid #f7f7f7; } .news-content .news-list .news-title, .ny-notice .news-list .news-title{ font-size: 14px; line-height: 4; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding-left: 30px; position: relative; } .news-content .news-list .news-title span, .ny-notice .news-list .news-title span{ font-size: 14px; float: right; } .news-content .news-list .news-title::before, .ny-notice .news-list .news-title::before{ content: ''; display: block; position: absolute; top: 50%; margin-top: -10px; left: 10px; width: 12px; height: 12px; border-radius: 100%; background: transparent; border: 2px solid #dcdcdc; } /*案例*/ .case{ background: #fff; overflow: hidden; } .case-img img{ width: 100%; opacity: 0.95; transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; } .case .case-box{ margin-top: 50px; } .case .case-con{ background: #000; position: relative; transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; } .case .case-con:before{ content: ''; position: absolute; background-image: none; top: 0px; right: 0px; bottom: 0px; left: 0px; border: 2px solid rgba(255,255,255,0.5); opacity: 0; transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; } .case .case-box .case-con h5{ font-size: 22px; font-weight: bolder; padding: 20px 20px; color: #fff; line-height: 1.4; transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; position: absolute; bottom: 0px; width: 100%; } .case .case-box .case-con h5 i{ float: right; font-size: 22px; font-weight: normal; } .case .case-box .case-con:hover .case-img img{ opacity: 1; } .case .case-box .case-con:hover:before{ top: 10px; right: 10px; bottom: 10px; left: 10px; opacity: 1; transition: all 0.5s ease; } @media (max-width:991px){ .case-box .case-con h5 { font-size: 14px; } } /* 新闻 */ .news-box{ margin-top: 40px; } .news-box .news-con{ width: 100%; overflow: hidden; position: relative; padding: 15px 5px; border-bottom: 1px solid #f1f1f1; } .news-box .news-time{ font-size: 14px; margin: 0px 10px; } .news-box .category{ font-size: 14px; margin: 0px 10px; background: #3c4a76; color: #fff; padding: 5px 15px; border-radius: 15px; } .news-box .news-dot{ float: right; width: 18px; height: 18px; border-radius: 100%; padding-left: 7px; line-height: 15px; border: 1px solid #f1f1f1; transition: all 0.6s; } .news-box .news-title{ overflow: hidden; text-overflow: -o-ellipsis-lastline; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; font-size: 16px; line-height: 1.4; } .news-box li:hover .news-dot{ background: #3c4a76; color: #fff; } .news-box .more{ width: 100%; background: #eaeaea; font-size: 16px; text-align: center; padding: 15px 10px; color: #3e3e40; display: block; font-weight: bold; margin-top: 10px; transition: all 0.6s; margin-top: 40px; } .news-box .more:hover{ color: #fff; background: #3c4a76; } @media (max-width:991px){ .news-content { padding: 20px; } } .top-bnr ul li a{ display: block; line-height: 2.2; padding: 25px 25px; background: #fff; box-shadow: 10px 10px 20px 0 rgba(0,0,0,.2); } .top-bnr ul li a i{ font-size: 20px; float: left; margin: 5px 10px 0px 0px; color: #1da1f2; } .top-bnr ul li a span{ float: right; background: #1da1f2; color: #fff; font-size: 20px; padding: 5px 15px; border-radius: 3px; } .top-bnr ul li:first-child a i{ color: #3b5998; } .top-bnr ul li:first-child a span{ background: #3b5998; } .top-bnr ul li:last-child a i{ color: #cc181e; } .top-bnr ul li:last-child a span{ background: #cc181e; }