﻿#back-top{
    position: absolute;
    top: 0;
}
/*--------------header-style1-----------------*/
.header-style1{
    position: relative;
    z-index: 999;
    display: block;
    width: 100%;
    background-color: #FFF;
}
.header-style1 .header-box{
    width: 95%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-style1 .header-logo{
    width: 305px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.header-style1 .header-logo a{
    width: 210px;
    display: inline-block;
}
.header-style1 .header-menu-box{
    width: calc(100% - 610px);
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    text-align: center;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    padding: 31px 0;
    width: 100px;
}
.header-menu-title{
    font-size: 16px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    color: #333;
    letter-spacing: 1px;
    transition: all .3s linear;
    z-index: 3;
}
.header-menu-title:after{
    content: '';
    width: 0%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    height: 1px;
    background-color: #ae8c4f;
    transition: all .3s linear;
}
.header-booking .header-menu-title:after{
    display: none;
}

.header-style1 .header-menu> li.header-booking{
    width: inherit;
    padding: 23px 0;
}
.header-booking .header-menu-title{
    background-color: #162148;
    line-height: 40px;
    width: 100px;
}
div.header-menu-title{
}
.header-booking .header-menu-title>span{
    color: #fff;
    display: block;
    font-weight: bold;
    transition: all .3s linear;
}

.header-function-box{
    width: 305px;
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    text-align: right;
}
.header-function-member-box{
    border: 1px solid #162148;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    color: #162148;
    box-sizing: border-box;
    padding: 0 5px;
    padding-top: 3px;
    padding-bottom: 5px;
    margin-right: 10px;
}
.header-function-member-box p{
    display: inline-block;
    vertical-align: middle;
}
.header-function-member-btn{
    display: inline-block;
    vertical-align: middle;
    transition: all .3s linear;
}
.header-function-fb-box,
.header-function-ig-box{
    font-size: 28px;
    color: #162148;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    transition: all .3s linear;
    cursor: pointer;
}
.header-function-ig-box{
    font-size: 30px;
}
.header-function-language-box{
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}
.header-function-language-box i{
    vertical-align: middle;
    font-size: 26px;
    color: #162148;
    margin-right: 2px;
}
.header-function-language-list{
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    transition: all .3s linear;
}
.header-function-language-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 4px solid transparent;
    border-top: 5px solid #162148;
    border-left: 4px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 3px);
    right: -10px;
    box-sizing: border-box;
}
.header-function-language-list-box{
    width: 54px;
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #162148;
    box-sizing: border-box;
    padding: 8px 0;
    text-align: left;
    left: 14px;
}
.header-function-language{
    font-size: 14px;
    display: block;
    color: #162148;
    box-sizing: border-box;
    padding: 0 5px;
    transition: all .3s linear;
}
.header-function-buycar-box{
    display: inline-block;
    vertical-align: middle;
    color: #162148;
    margin-right: 15px;
    transition: all .3s linear;
    cursor: pointer;
}
.header-function-buycar-box i{
    font-size: 26px;
    position: relative;
}
.header-function-buycar-number{
    font-size: 12px;
    width: 19px;
    padding-top: 3px;
    padding-bottom: 2px;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    top: -7px;
    right: -7px;
    border: 1px solid #162148;
    background-color: #fff;
    border-radius: 50%;
    color: #162148;
}
.header-function-member-login{
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: all .3s linear;
}
/*----------------header-introduction----------------*/
.header-introduction-box{
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255,255,255,0.8);
    z-index: 20;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: all .3s linear;
    transform-origin: 50% 0%;
}
.header-introduction:hover .header-introduction-box{
    opacity: 1;
    pointer-events: auto;
}
.header-introduction-info-box{
    width: 880px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: left;
}
.header-introduction-info{
    width: 260px;
    max-width: 100%;
    display: inline-block;
    text-align: center;
    padding-right: 50px;
    outline: none;
    overflow: hidden;
}
.header-introduction-info-img-box{
    display: block;
    width: 100%;
    height: 120px;
    overflow: hidden;
}
.header-introduction-info-img{
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all .3s linear;
}
.header-introduction-info-text{
    font-size: 16px;
    font-weight: bold;
    color: #162148;
    display: block;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 5px;
    transition: all .3s linear;
}
.header-introduction-info-box .slick-prev{
    left: -50px;
    top: calc(160px / 2);
    width: initial;
    height: initial;
}
.header-introduction-info-box .slick-next{
    right: -50px;
    top: calc(160px / 2);
    width: initial;
    height: initial;
}
.header-introduction-info-box .slick-prev:before{
    content: '\f104';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    opacity: 1;
    font-size: 36px;
    color: #162148;
}
.header-introduction-info-box .slick-next:before{
    content: '\f105';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    opacity: 1;
    font-size: 36px;
    color: #162148;
}
.header-introduction-info-box .slick-disabled:before, 
.header-introduction-info-box .slick-disabled:before{
    opacity: 0;
}





.header2.header-style2 .rwd-menu{
    background-color: #01344f;
}
.header2.header-style2 .rwd-menu span{
    background-color: #FFF;
}


