﻿/*
此內容為切版提供_僅協助打包成 megamenu-mobile.css
*/
@media screen and (max-width: 767px) {
    section#header header {
    }

    header nav.show-mobile-search .close-button-desktop-only {
        display: none;
    }

    .header-spacer {
        height: 59px;
    }

    section#header header nav {
        height: 55px;
        padding-top: 0;
    }

        section#header header nav .search-field {
            display: none;
        }

        section#header header nav .extra-section {
            -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
            order: 1;
            margin-top: 0;
        }

            section#header header nav .extra-section .search {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
            }

                section#header header nav .extra-section .search .search-button {
                    position: relative;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -webkit-box-align: center;
                    -ms-flex-align: center;
                    align-items: center;
                    -webkit-box-pack: center;
                    -ms-flex-pack: center;
                    justify-content: center;
                    width: 44px;
                    height: 44px;
                    top: 0;
                }

                    section#header header nav .extra-section .search .search-button .icon-search {
                        width: 18px;
                        height: 18px;
                    }

        section#header header nav.show-mobile-search .extra-section {
            -webkit-box-pack: start;
            -ms-flex-pack: start;
            justify-content: flex-start;
            width: 100%;
            padding: 0;
            margin: 0;
            visibility: visible;
        }

            section#header header nav.show-mobile-search .extra-section .search {
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
                width: 100%;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
            }

            section#header header nav.show-mobile-search .extra-section .search-field {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-pack: start;
                -ms-flex-pack: start;
                justify-content: flex-start;
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
                width: 100%;
                max-width: 100%;
            }

                section#header header nav.show-mobile-search .extra-section .search-field .input-search {
                    margin-left: 10px;
                    margin-right: 53px;
                    height: 36px;
                    border-radius: 4px 0 0 4px;
                    padding: 0.4rem 0.5rem 0.4rem 2rem;
                    box-sizing: border-box;
                    -webkit-box-flex: 1;
                    -ms-flex-positive: 1;
                    flex-grow: 1;
                    width: 100%;
                }

        section#header header nav .extra-section .search .search-field {
            padding-top: 2px;
            -webkit-box-flex: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            position: relative;
        }

            section#header header nav .extra-section .search .search-field input {
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
                line-height: 1;
                font-size: 16px;
                background: white;
                border: 1px solid #d6d6d6;
                padding: .4rem .5rem;
                border-radius: 4px;
            }

        section#header header nav .extra-section .search .close-button {
            width: 44px;
            height: 44px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

    .accordian-group, .accordian-group-only-one {
        margin-bottom: 1rem
    }

        .accordian-group-only-one .accordian-title, .accordian-group .accordian-title {
            cursor: pointer;
            background-position: right center;
            padding-right: calc(.3rem + 24px);
            background: url("/home/eshop/img/form/arrow_up.svg") right 0.3rem center no-repeat;
            background-size: 22px
        }

        .accordian-group.active .accordian-title, .active.accordian-group-only-one .accordian-title {
            background: url("/home/eshop/img/form/arrow_down.svg") right 0.3rem center no-repeat;
            margin-bottom: 0;
            background-size: 22px
        }

        .accordian-group.active .card-text .accordian-group, .accordian-group.active .card-text .accordian-group-only-one, .accordian-group.active .card-text .accordian-title, .active.accordian-group-only-one .card-text .accordian-group, .active.accordian-group-only-one .card-text .accordian-group-only-one, .active.accordian-group-only-one .card-text .accordian-title {
            margin-bottom: 0
        }

        .accordian-group.active .accordian-content, .active.accordian-group-only-one .accordian-content {
            display: none
        }

        .accordian-group.alt .accordian-title, .alt.accordian-group-only-one .accordian-title {
            background: url("/home/eshop/img/form/minus-solid.svg") right 0.3rem center no-repeat;
            background-size: 22px
        }

        .accordian-group.alt.active .accordian-title, .alt.active.accordian-group-only-one .accordian-title {
            background: url("/home/eshop/img/form/plus-solid.svg") right 0.3rem center no-repeat;
            background-size: 22px
        }

        .accordian-group.no-icon .accordian-title, .no-icon.accordian-group-only-one .accordian-title {
            background: none
        }

        .accordian-group.no-icon.active .accordian-title, .no-icon.active.accordian-group-only-one .accordian-title {
            background: none
        }

        .accordian-group-only-one .accordian-title {
            padding-right: 0
        }

        .accordian-group-footer.is-3.accordian-group-only-one, .accordian-group.accordian-group-footer.is-3 {
            -ms-flex-item-align: start;
            align-self: start
        }

    .card-text .accordian-group, .card-text .accordian-group-only-one {
        margin-bottom: 0
    }

    .accordian-content > :last-child, .accordian-title > :last-child {
        margin-bottom: 0
    }

    body.mmactive {
        position: relative;
        height: 100%;
    }

    .icon-menu, .icon-close {
        width: 24px;
        height: 24px;
    }

    #sm_menu_ham {
        float: left;
        left: 15px;
        top: 20px;
        width: 22px;
    }

        #sm_menu_ham span {
            background-color: #999;
            width: 22px;
        }

            #sm_menu_ham span:nth-child(1) {
                top: 6px;
            }

            #sm_menu_ham span:nth-child(2), #sm_menu_ham span:nth-child(3) {
                top: 12px;
            }

            #sm_menu_ham span:nth-child(4) {
                top: 18px;
            }

        #sm_menu_ham.scrolling-down {
            top: -23px;
        }

    .sm_menu_outer {
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
        top: 60px;
        left: -400px;
        transition: all 0.3s;
    }

        .sm_menu_outer .mobile_menu .submenu {
            background-color: #fff;
            top: 4px;
            border-bottom: 0;
        }

        .sm_menu_outer .mobile_menu .accordian-group {
            margin: 0;
            width: 100%;
            border-bottom: 1px solid #e5e5e5;
        }

        .sm_menu_outer .mobile_menu a {
            color: #333;
            font-size: 0.9rem;
            font-weight: normal;
            width: 95%;
            padding: 14px 20px 14px 0;
            border-bottom: 0;
        }

        .sm_menu_outer .mobile_menu .accordian-group.active {
            border-bottom: 0;
        }

        .sm_menu_outer .mobile_menu .accordian-content {
            margin-left: 0;
        }

            .sm_menu_outer .mobile_menu .accordian-content a {
                padding: 10px 20px 10px 0;
            }
			
			.sm_menu_outer .mobile_menu .accordian-content a.current {
                color: #209cff;
            }

        .sm_menu_outer .mobile_menu .submenu .active a {
            border-bottom: 1px solid #e5e5e5;
        }

        .sm_menu_outer .mobile_menu li {
            color: #333;
            border-bottom: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            padding-left: 1rem;
        }

            .sm_menu_outer .mobile_menu li span {
                height: 27px;
            }

        .sm_menu_outer .mobile_menu > li > a {
            border-bottom: 1px solid #e5e5e5;
            margin: 0 20px 0 0;
            padding: 14px 20px 14px 6px;
        }

        .sm_menu_outer .mobile_menu .m-othermenu a {
            border-bottom: 1px solid #e5e5e5;
            padding-left: 0.4rem;
        }

        .sm_menu_outer .mobile_menu .m-othermenu.m-enterprise a, .sm_menu_outer .mobile_menu .m-othermenu.m-aboutus a {
            background: url(/home/WEB/images/icon-open-new-win.svg) no-repeat scroll 97% center / 8% auto;
        }

        .sm_menu_outer .mobile_menu .m-othermenu.m-login a {
            color: #209cff;
            text-align: center;
        }

        .sm_menu_outer .mobile_menu li.back a {
            background: url(/home/eshop/img/ic/arrow-left.svg) no-repeat scroll 0% center / 7% auto;
            text-align: center;
            color: #209cff;
            padding: 16px 5px;
            border-bottom: 1px solid #e5e5e5;
        }

        .sm_menu_outer.active {
            -webkit-overflow-scrolling: touch;
            top: 60px;
            left: 0;
            height: auto;
            z-index: 69;
            transition: all 0.3s;
        }

            .sm_menu_outer.active .mobile_menu {
                margin-left: 0;
                padding-top: 4px;
                height: calc(100% + 1px);
            }

    .funcmenu {
        background: #efefef;
        padding: 12px 6px;
        display: none;
    }

    .sm_menu_outer .mobile_menu > li.hasChild.active .funcmenu {
        display: block;
        border-top: 1px solid #e9e9e9;
        margin-top: -1px;
    }

    .funcmenu ul, .othermenu ul {
        background: #fff;
        border-radius: 16px;
        width: 95%;
        margin: 0 auto;
        padding: 16px;
        box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
    }

    .funcmenu .helpmenu li {
        padding: 0;
    }

    .funcmenu .helpmenu a {
        background: #fff;
        border-radius: 4px;
        padding: 0 4px;
        align-items: center;
        display: flex;
    }

        .funcmenu .helpmenu a .menu-apply-txt {
            border-bottom: 1px solid #e9e9e9;
            width: 100%;
            padding: 12px 0;
            display: block;
            height: auto;
            margin-left: 0.6rem;
        }

    .funcmenu .helpmenu li:last-child a .menu-apply-txt {
        border-bottom: 0;
    }

    .funcmenu .helpmenu label {
        display: block;
        font-weight: bold;
        line-height: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .funcmenu .helpmenu .funcmenu-icon {
        height: 48px;
        line-height: 1;
    }

    .funcmenu .helpmenu .funcmenu-txt {
        margin-left: 8px;
        line-height: 1.2;
    }

        .funcmenu .helpmenu .funcmenu-txt a {
            padding: 0;
        }

    .funcmenu .helpmenu .menu-apply-note {
        font-size: 0.65rem;
        color: #666;
        line-height: 1;
    }

    .sm_menu_outer .othermenu ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding: 0 15px;
    }

        .sm_menu_outer .othermenu ul li a {
            font-size: 0.85rem;
            border-bottom: 0;
            padding-left: 0;
            padding-right: 0.4rem;
        }

            .sm_menu_outer .othermenu ul li a:after {
                content: '|';
                display: inline-block;
                align-items: center;
                font-size: 0.85rem;
                padding-left: 0.4rem;
            }

        .sm_menu_outer .othermenu ul li:last-child a:after {
            display: none;
        }

    .sub-menu-help-center {
        background: #fff;
        width: 95%;
        border-radius: 36px;
        box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
        padding: 12px 16px;
        margin: 1rem auto;
    }

        .sub-menu-help-center > a {
            padding: 0 !important;
        }

        .sub-menu-help-center .menu-apply-icon {
            float: left;
            margin-right: 8px;
            padding-top: 2px;
            height: auto !important;
        }

        .sub-menu-help-center .menu-apply-note {
            font-size: 0.65rem;
            color: #666;
            line-height: 1;
        }

    section#header header nav .extra-section .search .search-button .icon-search {
        width: 18px;
        height: 18px;
    }

    section#header header nav.show-mobile-search .extra-section .search .search-button {
        display: none;
    }

    section#header header nav.show-mobile-search .extra-section .search-field .input-search {
        border: 0;
        margin-left: 0;
    }

    section#header header nav.show-mobile-search .extra-section .search .close-button {
        margin-left: 8px;
    }

    section#header header nav.show-mobile-search .extra-section .search .search-field.active {
        flex-direction: row-reverse;
    }

    header nav .extra-section .search .search-go {
        background: url(/home/WEB/images/search.svg) no-repeat center center;
        width: 40px;
        padding: 0;
        text-indent: 100%;
        overflow: hidden;
        white-space: nowrap;
        display: none;
    }

    header nav .extra-section .search .search-field.active .search-go {
        background: url(/home/WEB/images/search-blue.svg) no-repeat center center;
        background-size: 18px;
        right: 0;
        top: 0;
        display: block;
    }
}
