﻿/*--------------header-style1-----------------*/
.header-style1{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
}
.header-style1 .header-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;

}
.header-style1 .header-logo{
    display: block;
    float: left;
    position: relative;
    padding: 5px 0;
    transition: all .5s ease;
}
.header-style1 .header-menu{
    display: block;
    float: right;
    font-size: 0;
    position: relative;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}
.header-link-box{
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}
.header-menu-title{
    display: block;
}

.header-menu-list{
    height: 80px;
    line-height: 80px;
    width: 100px;
    max-width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    transition: all .5s ease;
}
.header-menu-list:after{
    content: 'none';
    font-size: 0;
    width: 1px;
    height: 100%;
    display: block;
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    top: 0;
    right: 0;
}

.header2 .header-menu-list:after,
.header2 .header-menu .header-menu-list:first-child:before,
.header2 .header-bottom-line{
    background-color: rgba(0,0,0,0.2);
}
.header-menu .header-menu-list:first-child:before{
    content: 'none';
    font-size: 0;
    width: 1px;
    height: 100%;
    display: block;
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    top: 0;
    left: 0;
}
.header-bottom-line{
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0.2);
}
.fiexd-serch-box{
    width: 300px;
    max-width: 100%;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all .5s ease;
    pointer-events: none;
}
.fiexd-serch-box.open{
    opacity: 1;
    pointer-events: auto;
}
.fiexd-serch-box .index-search-input-box{
    display: block;
    opacity: 1;
    animation: none;
    font-size: 14px;
}
.header-style1 .header-logo span{
    font-size: 16px;
    color: #FFF;
    letter-spacing: 1px;
    transition: all .5s ease;
}
.header-style1.header2 .header-logo span{
    color: #000;
}
.header-logo1{
    width: 72px;
    max-width: 100%;
    transition: all .5s ease;
}
.header-logo2{
    width: 72px;
    max-width: 100%;
    transition: all .5s ease;
}
.header-style1.header2 .header-logo2,
.header-style1.header2 .header-logo1{
    width: 60px;
}

/* -------------------------------------------------------------- */
.header2.header-style2 .rwd-menu{
    background-color: #01344f;
}
.header2.header-style2 .rwd-menu span{
    background-color: #FFF;
}
.header-menu-list-box li{
    margin-bottom: 30px
}
.header-logo a{
    display: block;
    position: relative;
}
.header-logo2{
    position: absolute;
    top: 0;
    left:0; 
    opacity: 0;
    transition: all .5s ease;
}
.header2 .header-logo2{
    opacity: 1;
}



.rwd-menu-list-back{
    display: none;
}
.mask{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.mask.active{
    display: block;
}

/*----------------------------------*/
.rwd-menu{
    width: 40px;
    max-width: 100%;
    position: absolute;
    right: 20px;
    z-index: 99999;
    display: none;
}
.rwd-menu span{
    width: 40px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: 4px;
    background-color: #FFF;
    position: relative;
}
#index .rwd-menu span{
    background-color: #FFF;
}
.rwd-menu> span:nth-child(even){
    margin: 8px 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: -19px;
    transform:  scale(0,1) rotate(-45deg);
}

.rwd-menu-bth-line{
    transform: rotate(-45deg);
}
.rwd-menu-bth-line2{
    transform: rotate(45deg);
}
.rwd-menu-bth-line,
.rwd-menu-bth-line2{
    position: absolute;
    top: 8px;
    left:0;
}
.rwd-menu-bth-line span,
.rwd-menu-bth-line2 span{
    transform:  scale(0,1);
    transition: all .5s ease;
    position: relative;
}


.rwd-menu.bth2 .rwd-menu-bth-line span,
.rwd-menu.bth2 .rwd-menu-bth-line2 span{
    transform:  scale(1,1) ;
    transition-delay: .1s;
}
.rwd-menu.bth2> span:nth-child(1),
.rwd-menu.bth2> span:nth-child(3){
    transform: scale(0,1);
}
.rwd-menu.bth2> span:nth-child(2){
    transform: scale(0,1);
}
.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: #FFF;
}



@media only screen and (max-width: 1200px){
    .header-style1 .header-box{
        width: 95%;
        margin: 0 auto;
    
    }
    .header-style2 .header-menu ul{
        width: 100%;
    }
}

@media only screen and (max-width: 1000px){
    .header-style1 .header-logo{
        float: none;
        display: inline-block;
    }
    .index-link-box{
        margin-bottom: 10px;
    }
    .header-style1 .header-box{
        position: relative;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .header-style1 .rwd-menu{
        display: block;
    }
    
    .header-style1 .rwd-menu{
        top: calc(50% - 9px);
    }

}