﻿/*--------------header-style1-----------------*/
.header-style1{
    position: absolute;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: #fff;
    box-sizing: border-box;
    padding-top: 100px;
    transition: all .3s linear;
}
.header-style1 .header-box{
    width: 100%;
    display: block;
    position: fixed;
    z-index: 999;
    top: 0;
    background-color: #fff;
}
.header-style1 .header-all-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 20px 0;
    transition: all .3s linear;
}
.header-style1 .header-logo{
    width: 250px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.header-style1 .header-logo>a{
    width: 125px;
    display: inline-block;
    transition: all .3s linear;
}
.header-style1 .header-logo a>p{
    font-size: 20px;
    font-family: "Noto Sans TC";
    line-height: 1;
    color: #d00404;
    letter-spacing: 0.1em;
    position: absolute;
    right: 50px;
    bottom: calc(50% - 10px);
    transition: all .3s linear;
}
.header-style1 .header-menu-box{
    width: calc(100% - 570px);
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    transition: all .3s linear;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 50px;
}

.header-menu-title{
    font-size: 16px;
    font-family: "Noto Sans TC";
    line-height: 32px;
    color: #000;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}
.header-menu-title::after{
    content: '';
    width: 0%;
    height: 1px;
    display: block;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
div.header-menu-title{
    cursor: context-menu;
}

.header-member-box{
    width: 320px;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    display: inline-block;
    vertical-align: middle;
}
.header-member-icon{
    font-size: 16px;
    width: 60px;
    line-height: 58px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    color: #000;
    position: relative;
    background-color: #f5f5f5;
    transition: all .3s linear;
}
.header-member-info-box{
    width: calc(100% - 60px);
    height: 58px;
    vertical-align: middle;
    text-align: center;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    border-left: 1px solid #d1d1d1;
    transition: all .3s linear;
}
.header-member-info{
    display: block;
}
.header-member-info-text{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    font-family: "Noto Sans TC";
    color: #000;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    margin: 0 20px;
    position: relative;
    cursor: pointer;
}
.header-member-info-text:nth-child(1)::after{
    content: '/';
    position: absolute;
    width: 10px;
    text-align: center;
    top: 0;
    left: calc(100% + 15px);
    font-size: 16px;
    font-family: "Noto Sans TC";
    color: #666;
    font-weight: 300;
}
.header-member-info-text>p{
    font-weight: 500;
}
.header-member-info-text>span{
    font-weight: 300;
    color: #666
}

.header-advertising-box{
    width: 100%;
    display: block;
    background-color: #000;
}
.header-advertising-all-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-advertising-info{
    display: block;
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    line-height: 50px;
    color: #fff;
    letter-spacing: 0.1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline: none;
    transition: all .3s linear;
}



.rwd-index-advertising-class-info{
    display: none;
}
.index-advertising-class-all-box{
    width: 1600px;
    max-width: 100%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-direction: row;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 55px 0;
    transition: all .3s linear;
}
.index-advertising-class{
    width: 200px;
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    line-height: 60px;
    color: #000;
    letter-spacing: 0.1em;
    display: inline-block;
    vertical-align: middle;
    background-color: #f5f5f5;
    transition: all .3s linear;
    text-align: center;
}

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




/*漢堡樣式1*/
.rwd-menu-style1> span:nth-child(even){
    margin: 4px auto;
    transition: all .3s linear;
}
.rwd-menu-style1> span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .3s linear;
}
.rwd-menu-style1> span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .3s 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 .3s linear;
    transition-delay: 0s;
}


.fancybox-login-box{
    width: 640px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: block;
    margin: 0 auto;
    font-size: 0;
    background-color: #fff;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding: 0 45px;
}
.fancybox-table-registered .fancybox-login-box{
    padding-bottom: 50px;
}
.fancybox-logo-box{
    width: 100%;
    display: block;
    padding-top: 35px;
}
.fancybox-logo{
    display: inline-block;
    vertical-align: bottom;
}
.fancybox-logo-box p{
    display: inline-block;
    vertical-align: bottom;
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    line-height: 1;
    color: #000;
    letter-spacing: 0.06em;
    margin-left: 30px;
}
.fancybox-login-list{
    width: 100%;
    display: block;
    margin-top: 20px;
}
.fancybox-login-title{
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    line-height: 40px;
    color: #000;
    letter-spacing: 0.06em;
}
.fancybox-login-text{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #f5f5f5;
    border: none;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #000;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding: 0 30px;
}
.fancybox-login-text::-webkit-input-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.3;
}
.fancybox-login-text:-moz-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.3;
}
.fancybox-login-text::-moz-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.3;
}

