.w-con {
    width: 1400px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width: 1450px) {
    .w-con{
        width: calc(100% - 30px);
    }
}
/*头部*/
.head {
    left: 0;
    right: 0;
    position: fixed;
    /* overflow: hidden; */
    z-index: 9999;
    background: #fff;
    transition: all 0.3s;
}
.logo {
    padding: 8px 0;
}
.head .logo img {
    max-width: 100%;
    transition: all 0.3s;
}

.head.scroll .logo img {
    height: 77px;
    transition: all 0.3s;
}

@media (max-width: 1200px) {
   .logo{
       width: 38%;
   } 
   #menu{
       width: 60%;
   }
   .nav li a{
       padding: 0 10px;
   }
}

/* 首页banner样式 */
.x-banner{
    padding-top: 100px;
}
.x-banner .owl-carousel {
    position: relative;
}

.x-banner .owl-carousel .banner-item a {
    display: block;
}

.x-banner .owl-carousel .owl-nav .owl-prev {
    left: 0;
}

.x-banner .owl-carousel .owl-nav .owl-next {
    right: 0;
}

.x-banner .owl-carousel .owl-nav button.owl-prev,
.x-banner .owl-carousel .owl-nav button.owl-next {
    outline: none;
    position: absolute;
    top: 50%;
    z-index: 9999;
    background: #424246;
    height: 65px;
    width: 50px;
    margin-top: -32.5px;
    border-radius: 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.x-banner .owl-carousel .owl-nav button.owl-prev:hover,
.x-banner .owl-carousel .owl-nav button.owl-next:hover {
    background: #FFB300;
}

.x-banner .owl-carousel .owl-nav .icon-font {
    display: block;
    width: 100%;
    height: 100%;
}

.x-banner .owl-carousel .owl-nav .icon-left-arrow:after {
    background-position: -34px -180px;
}

.x-banner .owl-carousel .owl-nav .icon-right-arrow:after {
    background-position: -26px -480px;
}

@media (max-width: 990px) {
    .x-banner{
        margin-top: 40px;
        padding-top: 0;
    }

    .x-banner .owl-carousel .owl-nav button.owl-prev,
    .x-banner .owl-carousel .owl-nav button.owl-next {
        height: 40px;
        width: 30px;
        margin-top: -20px;
    }

    .x-banner .owl-carousel .owl-nav .iconfont {
        font-size: 20px;
    }
}

.x-banner .owl-carousel .owl-dots {
    position: absolute;
    z-index: 999;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0;
    bottom: 5%;
}

.x-banner .owl-carousel .owl-dots button.owl-dot {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    margin: 0 .5em;
    outline: none;
    background: #fff;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    opacity: .2;
}

.x-banner .owl-carousel .owl-dots button.owl-dot:hover {
    opacity: .5;
}

.x-banner .owl-carousel .owl-dots button.owl-dot.active {
    opacity: 1;
}

@media (max-width: 990px) {
    .x-banner .owl-carousel .owl-dots button.owl-dot {
        font-size: 12px;
    }
}

/*关于我们*/
.w-about {
    padding: 8vh 0;
}

.w-tt {
    font-size: 43px;
    color: #000000;
    line-height: 73px;
    text-align: center;
    font: 600 43px/66px "Microsoft yahei";
}

.xian {
    width: 1200px;
    height: 1px;
    background: #e4e4e4;
    margin: 12px auto 18px auto;
}

.w-about-con p {
    color: #666666;
    font: 400 18px/36px "Microsoft yahei";
    text-align: center;
}
@media (max-width: 992px) {
    .w-about{
        padding: 6vh 0;
    }
    .w-tt{
        font: 600 22px/66px "Microsoft yahei";
    }
    .xian{
        width: 100%;
    }
    .w-about-con p{
        font: 400 16px/32px "Microsoft yahei";
    }
}

/*优势*/
.w-ys {
    background: url(../images/p_bg.jpg) no-repeat center top;
    padding-top: 80px;
}

.w-ys li {
    width: 28%;
}

.w-ys li .wz {
    height: 229px;
    background-color: #495565;
    border-top-left-radius: 30px;
    padding: 52px;
    color: #fff;
    text-align: center;
}

.w-ys li .wz span {
    display: block;
    font: 600 55px/66px "Microsoft yahei";
}

.w-ys li .wz em {
    font-style: normal;
    font: 400 20px/38px "Microsoft yahei";
    text-align: center;
}

.w-ys li .img {
    position: relative;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    transition: all 0.8s;
}

.w-ys li .img img {
    max-width: 100%;
}

.w-ys li .img a {
    transition: all 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(255, 0, 0, .6);
    opacity: 0;
    font: 400 15px/40px "Microsoft  yahei";
    text-align: center;
    color: #fff;
}

.w-ys li:hover .img {
    transition: all 0.8s;
    transform: translateY(-20px);
}

.w-ys li:hover .img a {
    transition: all 0.5s;
    opacity: 1;
    font-size: 16px;
    top: 40%;
    left: 100px;
    right: 100px;
    display: block;
    height: 40px;
    text-decoration: none;
}
@media (max-width: 1200px) {
    .w-ys{
        padding-top: 100px;
    }
    .w-ys li .wz{
        padding: 38px;
        height: 209px;
    }
    .w-ys li .wz span{
        font: 600 36px/66px "Microsoft yahei";
    }
}

@media (max-width: 768px) {
    .w-ys li{
        width: 100%;
        margin-bottom: 15px;
    }
    .w-ys li .wz{
        height: auto;
        padding: 15px;
    }
    .w-ys li .wz span{
        font: 600 30px/52px "Microsoft yahei";
    }
    .w-ys li .wz em{
        font: 400 17px/38px "Microsoft yahei";
    }
}

/*产品*/
.w-tt-p {
    font-weight: 400;
    color: #666666;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
}

.w-product {
    padding: 6vh 0;
}

.w-pro-con {
    margin-top: 6vh;
    background-color: #bbbfca;
    padding: 10vh 0;
}

.w-pro-sort li {
    width: 49%;
    margin-bottom: 3vh;
}

.w-pro-sort li .img {
    position: relative;
    width: 47%;
}

.w-pro-sort li .img>img {
    max-width: 100%;
}

.w-pro-sort li .img .bgimg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
}

