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

}
.header-style1 .header-logo{
    display: block;
    float: left;
    position: relative;
}
.header-style1 .header-menu{
    display: block;
    float: right;
    font-size: 0;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.header-line{
    width: 100%;
    height: 5px;
    display: block;
    background-color: #eea3a8;
}

/*--------------header-style2-----------------*/
#index .header-style2{
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999;
    background-color: transparent;
}
.header-menu-logo{
    display: block;
    float: left;
    width: 191px;
    max-width: 100%;
    vertical-align: middle;
    padding:20px 0;
    transition: all .3s linear;
}
.header-menu-box{
    font-size: 0;
    letter-spacing: 0;
}
#index .header-style2 .rwd-menu{
    display: block;
    position: absolute;
    top: 5px;
    right: 15px;
    width: 50px;
    height: 50px;
    padding: 15px 0;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s linear;
}
#index .header-style2 .header-menu-box{
    width: 100%;
    height: 100vh;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: all .4s linear;
    font-size: 0;
    background-color:  rgba(240, 157, 162, 0.9);
    transform: scale(0.9);
}
#index .header-style2 .header-menu-box.active{
    display: table;
    pointer-events: auto;
    transform: scale(1);
}
#index .header-style2 .header-menu{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    float: none;
}
#index .header-style2.header2 .header-menu{
    text-align: right;
}
#index .header-style2.header2 .header-menu ul,
.header-menu ul{
    width: 100%;
    max-width: 100%;
    display: none;
    margin: 0 auto;
    text-align: left;
    position: absolute;
    left: 0;
    font-size: 0;
    letter-spacing: 0;
}
.header-products .header-menu-title{
    margin-bottom: 16px;
}
#index .header-style2.header2 .header-menu ul{
    margin-top: 0;
}

#index .header-style2 .rwd-menu span{
    width: 40px;
    height: 3px;
    display: block;
    background-color: #FFF;
}
#index.open .header-style2 .header-menu-title{
    width: 200px;
    margin: 0 auto;
}
#index.open .header-style2 .header-menu> li{
    padding-right: 0;
}
#index .header-style2 .header-menu-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.header2.header-style2 .header-menu-title{
    letter-spacing: 2px;
}
#index .header-style2 .rwd-menu.active{
    background-color: transparent;
}

#index .header2 .header-menu-logo{
    display: inline-block;
    width: 150px;
    max-width: 100%;
    padding: 5px 0;
}
#index .header-style2.header2{
    box-shadow: rgba(0, 0, 0, 1.0)0px -2px 5px; 
}
.header2.header-style2{
    box-shadow: rgba(0, 0, 0, 0.7)0px 2px 15px;
}
.header-products .header-menu-title:after{
    content: '▼';
    font-size: 11px;
    display: inline-block;
    color: #eea3a8;
}
#index.open .header-products .header-menu-title:after{
    color: #FFF;
    font-size: 14px;
    position: absolute;
}

.header-menu-list-box a{
    display: block;
    position: relative;
}
.header-menu-list-box a:after{
    content: 'none';
    display: block;
    font-size: 0;
    position: absolute;
    top: 24px;
    right: 10px;
    width: 0px;
    height: 0px;
    border-left: 11px solid #555;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: all .3s linear;
}
#index.open .header-menu-list-box a:after{
    border: 0;
    content: '▼';
    font-size: 16px;
    color: #FFF;
    top: 0;
}
/* -------------------------------------------------------------- */
#index .header2 .rwd-menu{
    display: none;
}
#index .header2 .header-logo{
    display: none;
}

.header2.header-style2 .rwd-menu span{
    background-color: #FFF;
}
#index .header-style2.header2{
    background-color: #FFF;
    position: fixed;

}
.header-style2{
    width: 100%;
    display: block;
    letter-spacing: 1px;
    background-color: #FFF;
    position: fixed;
    z-index: 999;
    top: 0;
}
#index .header-style2.header2 .header-menu,
.header2 .header-menu{
    display: block;
    letter-spacing: 1px;
    float: right;
    transition: all .3s linear;
}

