.swiper-pagination-banner{
    position: absolute;
    bottom: 5% !important;
}
.swiper-pagination-banner .swiper-pagination-bullet{
    background-color: #fff;
    border-radius: 0;
    width: 10px;
    height: 10px;
}
.swiper-button-next-banner, .swiper-button-prev-banner{
    width: 56px;
    height: 56px;
    background-color: rgba(50, 47, 46,0.3);
}
.swiper-button-next-banner{
    right: 0;
}
.swiper-button-next-banner::after{
    background-image: url(/lib/images/icon_right.svg);
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    width: 16px;
    height: 16px;
}
.swiper-button-prev-banner{
    left: 0;
}
.swiper-button-prev-banner::after{
    background-image: url(/lib/images/icon_left.svg);
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    width: 16px;
    height: 16px;
}

.title h2{
    font-size: 0.48rem;
    color: #322F2E;
    text-align: center;
}

main .banner .swiper-slide .txt{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 900px;
    width: 100%;
}
main .banner .swiper-slide .txt h2{
    color: #fff;
}
main .banner .swiper-slide .txt h3{
    text-align: center;
    font-size: 0.32rem;
    line-height: 0.48rem;
    color: #fff;
}
main .banner .swiper-slide .mask{
    position: absolute;
    width: 100%;
    height: 150px;
    background: linear-gradient(rgba(50, 47, 46,0),rgba(50, 47, 46,0.5));
    left: 0;
    bottom: 0;
}

main .products{
    padding: 1rem 0;
    background-color: #f0f0f0;
}
main .products .content>p{
    font-size: 0.16rem;
    line-height: 0.24rem;
    color: #514F4E;
    text-align: center;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 0.6rem;
}
main .products .swiper{
    width: 100%;
}
main .products .swiper .cart .img{
    width: 100%;
    position: relative;
    overflow: hidden;
}
main .products .swiper .cart .img>img{
    width: 100%;
    transition: all 0.5s;
}
main .products .swiper .cart:hover .img>img{
    transform: scale(1.1);
}
main .products .swiper .cart:hover .img .mask{
    opacity: 1;
}
main .products .swiper .cart .img .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-color: rgba(50, 47, 46,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s;
}
main .products .swiper .cart .img .mask .mask_img{
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EBEBEB;
}

main .products .swiper .cart .txt{
    width: 100%;
    padding: 20px;
    border: 1px solid #322F2E;
    margin-top: 20px;
}
main .products .swiper .cart:hover .txt{
    background-color: #322F2E;
}
main .products .swiper .cart .txt p{
    color: #322F2E;
    text-align: center;
}
main .products .swiper .cart:hover .txt p{
    color: #fff;
}

main .projects{
    padding: 1rem 0;
}
main .projects .row{
    margin-left: -10px;
    margin-right: -10px;
}
main .projects .row .col-xl-4{
    padding-left: 10px;
    padding-right: 10px;
}
main .projects .cart{
    position: relative;
    margin-bottom: 20px;
}
main .projects .cart .img{
    width: 100%;
}
main .projects .cart .img img{
    width: 100%;
}
main .projects .cart .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.5s;
    background-color: rgba(50, 47, 46,0.7);
}
main .projects .cart .mask:hover{
    opacity: 0;
}
main .projects .cart .mask h3{
    font-size: 0.22rem;
    font-family: 'AlibabaSans';
    position: relative;
    z-index: 9;
    text-align: center;
}
main .projects .cart .mask .line{
    width: 80px;
    height: 6px;
    background-color: #fff;
    margin: 8px 0;
    margin-bottom: 16px;
    position: relative;
    z-index: 9;
}
main .projects .cart .mask p{
    opacity: 0;
    transition: all 0.5s;
    position: relative;
    z-index: 9;
}
/* main .projects .cart .mask::after{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(50, 47, 46,0.7);
    content: '';
    transition: all 0.5s;
} */
main .projects .cart:hover .mask::after{
    height: 100%;
}
main .projects .cart:hover .mask p{
    opacity: 1;
}
main .projects .content>a{
    margin: 0 auto;
    margin-top: 0.4rem;
}

main .service{
    padding-bottom: 1rem;
}
main .service .content{
    display: flex;
    align-items: center;
}
main .service .content .left{
    max-width: 555px;
    width: 100%;
    margin-right: 0.5rem;
}
main .service .content .right{
    flex: 1;
}
main .service .content .right h2{
    display: inline-block;
    margin-bottom: 0;
}
main .service .content .right .four_box{
    margin-top: .6rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
main .service .content .right .four_box .box{
    width: 48%;
    display: flex;
    margin-bottom: .4rem;
}
main .service .content .right .four_box .box .box_l{
    flex-shrink: 0;
    margin-right: 0.2rem;
    width: 8px;
    height: 16px;
    background-color: #C9A063;
    margin-top: 7px;
}

main .service .content .right .four_box .box .box_l img{
    display: none;
}

main .service .content .right .four_box .box .box_r h3{
    color: #514F4E;
    font-size: 0.2rem;
    font-family: 'AlibabaSans';
    margin-bottom: 10px;
}
main .service .content .right .four_box .box .box_r p{
    line-height: 0.24rem;
    color: #322F2E;
}


main .hot {
    padding-bottom: 1rem;
    position: relative;
    
}
main .hot>.mask{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(240, 240, 240,0),rgba(240, 240, 240,1));;
}
main .hot> .img_bg{
    position: absolute;
    width: 100%;
    height: 4rem;
    background-image: url(/lib/images/hot_bg.png);
    background-repeat: repeat;
    left: 0;
    bottom: 0;
}
main .hot> .img_bg .img_mask{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(246, 246, 246,1),rgba(240, 240, 240,0.7));;
}
main .hot .content{
    position: relative;
}
main .hot .row{
    margin-left: 1px 10px;
    margin-right: -10px;
}
main .hot .row .col-xl-3{
    padding-left: 10px;
    padding-right: 10px;
}
main .hot .cart{
    margin-bottom: 20px;
}
main .hot .cart .top{
    position: relative;
    overflow: hidden;
}
main .hot .cart .top img{
    transition: all 0.5s;
    width: 100%;
    object-fit: cover;
}
main .hot .cart:hover .top img{
    transform: scale(1.1);
}
main .hot .cart .top .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(50, 47, 46,0.15);
    content: '';
    transition: all 0.5s;
    opacity: 0;
}
main .hot .cart:hover .top .mask{
    opacity: 1;
}
main .hot .cart .btm{
    width: 100%;
    height: 56px;
    background-color: #EBEBEB;
    transition: all 0.5s;
}
main .hot .cart .btm p{
    color: #514F4E;
}
main .hot .cart:hover .btm{
    background-color: #322F2E;
}
main .hot .cart:hover .btm p{
    color: #fff;
}
main .hot .content>a{
    margin: 0 auto;
    margin-top: 0.6rem;
}

