body,
html {
}
/**開啟側邊攔後body卷軸隱藏***/
.body-overflow {
    overflow-y: hidden;
}
header {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 99;
    top: 0;
    /*background: url(../images/bg_header.png);*/
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: block;
}
header .topNav-logo-pc a img {
    display: block;
    width: auto;
    /*background: url(../images/logo-b.png) no-repeat;*/
    background-size: contain;
    height: 100px;
    text-indent: -9999px;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

header.scroll-top {
    -moz-box-shadow: 0px 2px 1px rgba(10%, 10%, 10%, 0.2);
    -webkit-box-shadow: 0px 2px 1px rgba(10%, 10%, 10%, 0.2);
    -o-box-shadow: 0px 2px 1px rgba(10%, 10%, 10%, 0.2);
    box-shadow: 0px 2px 1px rgba(10%, 10%, 10%, 0.2);
    /*background: url(../images/bg_header-scroll.png);*/
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/**背景圖捲軸捲動100px後透明0.8(針對背景圖寫在html裡)**/
header .divBackgroundImage-pc,
header .divBackgroundImage-mob {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    z-index: -1;
    opacity: 1;
}
header.scroll-top .divBackgroundImage-pc,
header.scroll-top .divBackgroundImage-mob {
    opacity: 0.8;
}
/**背景圖捲動 結束**/

header.scroll-top .topNav-logo-pc a img {
    height: 70px;
    width: auto;
    margin-bottom: 5px;
    background-position: left -5px;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.topNav-mob,
header .divBackgroundImage-mob,
header.scroll-top .divBackgroundImage-mob {
    display: none;
}
header .divBackgroundImage-pc,
header.scroll-top .divBackgroundImage-pc {
    display: block;
}

.topNav-pc {
    padding: 10px 0 0 0;
    width: 1200px;
    margin: 0 auto;
}
.dropdown-pc {
    display: none;
}
.dropdown-pc ul {
    list-style: none;
}

.topNav-pc-ul {
    display: block;
    float: right;
    width: auto;
}

.topNav-pc-ul li {
    position: relative;
}

.topNav-pc-ul > li {
    display: inline-block;
    float: left;
    margin: 0 1em;
    font-size: 1.3em;
    border-bottom: 3px solid #fff;
    height: 50px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    cursor: pointer;
    text-align: center;
}
header.scroll-top .topNav-pc-ul > li {
    margin-top: 25px;
}
.topNav-pc-ul > li:hover {
    border-bottom: 3px solid #abc10b;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}
.topNav-pc-ul li a {
    line-height: 1em;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    color: #686868;
}
.topNav-pc-ul > li a:hover {
    color: #abc10b;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}
.topNav-pc-ul li a span {
    color: #bbbbbb;
    font-size: 0.8em;
    width: 100%;
    display: block;
    text-align: center;
}
.dropdown-pc ul {
    /* position: absolute; */
    /*position: fixed;*/
    /*z-index: 1000;*/
    /*display:block;*/
    /*background-color: rgba(0, 0, 0, 0.7);*/
    /*width: 166px;*/
    /*text-align: center;*/
    /*!* left: 50%; *!*/
    /*!* margin-left: -83px; *!*/
    /*margin-left: -50px;*/
    /*line-height: 2em;*/
    /*padding:20px 5px; */
    /*!*top: 60px;*!*/
    /*top: 140px;*/

    position: absolute;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.7);
    width: 166px;
    text-align: center;
    left: 50%;
    margin-left: -83px;
    line-height: 2em;
    padding: 20px 5px;
    top: 60px;
}

.dropdown-pc ul li a {
    z-index: 1001;
}
/*.dropdown-btn-pc-down
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 300px;
}*/
.menuScrollbar {
    max-height: 300px;
}
.dropdown-pc ul {
}
.dropdown-pc i {
    font-size: 1.5em;
    text-align: center;
    display: block;
    top: 26px;
    position: absolute;
    z-index: 99;
    width: 100%;
    color: rgba(0, 0, 0, 0.7);
    height: 35px;
    padding-top: 25px;
}
.dropdown-pc ul li a,
.dropdown-pc ul li a:hover {
    color: #fff;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
}

/**搜尋、會員**/
.nav-top {
    padding: 15px 0;
}
.form-group,
ul.nav01 {
    display: block;
    float: right;
}
.form-group {
    /*padding-left: 60%;*/
}
.form-group input,
.form-group button {
    float: left;
}
ul.nav01 {
    padding-left: 20px;
    list-style: none;
}
ul.nav01 li,
ul.nav01 li a {
    color: #c7c7c7;
}
ul.nav01 li a:hover {
    color: red;
    transition: 0.5s;
}
ul.nav01 li {
    float: left;
    font-size: 1.2em;
    padding-top: 5px;
}
ul.nav01 li.fa {
    margin-top: 3px;
    margin-right: 5px;
}
.form-group .form-control {
    border: 1px solid #c7c7c7;
    padding: 8px;
}
.form-group .btn {
    color: #c7c7c7;
    border-right: 1px solid #c7c7c7;
    border-top: 1px solid #c7c7c7;
    border-bottom: 1px solid #c7c7c7;
    border-radius: 0px;
    font-size: 1.4em;
    padding: 8.5px;
    background-color: #fff;
    height: 35px;
}

header.scroll-top .form-group {
}

/**goTop**/
#goTop {
    position: fixed;
    bottom: 150px;
    right: 25px;
    z-index: 99;
    width: 49px;
    height: 49px;
    display: none;
    background: url('../images/gototop.png') no-repeat;
    transition: 0.5s;
}
#goTop:hover {
    background: url('../images/gototop_hover.png') no-repeat;
}
#goTop:active {
    background: url('../images/gototop_active.png') no-repeat;
}

@media screen and (max-width: 1200px) {
    .topNav-pc {
        width: 1000px;
        margin: 0 auto;
    }
    .topNav-pc-ul {
        display: block;
        float: right;
    }
    .topNav-pc-ul > li {
        margin: 0 0.6em;
    }
}
@media only screen and (max-width: 1050px) {
    .topNav-pc,
    header .divBackgroundImage-pc,
    header.scroll-top .divBackgroundImage-pc {
        display: none;
    }
    header .divBackgroundImage-mob,
    header.scroll-top .divBackgroundImage-mob {
        display: block;
    }

    /****手機板****/
    .topNav-mob {
        display: block;
        height: 50px;
        width: 100%;
        border-bottom: 1px solid rgba(226, 226, 226, 0.41);
        background-position: center center;
        background-color: rgb(0 0 0 / 40%) !important;
        /*position: fixed;*/
        /*background: url(../images/bg_header-mob.png) repeat;*/
        /*box-shadow: 0px 5px 5px rgba(10%,10%,10%,0.1);*/
    }
    header.scroll-top .topNav-mob {
        display: block;
        height: 50px;
        /*background: url(../images/bg_header-mob-scroll.png) repeat;*/
        border-bottom: 1px solid rgba(226, 226, 226, 0.41);
        -webkit-box-shadow: 0px 5px 5px rgba(10%, 10%, 10%, 0.1);
        -moz-box-shadow: 0px 5px 5px rgba(10%, 10%, 10%, 0.1);
        -o-box-shadow: 0px 5px 5px rgba(10%, 10%, 10%, 0.1);
        box-shadow: 0px 5px 5px rgba(10%, 10%, 10%, 0.1);
        position: fixed;
    }
    .topNav-mob .topNav-logo-mob a img {
        display: block;
        width: 120px;
        margin-left: -60px;
        left: 50%;
        position: absolute;
        z-index: 99;
        /*background: url(../images/logo-s.png) no-repeat;*/
        background-size: contain;
        height: 50px;
        text-indent: -9999px;
    }
    .topNav-mob i {
        font-size: 1.8em;
        cursor: pointer;
        height: 50px;
        width: 50px;
        display: block;
        padding: 15px 0 0 15px;
        float: left;
    }
    .topNav-mob i.fa-times {
        font-size: 1.8em;
        cursor: pointer;
        height: 30px;
        width: 30px;
        display: block;
        padding: 2px 4px;
        border-radius: 100px;
        border: 2px solid;
        margin: 18px 20px;
        float: right;
    }
    .topNav-mob i.search-btn {
        float: right;
    }
    .topNav-mob-open {
        width: 260px;
        height: 100%;
        position: fixed;
        z-index: 1000;
        display: block;
        background-color: #abc10b;
        background: url(../images/bg_mob-open.png) repeat;
        top: 0px;
        left: -260px;
        overflow-x: scroll;
        transition: 0.3s;
        overflow-x: hidden;
        /* overflow-x: hidden; */
        -webkit-overflow-scrolling: touch;
    }
    .topNav-mob-Wa {
        width: 100%;
        height: 100%;
        z-index: 999;
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        background-color: rgba(10%, 10%, 10%, 0.8);
        display: none;
    }
    .fa-times {
        float: right;
    }
    .topNav-mob-open ul li ul {
        display: none;
    }
    .topNav-mob-open ul.topNav-mob-open2 li a {
        background-color: #95a80a;
        color: #fff;
        border-bottom: 1px solid #a3b807;
        padding: 20px 40px;
    }
    .topNav-mob-open ul > li > a {
        display: block;
        width: 100%;
        color: #616161;
        padding: 20px 20px;
        font-size: 1.5em;
        border-bottom: 1px solid #dfdfdf;
    }

    .topNav-mob-open ul > li > a span {
        float: right;
        font-size: 1.5em;
    }
    .topNav-mob-open ul > li > a:hover {
        background-color: #95a80a;
        border-bottom: 1px solid #a3b807;
        color: #fff;
        transition: 0.5s;
        -webkit-transition: 0.5s;
        -moz-transition: 0.5s;
        -o-transition: 0.5s;
    }
    .topNav-mob-open ul > li > a:active {
        background-color: #859609;
    }

    .topNav-mob-open img.member {
        width: 63px;
        height: 63px;
        margin-left: 15px;
        margin-top: -15px;
        float: left;
    }
    .topNav-mob-open .mb {
        width: 100%;
        border-bottom: 1px solid #dfdfdf;
        font-size: 1.4em;
        margin-bottom: 0px;
        padding: 30px 0 30px 15px;
    }
    .topNav-mob-open .mb a {
        color: #616161;
        padding: 0 5px;
    }
    /****搜尋***/
    .mobile-search {
        width: 100%;
        height: 30px;
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        margin: 0 auto 0 auto;
    }
    .mobile-search a {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        text-decoration: none;
        font-size: 1.7em;
        padding: 5px 0;
        display: block;
        text-align: center;
        transition: all 0.3s;
        color: #2f2f2f;
        float: right;
    }
    .mobile-search a:hover,
    .mobile-search a.active {
        color: #2f2f2f;
    }

    .search-dropdown-open {
        width: 100%;
        height: 72px;
        position: absolute;
        top: 50px;
        padding: 0px;
        margin: 0px;
        z-index: 99;
        display: none;
        font-size: 1.5em;
        background: #fff;
        padding: 10px 0px 10px 25px;
        box-shadow: 0px 4px 12px -2px rgba(20%, 20%, 40%, 0.5);
        opacity: 0.9;
        border-top: 1px solid #e5e5e5;
    }

    .search-dropdown-open input {
        width: 75%;
        height: 100%;
        float: left;
    }

    .search-dropdown-open button {
        height: 72px;
        float: right;
        background: #ffffff;
        color: #707070;
        border-left: 1px solid #e3e3e3;
        font-size: 1.3em;
        margin-top: -11px;
        padding: 0 4%;
    }
    .search-dropdown-open button:hover {
        /*background: #a3b807;*/
    }

    /*.mobile-search > li:hover ul{
  display: block
}*/
}
@media screen and (max-width: 767px) {
    #goTop {
        bottom: 30px;
    }
}
