@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: 9; position: relative; } .header .logo img{ height: 65px; margin-right: 10px; width: auto; transition: all .5s; } .header{ padding: 15px 0px; background: #fff; transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; border-bottom: 1px solid #ffffff3d; } .header.on{ background: rgba(0,0,0,0.7); } header .nav{ display: flex; justify-content: flex-end; margin-top: 20px; } header .nav>ul{ transition: all .5s; display: flex; justify-content: flex-end; flex-wrap: nowrap; } header .nav>ul>li{ display: inline-block; padding: 0px 12px; position: relative; } header .nav>ul>li>a{ position: relative; font-size: 18px; text-transform: uppercase; padding: 0px 0px; display: block; line-height: 1.0; white-space: nowrap; transition: all 0.3s; } header .nav>ul>li:hover a,header .nav>ul>li.active a{ color: #00449b; } header .nav>ul>li.tel,header .nav>ul>li.tel a{ color: #00449b; line-height: 22px; padding: 0px 0px; } header .nav>ul>li.tel span{ font-weight: 600; } header .nav>ul>li.tel img{ padding-left: 10px; } header .nav ul.sub-menu { display: none; position: absolute; left: -25%; top: 100%; width: 150%; background: #ffffff10; border-radius: 2px; } header .nav ul.sub-menu li{width:100%; border-bottom:1px solid rgba(0,0,0,.05);} header .nav ul.sub-menu li a{display:block;font-size:14px;font-weight: 300; background: #ffffffd0; color:#444; line-height:20px; padding:12px 2%; text-align:center; } header .nav ul.sub-menu li a:hover{color:#00449b; background:#f5f5f5;} header .nav>ul>li:hover ul.sub-menu { display: block; } @media(max-width:992px){ .header { padding: 10px 0px; } .header .logo img{ height: 45px; } header .nav{ width: 65vw; } header .nav ul { padding-top: 60px; transition: all .5s; max-width: 100%; } header .nav ul li a.nav-link{ font-size: 18px; line-height: 30px; } header .nav>ul>li.tel { padding-left: 0px; margin-left: -35px; display: inline-block; margin-right: 70px; } header .nav>ul>li.tel:last-child{ display: block; margin-right: 70px; } header .nav .sub-menu { padding: 6px 0px 6px 38px; } header .nav{ position: fixed; right:-100vw; top: 0px; width:100vw; height:calc(100vh - 0px); background:#fff; transform: translateX(0); overflow: hidden; background: -o-linear-gradient(60deg,#000,#000 100%); background: linear-gradient(60deg,#000,#000 100%); background: url(../img/nav.jpg) no-repeat right bottom #000; z-index:-1; transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; } header .nav ul{ display: block; padding: 80px 20px 50px 55px; transition: all .5s; counter-reset: offcanvas-counter; } header .nav ul li{ display: block; padding: 0 0px; position: relative; } header .nav ul li a.nav-link{ display: block; color: #fff; position: relative; font-size: 16px; line-height: 32px; font-weight: 600; counter-increment: offcanvas-counter; } header .nav ul li a.nav-link:before { content: counter(offcanvas-counter,decimal-leading-zero); position: absolute; top: 6px; left: -35px; color: #00449b; font-size: 20px; font-weight: 600; line-height: 1; margin-right: 1.5625rem } header .nav ul.sub-menu{ position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; max-width: 100%; left: 0%; background: transparent; padding: 0px 0px 0px 0px; } header .nav ul.sub-menu li{ margin-right: 10px; width: auto; display: inline-block; } header .nav ul.sub-menu li a{ display: -ms-inline-flexbox; display: inline-flex; -ms-flex-align: center; align-items: center; font-size: 14px; color: #fff; padding: 0px 0%; text-align: left; background: transparent; line-height: 1; font-weight: 300; padding-right: 8px; border-right: 1px solid #fff; } header .nav ul.sub-menu li a:hover { background: transparent; } header .nav ul.sub-menu li:last-child a{ border-right: 0px solid #fff; } header .nav>ul>li .logo{ padding-bottom: 50px; } header .nav.show{ right: 0; } } /* banner */ .banner{ position: relative; background: #000; overflow: hidden; padding-top: 0px !important; } .banner .banner-txt{ width:100%; position: absolute; left: 0%; top: 23%; color: #fff; z-index: 99; } .banner .banner-txt h3{ font-size: 40px; font-weight: 900; margin-bottom: 5px; } .banner .banner-txt span{ display: block; font-size: 60px; } .banner .banner-txt p{ font-size: 20px; line-height: 1.4; font-weight: 900; width: 55%; } @media(max-width:1299px){ .banner .banner-txt h3{ font-size: 30px; } .banner .banner-txt h3 span{ font-size: 52px; } } @media(max-width:991px){ .banner .banner-txt h3{ font-size: 24px; } .banner .banner-txt h3 span{ font-size: 42px; } .banner .banner-txt p{ font-size: 14px; width: 100%; } } @media(max-width:767px){ .banner .banner-txt h3{ font-size: 16px; } .banner .banner-txt h3 span{ font-size: 28px; } } .rowflex{ display: flex; align-items: stretch; } .homeLink{ font-weight: 600; color: #bcbcbc; font-size: 14px; border: 1px solid #bcbcbc; border-radius: 30px; padding: 10px 15px; margin-top: 10px; transition: all 0.3s ease-in-out; } .homeLink:hover{ background: #1c3278; color: #fff; border: 1px solid #1c3278; } .common{ padding-top: 110px; padding-bottom: 110px; } .title{ font-size: 80px; color: #e2e2e2; line-height:1.1; font-weight: 900; text-transform: uppercase; position: relative; margin-bottom: 40px; } .title span{ display: block; line-height:0.9; color: #00449b; font-size: 35px; } .title span b{ color: #fff; } .title:after{ display: block; content: ""; width: 70px; height: 3px; margin: 10px 0px; background: #ff3a3a; } .title .more,.about .more{ float: right; font-size: 18px; color: #808080; font-weight: 300; } @media (max-width:767px){ .common{ padding-top:30px; padding-bottom:30px; } .title{ font-size: 18px; padding-top: 15px; margin-bottom: 20px; } .title span{ font-size: 22px; line-height: 1.0; } .title .more,.about .more{ font-size: 14px; } } /*首页关于我们*/ .about{ background: url(../img/about.jpg) repeat-x top #fff; position: relative; } .about .about-txt{ font-size: 16px; margin-bottom: 40px; } .about .about-txt h4{ font-size: 40px; font-weight: 900; margin-bottom: 15px; } .about .more{ float: none; } .about-img img{ width: 100%; } .about-nav{ margin-top: 50px; } .about-nav ul{ display: flex; justify-content: space-between; border-left: 1px solid #d9d9d9; } .about-nav ul li{ width: 23%; text-align: center; padding: 0% 1%; border-right: 1px solid #d9d9d9; transition: all 0.3s ease-in-out; } .about-nav ul li:hover img{ opacity: 0.95; } @media (max-width:992px){ .about .about-txt h4 { font-size: 18px; } .about .about-txt { font-size: 14px; margin-bottom: 15px; } .about-nav{ margin-top: 15px; } } /*案例*/ .case{ border-top: 1px solid #d6d6d6; background: #fff; overflow: hidden; } .case .title span b{ font-size: 24px; color: #2b2b2b; } .case .case-list{ position: relative; background: #eeeeee; } .case .case-list h5{ padding: 15px 10px; font-size: 18px; font-weight: 400; text-align: center; } .case .case-list h5:after{ content: ""; display: block; background: #ff3a3a; width: 50px; height: 3px; margin: 15px auto; } .case .case-img{ overflow: hidden; position: relative; transition: all 0.6s; } .case .case-img img{ width: 100%; transition: all 0.6s; } .case .case-list:hover .case-img img{ transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%); -ms-filter: grayscale(0%); -o-filter: grayscale(0%); filter: grayscale(0%); filter: unset; } @media (max-width:991px){ .case .title span b { font-size: 14px; display: block; } .case .case-list h5{ padding: 10px 5px; font-size: 14px; } .case .case-list h5:after{ width: 30px; height: 2px; margin: 5px auto; } } /*业务范围*/ .business{ background: #fff; overflow: hidden; } .business .buss-list{ position: relative; color: #fff; background: #000; margin-bottom: 5%; } .business .buss-list h5{ font-size: 20px; font-weight: 600; position: absolute; bottom: 30px; left: 35px; } .business .buss-list h5:after{ content: ""; display: block; background: #ff3a3a; width: 50px; height: 3px; margin-top: 10px; } .business .buss-list .buss-sort{ font-size: 14px; position: absolute; top: 30px; left: 35px; line-height: 1.0; margin-bottom: 10px; } .business .buss-list .buss-sort span,.business .buss-list h5 span{ display: block; font-size: 26px; font-weight: 200; text-transform: uppercase; } .business .buss-img{ overflow: hidden; position: relative; transition: all 0.6s; } .business .buss-img img{ width: 100%; transition: all 0.6s; -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; } .business ul li:hover .buss-img img{ transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%); -ms-filter: grayscale(0%); -o-filter: grayscale(0%); filter: grayscale(0%); filter: unset; } @media (max-width:992px){ .business .buss-list .buss-sort{ top: 20px; left: 15px; } .business .buss-list h5{ bottom: 20px; left: 15px; font-size: 16px; } .business .buss-list .buss-sort span, .business .buss-list h5 span { font-size: 14px; } } .line{ border-top: 2px solid #d6d6d6; height: 4px; background-color: #fff; border-bottom: 1px solid #d6d6d6; } /*科研服务*/ .service{ background: url(../img/service.jpg) no-repeat center #fff; background-size: cover; overflow: hidden; } .service .stitle{ text-align: center; color: #fff; line-height: 1.0; font-weight: 900; font-size: 35px; margin-top: 40px; margin-bottom: 40px; } .service .stitle span{ display: block; font-size: 24px; font-weight: 300; } .service .stitle span:before{ width: 70px; height: 3px; background: #ff3a3a; display: block; content: ""; margin: 10px auto; } .service ul{ display: flex; flex-wrap: wrap; justify-content: space-between; } .service ul li{ width: 18%; padding: 4% 1%; text-align: center; background: #fff; transition: all 0.6s; position: relative; font-size: 14px; } .advantage ul li { text-align: center; border-right: 1px solid #d6d6d6; } .advantage ul li:first-child { border-left: 1px solid #d6d6d6; } .advantage ul li img{ width: auto; max-width: 100%; opacity: 1.0; transition: all 0.6s; } .service ul li p.sort{ font-size: 100px; line-height: 1.0; color: #e7e7e7; text-transform: uppercase; font-weight: 600; margin-top: 5%; } .service ul li h5,.advantage ul li h5{ font-size: 24px; font-weight: 600; } .service ul li h5 span,.advantage ul li h5 span{ display: block; text-transform: uppercase; font-size: 12px; font-weight: 200; } .service ul li h5 span:after,.advantage ul li h5:after{ width: 40px; height: 3px; background: #ff3a3a; display: block; content: ""; margin: 10px auto; } .service ul li:hover{ opacity: 0.85; } .advantage ul li:hover img{ transform: translateY(-8px); -webkit-transform: translateY(-8px); -ms-transform: translateY(-8px); -moz-transform: translateY(-8px); } @media (max-width:992px){ .service .stitle{ font-size: 16px; margin-top: 20px; margin-bottom: 20px; } .service .stitle span{ font-size: 14px; } .service ul li { padding: 10px 10px; width: 100%; text-align: left; display: flex; flex-wrap: wrap; margin-bottom: 10px; } .service ul li h5 span:after{ margin: 5px 0px; } .service ul li p.sort{ font-size: 35px; } .service ul li img{ height: 80px; } .service ul li h5{ font-size: 14px; } .advantage ul li{ margin-bottom: 10px; } .advantage ul li h5{ font-size: 14px; } .advantage ul li:first-child{ border-left: 0px solid; } .advantage ul li:nth-child(3n){ border-right: 0px solid; } } /*合作伙伴*/ .cooperation{ background-color: #f0f0f0; } .cooperation .cooper-img,.ny-cooper .cooper-img{ text-align: center; background-color: #fff; padding: 8px; margin: 10px 0px; } .cooperation .cooper-img img,.ny-cooper .cooper-img img{ width: auto; max-width: 100%; opacity: 1.0; transition: all 0.6s; } .cooperation .cooper-img:hover img,.ny-cooper .cooper-img:hover img{ transform: translateY(-8px); -webkit-transform: translateY(-8px); -ms-transform: translateY(-8px); -moz-transform: translateY(-8px); } @media (max-width:992px){ .cooperation .cooper-img,.ny-cooper .cooper-img{ text-align: center; background-color: #fff; padding: 8px 2px; margin: 5px 0px; } } .product{ background: url(../img/pro-top.jpg) no-repeat top center #f3f3f3; position: relative; padding-top: 120px; } .product .title{ color: #fff; margin-bottom: 15px; } .pro-info{ font-size: 22px; line-height: 1.1; margin-bottom: 25px; } .pro-info ul{ display: flex; flex-wrap: wrap; justify-content: space-between; } .pro-info ul li{ width: 50%; } .pro-info img{ float: right; } .product .pronav{ display: flex; justify-content: space-between; margin-bottom: 80px; } .product .pronav li{ width: 11.5%; padding: 4% 1%; background-color: #fff; position: relative; text-align: center; transition: all 0.3s; } .product .pronav li h5{ font-size: 22px; } .product .pronav li h5 span{ display: block; color: #b5b5b5; font-size: 18px; font-weight: 100; margin-bottom: 30px; } .product .pronav li h5:after{ display: block; content: ""; width: 20px; height: 2px; margin: 10px auto 0px; background: #c1c1c1; } .product .pronav li:hover{ background-color: #00449b; } .product .pronav li:hover h5,.product .pronav li:hover h5 span{ color: #fff; } .product .pronav li:hover h5:after{ background-color: #fff; } .product-box{ position: relative; background: url(../img/pro-bot.jpg) no-repeat center; padding-top:80px; padding-bottom: 120px; } .pro-box{ height: 40px; margin: 3% 44px 1% auto; } .pro-box .swiper-button-next, .pro-box .swiper-button-prev, .scope-box .swiper-button-next, .scope-box .swiper-button-prev { background-color: #fff; background-size: 14px 18px; border-radius: 0px; padding: 10px 65px; } .pro-box .swiper-button-next, .pro-box .swiper-button-prev{ border: 1px solid #d4d4d4; } @media (max-width:991px){ .product{ padding-top: 30px; } .product-box{ padding-top: 30px; padding-bottom: 30px; } .pro-info { font-size: 14px; } .pro-info ul li{ width: 100%; } .pro-info img { float: none; width: 100%; } } /* 新闻 */ .news{ background: #fff; position: relative; z-index: 1; } .news li .n-img{ overflow: hidden; } .news li .n-img img { width: 100%; transition: all 0.6s; } .news li .n-img:hover img { transform: scale(1.1); } .news li .n-title{ font-size: 18px; font-weight: 600; margin-top: 10px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .news li .n-time{ font-size: 14px; color: #969696; font-weight: 300; } .news li .n-desc{ font-size: 14px; line-height: 1.4; opacity: 0.9; margin: 10px 0px 15px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .news li .n-time:after{ content: ""; display: block; background: #ff3a3a; width: 50px; height: 3px; margin-top: 5px; } .news li .n-more { margin-top: 30px; } .n-more .more{ position: relative; display: inline-block; z-index: 2; background: rgba(0,0,0,0); width: 230px; height: 50px; font-size: 14px; font-weight: 700; text-transform: uppercase; line-height: 50px; color: #c4c4c4; transition: all .3s ease-in-out; opacity: 1; } .n-more .more:before{ content: ''; position: absolute; display: block; box-sizing: border-box; width: 70px; height: 50px; color: inherit; border: 1px solid #c4c4c4; background-color: transparent; transition: width .3s ease; right: 0; } .n-more .more .nav-label:before{ content: ''; position: absolute; display: block; width: 80px; height: 1px; top: calc(50% - 1px); background-color: currentColor; right: calc(100% + 20px); transform: translateX(0) scaleX(0); transform-origin: right; transition: all .3s ease-in-out; opacity: .4; } .n-more .more .nav-label:after{ content: 'view more'; color: #ff3a3a; display: inline-block; position: absolute; font-size: 18px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 50px; transition: all .3s ease-in-out; } .n-more .more .ion-play{ position: relative; display: inline-block; font-size: 25px; margin: 0 0 0 200px; } .n-more .more .ion-play:before{ content: "\f105"; display: inline-block; font-family: "FontAwesome"; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; text-rendering: auto; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .n-more .more .ion-play:after{ content: ''; position: absolute; display: block; right: 4px; width: 80px; height: 1px; top: calc(50% - 0px); background-color: currentColor; opacity: 1; transform: scaleX(1); opacity: 1; transition: all .3s ease-in-out; transform-origin: right; } .n-more .more:hover:before{ width: calc(100% + 0px); } .n-more .more:hover .nav-label:before{ transform: translateX(105px) scaleX(1); opacity: 1; } .n-more .more:hover .nav-label:after{ transform: translateX(85px); } .n-more .more:hover .ion-play:after{ transform: scaleX(0); opacity: .4; } .news li .n-more .more { transform: matrix(1, 0, 0, 1, 0, 0); left: 0%; } @media (max-width:991px){ .news li .n-desc { -webkit-line-clamp: 2; line-clamp: 2; font-size: 12px; } .news li .n-title{ font-size: 14px; margin-top: 0px; } .news li .n-time:before{ margin: 5px 0px; } .news li { margin-bottom: 15px; } .n-more .more { width: 170px; height: 45px; font-size: 14px; line-height: 40px; transform: matrix(1, 0, 0, 1, -170, 0); } .n-more .more:before { width: 50px; height: 45px; } .n-more .more .nav-label:after { font-size: 14px; line-height: 44px; } .n-more .more .nav-label:before { width: 45px; } .n-more .more .ion-play { font-size: 18px; margin: 0 0 0 145px; } .n-more .more .ion-play:after{ width: 55px; } .n-more .more:hover:before { width: calc(100% + 30px); } .n-more .more:hover .nav-label:after { transform: translateX(45px); } .n-more .more:hover .nav-label:before { transform: translateX(55px) scaleX(1); } }