﻿@charset "utf-8";
/* 头部 */
header{
    width: 100%;
    height: 185px;
    position: relative;
    top: 0;
    left: 0;
   
    z-index: 2;
    animation: 0.8s ease 0.3s 1 normal backwards running fadeInDown;
}
header .logobg{

 background: url(../images/lobg.png) no-repeat center;
   background-position: 621px center;
}
header a.logo,header a.logo img{
    width: 400px;
    height: auto;
}
header a.logo{
    float: left;
    margin: 20px 0;
}
nav{
    width: 100%;
    float: left;
    background-color: #b7111b;
    margin-top: 10px;
}
nav ul{

    width: 1300px;
    height: 50px;
    margin: 0 auto;
}
nav ul>li{
    float: left;
    width: 162.5px;
    line-height: 50px;
    text-align: center;
    position: relative;
}
nav ul>li:first-of-type{
    margin-left: 0;
}
nav ul>li>a{
    display: block;
    width: auto;
    font-size: 16px;
    color: #fff !important;
    font-weight: bold;
    line-height: 50px;

    box-sizing: border-box;
    border-bottom: 2px solid transparent;
}
nav ul li>a.hover{
    border-bottom: 2px solid #e41c0e;
}
nav ul>li>a:hover{
    color: #d9242a;
}
nav ul>li .submenu {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50px;
    background: rgba(228,28,14,0.7);
    z-index: 999;
    display: none;
}
nav ul>li .submenu li{
    width: 100%;
    margin: 0;
}
nav ul>li .submenu li a{
    display:block;
    width:100%;
    text-align:center;
    font-size: 16px;
    line-height: 20px;
    padding: 11px 2px;
    color: #fff;
    font-weight: normal;
}
nav ul>li .submenu li a:hover{
    background: #d9242a;
}
.header_m{
    display: none;
}
/* 顶部链接 */
header .w1300{
    position: relative;
}
.lj_top{
    position: absolute;
    right: 0;
    top: 25px;
}
.lj_top a{
    display: block;
    float: left;
    padding: 0 12px;
    font-size: 14px;
    line-height: 30px;
    color: #fff;
    position: relative;
}
.lj_top a::before{
    display: block;
    content: "";
    width: 1px;
    height: 15px;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
}
.lj_top a:last-of-type:before{
    display: none;
}
.lj_top a:hover{
    color: #d9242a;
}
.lj_top p.search{
    width: 30px;
    height: 30px;
    float: left;
    cursor: pointer;
    background: url(../img/search2.png) no-repeat center;
    margin-top: 25px;
}
/*搜索*/
 .layer {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out 0s;
 }
 .layer.showdiv {
    opacity: 1;
    visibility: visible;
 }
 .layer .close {position: absolute;right: 150px;top: 80px;width: 66px;height: 66px;text-align: center;line-height: 50px;cursor: pointer;font-size: 0;transition: all 0.3s ease-out 0s;}
 .layer .close:before,.layer .close:after{content:'';width: 100%;height: 2px;display:block;position:absolute;background: #d9242a;transition:1s;transform: rotate(45deg);top: 24px;}
 .layer .close:before{transform: rotate(-45deg);}
 .layer .close:hover{transform: rotate(90deg);}
 .layer .search_box {
    height: 45px;
    line-height: 45px;
    width: 850px;
    transform: translateY(-50px);
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
 }
 .layer.showdiv .search_box {
    transform: none;
    transition: all 0.5s ease-out 0s;
    opacity: 1;
    font-size: 0;
 }
 .layer .search_box .kw {
    width: 85%;
    height: 48px;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5) inset;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 0;
    float: left;
    margin: 0;
    border: none;
    box-sizing: border-box;
 }
 .layer .search_box .ok {
    background: #d9242a;
    color: #fff;
    width: 15%;
    height: 48px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0;
    float: left;
 }

/* 底部 */
footer{
    background: url(../img/footer_bg.png) no-repeat center;
    width: 100%;
    float: left;
    background-position: 0 -40px;
}
footer div.xx{
    position: relative;
}
footer  div.xx p.code{
    width: 220px;
    height: 120px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 50%;
    margin-right: -650px;
}
footer  div.xx p.code img{
    display: block;
    float: right;  
    width: 120px;
    height: 120px;
    object-fit: cover;
}
footer  div.xx p.code span{
    display: block;
    float: left;
    line-height: 120px;
    color: #fff;
    font-size: 14px;
}
footer div.xx::before{
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
footer p.xnlj{
    width: 1300px;
    margin: 0 auto;
    padding: 20px 0 20px 30px;
    background: url(../img/lj.png) no-repeat left center;
    box-sizing: border-box;
}
footer p.xnlj,footer p.xnlj a{
    font-size: 14px;
    line-height: 30px;
    color: #c2c2c2;
}
footer p.xnlj a:hover{
    color: #d9242a;
}
footer p.dz{
    width: 1300px;
    margin: 0 auto;
    padding: 20px 0 20px 30px;
    background: url(../img/dz.png) no-repeat left center;
    box-sizing: border-box;
    font-size: 14px;
    color: #ffffff;
    line-height: 30px;
}
footer .bq{
    font-size: 14px;
    color: #ffd4d5;
    line-height: 50px;
    text-align: center;
    background: #d9242a;
}
a.toTop{
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: block;
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.8) url(../img/toTop.png) no-repeat center;
}
a.toTop:hover{
    background: #d9242a url(../img/toTop.png) no-repeat center;
}

