﻿/*--------------header-style1-----------------*/

.header-style1{

    position: relative;

    z-index: 999;

    display: block;

    width: 100%;

    background-color: #FFF;

    border-bottom: 1px solid #eee;

}

.header-top-box{

    width: 100%;

    background-color: #b8150b;

    overflow: hidden;

}

.header-top-all-box{

    width: 1280px;

    max-width: 100%;

    display: block;

    margin: 0 auto;

    font-size: 0;

    height: 34px;

}

.header-top-a-box{

    width: 100%;

    display: block;

}



.header-top-email-box,

.header-top-phone-box{

    font-size: 12px;

    color: #fff;

    letter-spacing: 0.06em;

    display: inline-block;

    line-height: 34px;

    transition: all .3s linear;

}

.header-top-email-box{

    margin-right: 30px;

}

.header-top-email-box i,

.header-top-phone-box i{

    margin-right: 5px;

}

.header-style1 .header-box{

    width: 1300px;

    max-width: 100%;

    display: block;

    margin: 0 auto;

    font-size: 0;

    box-sizing: border-box;

    padding: 9.5px 0;

}

.header-style1 .header-logo{

    /* width: 250px; */

    max-width: 100%;

    display: inline-block;

    position: relative;

    vertical-align: middle;

    box-sizing: border-box;

    font-size: 40px;

    font-family: Roboto, "Noto Sans SC";

    letter-spacing: 0.06em;

}





/*------------------------------------------*/



@media only screen and (max-width: 1300px){

    .header-style1 .header-box,

    .header-top-all-box{

        width: 1200px;

    }

    .header-style1 .header-logo{

        padding-right: 30px;

    }

    .header-style1 .header-menu-box {

        width: calc(100% - 400px);

    }

    .header-login{

        width: 95px;

        font-size: 14px;

    }

    .header-login img{

        width: 20px;

    }

}

@media only screen and (max-width: 1200px){

    .header-style1 .header-box,

    .header-top-all-box{

        width: 1000px;

    }

    .header-style1 .header-menu> li{

        margin: 0px 10px;

    }

    .header-style1 .header-menu> li:after{

        right: -11px;

    }

    .header-menu-title{

        font-size: 14px;

    }

}



@media only screen and (max-width: 1000px){

    .header-style1 .header-logo{

        font-size: 30px;

    }

    .header-style1 .header-box,

    .header-top-all-box{

        width: 95%;

    }

    .header-style1 .header-menu-box {

        width: calc(100% - 450px);

    }

    .rwd-menu{

        display: block;

    }

    .header-style1 .rwd-menu{

        display: block;

    }

    .rwd-header-menu-sytle1 .header-menu{

        width: 200px;

        height: 100vh;

        position: fixed;

        top: 0;

        right: -200px;

        z-index: 3;

        display:         flex;

        display: -webkit-flex;

        align-items: center;

        -webkit-align-items: center;

        justify-content: center;

        -webkit-justify-content: center;

        flex-direction:column;

        background-color: #b8150b;

        transition: all .3s linear;

    }

   

    .rwd-header-menu-sytle1 .header-menu.active{

        right: 0;

    }

    .rwd-header-menu-sytle1 .header-menu> li{

        width: 100%;

        display: block;

        margin: 0;

        box-sizing: border-box;

        padding: 20px;

    }

    .rwd-header-menu-sytle1 .header-menu> li:last-child{

        margin-bottom: 0;

     }

     .header-menu-title{

        color: #fff;

     }

     .header-style1 .header-menu> li:after,

     .header-style1 .header-menu> li.header-qa:after{

        content: '';

        width: 100%;

        height: 1px;

        display: block;

        top: 0;

        right: initial;

        left: 0;

        background-color: #c35e58cc;

     }

     .header-style1 .header-menu> li.header-qa:before{

        content: '';

        width: 100%;

        height: 1px;

        display: block;

        position: absolute;

        bottom: 0;

        left: 0;

        background-color: #c35e58cc;

     }

    .header-style1 .header-menu> li.active {

        background-color: #fff;

    } 

    .header-menu-title:hover {

        color: #b8150b;

    }

}

@media only screen and (max-width: 750px){

    .header-style1 .header-logo{

        font-size: 24px;

    }

    .header-top-all-box{

        height: 20px;

    }

}

@media only screen and (max-width: 550px){

    .header-style1 .header-logo{

        /* width: 150px; */

        /* padding-right: 10px; */

        font-size: 20px;

    }

    .header-login{

        width: 90px;

        font-size: 12px;

        line-height: 29px;

    }

    .header-login img{

        width: 15px;

    }

    .header-login span{

        vertical-align: middle;

    }

    .header-style1 .header-menu-box {

        width: calc(100% - 380px);

    }

    .rwd-menu {

        width: 25px;

        right: 10px;

        bottom: 23px;

    }

    .header-top-email-box, .header-top-phone-box{

        letter-spacing: 0.03em;

    }

    .header-top-email-box{

        margin-right: 15px;

    }

    .header-top-email-box:hover,

    .header-top-phone-box:hover{

        letter-spacing: 0.06em;

        color: #fff;

    }

}

@media only screen and (max-width: 400px){

    .header-style1 .header-menu-box {

        width: calc(100% - 340px);

    }

    .header-login-box{

        width: 160px;

    }

    .header-login {

        width: 70px;

        font-size: 12px;

        line-height: 29px;

    }

    .header-login img{

        display: none;

    }

    .rwd-menu{

        bottom: 18px;    

    }

}

@media only screen and (max-height: 400px){

    .rwd-header-menu-sytle1 .header-menu> li{

        padding: 10px 0;

    }

}





.header-style1 .header-menu> li.active .header-menu-title,

.header-menu-title:hover{

    color: #b8150b;

}

.header-login:hover{

    background-color: #5f1713;

    color: #fff;

}

.header-top-email-box:hover,

.header-top-phone-box:hover{

    letter-spacing: 0.1em;

    color: #fff;

}