#index .header-style2 .header-menu> li{
    display: block;
}
#index .header-menu-logo{
    display: none;
}
#index .header-style2.header2 .header-menu> li,
.header-style2 .header-menu> li{
    display: inline-block;
    padding-right: 30px;
}
#index .header-style2.header2 .header-menu> li:last-child,
.header-style2 .header-menu li:last-child{
    padding-right: 0;
}
#index .header-style2 .header-box{
    width: 100%;
}
#index .header2.header-style2 .header-box,
.header-style2 .header-box{
    width: 1440px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
#index .header-style2.header2 .header-menu-title,
.header2 .header-menu-title{
    color: #555555;
    font-size: 14px;
}
.header2 .header-menu-logo{
    padding: 10px 0;
}
.header-box{
    position: relative;
}
.header-menu-title{
    display: block;
    transition: all .3s linear;
}
#index .header2.header-style2 .header-menu-box,
.header-menu-box{
    height: inherit;
    position: relative;
    opacity: 1;
    display: block;
    background-color: #FFF;
    transform: scale(1);
    letter-spacing: 0;
}
#index .header2.header-style2 .header-menu-list-box> li,
.header-menu-list-box> li{
    display: inline-block;
    font-size: 14px;
    width: 50%;
    text-align: center;
    position: relative;
    text-align: center;
}

#index .header2.header-style2 .header-menu-title,
.header2.header-style2 .header-menu-title{
    position: relative;
}
.header-menu-title{
    font-size: 14px;
    position: relative;
    letter-spacing: 1px;
    cursor: pointer;
    color: #555555;
}



#index .header2.header-style2 .header-menu-list{
    width: 100%;
    display: block;
}


.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;

}


#index.open .header-style2 .header-menu ul{
    position: relative;
}
.header-menu-list-box> li{
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    color: #555;
}
.header-menu-list-box> li:nth-child(even){
    border-right: 0;
}


.header-menu-list-box{
    background-color: #FFF;
    border: 1px solid #ddd;
    border-bottom: 0;
    box-sizing: border-box;
}
#index.open .header-style2 .header-menu ul{
    background-color: transparent;
    /* text-align: center; */
}
#index.open .header-style2 .header-menu-list-box> li{
    border: 0;
    color: #FFF;
    height: 30px;
    line-height: 30px;
    width: 150px;
}
#index.open .header-menu ul{
    width: 600px;
}
#index.open .header-menu-list-box{
    border: 0;
}
.header-style2.header2{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.header-logo{
    display: none;
}
.clear:after{
    position: absolute;
}
/*----------------------------------*/
.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: 12px 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: -30px;
    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: #FFF;
}

.header-style2 .rwd-menu{
    display: none;
}
.header-logo-title{
    display: none;
}
.header-link-box{
    display: block;
    position: absolute;
    top: 20px;
    transition: all .3s linear;
    right: 0;
}
.header2 .header-link-box{
    top: 10px;
}
.header-link-box .header-link:first-child{
    margin-right: 20px;
}
.header-link{
    letter-spacing: 1px;
    color: #555;
    font-size: 12px;
    transition: all .3s linear;
}
.header-link i{
    color: #eea3a8;
    padding-right: 5px;
}

@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 .rwd-menu{
        display: block;
    }
    .header-style1 .rwd-menu span{
        background-color: #FFF;
    }
    .header-style1 .rwd-menu{
        top: 18px;
    }
    .header-style1 .header-menu{
        width: 300px;
        float: none;
        position: absolute;
        left: -300px;
        top: 0;
        height: 100vh;
        transition: all .3s linear;
        background-color: rgba(58, 145, 199, 1);
        z-index: 9;
    }
    .header-style1  .header-menu li{
        width: 100%;
        display: block;
    }

    .header-style1  .header-style1 .header-menu.open{
        left: 0;
    }
    .header-style1  .header-menu-list-box{
        transform: scale(1, 1);
        width: 300px;
        left: -300px;
        transition: all .3s linear;
        position: fixed;
        top: 0;
        height: 100vh;
        background-color: #000;
        z-index: 9;
    }
    .header-style1  .header-menu-list-box.open{
        left: 0;
    }
    .header-style1  .header-menu-list-box li{
        background-color: transparent;
    }
    .header-style1  .rwd-menu-list-back{
        display: block;
        color: #FFF;
        text-align: right;
        padding: 20px 0;
        border-bottom: 1px solid #EEE;
        width: 100%;
        box-sizing: border-box;
        padding-right: 20px;
    }
    .header-style1  .header-menu li{
        width: 100%;
        padding: 0;
    }
    .header-style1 .header-menu-list{
        padding: 10px 0;
        padding-left: 10px;
        box-sizing: border-box;
        border-bottom: 1px solid #FFF;
    }
}