.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: #162148;
    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-title:hover,
.header-style1 .header-menu> li.active .header-menu-title{
    color: #ae8c4f;
}
.header-menu-title:hover:after,
.header-style1 .header-menu> li.active .header-menu-title:after{
    width: 100%;
}
.header-introduction:hover .header-menu-title{
    color: #ae8c4f;
}
.header-booking .header-menu-title>span:hover{
    color: #fff;
    background-color: #ae8c4f;
}
.header-function-member-btn:hover,
.header-function-member-login:hover{
    color: #ae8c4f;
}
.header-function-buycar-box:hover{
    color: #ae8c4f;
}
.header-function-fb-box:hover,
.header-function-ig-box:hover{
    color: #162148;
}
.header-function-language-list:hover{
    color: #ae8c4f;
}
.header-function-language:hover{
    background-color: #162148;
    color: #fff;
}
.header-introduction-info:hover .header-introduction-info-img{
    transform: scale(1.1);
}
.header-introduction-info:hover .header-introduction-info-text{
    color: #ae8c4f;
}
/*------------------------------------------*/

@media only screen and (max-width: 1200px){
    .header-style1 .header-logo{
        width: 200px;
    }
    .header-style1 .header-menu-box{
        width: calc(100% - 510px);
    }
    .header-style1 .header-menu> li,
    .header-booking .header-menu-title{
        width: 80px;
    }
}

@media only screen and (max-width: 1000px){
    .rwd-menu{
        display: block;
    }
    .header-style1 .rwd-menu{
        display: block;
    }
    .rwd-header-menu-sytle1 .header-menu{
        width: 100%;
        position: absolute;
        top: 48.75px;
        left: 0;
        z-index: 3;
        background-color: #eee;
        transition: none;
    }
    .header-booking .header-menu-title>span{
        background-color: transparent;
        color: #162148;
        line-height: inherit;
    }
    .header-style1 .header-menu> li,
    .header-style1 .header-menu> li.header-booking{
        padding: 15px 0;
        width: 80px;
    }
    .header-booking .header-menu-title{
        background-color: transparent;
        line-height: initial;
    }
    .header-function-box{
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        text-align: center;
        box-shadow: 0 0 10px #888;
        z-index: 4;
    }
    .header-function{
        box-sizing: border-box;
        padding: 10px 0;
    }
    .header-function-member-box{
        margin-right: 0;
        padding-bottom: 3px;
    }
    .header-function-buycar-box{
        width: 30%;
        margin-right: 0;
    }
    .header-function-fb-box, 
    .header-function-ig-box{
        width: 7%;
        margin-right: 0;
    }
    .header-function-language-box{
        width: 15%;
        margin-right: 0;
    }
    .header-function-language-list-box{
        bottom: 100%;
        left: calc(50% - 20px);
    }
    .header-style1 .header-box{
        box-sizing: border-box;
        padding: 5px 0;
    }
    .header-introduction-info-box{
        width: 630px;
    }
    .header-introduction-info{
        width: 190px;
        padding-right: 30px;
    }
    .header-introduction-info-img-box{
        height: 88px;
    }
    .header-introduction-info-text{
        font-size: 14px;
    }
    .header-introduction-info-box .slick-prev{
        left: -30px;
        top: calc(125px / 2);
    }
    .header-introduction-info-box .slick-next{
        right: -30px;
        top: calc(125px / 2);
    }
    .header-style1 .header-logo{
        width: 155px;
    }
    .header-style1 .header-logo a{
        width: inherit;
    }
}
@media only screen and (max-width: 750px){
    .header-introduction-info-box{
        width: 400px;
    }
}
@media only screen and (max-width: 550px){
    .header-style1 .header-logo{
        width: 125px;
    }
    .rwd-header-menu-sytle1 .header-menu{
        top: 41px;
    }
    .header-menu-title{
        font-size: 12px;
        width: 60px;
    }
    .header-introduction-info-box{
        width: 270px;
    }
    .header-introduction-info{
        width: 130px;
        padding-right: 10px;
    }
    .header-introduction-info-img-box{
        height: 60px;
    }
    .header-introduction-info-text{
        font-size: 12px;
        padding-top: 5px;
    }
    .header-introduction-info-box .slick-prev{
        left: -25px;
        top: calc(100px / 2);
    }
    .header-introduction-info-box .slick-next{
        right: -25px;
        top: calc(100px / 2);
    }
    .header-function-fb-box, .header-function-ig-box{
        width: 12.5%;
    }
    .header-function-language-box{
        width: 20%;
    }
    .header-function-buycar-box{
        width: 20%;
    }
    .header-function-member-box{
        font-size: 12px;
    }
    .header-function-member-box p{
        vertical-align: top;
    }
    .header-function-buycar-box i{
        font-size: 22px;
    }
    .slick-prev:before, .slick-next:before{
        font-size: 24px;
    }
    .header-style1 .header-menu> li,
    .header-style1 .header-menu> li.header-booking{
        padding: 10px 0;
        width: 60px;
    }
    .header-style1 .header-menu> li, .header-booking .header-menu-title{
        width: 60px;
    }
}