/*头部样式*/

.header {
    width: 100%;
    min-width: 300px;
    height: auto;
    z-index: 10;
    position: relative;
}

.wrapTop {
    width: 100%;
    background: #8c0000;
}

.top {
    height: 128px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 96%;
}

.logo {
    width: calc(100% - 375px);
    position: absolute;
    left: 0;
    overflow: hidden;
    font-size: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.logo img {
    width: 100%;
}

.logo1 {
    width: calc(324% / 8.25);
}

.logo2 {
    width: calc(481% / 8.25);
    float: right;
}

.top_nav {
    width: auto;
    float: right;
    padding-top: 26px;
}

.top_nav a {
    color: #decdcd;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    height: 20px;
    line-height: 20px;
    margin-left: 15px;
}

.top_nav a:hover {
    color: #fff;
}

.ser {
    width: 222px;
    height: 36px;
    line-height: 36px;
    z-index: 600;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 30px;
    background: #a30000;
}

.t_link {
    position: absolute;
    right: 0;
    top: 72px;
    width: 230px;
}

.t_link a {
    color: #fff;
}

.search {
    width: 100%;
    height: 100%;
    position: relative;
    float: right;
    z-index: 3;
}

.search input.notxt {
    position: absolute;
    width: 150px;
    height: 36px;
    line-height: 36px;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    background: none;
    left: 0px;
    top: 0px;
    padding: 0px;
    margin: 0px;
    padding-left: 25px;
    outline: none;
}

.search input.notxt1 {
    position: absolute;
    width: 36px;
    height: 36px;
    border: none;
    background: url(../images/search_btn.png) center center no-repeat;
    right: 13px;
}

.nav {
    width: 100%;
    height: 56px;
    line-height: 56px;
    background: #780000;
}

.nav ul {
    /* width:1280px; */
    margin: 0 auto;
    font-size: 0;
    text-align: center;
    white-space: nowrap;
}

.nav ul>li {
    position: relative;
    text-align: center;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    transform: perspective(5000px);
    -moz-transform: perspective(5000px);
    -o-transform: perspective(5000px);
    -webkit-transform: perspective(5000px);
}

.nav ul li>a {
    font-size: 17px;
    display: block;
    position: relative;
    color: #fff;
}

.nav ul li>a:hover:after {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    content: "";
    left: 0;
    bottom: 0;
}

.nav ul li.on>a,
.nav ul li:hover>a {}

.nav ul li.on .subNav {
    display: block;
}

.subNav {
    width: 100%;
    background: #780000;
    white-space: normal;
}

.subNav {
    position: absolute;
    right: 0;
    top: 100%;
    display: none;
}

.subNav dd {}

.subNav a {
    color: #fff;
    padding: 10px 15px;
    display: block;
    line-height: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.subNav a:hover {
    background: #a30000;
}

.header {
    position: relative;
}

.header.currents {
    position: fixed;
    left: 0;
    top: -190px;
    transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
}

.header.currents.currentsOn {
    top: 0;
}

.header.currents {
    height: 48px;
    line-height: 48px;
    background: none;
    background-color: #780000;
}

.header.currents .ser {
    display: none;
}

.header.currents .top {
    display: none;
}

.header.currents .nav {
    height: 48px;
    line-height: 48px;
    width: auto;
}

.header.currents .nav li {
    background: none;
}

.header.currents .subNav {
    top: 48px;
}

.header.currents .nav-wrapper {
    height: 56px;
}

.header.currents .nav ul li>a {}

.header.currents .nav ul li.on>a,
.header.currents .nav ul li:hover>a {}

.header.currents {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4)
}

.flipInY {
    -webkit-animation-name: flipInY;
    animation-name: flipInY;
    animation-duration: 0.6s;
    -webkit-animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
    display: block;
}

@keyframes flipInY {
    from {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
        transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
        transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    }
    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}


/*手机端导航*/

.mobile {
    width: 100%;
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    z-index: 999;
}

.mobile-inner-header {
    width: 100%;
    height: 0;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
}

.mobile-inner-header-icon {
    color: #ffffff;
    height: 40px;
    font-size: 25px;
    text-align: center;
    float: right;
    width: 40px;
    position: relative;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}


/* .mobile-inner-header-icon:hover{opacity:0.8;cursor: pointer;} */

.mobile-inner-header-icon span {
    position: absolute;
    left: calc((100% - 25px) / 2);
    top: calc((100% - 1px) / 3);
    width: 25px;
    height: 2px;
    background-color: #006ebf;
}

.mobile-inner-header-icon span:nth-child(1) {
    transform: translateY(4px) rotate(0deg);
}

.mobile-inner-header-icon span:nth-child(2) {
    transform: translateY(-4px) rotate(0deg);
}

.mobile-inner-header-icon-click span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickfirst;
}

