/* 二级导航 */
.tab-box{
    width: 20%;
}
.secondary{
    background: #F8F8F8;;
    border-bottom: 1px solid #DDDDDD;
}


/* 行业客户 */
.introduction{
    font-size: 24px;
    font-family: SourceHanSansCN-Regular;
    /* font-weight: 400; */
    color: #666666;
    line-height: 2;
    text-align: center;
    margin-top: 20px;
}

.customer-title{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.customer-title span{
    width: 175px;
    height: 45px;
    font-size: 16px;
    font-family: Source Han Sans CN;
    /* font-weight: 400; */
    color: #333333;
    line-height: 2;
    display: inline-block;
    background: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.customer-title span:last-child{
    margin-right: 0;
}

.customer-title span:hover,.tab-title{
    border: 1px solid #EC1E24;
    color: #EC1E24 !important; 
}

.tab-content{
    margin-top: 45px;
}
.image {
    display: grid;
    grid-template-columns: repeat(6,16.65%);
}
.image .img {
    /* border-top: 1px solid #E9E9E9; */
    border-bottom: 1px solid #E9E9E9;
    border-left: 1px solid #E9E9E9;
    /* padding: 40px 45px;
    box-sizing: border-box; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}
.image .img:nth-child(-n+6) {
    border-top: 1px solid #E9E9E9;
}
.image .img:nth-child(6n){
    border-right: 1px solid #E9E9E9;
}

.image .img img { 
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
}
/* swiper */
.swiper-containers {
    width: 100%;
    height: auto;
    margin: 20px auto;
}
.swiper-containers .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.logo-box{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #E9E9E9;
    border-top: 1px solid #E9E9E9;
}

.logo-box>div{
    width: calc(100% / 6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    border-right: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
}

.logo-box>div>img{
    width: auto;
    height: auto;
}

/* .tab-content>div{
    display: none;
}

.tab-content>div:first-child{
    display: block;
} */
@media (max-width:1440px) {
    .introduction {
        font-size: 20px;
    }
}
@media (max-width:1280px) {
    .logo-box>div {
        width: calc(100% / 5);
    }
    .image .img img {
        transform: scale(0.9);
    }
    .text-box p, .partner-txt {
        width: 84%;
        line-height: 1.7;
    }
    .yh:nth-of-type(1) {
        top: -12px;
    }
    .partner-txt {
        margin-top: 25px;
    }
    .tab-box {
        width: 34%;
    } 
    .image {
        grid-template-columns: repeat(4,25%);
    }
    .image .img {
        /* padding: 30px 35px; */
        border-top: unset;
    }
    .image .img:nth-child(4n) {
        border-right: 1px solid #E9E9E9 !important;
    }
    .image .img:nth-child(-n+4) {
        border-top: 1px solid #E9E9E9;
    }
    .image .img:nth-child(-n+6),.image .img:nth-child(6n) {
        border-right: none;
    }
    .image .img:nth-child(6) ,.image .img:nth-child(5){
        border-top: none;
    }
    .image .img:nth-last-child(1) {
        border-right: 1px solid #E9E9E9;
    }
    .introduction {
        font-size: 18px;
    }
}
@media (max-width:1024px) {
    .logo-box>div {
        width: calc(100% / 4);
    }
    .image .img img {
        transform: scale(0.8);
    }
    .introduction {
        /* font-size: 14px; */
        line-height: 2;
        margin-top: 10px;
    }
    .tab-content {
        margin-top: 30px;
    }
    .tab-box {
        width: 34%;
    } 
    .text-box p, .partner-txt {
        font-size: 14px;
        line-height: 1.5;
    }
    .partner-txt {
        margin-top: 10px;
    }
    .partner-button-prev {
        left: 1.5%;
    }
    .partner-button-next {
        right: 1.5%;
    }
    .swiper-partner .swiper-wrapper {
        width: 84%;
    }
    .image .img:nth-child(-n+6) {
        border-top: none;
    }
    .image .img:nth-child(-n+2) {
        border-top: 1px solid #E9E9E9;
    }
    .image .img:nth-child(-n+4) {
        border-top: 1px solid #E9E9E9 ;
    }
    .image .img:nth-child(4n) {
        border-right: 1px solid #E9E9E9;
    }
}

@media (max-width:767px) {
    .introduction {
        font-size: 16px;
    }
    .image .img:nth-child(-n+2) {
        border-top: 1px solid #E9E9E9 !important;
    }
    .image .img:nth-child(-n+4) {
        border-top: none;
    }
    .logo-box>div {
        width: calc(100% / 2);
    }
    .text-box p, .partner-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .yh:nth-of-type(1) {
        left: -5px;
    }
    .yh img {
        transform: scale(0.5);
    }
    .partner-top>img {
        height: 200px;
        width: auto;
    }
    .yh:nth-of-type(2) {
        right: -5px;
    }
    .image {
        grid-template-columns: repeat(2,50%);
    }
  
    /* .image .img:nth-child(-n+2) {
        border-bottom: unset;
    } */
    .image .img:nth-child(2n) {
        border-right: 1px solid #E9E9E9 !important;
    }
}
