/*初始化*/
* {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #333;
    text-decoration: none;
    font-weight: 300;
    font-family: "Microsoft YaHei", sans-serif;

    ::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }

    ::-webkit-scrollbar-track {
        background-color: #bee1eb;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #ffaa22;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #47b847;
    }

    ::-webkit-scrollbar-thumb:active {
        background-color: #47b847;
    }
}

.html {
    scroll-behavior: auto;
}

/*通用代码*/
.container {
    /*全局可视区域*/
    max-width: 1600px;
    margin: 0 auto;
    width: 90%;
}

.ny_banner,
.ny_container {
    position: relative;
}

.ny_banner_text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.ny_banner img {
    max-width: 100%;
    min-height: 300px;
    object-fit: cover;
}

.ny_banner_text p {
    opacity: 0.7;
    text-shadow: 0 0 9px #2e8b3e;
}

.ny_banner p * {
    color: #fff;
    font-size: 14px;
}

.ny_banner p svg {
    height: 14px;
    width: auto;
    margin-right: 5px;
    transform: translateY(2px);
}

.ny_banner h1,
.ny_banner .h1 {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 0;
    color: #fff;
    text-shadow: 1px 1px 10px #2e8b3e;
}

.ny_banner::after {
    content: "";
    background: url(/index/image/index/banner_bg.png);
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 30px;
    z-index: 2;
}

.ny_container::before {
    content: "";
    background: url(/index/image/index/about_bg.png) no-repeat;
    position: absolute;
    width: 100%;
    height: 40px;
    top: 0;
    left: 0;
}

.ny_container .ny_content {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 0;
}

/*nav*/
#nav {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.5s;
}

#nav.nav_scroll {
    background: #fff;
}

#nav .nav {
    display: flex;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

#nav .nav>div:nth-child(1) {
    width: 20%;
}

#nav .nav>div:nth-child(2) {
    width: calc(80% - 55px);
}

#nav .nav .nav_ul {
    display: flex;
    max-width: 1200px;
    line-height: 100px;
    margin-right: 0;
    margin-left: auto;
    text-align: center;
}

.black {
    display: none;
}

.nav_scroll .white {
    display: none;
}

.nav_scroll .black {
    display: inline-block;
}

#nav .nav .nav_li {
    width: calc(100% / 8);
    position: relative;
}

#nav .nav .nav_li::after {
    content: "";
    transition: all 0.3s;
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
    width: 0%;
    background: #ffa81f;
    height: 2px;
}

#nav .nav .nav_li a {
    font-size: 18px;
    transition: all 0.5s;
    color: #fff;
    font-weight: 500;
}

#nav.nav_scroll .nav .nav_li a {
    color: #333;
}

#nav .nav .nav_li:hover>a {
    color: #ffa81f;
}

#nav .nav .nav_li:hover::after {
    width: 100%;
}

#nav .nav>div:nth-child(3) {
    display: flex;
    width: 45px;
    padding-left: 10px;
    justify-content: space-between;
    padding-bottom: 5px;
}

.nav_search svg {
    margin-top: 10px;
    display: inline-block;
}

.nav_search svg path {
    fill: #fff;
}

#nav.nav_scroll .nav_search svg path {
    fill: #333;
}

#nav .nav_ej {
    width: 70vw;
    position: fixed;
    left: 62%;
    transform: translateX(-50%);
    padding: 20px 10px;
    transition: all 0.5s;
    max-width: 1050px;
    background: #fff;
    display: none;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 0 6px #333;
    justify-content: space-evenly;
}

#nav .nav .nav_li:hover .nav_ej {
    display: flex;
}

#nav .nav i {
    display: none;
}

#nav .nav_ejli {
    line-height: 30px;
    padding: 10px;
    min-width: 180px;
    text-align: center;
    position: relative;
}

#nav .nav_ejli:after {
    content: "";
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    background-image: linear-gradient(130deg, #ffb020, #ff8c1a);
    transition: all 0.5s;
}

#nav .nav .nav_ejli a {
    color: #333;
    transition: all 0.5s;
}

#nav .nav_ejli:hover:after {
    width: 100%;
}

#nav .nav .nav_ejli:hover a {
    color: #ffb020;
    font-weight: 700;
}