main .about{
    display: flex;
}
main .about .left{
    max-width: 50%;
    width: 100%;
}
main .about .left img{
    height: 100%;
    object-fit: cover;
}
main .about .right{
    flex: 1;
    background-color: #322F2E;
    color: #fff;
}
main .about .right .txt{
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
    padding: 0 30px;
}
main .about .right h2{
    color: #fff;
    text-align: center;
    padding-top: 0.6rem;
}
main .about .right h3{
    font-size: 0.2rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 0.3rem;
}
main .about .right p{
    text-align: center;
    opacity: 0.7;
    margin-bottom: 0.6rem;
    line-height: 0.24rem;
}
main .about .right a{
    position: relative;
    text-align: center;
    display: block;
    padding-bottom: 2rem;
    color: #fff;
    font-family: 'AlibabaSans';
}
main .about .right a::after{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    width: 124px;
    height: 2px;
    background-color: #fff;
    content: '';
    
}
main .about .right .img{
    width: 100%;
    height: 1.35rem;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}
main .about .right .img img{
    width: 100%;
}


main .certification .swiper-certification{
    border-bottom: 4px double #c0c0c0;
    padding: 0.48rem 0;
}
main .certification .swiper-slide .img{
    width: 112px;
    height: 162px;
    margin: 0 auto;
}

main .news{
    padding: .8rem 0;
}
main .news .swiper{
    margin-top: 0.6rem;
}
main .news .cart .img{
    width: 100%;
    position: relative;
    overflow: hidden;
}
main .news .cart .img .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-color: rgba(50, 47, 46,0.7);
    opacity: 0;
    transition: all 0.5s;
}
main .news .cart:hover .img .mask{
    /* opacity: 1; */
}
main .news .cart .img img{
    width: 100%;
    transition: all 0.5s;
}
main .news .cart:hover .img img{
    transform: scale(1.1);
}
main .news .cart .txt{
    padding: .3rem;
    background-color: #F0F0F0;
    position: relative;
}
main .news .cart .txt::after{
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #322F2E;
    content: '';
    left: 0;
    bottom: 0;
    transition: all 0.5s;
}
main .news .cart:hover .txt::after{
    width: 100%;
}
main .news .cart .txt h3{
    -webkit-line-clamp: 1;
    margin-bottom: .16rem;
    font-size: 0.2rem;
    font-family: 'AlibabaSans';
    color: #514F4E;
}
main .news .cart .txt p{
    -webkit-line-clamp: 2;
    color: #666;
    margin-bottom: .2rem;
}
main .news .cart .txt p.icon{
    width: 60px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #c0c0c0;
}
main .news .cart .txt p.icon .b{
    fill: #c0c0c0;
}
main .news .cart:hover .txt p.icon{
    background-color: #322F2E;
    border: 1px solid #322F2E;
}
main .news .cart:hover .txt p.icon .b{
    fill: #fff;
}

main .news .content a.btn.more{
    margin: 0 auto;
    margin-top: 0.6rem;
}

@media (max-width:1279px) {
    main .service .content .left{
        max-width: 40%;
    }
    main .about .right .img{
        width: 85%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width:1023px) {
    main .service .content{
        flex-direction: column;
        align-items: start;
    }
    main .service .content .left{
        max-width: 80%;
        margin-bottom: 30px;
    }


}

@media (max-width:767px) {
    
    main .banner .swiper-slide .mask{
        opacity: 0;
    }
    main .banner .swiper-slide .txt{
        max-width: 80%;
    }
    main .banner .swiper-slide .txt h2{
        font-size: 20px;
        margin-bottom: 10px;
    }
    main .products .content>p{
        line-height: 1.6;
    }
    main .projects .cart .mask .line{
        display: none;
    }
    main .projects .cart .mask p{
        display: none;
    }
    main .service .content .right .four_box .box{
        width: 100%;
    }
    main .about{
        flex-direction: column;
    }
    main .about .left{
        max-width: 100%;
    }
    main .service .content .left{
        max-width: 100%;
        margin-right: 0;
    }
    main .about .right p{
        line-height: 1.6;
    }
    main .service .content .right .four_box .box .box_r p{
        line-height: 1.6;
    }
    main .projects .cart .mask h3{
        font-size: 0.3rem;
    }
}



