﻿.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;
     padding: 5px 0;
}
.header-style1 .header-menu{
    display: block;
    float: right;
    font-size: 0;
    margin-top: 40px;
    transition: all .3s linear;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
}

.header-menu-title{
    display: block;
    font-size: 18px;
    padding: 5px 0;
    margin: 0 15px;
    position: relative;
    font-weight: bold;
    margin-bottom: 20px;
    color: #182F5A;
    transition: all .3s linear;
}
.header-style1 .header-menu> li:last-child .header-menu-title{
    margin-right: 0;
}
div.header-menu-title{
    cursor: context-menu;
}
.header-menu li:last-child .header-menu-title{
    padding-right: 0;
}
.header-menu-list-box{
    width: 200px;
    display: block;
    position: absolute;
}
.header-menu-list-box li{
    width: 100%;
    display: block;
    background-color: rgba(58, 145, 199, 0.8);
    padding-left: 10px;
    box-sizing: border-box;
    transition: all .3s linear;
}
.header-menu-list{
    width: 100%;
    display: block;
    padding: 5px 0;
}
.header-menu-list-box{
    transform-origin: top;
    transform: scale(1, 0);
    transition: all .3s linear;
}
.header-menu li:hover .header-menu-list-box{
    transform: scale(1, 1);
}

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

.header-menu-knowledge-list-icon{
    display: none;
    font-size: 16px;
    position: absolute;
    right: 10px;
    top: 5px;
    transform: rotate(-90deg);
}

/*----------------------------------*/
#index .rwd-menu{
    top: 25px;
}
.rwd-menu{
    width: 59px;
    position: absolute;
    right: 3%;
    top: 35px;
    z-index: 99999;
    display: none;
    transition: all .3s linear;
}
.rwd-menu span{
    width: 40px;
    display: block;
    margin: 0 auto;
    height: 4px;
    background-color: #f8a322;
    position: relative;
}

.rwd-menu span:nth-child(even){
    margin: 10px 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: -28px;
    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;
}

.header2 .rwd-menu,
#index .header2 .rwd-menu{
    top: 18px;
}
.header-style1.header2 .header-menu{
    margin-top: 33px;
}
.header-style1.header2.stickyOpen {
    box-shadow: rgba(0, 0, 0, 0.2)0px 2px 5px;
}

@media only screen and (max-width: 1200px){
    .header-style1 .header-box{
        width: 95%;
        margin: 0 auto;
    
    }
}

@media only screen and (max-width: 1000px){
    .rwd-menu{
        display: block;
    }
    .header-style1 .header-menu{
        width: 100%;
        float: none;
        transition: all .3s linear;
        z-index: 9;
    }
    .header-menu li{
        width: 100%;
        display: block;
    }

    .header-style1 .header-menu.open{
        left: 0;
    }
    .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-menu-list-box.open{
        left: 0;
    }
    .header-menu-list-box li{
        background-color: transparent;
    }
    .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;
        font-size: 16px;
    }
    .header-menu li{
        width: 100%;
        padding: 0;
    }
    .header-menu-list{
        padding: 10px 0;
        padding-left: 10px;
        box-sizing: border-box;
        border-bottom: 1px solid #FFF;
    }
    .header-menu-knowledge-list-icon{
        display: block;
    }
    .header-menu-knowledge-list-title{
        width: 100%;
        position: relative;
    }
}

@media only screen and (min-width: 1000px){
    .header2 .header-language-box{
        top:-150px;
    }
}
/* -----------------會員專區---------------- */
.header-member-link-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    position: fixed;
    top: 10px;
    left: calc(50% - 600px);
    text-align: right;
    z-index: 999;

}

.header-member-join,
.header-member-inset,
.header-buycar-box{
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
    letter-spacing: 1px;
    font-size: 14px;
    color: #555;
}
.header-member-join i,
.header-member-inset i,
.header-buycar-box i{
    color: #f8a322;
}
.header-member-link-box> a:first-child{
    margin-left: 0;
}
.header-buycar-icon i,
.header-buycar-icon p,
.header-buycar-icon span{
    display: inline-block;
}
.header-buycar-icon span{
    font-size: 12px;
}
.header-contact{
    position: relative;
    z-index: 1;
}
.header-buycar-info-box{
    position: absolute;
    width: 312px;
    max-width: 100%;
    right: 0;
    font-size: 0;
    transition: all .3s linear;
    transform: scale(0, 1);
    transform-origin: right;
    box-sizing: border-box;
    padding-top: 15px;
}
.header-buycar-info-block{
    width: 100%;
    position: relative;
    border: 1px solid #ddd;
    box-sizing: border-box;
    padding: 10px 20px;
    box-sizing: border-box;
    letter-spacing: 0;
    background-color: #FFF;
}
.header-buycar-info-arrow{
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    top: 5px;
    right: 11px;
    background-color: #FFF;
    transform: rotate(45deg);
}
.header-buycar-icon{
    cursor: context-menu;
}



