[v-cloak] {
    text-indent: -999em;
}

body {
    background: #f5f6f7;
    font-family: '微軟正黑體', Microsoft JhengHei, Helvetica, Arial, dashicons, sans-serif;
}

body.freeze {
    overflow: hidden;
}

#header {
    background: rgb(74, 249, 208);
    height: 60px;
    color: rgb(75, 75, 75);
    position: fixed;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
}

.header-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.header-countdown {
    display: none;
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
    color: #fff;
    background: rgb(30, 75, 255);
}

.countdown-timer {
    display: flex;
    height: 100%;
    align-items: center;
    padding-left: 20px;
}

#header .mobile-menu-switch {
    position: absolute;
    left: 20px;
    top: 15px;
    display: none;
}

#header .mobile-menu-switch .bar1,
#header .mobile-menu-switch .bar2,
#header .mobile-menu-switch .bar3 {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

#header .mobile-menu-switch.active .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

#header .mobile-menu-switch.active .bar2 {
    opacity: 0;
}

#header .mobile-menu-switch.active .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -7px);
    transform: rotate(45deg) translate(-6px, -7px);
}

#header div.container {
    display: flex;
    align-items: center;
    height: inherit;
}

#header div.container .logo {
    width: 100px;
    margin-right: 20px;
    text-align: center;
}

#header div.container .logo img {
    height: 50px;
    width: auto;
}

#header div.container .menu {
    flex-grow: 1;
    height: inherit;
    overflow-x: auto;
    overflow-y: hidden;
}

#header div.container .menu ul {
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: inherit;
    padding: 0;
}

#header div.container .menu ul li {
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
}

#header div.container .menu ul li a {
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: inherit;
}

#header div.container .menu ul li:hover::before,
#header div.container .menu ul li.active::before {
    content: '\2023';
    position: absolute;
    left: 0;
}

#tabs {
    margin-top: 60px;
}

#tabs img {
    max-width: 100%;
    height: auto;
}

#tabs iframe {
    max-width: 100%;
}

#footer .copyright {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 40px;
    background: #dedede;
    border-top: 1px solid #c4c4c4;
}

#fast-menu {
    position: fixed;
    right: 5px;
    top: 50%;
    margin-top: (60px+10px) * 4 * -1;
}

#fast-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#fast-menu ul li {
    font-size: 12px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: #fff;
    margin-top: 10px;
    border: 2px solid #8a8a8a;
    background: #efefef;
    font-weight: 500;
}

#fast-menu ul li:hover {
    color: #ff6363;
    transition: all 0.3s;
}
#fast-menu ul li a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

a.to-up {
    transform: rotate(-90deg);
    font-size: 2rem;
}

#add-product-mask {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.13);
    z-index: 99;
}

#protected-pwd-form {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#protected-pwd-form > div {
    width: 300px;
    border: 1px solid #cecece;
    padding: 20px;
    background: #fff;
}

#protected-pwd-form > div label {
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

#protected-pwd-form > div input::placeholder {
    font-size: 0.8rem;
}

.has-countdown #header {
    height: 100px;
}

.has-countdown #tabs {
    margin-top: 100px;
}

.has-countdown #fast-menu {
    margin-top: (100px+10px) * 4 * -1;
}

.has-countdown .header-countdown {
    display: flex;
}

.has-countdown .header-main {
    height: 60px;
}

@media (max-width: 768px) {
    #header .mobile-menu-switch {
        display: block;
    }

    #header div.container .logo {
        flex-grow: 1;
        margin: auto;
    }

    #header div.container .menu {
        position: fixed;
        top: 60px;
        left: -150vw;
        width: 100%;
        height: 100vh;
        background: #f5f6f7;
        transition: 0.6s;
        transition-delay: 0.3s;
    }

    #header div.container .menu.active {
        left: 0;
        transition: 0.6s;
    }

    #header div.container .menu ul {
        align-items: center;
        flex-direction: column;
    }

    #header div.container .menu ul li {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #header div.container .menu ul li a {
        padding: 0;
        display: block;
        width: 100%;
    }

    #fast-menu {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    #fast-menu ul {
        display: flex;
    }

    #fast-menu ul li {
        font-size: 1rem;
        margin-top: 0;
        flex-grow: 1;
        border-radius: 0;
        border-width: 1px;
        border-left-width: 0;
    }

    #fast-menu ul li:first-child {
        border-left-width: 1px;
    }

    #fast-menu ul li a {
        flex-grow: 1;
    }

    #footer {
        margin-bottom: 60px;
    }

    .has-countdown #header div.container .menu {
        top: 100px;
    }
}
