﻿

/* banner图 */
.bannerList{
  overflow: hidden;
  position: relative;
}
.bannerList li{
  width: 100%;
}
.bannerList li .imgBox{
  width: 100%;
  padding-bottom: 41.66%;
  box-shadow: 0 0 0 0 red;
}
@media (max-width: 768px) {
    .banner-swiper-next,
    .banner-swiper-prev {
        display: none;   
    }
}
/* banner图 end*/

/*解决方案*/
.programme .type span{
    display: block;
    float: left;
    width: 25%;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}
    .programme .type span a {
     position: relative;   
    }
.programme .type span a:before {
    content: "";
    display: block;
    height: 2px;
    background-color: #c1202f;
    position: absolute;
    bottom: -10px;
    left: 50%;
    right: 50%;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
    .programme .type span.on a {
        color: #c1202f;
    }
.programme .type span.on a:before {
    left: 0;
    right: 0;
}
.programme .list li {
    display: none;
}
.programme .list li:first-child,
.programme .list li.on {
    display: block;
}
.programme .list li .r-img{
    float: left;
    width: 800px;
    height: 580px;
    max-width: 70%;
}
.programme .list li .imgBox {
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
}
    .programme .list li .text {
        overflow: hidden;
        background-color: #333333;
        color: #fff;
        height: 580px;
        padding: 45px 30px;
        box-sizing: border-box;
    }
        .programme .list li .text .t {
            font-size: 26px;
            margin-bottom: 60px;
        }
        .programme .list li .text p {
            font-size: 15px;
            line-height: 30px;
            min-height: 180px;
        }
        .programme .list li .text .btn {
            margin-top: 20px;
            transition: 0.5s;
        }
        .programme .list li .text .btn span {
            display: inline-block;
            font-size: 16px;
            width: 140px;
            text-align: center;
            height: 40px;
            line-height: 40px;
            background-color: #e13036;
            color: #fff;
            transition: 0.5s;
        }
    .programme .list li .text .btn span:hover{
        width: 160px;
    }
@media (max-width: 768px) {
    .programme .type {
        display: flex;
        justify-content: space-around;
        margin-bottom: 10px;
    }
    .programme .type.fn-clear:after {
        display: none
    }
    .programme .type span {
        height: auto;
        line-height: 1.5;
        font-size: 13px;
        width: 4em;
        box-sizing: content-box;
        padding: 5px 25px;
        margin-bottom: 10px;
    }
    .programme .type span:last-child {
        display: none;
    }
    .programme .list li .r-img {
        width: 100%;
        max-width: none;
        float: none;
        height: 72.5vw;
    }
    .programme .list li .text {
        height: auto;
        padding: 15px;
    }
    .programme .list li .text .t {
        display: none;
    }
    .programme .list li .text .btn {
        display: none;
    }
        .programme .list li .text p {
            min-height: auto;
            font-size: 12px;
            line-height: 1.8;

            overflow : hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
}

/*产品中心*/
.product{
    overflow: hidden;
    padding-top: 35px;
}
.product .typeList {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
    .product .typeList a {
        display: inline-block;
        padding: 0 30px;
        height: 50px;
        line-height: 50px;
        border-radius: 5px;
    }
        .product .typeList a:hover {
            background: #e03136;
            color: #fff;
        }

    .product .imgTypeList {
        overflow: hidden;
    }
    .product .imgTypeList .imgBox {
    width: 100%;
    padding-bottom: 41.66%;
}
.productImgList {
    margin-top: 40px;
}
    .productImgList .swiper-wrapper{
    -webkit-transition-timing-function: linear !important; 
    -moz-transition-timing-function: linear !important;
    -ms-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

    .productImgList {
            position: relative;
        box-sizing: border-box;
    }
        .productImgList .pBox {
        overflow: hidden;
        position: relative;
        }
            .productImgList .pBox:before,
            .productImgList .pBox:after {
                content: "";
                position: absolute;
                top: 0;
                height: 100%;
                width: 40px;
                display: block;
                z-index: 2;
            }
            .productImgList .pBox:before {
                left: 0;
                background-image: linear-gradient(to right, rgba(255,255,255,1) , rgba(255,255,255,0));
            }
            .productImgList .pBox:after {
                right: 0;
                background-image: linear-gradient(to right, rgba(255,255,255,0) , rgba(255,255,255,1));
            }
    .productImgList li {
        width: 20%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .productImgList .imgBox{
        padding-bottom: 78%;
        border: 1px solid #ddd;
    }
        .productImgList li dd {
            text-align: center;
            background-color: #d7e0e5;
            height: 40px;
            line-height: 40px;
            margin-top: 10px;
        }
        .productImgList li:hover dd {
            background: #e03136;
            color: #fff;
        }
        .productImgList li:hover dd a{
            color: #fff;
        }
.product-swiper-next,
.product-swiper-prev
 {
    width: 34px;
    height: 66px;
    margin-top: -33px;
    background-color: #d7e0e5;
        background-size: 20px 33px;
}
    .product-swiper-next:hover{
        background-color: #e03136;
        background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    }
    .product-swiper-prev:hover {
        background-color: #e03136;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    }

.smallImgTypeList {
    width: 80%;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
}
.smallImgTypeList li {
    width: 25%;
    float: left;
    border: 2px solid #ccc;
    padding: 1px;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}
    .smallImgTypeList .swiper-container {
        overflow: hidden;
    }
    .smallImgTypeList li .imgBox {
        padding-bottom: 41.66%;
        overflow: hidden;
    }
        .smallImgTypeList li .imgBox:before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255,255,255,.4);
            z-index: 2;
        }
    .smallImgTypeList .swiper-slide {
    }

    .smallImgTypeList .swiper-slide-thumb-active .imgBox:before{
      display: none;
    }
    .smallImgTypeList .swiper-slide-thumb-active {
        border-color: #e03136;
    }
@media (max-width: 768px) {
    .product {
        padding-top: 0;
    }
        .product .typeList {
            display: none;
        }
    .product .typeList > span {
        display: none;
    }
    .product .typeList a {
        border: 2px solid #e03136;
        border-radius: 16px;
        padding: 0 1em;
        line-height: 1.5em;
        height: 1.5em;
        margin: 5px;
        font-size: 14px;
        box-sizing: content-box;
    }
    .smallImgTypeList {
        width: 90%;
        margin-top: -4%;
    }
    .productImgList li {
        padding: 0 5px;
        border-width: 1px;
    }
        .productImgList li dd {
            height: 25px;
            line-height: 25px;
            font-size: 13px;
        }
    .productImgList {
        margin-top: 20px;
    }

}

.typeList-m {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 7px 26px;
}
.sideList-next, .sideList-prev {
    height: 100%;
    width: 26px;
    top: 0;
    margin-top: 0;
    background-color: #fff;
    background-size: auto 40%;
    z-index: 666;
}
.sideList-next.swiper-button-disabled, .sideList-prev.swiper-button-disabled {
        display: block;
    }
.sideList-next {
    right: 0;
}
.sideList-prev {
    left: 0;
}
.typeList-m li{
    width: auto;
    font-size: 14px;
    height: 35px;
    line-height: 35px;
}
.typeList-m li.on a {
    color: #fff;
    background-color: #0a0b20;
    font-weight: bold;
}
.typeList-m li a {
    display: block;
    padding: 0 1em;
}
@media (max-width: 768px) {
    .product .typeList-m{
       display: block;
    }
}

/*新闻中心*/
.news .newsType{
    text-align: center;
}
.news .newsType a{
    display: inline-block;
    width: 150px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 10px;
    background-color: #e6e6e6;
    color: #666666;
}
    .news .newsType a.on,
    .news .newsType a:hover {
        background-color: #e03136;
        color: #fff;
    }
.news .newsList {
    margin-top: 30px;
}
.news .newsList .l {
    float: left;
    width: 44%;
    box-sizing: border-box;
    padding-right: 20px;
    margin-bottom: 20px;
}
.news .newsList .r {
    float: right;
    width: 56%;
}
.news .newsList .l .imgBox {
    padding-bottom: 58%;
}
.news .newsList .l .t{
    font-size: 20px;
    color: #666666;
    font-weight: bold;
    margin-top: 15px;
    
}
.news .newsList .l:hover .t{
    color: #e13036;
    
}
.news .newsList .l p {
    font-size: 14px;
    color: #666;
    height: 20px;
    line-height: 20px;
    margin-top: 5px;

    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news .newsList .r li {
    margin-bottom: 20px;
    
}
.news .newsList .r li .time {
    width: 120px;
    text-align: center;
    float: left;
}
.news .newsList .r li .time .d{
    font-size: 40px;
    color: #666;
    background-color: #e6e6e6;
    height: 85px;
    line-height: 85px;
}
.news .newsList .r li:hover .time .d{

    color: #fff;
    background-color: #e03136;

}
    .news .newsList .r li .time .y {
        font-size: 14px;
        background-color: #666;
        color: #fff;
        height: 25px;
        line-height: 25px;
    }
.news .newsList .r li .cont {
    overflow: hidden;
    height: 70px;
    background-color: #f2f2f2;
    padding: 20px;
}
    .news .newsList .r li .cont .t {
        font-size: 20px;
        color: #666666;
        line-height: 1;
    }
    .news .newsList .r li:hover .cont .t a{
        color: #e03136; 
    }
    .news .newsList .r li .cont p {
        font-size: 14px;
        color: #999999;
        line-height: 20px;
        height: 40px;
        overflow: hidden;
        margin-top: 10px;

        display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: normal;
    }
@media (max-width: 768px) {
    .news .newsType a {
        width: 30%;
        margin: 0;
        height: 35px;
        line-height: 35px;
        font-size: 15px;
    }
    .news .newsList {
        padding-left: 10px;
        padding-right: 10px;
    }
    .news .newsList .l,
    .news .newsList .r {
        float: none;
        width: 100%;
    }
    .news .newsList .l {
        padding-right: 0;
        margin-bottom: 30px;
    }
        .news .newsList .l .t {
            font-size: 18px;
        }
        .news .newsList .l p {
            font-size: 13px;
            height: auto;

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: normal;
        }
        .news .newsList .r li .cont .t {
            font-size: 18px;
        }
        .news .newsList .r li .cont p {
            font-size: 13px;
        }
        .news .newsList .r li .time .d {
            font-size: 25px;
            height: 75px;
            line-height: 75px;
        }
        .news .newsList .r li .time {
            width: 100px;    
        }
            .news .newsList .r li .time .y {
                font-size: 13px;
            }
        .news .newsList .r li .cont {
            padding: 15px;
        }
}