.header-buycar-info-title div,
.header-buycar-info div{
    font-size: 12px;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 2px;
}
.header-buycar-num{
    width: 20%;
    text-align: left;
}
.header-buycar-name{
    width: 60%;
    text-align: center;
}
.header-buycar-pic{
    width: 20%;
    text-align: right;
}
.header-member-in-box{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 999;
}
.header-member-in-box.active{
    display: table;
}
.header-member-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
}
.header-member-mid{
    display: table-cell;
    vertical-align: middle;
}
.header-member-info-box{
    position: relative;
    z-index: 1;
    width: 460px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
}
.member-download-title{
    color: #fff;
}
.tadmin-download-list .header-member-info-box{
    width: 800px;
}
.tadmin-download-list .member-details-info-box li{
    color: #fff;
}
.header-member-info-title{
    font-size: 18px;
    color: #FFF;
    letter-spacing: 2px;
    padding: 5px 0;
    font-weight: 400;
}
.header-member-info-p{
    font-size: 14px;
    color: #FFF;
    letter-spacing: 2px;
    padding: 5px 0;
}
.header-member-info-p a{
    color: #85cafe;
    text-decoration:underline;
    text-underline-position: under;
}
.header-member-info{
    width: 100%;
    border: 1px solid #fff;
    box-sizing: border-box;
    padding: 40px 89px;
    margin-top: 5px;
}
.header-member-info-input{
    width: 280px;
    max-width: 100%;
    height: 46px;
    line-height: 46px;
    border: 1px solid #fff;
    background-color: transparent;
    box-sizing: border-box;
    color: #FFF;
    padding-left: 10px;
    letter-spacing: 1px;
    font-size: 16px;
}
.header-member-info-input::-webkit-input-placeholder { color: #FFF; font-family: "微軟正黑體";}
.header-member-info-input:-moz-placeholder { color: #FFF; font-family: "微軟正黑體";}
.header-member-info-input::-moz-placeholder { color: #FFF; font-family: "微軟正黑體";}
.header-member-info-input:-ms-input-placeholder { color: #FFF; font-family: "微軟正黑體";}
.header-member-info .header-member-info-list:nth-child(1){
    margin-bottom: 20px;
}

.header-forgetpassword{
    display: block;
    float: right;
    font-size: 14px;
    letter-spacing: 2px;
    color: #FFF;
    margin: 10px 0;
}
.header-member-button{
    width: 280px;
    height: 46px;
    max-width: 100%;
    display: block;
    border: 1px solid #fff;
    line-height: 46px;
    text-align: center;
    box-sizing: border-box;
    background-color: transparent;
    clear: both;
    font-family: "微軟正黑體";
    letter-spacing: 2px;
    color: #FFF;
}

.header-member-out-box{
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 5px;
}

#member-forgetpassward .header-member-info{
    padding: 40px 30px;
}
#member-forgetpassward .header-member-info-input{
    width: 100%;
}
.header-member-info-list-check{
    font-size: 0;
}
.header-member-info-list-check .header-member-info-check-password{
    width: 150px;
    height: 46px;
    box-sizing: border-box;
    max-width: 100%;
    display: inline-block;
    background-color: #ddd;
    font-size: 14px;
    vertical-align: top;
    cursor: pointer;
}
.member-change-verification{
    color: #FFF;
    margin-top: 10px;
}
#member-forgetpassward .header-member-info-list-check .header-member-info-input{
    display: inline-block;
    width: calc(100% - 170px);
    margin-left: 20px;
    vertical-align: top;
}

#member-forgetpassward .header-member-button{
    width: 100%;
    margin-top: 20px;

}

.header-buycar-info-title{
    border-bottom: 1px solid #ddd;
}
.header-buycar-info{
    margin-top: 5px;
}
.header-buycar-info .header-buycar-num{
    color: #f8a322;
}

.header-buycar-pay{
    font-size: 12px;
    width: 90px;
    height: 30px;
    border: 1px solid #ddd;
    line-height: 28px;
    display: block;
    float: right;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 2px;
    transition: all .3s linear;
}

.header2 .header-menu-title{
    margin-bottom: 10px;
}
.header-member-out-box{
    cursor: pointer;
}
.forget-password{
    text-align: center;
}