﻿@charset "utf-8";
/* 顶部 */
header{
    position: relative;
    z-index: 9;
    animation: 0.8s ease .3s 1 normal backwards running fadeInDown;
}
.headerBg{
    background: url(../img/headerBg.png) no-repeat top center;
    background-size: cover;
    padding: 0.3rem 0;
}
header .w1400{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9;
}
.logo a{
    display: block;
    width: auto;
    height: auto;
}
.logo a img{
    display: block;
    width: auto;
    height: 0.98rem;
}
/* 搜索 */
.search>div{
    width: 2.65rem;
    height: 0.42rem;
    background: rgba(204, 31, 16, 0.5);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 0.25rem;
    overflow: hidden;
    box-sizing: border-box;
}
.search .text {
    float: left;
    display: block;
    width: calc(100% - 0.4rem);
    outline: none;
    line-height: 0.4rem;
    height: 0.4rem;
    padding-left: 0.2rem;
    font-size: 0.163rem;
    margin: 0;
    background: transparent;
    color: #ffffff;
    box-sizing: border-box;
    border: none;
}
.search .submit {
    width: 0.4rem;
    height: 0.4rem;
    float: right;
    border: none;
    box-sizing: content-box;
    position:relative;
    background: url(../img/search.png) no-repeat center;
}
.nav {
    width: 100%;
    background: #be1a11;
    z-index: 99;
    position: relative;
}
.nav ul{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav ul>li{
    position: relative;
    width: auto;
}
.nav ul>li>a{
    font-family: Microsoft YaHei;
    display: block;
    width: auto;
    font-size: 0.2rem;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 0.7rem;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    position: relative;
    padding: 0 0.2rem;
    white-space: nowrap;
    letter-spacing: 1px;
}
.nav ul>li>a.hover{
    font-weight: bold;
}
.nav ul>li ol{
    display: none;
    position: absolute;
    width: auto;
    height: auto;
    left: 50%;
    z-index: 99;
    top: 100%;
    transform: translateX(-50%);
    min-width: 100%;
}
.nav ul>li ol li a{
    display: block;
    width: auto;
    font-size: 0.18rem;
    color: #fff;
    text-align: center;
    line-height: 0.24rem;
    padding: 0.1rem 0.25rem;
    background: #be1a11;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
    letter-spacing: 1px;
}
.nav ul>li ol li a:hover,.nav ul>li>a:hover{
    font-weight: bold;
}
footer{
    background: #960f09;
    padding: 0.25rem 0;
}
footer .w1400{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
footer .bq{
    font-size: 0.16rem;
    line-height: 0.2rem;
    color: rgba(255,255,255,0.8);
}
footer .code{
    display: flex;
}
footer .code p:nth-of-type(2){
    margin-left: 0.2rem;
}
footer .code img{
    display: block;
    width: auto;
    height: auto;
}
footer .code span{
    display: block;
    font-size: 0.14rem;
    line-height: 1;
    color: rgba(255,255,255,1);
    text-align: center;
    margin-top: 10px;
}
footer .link{
    width: 3.2rem;
    display: flex;
    flex-wrap: wrap;
}
footer .link h2{
    width: 100%;
    font-size: 0.18rem;
    line-height: 0.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.1rem;
}
footer .link li{
    width: 50%;
}
footer .link li a{
    display: block;
    width: 100%;
    font-size: 0.16rem;
    line-height: 0.34rem;
    color: #ffffff;
}
footer .link li a:hover{
    color: #f8bf89;
}
.header_m{
    display: none;
}

/* media */
@media only screen and (max-width: 1440px){
    .w1400{
        width: 100%;
        padding: 0 30px;
    }
}
@media only screen and (max-width: 1040px){
    .w1400{
        padding: 0 20px;
    }
    /* 移动端顶部 */
    header{
        display: none;
    }
    .header_m{
        display: block;
    }
    .m_Top{
        display: flex;
        padding: 20px;
        justify-content: space-between;
        align-items: center;
    }
    .m_Top .logo a img{
        display: block;
        width: auto;
        height: 56px;
        max-height: none;
    }
    /* 移动端导航按钮 */
    .menu1 {
        width: 36px;
        height: auto;
        display: block;
        overflow: hidden;
        z-index: 999999999;
        cursor: pointer;
    }

    .menu1 span {
        float: left;
        width: 100%;
        background: #be1a11;
        transition: all 0.4s ease;
        margin-top: 10px;
        height: 2px;
    }

    .menu1 span:first-child {
        margin-top: 0;
    }

    .menu1.open span:nth-child(1) {
        transform: rotate(45deg);
        margin-top: 12px;
    }

    .menu1.open span:nth-child(2) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    .menu1.open span:nth-child(3) {
        opacity: 0;
    }
    body.navshow {
        overflow: hidden;
        position: fixed;
        width: 100%;
        top: 0px;
        left: 0px;
        margin: 0;
    }
    .header_m {
        display: block;
        width: 100%;
        position: relative;
        top: 0;
        z-index: 9999;
        box-sizing: border-box;
        background: #ffffff;
        box-shadow: 0 0 10px 2px rgba(0,0,0,0.1);
    }
    .m_nav {
        width: 100vw;
        height: calc(100% - 96px);
        position: fixed;
        top: 96px;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        display: block;
        overflow: auto;
        box-sizing: border-box;
    }

    .m_nav.active {
        visibility: visible;
        opacity: 1;
        z-index: 99999999;
    }

    .m_nav ul{
        position: absolute;
        transition: right 0.3s ease;
        right: 0;
        top: 47px;
        left: auto;
        width: 420px;
        height: calc(100% - 47px);
        z-index: 99999;
        background: #fff;
        margin: 0;
        overflow: auto;
    }
    .m_nav ul li {
        height: auto;
        width: 100%;
        position: relative;
        border-bottom: 1px solid #ccc;
        float: none;
        text-align: left;
        padding: 0;
        line-height: 54px;
    }
    .m_nav ul>li>a {
        font-size: 18px;
        color: #333;
        font-weight: bold;
        width: 80%;
        text-indent: 20px;
        position: relative;
        display: block;
        line-height: 54px;
    }
    .m_nav ul>li>a:hover {
        color: #8D0505;
    }
    .m_nav ul li i {
        position: absolute;
        right: 0;
        width: 15%;
        height: 54px;
        top: 0;
        background: url(../img/jia1.png) no-repeat center center;
        margin: auto;
        z-index: 10;
        cursor: pointer;
        transition: all .2s ease;
        -moz-transition: all .2s ease;
        -o-transition: all .2s ease;
        -webkit-transition: all .2s ease;
    }
    .m_nav ul li i.on {
        background: url(../img/jian2.png) no-repeat center center;
    }
    .m_nav ul li ol {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        box-shadow: none;
        display: none;
        transition: all 0s;
    }
    .m_nav ul li ol>li {
        text-align: left;
        border: 0;
        font-size: 16px;
        line-height: 45px;
        position: relative;
        text-indent: 40px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        transition: all .5s;
    }

    .m_nav ul li ol>li a {
        color: #444444;
        display: block;
    }

    .m_nav ul li ol>li:hover a {
        text-indent: 50px;
        color: #8D0505;
    }
    /* 移动端搜索 */
    .m_nav .search3{
        position: absolute;
        top: 0;
        right: 0;
        width: 420px;
        border-top: 1px solid #ccc;
    }
    .m_nav .search3 div.search3_sub{
        background: #ffffff;
        width: 100%;
        height: 46px;
        overflow: hidden;
        box-sizing: border-box;
        border-bottom: 1px solid #cccccc;
    }
    .m_nav .search3 .text {
        float: left;
        width: calc(100% - 50px);
        height: 46px;
        border: none;
        outline: none;
        line-height: 46px;
        padding-left: 20px;
        font-size: 15px;
        margin: 0;
        background: transparent;
        color: #000000;
        box-sizing: border-box;
        border-right: 1px solid #ccc;
    }
    .m_nav .search3 .text::-webkit-input-placeholder{
        color:#969696;
    }
    .m_nav .search3 .text::-moz-input-placeholder{
        color:#969696;
    }
    .m_nav .search3 .text::-ms-input-placeholder{
        color:#969696;
    }
    .m_nav .search3 .submit {
        width: 50px;
        height: 46px;
        float: right;
        background: #fff url(../img/search2.png) no-repeat center;
        border: none;
        box-sizing: content-box;
        position:relative;
    }
    .m_nav .search3 .submit::before{
        display:block;
        content:"";
        width:1px;
        height:20px;
        position:absolute;
        left: 1px;
        top:3px;
        background: #000000;
    }
}
@media only screen and (max-width: 768px){
    .w1400{
        padding: 0 15px;
    }
    .m_Top{
        padding: 15px;
    }
    .m_Top .logo a img{
        height: 50px;
    }
    .m_nav{
        height: calc(100% - 80px);
        top: 80px;
    }
    .menu1{
        width: 30px;
    }
    .menu1 span{
        margin-top: 8px;
    }
    footer .w1400{
        
justify-content: space-between;
    }
    footer .link{
        width: 100%;
        margin-bottom: 30px;
    }

footer .link li {
    width: auto;
    margin-right: 20px;
}
}
@media only screen and (max-width: 560px){
    .m_nav ul,.m_nav .search3{
        width: 100%;
    }
    footer .link{
        margin-bottom: 0;
    }
    footer .bq,footer .code{
        width: 100%;
    }

footer .code {
    justify-content: space-evenly;
}

footer .bq {
    margin: 15px 0 20px;
}
}
@media only screen and (max-width: 460px){
    .m_Top .logo a img{
        height: 40px;
    }
    .m_nav{
        height: calc(100% - 70px);
        top: 70px;
    }
}