﻿#index .header-load-active{
    display: none;
}
/*--------------header-style1-----------------*/
.header-style1{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: #FFF;
    padding-top: 2px;
    transition: all .3s linear;
}
.header-style1 .header-box{
    width: 1800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-style1 .header-logo{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 200px;
    max-width: 100%;
}
.header-style1 .header-menu{
    display: inline-block;
    width: calc(100% - 200px);
    text-align: right;
    vertical-align: middle;
}
.header-style1 .index-header-menu{
    display: none;
}
#index .header-style1 .index-header-menu{
    display: inline-block;
}
#index .header-style1 .page-header-menu{
    display: none;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 100px;
    max-width: 100%;
    height: 80px;
    line-height: 80px;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: 'Noto Sans TC';
    color: #555555;
    text-align: center;
}
.header-line-box{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #78cbbf;
    transition: all .5s linear;
}

/* -------------------------------------------------------------- */
.header2{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}


div.header-menu-title{
    cursor: context-menu;
}


.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: 30px;
    max-width: 100%;
    position: absolute;
    right: 20px;
    z-index: 99999;
    display: none;
    top: calc(50% - 7px);
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background-color: #78cbbf;
    position: relative;
}
#index .rwd-menu span{
    background-color: #78cbbf;
}
.rwd-menu> span:nth-child(even){
    margin: 4px 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-style1> span:nth-child(4){
    display: none;
}
.rwd-menu-style1 .rwd-menu-bth-line{
    transform: rotate(-45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line2{
    transform: rotate(45deg);
}
.rwd-menu-bth-line,
.rwd-menu-bth-line2{
    position: absolute;
    top: 6px;
    left:0;
    width: 100%;
}
.rwd-menu-bth-line span,
.rwd-menu-bth-line2 span{
    transform:  scale(0,1);
    transition: all .5s ease;
    position: relative;
}


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

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





@media only screen and (max-width: 1000px){
    .header-style1 .header-logo{
        box-sizing: border-box;
        padding: 5px 0;
        width: 160px;
    }
    .header-style1 .rwd-menu{
        display: block;
    }
    .rwd-header-menu-sytle1 .header-menu{
        display: none;
        width: 100%;
        position: absolute;
        left: 0;
        border:1px solid #d1d1d1;
        border-left: 0;
        border-right: 0;
        background-color: #FFF;
        text-align: left;
    }
    .rwd-header-menu-sytle1 .header-menu> li{
        width: 50%;
        text-align: center;
    }
    .rwd-header-menu-sytle1 .header-menu> li{
        height: 50px;
        line-height: 50px;
    }
    .rwd-header-menu-sytle1 .header-menu> li:nth-child(odd):before{
        content: '';
        width: 1px;
        height: 20px;
        display: block;
        position: absolute;
        right: 0;
        top: calc(50% - 10px);
        background-color: #d1d1d1;
    }
    #index .header-style1 .index-header-menu{
        display: none;
    }
    #page .header-style1 .page-header-menu{
        display: none;
    }
  
}