﻿header{
    width: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #FFF;
}
.hongxin-loading{
    width: 0%;
    display: block;
    height: 2px;
    background-color: #ea4504;
}
.header-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin:  0 auto;
    position: relative;
    padding: 5px 0;
    font-size: 0;
}
.header-logo{
    width: 320px;
    max-width: 100%;
    display: block;
    float: left;
    transition: all .3s linear;
}
.header-menu{
    display: block;
    float: right;
    text-align: right;
}



.header-menu li{
    font-size: 18px;
    display: inline-block;
    height: 64px;
    line-height: 64px;
    padding:0 20px ;
    letter-spacing: 1px;
    transition: all .3s linear;
}
header{
    box-shadow: rgba(0,0,0,0)0px 0px 0px;
}
.header2{
    box-shadow: rgba(0,0,0,0.6) 2px 2px 2px;
    transition: all .3s linear;
}
.header2 .header-logo{
    width: 250px;
}
.header2 .header-menu li{
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
}
.header-menu li:last-child{
    padding-right: 0;
}

.header-menu li:first-child{
    padding-left: 0;
}


/*----------------------------------*/
.rwd-menu{
    width: 59px;
    position: absolute;
    right: 3%;
    top: 45px;
    z-index: 99999;
    display: none;
}
.rwd-menu span{
    width: 40px;
    display: block;
    margin: 0 auto;
    height: 4px;
    background-color: #000;
    position: relative;
}
#index .rwd-menu span{
    background-color: #FFF;
}
.rwd-menu span:nth-child(even){
    margin: 5px auto;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(4){
    top: -28px;
    transform:  scale(0) rotate(-45deg);
}

.rwd-menu.active span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0;
}

.rwd-menu.active span:nth-child(2){
    transform: rotate(45deg);
    transition: all .4s linear;
}
.rwd-menu.active span:nth-child(4){
    transform: scaleX(1) rotate(-45deg);
    transition-delay: 0.3s;
}
.rwd-menu.active span{
    background-color: #ea4504;
}