.w-pro-sort li .img .bgimg img {
    height: 100%;
}

.w-pro-sort li .wz {
    position: relative;
    width: 53%;
    background-color: #e8e8e8;
    padding: 10px 20px;
}

.w-pro-sort li .wz h3 {
    text-decoration: none;
    font-size: 24px;
    color: #494949;
}

.w-pro-sort li .wz .more {
    font-size: 14px;
    color: #495464;
    position: absolute;
    bottom: 30px;
}

.w-pro-sort li:hover a {
    text-decoration: none;
}

.w-pro-sort li:hover .img .bgimg {
    opacity: 1;
}

.w-pro-sort li:hover .wz h3 {
    font-weight: 600;
}

@media (max-width: 992px) {
    .w-pro-con{
        padding: 6vh 0;
    }
}
@media (max-width: 768px) {
    .w-pro-sort li{
        width: 100%;
    }
    .w-pro-sort li .wz{
        padding: 10px;
    }
    .w-pro-sort li .wz h3{
        font-size: 20px;
    }
}

/*新闻*/
.w-news{
    padding-bottom: 6vh;
}
.w-news-list {
    margin-top: 6vh;
}

.w-news-list li {
    width: 31%;
    box-shadow: 1px 1px 5px 5px #f8f8f8;
}

.w-news-list li .img {
    position: relative;
    overflow: hidden;
}

.w-news-list li .img img {
    max-width: 100%;
}