#nav .nav .img_yj {
    width: 20vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav .nav .img_yj img {
    display: block;
    max-width: 240px;
    min-height: 140px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#nav .nav_ejul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*icon图标*/
@font-face {
    font-family: 'af-iconfont';
    src: url('//at.alicdn.com/t/c/font_3696172_s45kjv28mjm.woff2?t=1692951202436') format('woff2'),
        url('//at.alicdn.com/t/c/font_3696172_s45kjv28mjm.woff?t=1692951202436') format('woff'),
        url('//at.alicdn.com/t/c/font_3696172_s45kjv28mjm.ttf?t=1692951202436') format('truetype');
}

/* 留言区域 */
.msg-left {
    padding-right: 20px;
}

.msg-right {
    padding-left: 20px;
}

.msg-section {
    color: #fff;
    background-image: linear-gradient(90deg, #2e8b3e, #7cc14a);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 80px 0;
}

.msg-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.msg-left {
    position: relative;
}

.msg-left h3,
.msg-right h3 {
    font-size: 30px;
    color: #fff;
    font-weight: 500;
}

.msg-left p,
.msg-right p {
    max-width: 500px;
    font-size: 16px;
    opacity: 0.9;
    margin: 20px 0 35px;
    line-height: 30px;
    color: #fff;
}

.msg-right p {
    margin: 0px 0 20px;
    opacity: 0.6;
}

.msg-left .btn-orange {
    padding: 8px 24px;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    width: 140px;
    color: #fff;
    margin: 0;
    font-size: 14px;
    transition: all 0.5s;
}

.msg-left .btn-orange:hover {
    background-color: rgb(255 170 34);
    border: 1px solid #ffaa22;
}

.msg-left::after {
    content: "";
    position: absolute;
    right: 0;
    height: 100%;
    width: 1px;
    background: #fff;
    top: 0;
    opacity: 0.3;
}

.msg-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

.msg-form input,
.msg-form textarea {
    width: calc(50% - 27px);
    display: inline-block;
    padding: 10px;
    transition: all 0.5s;
    border: none;
    border-radius: 6px;
    outline: none;
    height: 25px;
    line-height: 25px;
}

.msg-form button {
    width: 100%;
    padding: 10px;
    color: #fff;
    line-height: 25px;
    background-image: linear-gradient(130deg, #ffb020, #ff8c1a);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.5s;
    border: none;
}

.msg-form *:hover {
    box-shadow: 1px 1px 5px #276630;
}

.msg-right>div {
    max-width: 600px;
    margin-right: 0;
    margin-left: auto;
}

/* 页脚 */
.footer {
    background: #000;
}

.footer-wrap {
    display: flex;
    gap: 20px;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 0;
    justify-content: space-between;
}

.footer-logo {
    max-width: 160px;
    width: 100%;
}

.footer-col ul li a {
    font-size: 20px;
    color: #fff;
    line-height: 1;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-qrcode img {
    max-width: 160px;
    width: 100%;
}

.footer-col:last-child h4 a {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col:last-child p {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-col:last-child a {
    color: #fff;
    transition: all 0.5s;
}

.footer-col a:hover {
    color: #ffb020;
}

.copyright {
    text-align: center;
    border-top: 1px solid #666;
    font-size: 14px;
    color: #fff;
    opacity: 0.5;
    line-height: 30px;
    padding: 18px 15px;
}

/*右侧客服*/
.in_ban img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.right_bottom a {
    font-family: 'af-iconfont' !important;
    font-size: 26px;
    margin: 10px;
    cursor: pointer;
    display: block;
    color: #ccc;
    border: 1px solid #ccc;
    padding: 3px 10px;
    border-radius: 5px;
    line-height: 38px;
}

.right_bottom {
    position: fixed;
    bottom: 30px;
    right: 20px;
}

.tool-pop a {
    font-size: 14px;
    color: #333;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 14px;
}

.right_bottom a:hover {
    background-image: linear-gradient(130deg, #ff8c1a, #ffb020);
    color: #fff;
    fill: #fff;
    border-color: #ffb020;
}

.right_bottom a:hover * {
    fill: #fff;
}

.tool-pop {
    text-align: center;
    z-index: 66;
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    padding: 10px;
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.tool-item {
    position: relative;
}

.tool-item:hover .tool-pop {
    opacity: 1;
    visibility: visible;
}

/* 小三角箭头 */
.tool-pop::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #ffffff;
}

.tool-pop-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.tool-pop-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.tongyong_details img {
    max-width: 100%;
}

/*小屏幕*/
@media(max-width:992px) {
    #nav .nav .nav_li a {
        font-size: 16px;
    }

    .msg-right>div {
        max-width: 100%;
    }

    .msg-right {
        padding-top: 30px;
        padding-left: 0px;
    }

    .msg-left {
        padding-right: 0px;
    }

    .msg-left p {
        margin: 0px 0 20px;
    }

    .msg-left h3,
    .msg-right h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .msg-left::after {
        display: none;
    }

    .footer-wrap .footer-col:nth-child(2),
    .footer-wrap .footer-col:nth-child(3),
    .footer-wrap .footer-col:nth-child(4) {
        display: none;
    }

    .footer-col:last-child h4 a {
        font-size: 28px;
    }

    .msg-section,
    .footer-wrap {
        padding: 40px 0;
    }

}

/*移动端*/
@media (max-width: 768px) {


    .ny_banner h1,
    .ny_banner .h1 {
        font-size: 26px !important;
    }

    .ny_title h2 {
        font-size: 24px !important;
    }

    .ny_title p {
        font-size: 16px !important;
    }

    .ny_container .ny_content {
        padding: 40px 0;
    }

    .footer-wrap .footer-col:nth-child(1) {
        display: none;
    }

    #contact .msg-left .btn-orange {
        padding: 5px 10px;
    }

    #contact .msg-form input,
    .msg-form textarea {
        padding: 5px 10px;
    }

    #contact .msg-form button {
        padding: 5px 10px;
    }

    #contact .msg-left p,
    .msg-right p {
        font-size: 14px;
    }

    #contact .msg-wrap {
        margin-bottom: 0px;
    }

    /*导航*/
    #nav.active {
        background-color: #fff;
    }

    #nav.active .white {
        display: none;
    }

    #nav.active .black {
        display: inline-block;
    }

    #nav .nav .li_show i {
        display: block;
        position: absolute;
        right: 20px;
        top: 0;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        font-style: normal;
        transition: all 0.5s;
    }

    #nav .nav .nav_li a {
        color: #000;
        padding: 0 15px;
    }

    #nav .nav_ej {
        width: 100%;
        position: relative;
        left: 0;
        transform: none;
        padding: 0;
        transition: all 0.5s;
        max-width: 1050px;
        background: #fff;
        display: flex;
        align-items: center;
        border-radius: 0;
        box-shadow: none;
        justify-content: center;
    }

    #nav .nav .img_yj {
        width: 0;
        display: none;
    }

    #nav .nav_ejul {
        display: flex;
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        justify-content: center;
        transition: all 0.5s;
    }

    #nav .active_ej .nav_ejul {
        max-height: 200px;

    }
    #nav .active_ej i{
        transform: rotateZ(90deg);
    }
    #nav .nav_ejli {
        line-height: 30px;
        padding: 10px 0;
        min-width: 33%;
        text-align: center;
        position: relative;
    }

    #nav .nav {
        justify-content: space-between;
    }

    #nav .nav .nav_ul,
    #nav .nav>div:nth-child(3) {
        display: none;
    }

    #nav .nav>div:nth-child(1) {
        padding: 15px 0;
    }

    #nav .nav>div:nth-child(2) {
        border-bottom: 1px solid #333;
        width: 35px;
        position: relative;
        padding: 15px 0;
        cursor: pointer;
    }

    #nav .nav>div:nth-child(2)::after,
    #nav .nav>div:nth-child(2)::before {
        transition: all 0.5s;
        content: "";
        position: absolute;
        width: 35px;
        height: 1px;
        background: #333;
    }

    #nav .nav>div:nth-child(2)::after {
        margin-top: -10px;
    }

    #nav .nav>div:nth-child(2)::before {
        margin-top: 2px;
    }

    #nav .nav>div.active:nth-child(2) {
        border-bottom: none;
    }

    #nav .nav>div.active:nth-child(2)::after {
        margin-top: 0;
        transform: rotate(-45deg);
    }

    #nav .nav>div.active:nth-child(2)::before {
        margin-top: 0;
        transform: rotate(45deg);
    }

    #nav .nav .active .nav_ul {
        display: block;
        position: fixed;
        width: calc(100% - 3px);
        left: 0;
        height: 100vh;
        max-height: 1300px;
        background: #fff;
        margin-top: 31px;
    }

    #nav .nav .active .nav_li {
        width: 100%;
        line-height: 50px;
        border-bottom: 1px solid #ccc;
    }

}