@font-face {
    font-family: 'Source Han Serif';
    src: url('../font/sy2.otf');

}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';
}

li {
    list-style: none;
}


.header {
    width: 100%;
    background: rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    padding: 20px 70px;
    box-sizing: border-box;
    z-index: 10;
}

.headerSroll {
    background: #6b9a5b;
    transition: all 1s;
}

.header .menu {
    cursor: pointer;
    transition: all 0.5s ease-in-out;

}

.header .menu:hover {
    transform: scale(1.3);
}

.header .search {
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.header .search:hover {
    transform: scale(1.3);
}

.header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header .logo .title {
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
    font-family: 'Source Han Serif';
}


.menu_box {
    color: #fff;
    font-size: 16px;
    width: 100%;
}

.menu_box .title {
    font-size: 24px;
    margin-top: 20%;
    text-align: center;

}

.menu_box .close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: rotate(0deg);
    font-size: 20px;

}

.menu_box .close:hover {
    transform: rotate(180deg);
}

.menu_box ul {
    width: 70%;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: 8vw;
}

.menu_box li {
    text-align: center;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
}

.menu_box li a {
    color: #fff;
}

.menu_box>ul>li:hover a {
    color: #6b9a5b;
    font-weight: bold;
}

.menu_box>ul>li a {
    position: relative;

}

.menu_box>ul>li .active::after {
    content: '';
    width: 40px;
    height: 4px;
    background: #6b9a5b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);

}

.headerSroll .menu_box>ul>li .active::after {
    content: '';
    width: 40px;
    height: 4px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);

}

.headerSroll .menu_box>ul>li:hover a {
    color: #fff;
    font-weight: bold;
}

.header_bottom .menu_box li a {
    color: #333333;
}

.banner_box {
    width: 100%;
    height: auto;
    line-height: 0;
}

.banner_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #e5e5e5;
}

.nav ul {
    display: flex;
    padding: 0 120px;
    box-sizing: border-box;

}

.nav ul li {
    width: 160px;
    height: 100%;
    line-height: 80px;
    text-align: center;
    cursor: pointer;

}

.nav ul li {
    text-align: center;
    color: #222222;
    font-size: 16px;
}

.nav ul .active {
    background: #6b9a5b;
}

.nav ul .active {
    color: #fff;

}


.news {
    padding: 0 120px;
    box-sizing: border-box;
    margin-top: 90px;
    margin-bottom: 100px;
}


.news .content {
    margin-top: 50px;
}

.news .content .item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-bottom: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
}

.news .content .item .img_box {
    width: 316px;
    height: 220px;
    overflow: hidden;
}

.news .content .item .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}

.news .content .item .text_box {
    margin-left: 40px;
    flex: 1;
}

.news .content .item .text_box .title {
    font-size: 22px;
    font-weight: bold;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    display: box;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news .content .item .text_box .desc {
    font-size: 16px;
    line-height: 30px;
    color: #666666;
    margin-top: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    display: box;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news .content .item .text_box .date {
    font-size: 16px;
    line-height: 30px;
    color: #666666;
    margin-top: 30px;

}

.news .content .item:hover .img_box img {
    transform: scale(1.05);

}

.news .content .item:hover .text_box .title {
    color: #6b9a5b;
}

.footer {
    width: 100%;
    background: url('../images/footer_bg2.png') no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    color: #555454;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 120px 20px;
    box-sizing: border-box;

}

.footer>a {
    margin: 0 auto;
}

.footer .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.footer .top .left {
    color: #555454;
    font-size: 14px;
}

.footer .top .right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.footer .top .right span {
    color: #fff;
}

.footer .top .right p {
    color: #fff;
}

.footer .top .left>div {
    margin-bottom: 20px;
}

.footer .center {
    display: flex;
    width: 50%;
    align-items: flex-start;

}

.footer .center ul {
    width: 20%;
}

.footer .center ul li {
    height: 50px;

}
.footer .center ul li:not(:first-child){
    height: 36px;

}
.footer .center ul li a {
    color: #fff;
    font-size: 14px;
}

.footer .center ul li:nth-child(1) a {
    font-size: 18px;
    font-weight: bold;
}

.footer>.top .right div span {
    font-size: 16px;
}

.footer>.top .right img {
    width: 106px;
    height: 106px;
}

.footer .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0px;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .bottom a {
    color: #fff;
}

.footer .bottom div {
    color: #fff;
}

@media screen and (max-width:1700px) {
    .footer {
        padding: 100px 100px 20px;
    }

    .footer>.top .right div span {
        font-size: 13px;
    }

    .news_box {
        margin-top: 23.5%;
    }

    .swiper-button-next {
        right: 44%;
        left: auto;
        top: 80%;
    }

    .swiper-button-prev {
        left: 44%;
        right: auto;
        top: 80%;

    }

    /*.footer .top .right {*/
    /*    width: 32%;*/

    /*}*/

    .footer .center {
        display: flex;
        width: 60%;
        align-items: flex-start;
        margin-left: 0%;
    }

    .content .item p {
        font-size: 15px;
    }
}

@media screen and (max-width:1500px) {
    .footer>.top .right div span {
        font-size: 14px;
    }

    .footer>.top .right div:nth-child(3) span {
        font-size: 14px;
        line-height: 24px;
    }

    /* .footer .center ul li a {
        font-size: 12px;
    } */

    .news_box {
        margin-top: 28.5%;
    }

    .news_box .new_item .date {
        margin-top: 20px
    }

    .content .item p {
        font-size: 14px;
    }

    .footer {
        padding: 100px 110px 20px;
    }
}

@media screen and (max-width:1400px) {
    .swiper-button-next {
        right: 43%;
        left: auto;
        top: 80%;
    }

    .swiper-button-prev {
        left: 43%;
        right: auto;
        top: 80%;

    }

    .footer .top .right img {
        width: 70px;
        height: 70px;
    }
        .footer .center ul li {
        height: 40px;

    }

    .footer .center ul li:not(:first-child) {
        height: 36px;

    }
    .footer .top .right>div:not(:first-child){
        margin-top:24px !important;
    }
}