@charset "utf-8";

/* 头部 */

.head_t {
    padding: 70px 0;
    background: url(../images/head_bg.png);
    background-size: 100% 100%;
}

.head_t .w1400 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_t .search {
    display: flex;
    width: 264px;
    height: 31px;
    border-radius: 16px;
    border: 1px solid #C30E21;
    overflow: hidden;
    position: relative;
}

.head_t .search .txt {
    width: 100%;
    height: 100%;
    line-height: 31px;
    padding: 0 42px 0 15px;
    font-size: 14px;
}

.head_t .search .js {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 100%;
    background: url(../images/head_fdj.png);
    font-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}


.head_b {
    background: #C30E21;
}

.head_b ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_b ul li {
    line-height: 57px;
    position: relative;
}

.head_b ul li a {
    font-size: 18px;
    color: #FFFFFF;
}

.head_b ul li .menu-items {
    position: absolute;
    display: none;
    top: 100%;
    background: #C30E21;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 15px 15px;
}

.head_b ul li .menu-items li {
    line-height: 40px;
}

.head_b ul li .menu-items li a {
    font-size: 16px;
    color: #FFFFFF;
    padding: 0 30px;
    white-space: nowrap;
}

.head_b ul li .menu-items li:hover {
    background: #fff;
}

.head_b ul li .menu-items li:hover a {
    color: #C30E21;
}

/* 尾部 */

.footer {
    padding: 45px 0 35px;
    background: #C30E21;
    border-top: 8px solid #F99C17;
}

.footer_link .txt {
    font-weight: bold;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 28px;
    position: relative;
}

.footer_link .txt::before {
    position: absolute;
    content: "";
    width: 37px;
    height: 1px;
    background: #FFFFFF;
    left: 22px;
    bottom: -10px;
}

.footer_link ul {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    padding: 48px 40px 40px;
}

.footer_link ul li {
    margin: 0 30px;
}

.footer_link ul li a {
    font-size: 20px;
    color: #333333;
    line-height: 33px;
}

.footer .dz {
    margin-top: 45px;
}

.footer .dz,
.footer .bq {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .dz p,
.footer .bq p,
.footer .bq a {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 36px;
    margin: 0 7.5px;
}

.menu {
        margin-top: 15px;
        display: none;
    }

.menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333333;
    margin-bottom: 7px;
}

.menu span:last-child {
    margin-bottom: 0px;
}


@media (max-width: 1500px) {

    .head_t .w1400,
    .head_b ul,
    .footer .w1400 {
        width: 100%;
        padding: 0 3%;
    }
}

@media (max-width: 1200px) {


    .head_t {
        padding: 50px 0;
    }

    .head_t .w1400 .logo,
    .head_t .w1400 .logo img {
        display: block;
    }

    .head_t .w1400 .logo img {
        width: 100%;
        height: auto;
    }

    .head_t .w1400 .logo {
        width: calc(100% - 300px);
    }
}

@media (max-width: 1024px) {}

@media (max-width: 768px) {
    .head_t .w1400 {
        /* display: block; */
        flex-wrap: wrap;
        justify-content: center;
    }

    .head_t .w1400 .logo {
        width: 100%;
    }


    .head_t .search {
        margin: 20px auto 0;
    }

    .head_t {
        padding: 30px 0;
    }

    .head_b ul li a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .menu {
        display: block;
    }

    .menu span {
        transition: transform 0.3s ease;
    }

    .menu span:first-child {
        margin-top: 0;
    }

    .menu.open span:nth-child(1) {
        width: 24px;
        transform: rotate(45deg);
        margin-top: 9px;
    }

    .menu.open span:nth-child(2) {
        width: 24px;
        transform: rotate(-45deg);
        margin-top: -9px;
    }

    .menu.open span:nth-child(3) {
        opacity: 0;
    }

    .red {
        width: 100%;
        display: block;
        position: absolute;
        right: -120%;
        top: 114px;
        height: calc(100vh - 114px);
        overflow: auto;
    }

    .head_b {
        display: none;
    }

    .head {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 99;
        background-image: url(../images/head_bg.png);
        background-size: 100% 100%;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    }

    .head_t {
        background: none;
    }

    .footer {
        padding: 30px 0 20px;
        background: #C30E21;
        border-top: 5px solid #F99C17;
    }

    .footer .dz p,
    .footer .bq p,
    .footer .bq a {
        font-size: 14px;
        line-height: 32px;
        margin: 0 5px;
    }

    .footer .dz {
        margin-top: 25px;
    }

    .footer_link ul li a {
        font-size: 16px;
        line-height: 32px;
    }

    .footer_link ul {
        padding: 20px 0px;
    }

    .head_t {
        padding: 20px 0;
    }

    .head_t .search {
        margin: 15px 15px 0 0;
    }
}