.fancybox-login-forget{
    width: 100%;
    text-align: right;
}
.fancybox-login-forget span{
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #000;
    letter-spacing: 0.06em;
    cursor: pointer;
}
.fancybox-button-box{
    width: 100%;
    display: block;
    margin-top: 20px;
}
.fancybox-table-registered .fancybox-button-box{
    margin-top: 50px;
}
.fancybox-button{
    width: 100%;
    display: block;
    background-color: #000;
    text-align: center;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-sizing: border-box;
    border: none;
    line-height: 50px;
}
.fancybox-login-registered{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 25px 0;
}
.fancybox-login-registered p{
    display: inline-block;
    font-size: 16px;
    color: #666;
    font-family: "Noto Sans TC";
    font-weight: 300;
}

.fancybox-registered-select-box{
    width: 100%;
    display: block;
    position: relative;
}
.fancybox-registered-select{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding: 0 30px;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
}
.fancybox-registered-select option{
    color: #000;
}

.fancybox-registered-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 5px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.5);
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    right: 10px;
    top: calc(50% - 4px);
    pointer-events: none;
}
.fancybox-registered-text{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #000;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding: 0 30px;
}
.fancybox-registered-text::-webkit-input-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.8;
}
.fancybox-registered-text:-moz-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.8;
}
.fancybox-registered-text::-moz-placeholder{
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 300;
    opacity: 0.8;
}
.fancybox-login-title-img{
    width: 100px;
    height: 38px;
    font-size: 0;
    display: inline-block;
    vertical-align: middle;
    background-color: #000;
    margin-left: 20px;
}
.fancybox-login-title>span{
    display: inline-block;
    vertical-align: bottom;
    font-size: 12px;
    line-height: 2;
    font-weight: 300;
    margin-left: 5px;
    color: #666;
}






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

@media only screen and (max-width: 1600px){
    .header-style1 .header-all-box,
    .header-advertising-all-box,
    .index-advertising-class-all-box{
        width: 1400px;
    }
    .index-advertising-class{
        width: 170px;
    }
}
@media only screen and (max-width: 1400px){
    .header-style1 .header-all-box,
    .header-advertising-all-box,
    .index-advertising-class-all-box{
        width: 1200px;
    }
    .index-advertising-class{
        width: 140px;
    }
}
@media only screen and (max-width: 1200px){
    .header-style1 .header-all-box,
    .header-advertising-all-box,
    .index-advertising-class-all-box{
        width: 1000px;
    }
    .index-advertising-class-all-box{
        padding: 25px 0;
    }
    .index-advertising-class{
        width: 130px;
        line-height: 50px;
    }
    .header-style1 .header-logo{
        width: 205px;
    }
    .header-style1 .header-logo a>p{
        font-size: 16px;
        right: 25px;
        bottom: calc(50% - 8px);
    }
    .header-style1 .header-menu-box{
        width: calc(100% - 525px);
    }
    .header-style1 .header-menu> li{
        margin-right: 30px;
    }
}