/* 媒体查询 */
@media only screen and (max-width: 1400px){
    footer div.xx,.w1300{
        width: 100%;
        padding: 0 50px;
        box-sizing:border-box;
    }
    .lj_top{
        right:50px;
    }
    footer p.xnlj,footer p.dz{
        width: calc(100% - 220px);
        box-sizing:border-box;
        margin: 0;
    }
    footer div.xx p.code{
        margin-right:0;
        right:50px;
    }
    header a.logo, header a.logo img{
        width:auto;
        height: 60px;
    }
    nav{
        margin-top: 64px;
    }
    nav ul>li{
        margin-left: 12px;
    }
}
@media only screen and (max-width: 1240px){
   footer div.xx,.w1300{
        padding: 0 30px;
    }
    .lj_top{
        right:30px;
        top: 15px;
    }
    nav ul>li{
        margin-left: 5px;
    }
    nav{
        margin-top: 68px;
    }
    nav ul>li a{
        font-size: 15px;
    }
    footer div.xx p.code{
        right:30px;
    }
}
@media only screen and (max-width: 1140px){
    header{
        display: none;
    }
    .header_m{
        display: block;
    }
    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;
        padding: 15px 30px;
        background: #d9242a;
    }
    .header_m .lj_top{
        font-size:0;
        position:absolute;
        top:0;
        right:0;
        background:#fff;
        width: 420px;
        height: 36px;
        box-sizing: border-box;
        border-bottom: 1px solid #ccc;
    }
    .header_m .lj_top a{
        width:calc(100% / 3);
        padding: 0;
        line-height: 36px;
        text-align: center;
        color: #666666;
        border-right: 1px solid #ccc;
        box-sizing: border-box;
    }
    .header_m .lj_top a:hover{
        color:#d9242a;
    }
    .header_m .m_logo {
        display: block;
        width: auto;
        float: left;
    }

    .header_m .m_logo a,
    .header_m .m_logo a img {
        width: auto;
        display: inline-block;
        height: 52px;
    }

    .menu1 {
        width: 40px;
        height: 40px;
        display: block;
        right: 30px;
        top: 21px;
        overflow: hidden;
        z-index: 999999999;
        cursor: pointer;
        position: absolute;
    }

    .menu1 span {
        float: left;
        width: 80%;
        background: #fff;
        transition: all 0.4s ease;
        margin-top: 8px;
        margin-left: 10%;
        height: 2px;
    }

    .menu1 span:first-child {
        margin-top: 9px;
    }

    .menu1.open span:nth-child(1) {
        transform: rotate(45deg);
        margin-top: 19px;
    }

    .menu1.open span:nth-child(2) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    .menu1.open span:nth-child(3) {
        opacity: 0;
    }

    .m_nav {
        width: 100vw;
        height: calc(100% - 82px);
        position: fixed;
        top: 82px;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        display: block;
        overflow: auto;
        padding-top: 46px;
        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: 82px;
        left: auto;
        width: 420px;
        height: calc(100% - 82px);
        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: #d9242a;
    }
    .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;
        font-weight: bold;
    }

    .m_nav ul li ol>li:hover a {
        text-indent: 50px;
        color: #d9242a;
    }
	/* 小屏搜索 */
	 .m_nav .search3{
            position: absolute;
            top: 36px;
            right: 0;
            width: 420px;
    }
    .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: 960px){
    footer div.xx,.w1300{
        padding: 0 20px;
    }
    footer{
        background-size: auto 100%;
    }
    footer p.xnlj, footer p.dz{
        width:100%;
        padding: 10px 0 10px 30px;
    }
    footer div.xx p.code{
       display: none;
    }
    footer .bq{
        line-height: 36px;
    }
}
@media only screen and (max-width: 768px){
    footer div.xx,.w1300{
        padding: 0 15px;
    }
    footer div.xx p.code{
        right:15px;
    }
    .header_m{
        padding: 10px 15px;
    }
    .header_m .m_logo a, .header_m .m_logo a img{
        height: 46px;
    }
    .menu1{
        top: 13px;
        right: 15px;
    }
    .m_nav{
        top:66px;
        height: calc(100% - 66px);
    }
    footer p.xnlj, footer p.dz,footer p.xnlj, footer p.xnlj a{
        line-height: 20px;
    }
}
@media only screen and (max-width: 560px){
    .header_m .lj_top,.m_nav .search3,.m_nav ul{
        width:100%;
    }
    .m_nav ul>li>a{
        font-size:16px;
        line-height: 46px;
    }
    .m_nav ul li i {
        height: 46px;
    }
    .m_nav ul li ol>li{
        line-height:38px;
        font-size: 14px;
        text-indent: 30px;
    }
}