@media (-webkit-min-device-pixel-ratio: 1.25) {
    .layout-main {
        zoom: 0.796875;
    }
}

@media (max-width: 991px) {

    :root {
        --fz14: 12px;
        --fz16: 14px;
        --fz18: 14px;
        --fz20: 18px;
        --fz23: 18px;
        --fz24: 18px;
        --fz26: 18px;
    }

    .hy_content {
        width: 95%;
        margin: 0 auto
    }

    header .search {
        display: none
    }

    header .head {
        justify-content: space-between
    }

    header nav {
        position: relative;
        z-index: 50;
        display: none
    }

    header nav ul.hy_content {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: unset;
        background-color: #ffffff;
        padding-top: 60px;
    }

    header nav > ul > li > a {
        color: var(--main-color)
    }

    footer .f_body .right {
        margin-top: 30px;
    }

    footer .f_body .f_logo img {
        width: 65%;
        margin: 0 auto
    }

    footer .f_body .text {
        text-align: center;
        margin-top: 20px;
    }

    footer .f_body .right .t {
        font-size: var(--fz16);
    }

    footer .f_body .right ul li .active {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        bottom: 100%;
        top: unset;
        opacity: 0
    }

    footer .copyright {
        flex-direction: column;
        line-height: 32px;
        padding: 15px 0
    }

    .m_nav {
        display: block;
        height: 30px;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }

    .m_nav span {
        position: relative;
        background: #ffffff;
        display: block;
        width: 40px;
        height: 2px;
        transition: all ease 0.35s;
        z-index: 66
    }

    .m_nav span:nth-of-type(1) {
        top: 0
    }

    .m_nav span:nth-of-type(2) {
        top: 10px
    }

    .m_nav span:nth-of-type(3) {
        top: 20px
    }

    .m_nav.active {
        position: fixed;
        top: 10px;
        right: 10px;
        border: 1px solid var(--main-color);
        padding: 10px;
        cursor: pointer
    }

    .m_nav.active span:nth-of-type(1) {
        top: 13px;
        transform: rotate(45deg);
        background: var(--main-color)
    }

    .m_nav.active span:nth-of-type(2) {
        width: 0;
        color: var(--main-color)
    }

    .m_nav.active span:nth-of-type(3) {
        top: 9px;
        transform: rotate(-45deg);
        background: var(--main-color)
    }

    .index_tit .c_left img,
    .index_tit2 .c_left img {
        height: 20px;
    }


    .index1 .left .content a {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .index1 .left .content a .b_right {
        padding-right: 10px;
    }

    .index1 .right {
        margin-top: 20px;
    }

    .index3 .content {
        display: grid;
        grid-template-columns: 49% 49%;
        grid-row-gap: 20px
    }

    .index3 .content p {
        height: unset
    }

    .index3 .content a {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .index5 .content {
        grid-template-columns: 33% 33% 33%;
        grid-row-gap: 10px;
        transition: all .5s
    }

    .index5 .content a {
        width: 98%;
    }


}

@media (min-width: 992px) {
    .hy_content {
        width: 90%;
        margin: 0 auto;
        transition: all .5s
    }

    .m_nav {
        display: none
    }

    .index1 {
        display: grid;
        grid-template-columns: 65.677% 31.355%;
        justify-content: space-between
    }

    .index5 .content {
        grid-template-columns: 24.5% 24.5% 24.5% 24.5%;
    }

    footer .f_body {
        display: grid;
        grid-template-columns: 31% 28% 37%;
        justify-content: space-between
    }

    footer .f_body .right .t {
        margin-top: -31px;
    }


}


@media (min-width: 1200px) {
    :root {
        --fz12: 12px;
        --fz14: 14px;
        --fz16: 16px;
        --fz18: 16px;
        --fz20: 18px;
        --fz22: 20px;
        --fz24: 22px;
        --fz26: 24px;
    }

    .hy_content {
        width: 61.458%;
        margin: 0 auto;
        min-width: 1180px
    }

    .index5 .content {
        grid-template-columns: 14.406% 14.406% 14.406% 14.406% 14.406% 14.406%;
    }

}

.cont_right img {

margin:0 auto;

}


@media (min-width: 980px) {
    .nav > ul > li .dpdown li {
        position: relative
    }

    .nav > ul > li .dpdown li .dp_two {
        position: absolute;
        left: 100%;
        top: 0;
        transform: translate(0, 0);
        min-width: 31%;
        background-color: rgba(188, 27, 33, 0.6);
        display: none;
    }

    .nav > ul > li .dpdown li:hover .dp_two {
        display: block;
    }

    .nav > ul > li .dpdown {
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translate(-50%);
        min-width: 100%;
        background-color: rgba(188, 27, 33, 0.6);
        display: none
    }

    .nav > ul > li .dpdown a {
        white-space: nowrap;
        display: flex;
        height: 60px;
        justify-content: center;
        align-items: center;
        color: white
    }

    .nav > ul > li:hover .dpdown {
        display: block
    }

    .nav > ul > li .dpdown li:hover {
        background-color: rgba(188, 27, 33, 0.8);
    }
}




 /* Style for the search box container */
        .search-box {
            display: flex;
            align-items: center;
            border: 1px solid #ccc;
            border-radius: 25px;
            padding: 10px;
            width: 150px;
            background-color: #f8f8f8;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Style for the search input field */
        .search-box input[type="text"] {
            flex: 1;
            border: none;
            outline: none;
            font-size: 16px;
            padding: 8px;
            background-color: transparent;
        }

        /* Style for the search button */
        .search-box button {
            background-color: #007bff;
            color: #fff;
            border: none;
            outline: none;
            padding: 8px 15px;
            border-radius: 25px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        /* Style for the search button icon (using Font Awesome) */
        .search-box button i {

            font-size: 16px; /* 调整图标大小 */
        }

        /* Hover effect for the search button */
        .search-box button:hover {
            background-color: #0056b3;
        }
        
        form {
            display:flex;
            margin: 0 0 0 auto;
        }


@media (max-width: 980px) {
form {
            display:none;
           
        }
}