@media only screen and (max-width: 1000px){
    .header-style1{
        padding-top: 74px;
    }
    .header-style1 .header-all-box,
    .header-advertising-all-box,
    .index-advertising-class-all-box{
        width: 95%;
    }
    .header2 .header-box,
    .header-box.active{
        box-shadow: 0 0 5px rgba(0 ,0 ,0 ,0.3);
    }
    .header-style1 .header-all-box{
        padding: 10px 0;
    }
    .header-member-box{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: block;
        background-color: #fff;
        border: none;
        box-shadow: 0 0 5px rgba(0 ,0 ,0 ,0.3);
    }
    .header-member-icon{
        width: 40px;
        line-height: 40px;
    }
    .header-member-info-box{
        width: calc(100% - 40px);
        height: 40px;
    }
    .rwd-menu{
        display: block;
    }
    .header-style1 .rwd-menu{
        display: block;
    }

    .rwd-header-menu-sytle1 .header-menu-box{
        width: 100%;
        display: block;
    }
    .rwd-header-menu-sytle1 .header-menu{
        width: 100%;
        display: none;
        box-sizing: border-box;
        padding-bottom: 10px;
    }
   
    .rwd-header-menu-sytle1.header2 .header-menu{
        width: 100%;
    }
    
    .rwd-header-menu-sytle1 .header-menu> li{
        display: block;
        margin: 0;
        margin-top: 20px;
        border-bottom: 1px solid #d1d1d1;
    }
    .header-menu-title{
        display: block;
    }
    .header-menu-title::after{
        display: none;
    }

    
    .index-advertising-class-all-box{
        padding: 15px 0;
    }
    .index-advertising-class {
        width: calc((100% - 70px) / 7);
        line-height: 40px;
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px){
    .header-advertising-class-box{
        width: 100%;
        position: relative;
        box-sizing: border-box;
        padding: 15px 10px;
    }
    .rwd-index-advertising-class-info{
        width: 100%;
        height: 40px;
        border: 1px solid #d1d1d1;
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        display: block;
        line-height: 40px;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-index-advertising-class-info:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 5px solid transparent;
        border-top: 8px solid #000;
        border-left: 5px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 4px);
        right: 5%;
        box-sizing: border-box;
    }
    .index-advertising-class-all-box{
        width: calc(100% - 20px);
        position: absolute;
        box-shadow: 0 5px 10px rgba(0 ,0 ,0 ,0.3);
        flex-direction: column;
        padding: 5px 0;
        display: none;
        transition: none;
        background-color: #fff;
    }
    .index-advertising-class{
        width: 100%;
        background-color: #fff;
    }

    .fancybox-login-box{
        width: 550px;
    }




}
@media only screen and (max-width: 550px){
    .header-style1 {
        padding-top: 59px;
    }
    .header-style1 .header-logo {
        width: 160px;
    }
    .header-style1 .header-logo>a{
        width: 90px;
    }
    .header-style1 .header-logo a>p {
        font-size: 14px;
        right: 20px;
        bottom: calc(50% - 7px);
    }
    
    .rwd-menu{
        top: 23px;
    }
    .header-advertising-info{
        font-size: 14px;
        line-height: 36px;
    }



    .fancybox-login-box{
        width: 95vw;
        padding: 0 15px;
    }
    .fancybox-logo-box{
        padding-top: 20px;
    }
    .fancybox-table-registered .fancybox-login-box{
        padding-bottom: 20px;
    }
    .fancybox-login-list{
        margin-top: 10px;
    }
    .fancybox-registered-text,
    .fancybox-registered-select,
    .fancybox-login-text{
        height: 36px;
        line-height: 36px;
        padding: 0 10px;
    }
    .fancybox-login-title{
        line-height: 30px;
    }
    .fancybox-table-registered .fancybox-button-box{
        margin-top: 30px;
    }
    .fancybox-button{
        line-height: 36px;
    }
    .fancybox-login-registered{
        padding: 10px 0;
    }
    .fancybox-login-title-img{
        margin-left: 5px;
    }
}



@media only screen and (min-width: 1001px){
    .header-menu> li.active .header-menu-title::after,
    .header-menu-title:hover::after{
        width: 100%;
    }
    .header-member-info-text::before{
        content: '';
        width: 0%;
        height: 1px;
        display: block;
        background-color: #000;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all .3s linear;
    }
    .header-member-info-text:hover::before{
        width: 100%;
    }
    .header-advertising-info:hover{
        color: #ffba00;
    }
}
@media only screen and (min-width: 769px){
    .index-advertising-class.active,
    .index-advertising-class:hover{
        background-color: #000;
        color: #fff;
    }
}


@media only screen and (min-width: 1001px){
    .header2 .header-box{
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    .header2 .header-all-box{
        padding: 10px 0;
    }
    .header2 .header-logo{
        width: 170px;
    }
    .header2 .header-logo>a{
        width: 100px;
    }
    .header2 .header-logo a>p{
        font-size: 14px;
        right: 20px;
        bottom: calc(50% - 7px);
    }
    .header2 .header-menu-box{
        width: calc(100% - 490px);
    }
    .header2 .header-member-icon{
        width: 50px;
        line-height: 48px;
    }
    .header2 .header-member-info-box {
        width: calc(100% - 50px);
        height: 48px;
    }
    @media only screen and (max-width: 1200px){
        .header2 .header-logo a>p {
            font-size: 14px;
            right: 20px;
            bottom: calc(50% - 7px);
        }
    }
}
