:root {
    --theme-color: #78b124;
}

/* 分页样式 */
.page-pagination {
    text-align: center;
    width: 100%;
}

.page-pagination .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 30px 0;
    border-radius: 8px;
}

.page-pagination .pagination>li {
    display: inline;
}

.page-pagination .pagination>li>a,
.page-pagination .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: var(--theme-color);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.page-pagination .pagination>li:first-child>a,
.page-pagination .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.page-pagination .pagination>li:last-child>a,
.page-pagination .pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.page-pagination .pagination>li>a:focus,
.page-pagination .pagination>li>a:hover,
.page-pagination .pagination>li>span:focus,
.page-pagination .pagination>li>span:hover {
    z-index: 2;
    color: var(--theme-color);
    background-color: #eee;
    border-color: #ddd;
}

.page-pagination .pagination>.active>a,
.page-pagination .pagination>.active>a:focus,
.page-pagination .pagination>.active>a:hover,
.page-pagination .pagination>.active>span,
.page-pagination .pagination>.active>span:focus,
.page-pagination .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.page-pagination .pagination>.disabled>a,
.page-pagination .pagination>.disabled>a:focus,
.page-pagination .pagination>.disabled>a:hover,
.page-pagination .pagination>.disabled>span,
.page-pagination .pagination>.disabled>span:focus,
.page-pagination .pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.page-pagination .pagination .jumpto {
    display: inline-block;
    margin-left: 2px;
}

.page-pagination .pagination .jumpto input {
    padding: 6px;
    /* line-height: 1.42857143; */
    color: #2c3e50;
    background-color: #fff;
    border: 1px solid #ddd;
    float: left;
    height: 31px;
}

.page-pagination .pagination .jumpto .page_number {
    width: 45px;
    margin-right: -1px;
    height: 17px;
}

.page-pagination .pager {
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}

/* 详情页的上一页下一页 */
.next-prev {
    margin-top: 40px;
    padding: 20px 0;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.next-prev .next-prev-left,
.next-prev .next-prev-right {
    font-size: 14px;
    color: #666;
}

.next-prev .next-prev-right {
    text-align: right;
}

.next-prev a {
    color: var(--theme-color);
}


/* ================================ nav.html START ================================ */
.header .logo {
    width: 190px;
}

.header .logo img {
    width: 100%;
}

@media screen and (max-width: 991px) {
    .header .logo {
        width: auto;
    }
}

.header-contact {
    display: flex;
    align-items: center;
}

.language-info .language-ico {
    border-color: #000 transparent transparent transparent;
}

.nav-bar {
    width: 100%;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: box;
    display: flexbox;
    display: flex;
    justify-content: center;
}

.header .nav {
    width: auto;
    margin: auto;

}

.nav ul li ul {
    left: 0;
    transform-origin: top;
    /* 或者 center */
}

.layout .language .language-cont ul li>a,
.layout .language .language-flag>a {
    display: flex;
    align-items: center;
    padding: 3px 0;
}

.layout .language .language-flag>a span {
    color: #666;
}

.layout .language .country-flag img {
    width: 20px;
}

.language .language-cont {
    width: 165px;
}

.language .language-cont ul li {
    width: auto;
}

.header .nav ul li ul li ul {
    left: 260px;
}

.header .nav li a {
    line-height: 30px !important;
    min-height: 60px;
    display: flex !important;
    align-items: center;
    padding: 5px 0;
    box-sizing: border-box;
}

.owl-carousel .owl-stage-outer {
    width: 100%;
}

#home-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#home-banner img {
    width: 100%;
}

#home-banner .swiper-horizontal>.swiper-pagination-bullets,
#home-banner .swiper-pagination-bullets.swiper-pagination-horizontal,
#home-banner .swiper-pagination-custom,
#home-banner .swiper-pagination-fraction {
    bottom: 20px;
}

#home-banner .swiper-pagination-bullet-active {
    background: var(--theme-color);
}