.w-news-list li .img::after {
    transition: all 0.4s;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    content: " + ";
    font-size: 42px;
    background: rgba(210, 46, 55, .9);
    position: absolute;
    bottom: -45px;
    z-index: 999;
    left: 0;
}
.xian1 {
    width: 44px;
    height: 3px;
    background: #2561aa;
    margin: 28px 0;
}
.w-news-list li .wz{
    padding: 20px 30px;
}
.w-news-list li .wz h3{
    color: #222;
    font: 600 17px/28px "Microsoft yahei";
    word-break:keep-all;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis; 
}
.w-news-list li .wz p{
    color: #666;
    font: 400 15px/28px "Microsoft yahei";
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.w-news-list li:hover .img::after{
    transition: all 0.4s;
    transform: translateY(-45px);
}
.w-more{
    width: 200px;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin: 0px auto;
    border-radius: 50px;
    transition: all 0.4s;
    display: block;
    background: #495464;
    margin-top: 6vh;
    font: 400 17px/53px "Microsoft yahei";
    transition: all 0.8s;
}
.w-more a{
    display: block;
    color: #fff;
}
.w-more:hover{
    transition: all 0.8s;
    transform: translateY(-10px);
}
.w-more:hover a{
    text-decoration: none;
}

@media (max-width: 768px) {
    .w-news-list li{
        width: 100%;
        margin-top: 10px;
    }
    .w-news-list li .wz{
        padding: 15px;
    }
    .xian1{
        margin: 15px 0;
    }
}
/*视频*/
.w-video{
    position: relative;
    overflow: hidden;
}
.w-video-tt{
    position: absolute;
    left: 0;
    right: 0;
    top: 15vh;
    z-index: 99;
}
.w-video-tt h4{
    color: #fff;
    text-align: center;
    font: 400 25px/30px "Airal";
    text-transform: uppercase;
}
.w-video-tt h3{
    text-align: center;
    color: #fff;
    font: 600 44px/52px "Microsoft yahei";
}
.w-video-tt .videoimg{
    width: 78px;
    margin: 0 auto;
    margin-top: 5vh;
}
.w-video-tt .videoimg img{
    width: 78px;
    height: 78px;
}
.w-video .bgimg{
    background-color: #000;
}
.w-video .bgimg img{
    max-width: 100%;
    transition: all 0.8s;
    opacity: 0.9;
}
.w-video:hover .bgimg img{
    transition: all 0.8s;
    transform: scale(1.05);
}

@media (max-width: 1400px) {
    .w-video-tt{
        top: 8vh;
    }
}
@media (max-width: 992px) {
    .w-video-tt h3{
        font: 600 26px/52px "Microsoft yahei";
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

/*联系*/
.w-phone{
    background: #495464;
    padding: 6vh 0;
}
.w-phone-l p:first-child{
    color: #fff;
    font: 400 28px/30px "Microsoft yahei";
}
.w-phone-l p:nth-child(2){
    color: #fff;
    font: 200 20px/30px "Airal";
}
.w-phone-l p:nth-child(3){
    color: #97b3d6;
    font: 400 18px/30px "Airal";
}
.w-phone-r p{
    text-align: center;
    color: #fff;
    font: 400 16px/38px "Microsoft yahei";
}
.w-phone-r p img{
    width: 140px;
    padding-left: 17px;
    padding-right: 17px;
    border-left: 1px dashed #fff;
    border-right: 1px dashed #fff;
}

/*底部*/
.f-con{
    background: #f3f3f3;
}
.f-con1{
    padding: 6.6vh 0 5vh;
}
.f-con1-l{
    width: 40%;
}
.f-con1-l p img{
    max-width: 100%;
}
.f-nav{
    width: 55%;
    padding-left: 66px;
    border-left: 1px solid #ddd;
}
.f-nav li{
  
}
.f-nav li>a{
    color: #575757;
    font: 400 17px/36px "Microsoft yahei";
}
.f-nav .sec{
    margin-top: 1vh;
}
.f-nav .sec a{
    display: block;
    color: #575757;
    font: 400 15px/36px "Microsoft yahei";
}
.f-con2{
    border-top: solid 1px #dadada;
    color: #3b3b3b;
    font: 400 14px/30px "Microsoft  yahei";
    text-align: center;
    padding: 15px 0;
}
.f-con2 a{
    color: #3b3b3b;
    font: 400 14px/30px "Microsoft  yahei";    
}
.f-con2 a:hover{
    color: #222;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .f-con1-l{
        width: 100%;
    }
    .f-con1-r{
        width: 100%;
    }
    .f-nav{
        width: 100%;
    }
    .f-con2{
        padding: 10px 0;
        font: 400 14px/30px "Microsoft  yahei";
    }
    .f-con2 a{
        font: 400 14px/30px "Microsoft  yahei";
    }
}
.relateproduct.relate{
    display: none;
}

.product-detail-con{
    display: flex;
    justify-content: space-between;
}
.product-detail-con .img{
    width: 47%;
}
.product-detail-con .img img{
    max-width: 100%;
}
.product-detail-con .wz{
    width: 47%;
}
@media (max-width: 992px) {
    .product-detail-con{
        display: block;
    }
    .product-detail-con .img{
        width: 100%;
    }
    .product-detail-con .wz{
        width: 100%;
    }
}