.mobile-inner-header-icon-click span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clicksecond;
}

.mobile-inner-header-icon {
    color: #fff;
    height: 42px;
    text-align: left;
    width: 42px;
    position: absolute;
    cursor: pointer;
    margin-right: 8px;
    font-weight: bold;
    text-align: right;
    right: 0;
}

.mobile-inner-header-icon-out span {
    width: 22px;
    height: 2px;
    background: #006ebf;
    display: block;
}

.mobile-inner-header-icon-out span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outfirst;
}

.mobile-inner-header-icon-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outsecond;
}

.mobile-inner-header-icon-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outthird;
}

.mobile-inner-header-icon span:nth-child(1) {
    transform: translateY(4px) rotate(0deg);
}

.mobile-inner-header-icon span:nth-child(2) {
    transform: translateY(-4px) rotate(0deg);
}

.mobile-inner-header-icon span:nth-child(3) {
    transform: translateY(-4px) rotate(0deg);
}

.mobile-inner-header-icon-click span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickfirst;
}

.mobile-inner-header-icon-click span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clicksecond;
}

.mobile-inner-header-icon-click span:nth-child(3) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickthird;
}

@keyframes clickfirst {
    0% {
        transform: translateY(4px) rotate(0deg);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes clicksecond {
    0% {
        transform: translateY(-4px) rotate(0deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

@keyframes clickthird {
    0% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.mobile-inner-header-icon-out span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outfirst;
}

.mobile-inner-header-icon-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outsecond;
}

.mobile-inner-header-icon-out span:nth-child(3) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outthird;
}

@keyframes outfirst {
    0% {
        transform: translateY(0) rotate(-45deg);
    }
    100% {
        transform: translateY(-4px) rotate(0deg);
    }
}

@keyframes outsecond {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    100% {
        transform: translateY(4px) rotate(0deg);
    }
}

@keyframes outthird {
    0% {
        transform: translateY(0) rotate(90deg);
    }
    100% {
        transform: translateY(12px) rotate(0deg);
    }
}

.mobile-inner-nav {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    position: absolute;
    top: 42px;
    left: 0px;
    padding-top: 15px;
    padding-bottom: 17px;
    display: none;
    overflow: hidden;
}

.mobile-inner-nav ul {
    float: right;
    min-width: 210px;
}

.mobile-inner-nav a {
    display: inline-block;
    line-height: 46px;
    text-decoration: none;
    width: 100%;
    font-size: 17px;
    color: #fff;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.mobile-inner-nav a:hover {
    color: #0050a5;
}

.mobile-inner-nav li {
    position: relative;
    padding: 0 20px;
}

.mobile-inner-nav li a {}

.mobile-inner-nav li strong {
    color: #dddd;
    position: absolute;
    right: 5px;
    top: 0;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 45px;
    text-align: center;
    line-height: 40px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.mobile-inner-nav a {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: returnToNormal;
    animation-name: returnToNormal;
}

@-webkit-keyframes returnToNormal {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes returnToNormal {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.mobile_subNav {
    display: none;
    padding-left: 20px;
}

.mobile-inner-nav dd a {
    height: 35px;
    line-height: 35px;
    /* border-bottom: dotted 1px rgba(0,0,0,0.2); */
    font-size: 1.2rem;
}

.mobile_search {
    clear: both;
    position: relative;
    height: 36px;
    margin: 10px 30px 0;
    border: 1px solid #d3d3d3;
    border-radius: 30px;
    overflow: hidden;
}

.mobile_search input.notxt {
    width: 80%;
    margin-left: 13px;
    border: none;
    height: 36px;
    line-height: 36px;
}

.mobile_search input.notxt1 {
    width: 55px;
    background-color: #fff;
    background: url(../images/search_btn.png) no-repeat center center;
    border: none;
    height: 36px;
    line-height: 36px;
    float: left;
}

footer {
    background: #8c0000;
    padding: 38px 0 0;
    overflow: hidden;
}

.footer {}

.footer_lf {
    float: left;
    width: 690px;
}

.footer_lf .footer_logo {
    display: block;
    margin: 10px 9px 0 0;
}

.footer_lf .address {
    margin: 34px 0 0 0;
    float: left;
    max-width: 80%;
    line-height: 30px;
}

.footer_lf span {
    color: #fff;
    padding: 0 35px 3px 0;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    opacity: 0.8;
}

.footer_lf .code_box {
    float: right;
    margin: 20px 0 0;
}

.footer_lf .code_box img {
    width: 70px;
    height: 70px;
    margin: 0 auto 6px;
    display: block;
}

.footer_lf .code_box p {
    color: #fff;
}

.footer_rt {
    float: right;
    max-width: calc(50% - 160px);
}

.footer_rt .title {
    color: #fff;
    padding: 0 0 8px;
    border-bottom: 1px solid #a33333;
}

.footer_rt .friend_links {
    margin: 4px 0 0;
}

.footer_rt a {
    display: block;
    color: #fff;
    line-height: 32px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    opacity: 0.8;
}

.footer_rt a:hover {
    opacity: 1;
}

.copy_right {
    background: #700000;
    text-align: center;
    color: #fff;
    padding: 15px 0 18px;
    margin: 18px 0 0;
}

.copy_right span {
    padding: 0 18px;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

@media screen and (max-width:1480px) {
    .top {
        max-width: 1000px;
    }
    .logo {
        width: 82%;
    }
    .ser {
        width: 122px;
    }
}

@media screen and (max-width:1200px) {
    .nav ul li>a {
        font-size: 16px;
    }
}

@media screen and (max-width:1024px) {
    .ser {
        right: 15px;
    }
}

@media screen and (max-width:992px) {
    .header.currents {
        display: none !important;
    }
    .nav {
        display: none;
    }
    .top_nav,
    .slogan {
        display: none;
    }
    .ser {
        left: 15px;
        right: auto;
        width: 222px;
        top: -39px;
    }
    .logo {
        position: relative;
        z-index: 100;
        top: 0px;
        padding: 30px 0;
        width: 612px;
        transform: none;
    }
    .top {
        height: auto;
        padding: 0px 15px;
        width: auto;
    }
    .mobile {
        display: block;
    }
    .wrapTop {
        border-top: 42px solid #780000;
    }
    .mobile-inner-header-icon-out {
        background: url(../images/m_nav1.png) center no-repeat;
    }
    .mobile-inner-header-icon-click {
        background: url(../images/m_nav2.png) center no-repeat;
    }
    .mobile-inner-header-icon span {
        display: none;
    }
    .footer_lf {
        max-width: 100%;
        float: none;
        margin: 0 auto;
    }
    .footer_rt {
        margin: 38px auto 0;
        float: none;
        max-width: 274px;
    }
    .t_link {
        position: absolute;
        left: 235px;
        top: -41px;
    }
}

@media screen and (max-width:767px) {
    .logo {
        overflow: hidden;
        /* width: 270px; */
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        padding: 30px 0 30px 0; 
    }
    .mobile {
        top: 0px;
    }
    .mobile-inner-nav {
        top: 54px;
    }
    .wrapTop {
        border-top: 37px solid #780000;
    }
    .ser {
        width: 192px;
        height: 32px;
        top: -34px;
    }
    .search input.notxt {
        height: 32px;
        line-height: 32px;
        padding-left: 21px;
    }
    .search input.notxt1 {
        width: 32px;
        height: 32px;
        right: 11px;
        background-size: 13px auto;
    }
    .mobile-inner-nav {
        top: 37px;
    }
    .mobile-inner-header-icon {
        width: 37px;
        height: 37px;
    }
    .mobile-inner-header-icon-out {
        background-size: 20px auto;
    }
    .mobile-inner-header-icon-click {
        background-size: 15px auto;
    }
    .mobile-inner-nav ul {
        min-width: 195px;
    }
    .mobile-inner-nav a {
        font-size: 15px;
        line-height: 43px;
    }
    .footer_lf .footer_logo {
        margin: 0;
    }
    .footer_lf .address {
        max-width: calc(100% - 130px);
    }
    .footer_lf .code_box {
        margin: 46px 0 0;
    }
    .footer_lf span {
        padding: 0 20px 3px 0;
    }
    .footer_rt {
        margin: 52px auto 0;
    }
    .footer_rt a {
        line-height: 30px;
    }
    .copy_right {
        padding: 15px 0;
        margin: 42px 0 0;
        line-height: 22px;
    }
}
@media screen and (max-width:520px) {
    .t_link {
        position: absolute;
        left: 120px;
        top: -30px;
        width:120px
    }
    .ser{ width: 100px;}
}

@media screen and (max-width:480px) {
    .logo {
        /* width: 220px; */
    }
}

@media screen and (max-width:380px) {
    /* .logo{float:left;} */
}
