﻿.xin-header-block{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #FFF;
    z-index: 999;
}
.header-box{
    width: 120px;
    max-width: 100%;
    
}
.header-menu{
    width: 100%;
    height: 100vh;
    display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
          align-items: center;
    -webkit-justify-content: center;
          justify-content: center;
    flex-direction:column;
    -webkit-flex-direction:column;
    position: relative;
}
.header-menu li{
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}
.header-menu li.active .header-menu-title:after,
.header-member.active:after{
    content: 'none';
    width: 8px;
    height: 14px;
    display: block;
    background-color: #448aca;
    position: absolute;
    top: calc(50% - 7px);
    right: 36px;
    font-size: 0;
}
.header-member.active:after{
    right: -4px;
}
.header-menu li:last-child{
    margin-bottom: 0;
}

.header-menu-title{
    font-size: 16px;
    color: #555555;
    width: 100%;
    text-align: center;
    padding-right: 40px;
    box-sizing: border-box;
    display: block;
    transition: all .5s ease;
}

.header-line{
    width: 1px;
    display: block;
    height: 100%;
    position: absolute;
    right: 40px;
    top: 0;
    background-color: #d1d1d1;
}

.header-member{
    width: calc(100% - 40px);
    box-sizing: border-box;
    position: absolute;
    bottom: 80px;
    left: 0;
}
.header-member-icon{
    text-align: center;
    font-size: 20px;
    position: relative;
}
.header-member-title{
    
    display: block;
    position: absolute;
    opacity: 0;
    transition: all .5s ease;
    width: 100%;
    text-align: center;
}
.header-member-title span{
    font-size: 12px;
    display: inline-block;
    background-color: #0068b7;
    color: #FFF;
    padding: 5px 5px;
}
.header-member a:hover .header-member-title{
    opacity: 1;
}
.member-logout{
    width: 100px;
    cursor: pointer;
}
.member-info-list-title{
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    font-weight: bold;
}
.member-info-list-p{
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
}
.member-info-list{
    margin-bottom: 10px;
}
.member-info-list:last-child{
    margin-bottom: 0;
}
.member-info-box{
    margin-bottom: 20px;
}
.rwd-logo-box{
    display: none;
}

.rwd-menu{
    width: 30px;
    max-width: 100%;
    position: absolute;
    right: 20px;
    z-index: 99999;
    display: none;
    top: calc(50% - 7px);
    right: 20px;
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background-color: #555;
    position: relative;
}



/*漢堡樣式1*/
.rwd-menu-style1> span:nth-child(even){
    margin: 4px auto;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu-style1> 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-style1 .rwd-menu-bth-line,
.rwd-menu-style1 .rwd-menu-bth-line2{
    position: absolute;
    top: 6px;
    left:0;
    width: 100%;
}
.rwd-menu-style1 .rwd-menu-bth-line span,
.rwd-menu-style1 .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-style1.active> span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0s;
}

/*漢堡樣式2*/

.rwd-menu-style2> span:nth-child(4){
    display: none;
}
.rwd-menu-style2> span:nth-child(2){
    display: block;
    margin: 4px auto;
}
.rwd-menu-style2{
    width: 25px;
}
.rwd-menu-style2> span{
    transition: all 0.3s ease-in-out;
}
.rwd-menu-style2 .rwd-menu-bth-line,
.rwd-menu-style2 .rwd-menu-bth-line2{
    display: none;
}
.rwd-menu-style2.active{
    animation: smallbig 0.6s forwards;
}
.rwd-menu-style2.active> span:nth-child(1){
    -webkit-transform: translateY(7px) rotate(45deg);
    -ms-transform: translateY(7px) rotate(45deg);
    -o-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}
.rwd-menu-style2.active> span:nth-child(2){
    opacity: 0;
}
.rwd-menu-style2.active> span:nth-child(3){
    -webkit-transform: translateY(-5px) rotate(-45deg);
    -ms-transform: translateY(-5px) rotate(-45deg);
    -o-transform: translateY(-5px) rotate(-45deg);
    transform: translateY(-5px) rotate(-45deg);
}

.rwd-menu-style2.active> span:nth-child(1), 
.rwd-menu-style2.active> span:nth-child(2), 
.rwd-menu-style2.active> span:nth-child(3) {
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}



@keyframes smallbig{
  0%, 100%{
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

  50%{
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }
}
/*------------------hover-----------------*/
.header-menu li:hover .header-menu-title,
.header-menu li.active .header-menu-title{
    color: #0068b7;
}
.step1-list-link-list:hover{
    background-color: #0068b7;
    color: #FFF;
}




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

@media only screen and (max-width: 750px){
    .header-box{
        width: 100%;
        background-color: #FFF;
    }
  
    .rwd-logo-box{
        font-size: 20px;
        padding: 10px 0;
        display: inline-block;
    }
    .rwd-logo-box span{
        font-weight: bold;
        color: #555555;
        transform: skewX(-10deg);
        display: inline-block;
        letter-spacing: 1px;
    }
    .rwd-logo-block{
        width: 100%;
        position: relative;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .rwd-menu{
        display: block;
       
    }
    .xin-header-block{
        width: 100%;
        top: 0;
        left: 0;
    }
    .header-menu{
        width: 100%;
        position: absolute;
        display: none;
        height: inherit;
        background-color: #FFF;

        box-shadow: rgba(0,0,0,0.9)0px 0px 3px ;
    }
    .header-line{
        display: none;
    }
    .header-menu{
        font-size: 0;
    }
    .header-menu li,
    .header-member{
        display: inline-block;
       
        width: 50%;
        margin-bottom: 0;
        padding: 10px 0;
    }
    .header-member{
        position: static;
    }
    .header-menu-title{
        padding-right: 0;
    }
    .xin-header-block{
        box-shadow: rgba(0,0,0,0.9)0px 0px 3px ;
    }
    .header-menu-title{
        position: relative;
    }
    .header-menu li:nth-child(even) .header-menu-title:before{
        content: 'none';
        font-size: 0;
        width: 1px;
        height: 80%;
        position: absolute;
        right: 0;
        top: 10%;
        background-color: #888;
    }
    .header-member-icon{
        display: none;
    }
    .header-member-title{
        opacity: 1;
        position: static;
    }
    .header-member-title span{
        background-color: transparent;
        color: #555;
        font-size: 16px;
    }
    
}

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