﻿/*--------------header-style1-----------------*/
.header-style1{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: rgba(255,255,255,0.8);
}

.header-style1 .header-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
}
.header-style1 .header-logo{
    width: 170px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    padding: 5px 0;
    transition: all .5s linear;
}
.header-style1 .header-logo a{
    width: 170px;
    max-width: 100%;
    display: block;
    transition: all .5s linear;
}
.header-style1.header2 .header-logo a{
    width: 150px;
}
.header-style1 .header-menu-box{
    width: calc(100% - 170px);
    text-align: right;
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    position: relative;
}
.header-style1.header2 .header-menu-box{
    width: calc(100% - 170px);
    transition: all .5s linear;
}

.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 14px;
    letter-spacing: 2px;
}

.header-link-box{
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.header-style1 .header-menu> li.header-pic,
.header-style1 .header-menu> li.header-travel{
    display: none;
}
.header-menu-title{
    font-size: 14px;
    color: #555;
    letter-spacing: 2px;
    padding: 19px 0;
    transition: all .5s linear;
}
.header2 .header-menu-title{
    padding: 17px 0;
}
.header-menu> li{
    padding: 0px 15px;
    transition: all .5s linear;
}
.header-menu> li:first-child{
    padding-left: 0;
}
.header-style1 .header-menu li:last-child{
    padding-right: 0;
}
.header-menu-s-list-box{
    position: absolute;
    left: 0;
    width: 100%;
    text-align: left;
    background-color: #FFF;
}
.header2 .header-menu-s-list-box{
    background-color: rgba(255,255,255,0.8);
}
.header-menu-s-list a{
    padding: 5px 0;
    padding-left: 15px;
    box-sizing: border-box;
    display: block;
    transition: all .5s ease;
}
.header-menu-s-list a:hover{
    background-color: #00a48b;
    color: #FFF;
}

.header-vip{
    cursor: pointer;
}

.language-box{
    position: absolute;
    right: -130px;
    width: 65px;
    max-width: 100%;
    top: 0;
    transition: all .5s ease;
}

.language-class-title{
    font-size: 14px;
    color: #8b6d4a;
    letter-spacing: 2px;
    position: relative;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.language-class-title:before{
    content: 'none';
    font-size: 0;
    width: 1px;
    height: 20px;
    background-color: #ddd;
    display: block;
    position: absolute;
    top: 0;
    left: -30px;
}
.language-class-title:after{
    content: '▼';
    font-size: 12px;
    color: #555;
    display: block;
    position: absolute;
    right: 0;
    top:1px;
}

.language-class-list-box{
    text-align: center;
    display: none; 
    font-size: 14px;
    letter-spacing: 2px;
    position: absolute;
    right: 0;
    width: 90px;
    background-color:#00a48b;
    color: rgb(255, 255, 255);
    padding: 5px 0;
}

.language-class-list-box li{
    padding-top: 5px;
    padding-bottom: 5px;
    transition: all .3s linear;
    cursor: pointer;
}


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

.header-menu-list-box li{
    margin-bottom: 30px
}

.header-menu-title{
 
    position: relative;
}
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);
    z-index: 2;
}

.mask.active{
    display: block;
}
/*--------------fancybox表單--------------------*/
.member-table{
    width: 100%;
    height: 100vh;
     display: table;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s ease;
    pointer-events: none;
}
.member-table.active{
    pointer-events: auto;
    opacity: 1;
}
.table-mid{
    display: table-cell;
    vertical-align: middle;
}
.member-table-mask{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 0;
    left: 0;
}
.member-in-box{
    width: 900px;
    max-width: 100%;
    display: block;
    border: 1px solid #ddd;
    height: 300px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding:50px 99px; 
}
.member-in-close{
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #434343;
    color: #00a48b;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.member-in-title{
    font-size: 22px;
    color: #00a48b;
    font-weight: bold;
    letter-spacing: 5px;
    padding-bottom: 10px;
}
.member-in-p{
    font-size: 14px;
    color: #FFF;
    letter-spacing: 2px;
    text-align: justify;
    padding-bottom: 25px;
}
.member-in{
    font-size: 0;
}
.member-in-info{
    display: inline-block;
    vertical-align: bottom;
    width: calc(100% - 90px);
    padding-right: 40px;
    box-sizing: border-box;
}
.member-button{
    width: 90px;
    height: 90px;
    max-width: 100%;
    display: inline-block;
    vertical-align: bottom;
    color: #FFF;
    letter-spacing: 10px;
    padding: 18px 0;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #00a48b;
    padding-left: 13px;
    font-family: "Microsoft JhengHei";
    padding-right: 2px;
    border: 0;
    cursor: pointer;
}
.member-in-info-input{
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #00a48b;
    font-size: 16px;
    letter-spacing: 2px;
    width: 100%;
    padding-bottom: 5px;
    color: #00a48b;
}
.member-in-info li{
    margin-bottom: 20px;
}
.member-in-info li:last-child{
    margin-bottom: 0;
}
.member-in-info-input::-webkit-input-placeholder { color:#00a48b; font-family: "Microsoft JhengHei";}
.member-in-info-input:-moz-placeholder { color:#00a48b; font-family: "Microsoft JhengHei" }
.member-in-info-input::-moz-placeholder { color:#00a48b; font-family: "Microsoft JhengHei" }
.member-in-info-input:-ms-input-placeholder { color:#00a48b; font-family: "Microsoft JhengHei" }

/*----------------------------------*/
.rwd-menu{
    width: 40px;
    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: #00a48b;
    position: relative;
}

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

.language-class-rwd-out{
    display: none;
}

@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){
    .rwd-menu span:nth-child(4){
        top: -23px;
    }
    .header-style1 .rwd-menu{
        display: block;
    }

    .header-style1 .rwd-menu{
        top: 15px;
    }

    .header-style1 .header-menu{
        width: 100%;
        
        transition: all .3s linear;
        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;
    }
}