@media screen and (max-width: 991px) {
    .header .nav ul {
        float: none;
    }

    .header .nav nav ul ul {
        min-width: unset;
    }

    .header .nav li a {
        box-sizing: content-box;
    }

    .header-contact {
        display: block !important;
        padding: 0;
    }

    .header .header-contact .head-phone,
    .header .header-contact .head-mail {
        display: none;
    }

    .language-cont {
        top: 50px !important;
    }

    #home-banner .swiper-horizontal>.swiper-pagination-bullets,
    #home-banner .swiper-pagination-bullets.swiper-pagination-horizontal,
    #home-banner .swiper-pagination-custom,
    #home-banner .swiper-pagination-fraction {
        bottom: 10px;
    }
    #home-banner {
        margin-top: 50px;
    }
}

/* ================================ nav.html END ================================ */




/* ================================ index.html START ================================ */
.index .index-product .item span {
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
}

/* .index .about-content {
    height: auto;
} */

.index-product .item .product-info {
    background-size: 15%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    line-height: 18px;
}

@media screen and (min-width: 992px) {
    .index.product .layout {
        display: flex;
        align-items: center;
    }

    .index.about {
        /* background-size: 40% 100%; */
        background-size: contain;
        background-position: left center;
    }

    .index .about-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ================================ index.html END ================================ */



/* ================================ footer.html START ================================ */
/*顶部社交*/
.social-link {
    margin: 15px 0;
    overflow: hidden;
}

.social-link ul {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.social-link ul li {
    margin-right: 5px;
}

.social-link a {
    position: relative;
    color: #fff;
    margin-right: 5px;
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .social-link a:hover {
    background-color: #191919;
    color: var(--theme-color);
} */
.social-link span.iconfont {
    color: #fff;
    font-size: 30px;
}

.social-link svg.icon {
    width: 30px;
    height: 30px;
}

/* ================================ footer.html END ================================ */


/* ================================ list_video.html START ================================ */
.block .class-content .news-item {
    padding: 15px;
}

.block .class-content .news-item .news-img {
    position: relative;
}

.block .classes .class-info p {
    margin-bottom: 10px;
}

/* ================================ list_video.html END ================================ */


/* 内页统一设置 */
.block .classes p,
.block .product-right .product-info p,
.block .product-right .product-info a p {
    text-align: left;
}

.block .class-content .news-item .news-info .news-btn {
    margin: 20px auto;
}

.block .class-content .news-item .news-img img {
    height: auto;
}

.block .classes {
    padding-bottom: 40px;
}

.block .classes h1 {
    margin-bottom: 20px;
}

.layout-mobile {
    padding: 30px 40px;
}

/* detail_contact */
.block .class-content .form .form-item input[type="button"] {
    background-color: #303030;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    width: 200px;
    margin-top: 20px;
}

.block .class-content .form .form-item input[type="button"]:hover {
    background-color: var(--theme-color);
}

.block .class-content .form .form-item textarea,
.block .class-content .form .form-item input {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

.search-content #search {
    box-sizing: border-box;
    z-index: 99;
    font-size: 0;
}

/* detail_product.html */
.shown_products_b_a .descr {
    font-size: 14px;
}

.search-block {
    padding-top: 80px;
}

.block .product-right .opt a {
    color: #78b124;
}

/* 手机版 */
@media screen and (max-width: 991px) {

    .header .layout,
    .header .logo,
    .header .logo a {
        height: 100%;
    }

    .header .logo img {
        height: 100%;
        object-fit: contain;
    }

    .language .language-cont ul li {
        width: 100%;
        text-align: left;
    }

    #owl-banner .owl-dots {
        width: 100%;
    }

    .owl-theme .owl-dots .owl-dot span {
        width: 25px;
        height: 8px;
    }

    .index {
        margin: 35px 0 15px 0;
    }

    div.index.product {
        margin-bottom: 0;
    }

    div.index.about {
        background-size: 100% 100%;
        background-attachment: fixed;
    }

    .cont .banner {
        padding-top: 50px;
    }

    .index .about-content span,
    .index .about-content p {
        color: #666 !important;
    }

    .index .about-content p {
        text-align: left !important;
    }

    .layout-mobile {
        padding: 10px;
    }

    .block .class-content .news-item {
        padding: 10px;
    }

    .footer-cont .footer-news .footer-news {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer {
        padding: 0px 15px 40px;
    }

    .footer-wrapper {
        padding-top: 0 !important;
    }

    .block .classes img {
        max-width: 100%;
    }

    .im {
        bottom: 50px !important;
    }

    .search-block {
        padding-top: 0;
    }
}