.header {
    background: white;
    color: #444;
}

.header a {
    color: inherit;
}

.nav-function,
#google_translate_element+select,
.navbar-brand.logo h1 {
    color: #444;
}

.translate-select::before {
    background-image: url(/_common/reward/v2/_img/translate-r.svg);
}

#nav-menu_icon span {
    background: #444;
}

.navbar-brand.logo img {
    height: 50px;
    margin-right: 0.5rem;
}

@media (max-width: 992px) {
    .navbar-brand.logo img {
        height: 36px;
    }

    .translate-select::before {
        background-image: url(/_common/reward/v2/_img/translate.svg);
    }

    #google_translate_element+select {
        color: white;
    }
}

@media (max-width: 768px) {
    .navbar-brand.logo img {
        height: 34px;
        margin-right: 0rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand.logo img {
        height: 32px;
    }
}


.aside-banner {
    width: 250px;
    display: flex;
    align-items: center;
    position: fixed;
    right: 0;
    bottom: 120px;
    transform: translateX(251px);
    cursor: pointer;
    z-index: 999;
    transition: transform .5s ease-in-out;
}

@media only screen and (max-width: 1400px) {
    .aside-banner {
        transform: translateX(251px);
        width: 250px;
    }
}

@media only screen and (max-width: 992px) {
    .aside-banner {
        transform: translateX(176px);
        width: 175px;
    }
}

@media only screen and (max-width: 768px) {
    .aside-banner {
        bottom: 175px;
    }
}

.aside-banner.expanded {
    transform: translateX(0);
}

.aside-banner .aside-banner-text {
    writing-mode: vertical-lr;
    position: absolute;
    left: -41px;
    font-size: 16px;
    letter-spacing: 5px;
    height: calc(100% - 40px);
    padding: 0 8px;
    text-align: center;
    background: linear-gradient(135deg, #e03c6c, #e53d5a);
    color: white;
    font-weight: bold;
    text-shadow: 0 3px 3px #0000004d;
    border-radius: 5px 0 0 5px;
}

.aside-banner.expanded .aside-banner-text::before {
    opacity: 1;
    transition: all .3s ease;
}

.aside-banner.expanded .aside-banner-text::after {
    opacity: 1;
    transition: all .3s ease;
}

.aside-banner .aside-banner-text::before {
    content: '×';
    position: absolute;
    top: -18px;
    z-index: 10;
    font-size: 13px;
    opacity: 0;
    transition: all .3s ease;
}

.aside-banner .aside-banner-text::after {
    content: '';
    position: absolute;
    top: -20px;
    background: #e13d6a;
    width: 16px;
    height: 16px;
    left: 13px;
    z-index: 5;
    border-radius: 999px;
    opacity: 0;
    transition: all .3s ease;
}

@media only screen and (max-width: 1400px) {
    .aside-banner .aside-banner-text {
        height: calc(100% - 50px);
        font-size: 15px;
    }
}

@media only screen and (max-width: 992px) {
    .aside-banner .aside-banner-text {
        left: -33px;
        height: calc(100% - 25px);
        font-size: 12px;
        letter-spacing: 3px;
        padding: 0 4px;
    }

    .aside-banner .aside-banner-text::before {
        left: 4px;
        top: -15px;
    }

    .aside-banner .aside-banner-text::after {
        top: -16px;
        width: 14px;
        height: 14px;
        left: 10px;
    }
}

.aside-banner a {
    display: block;
    height: 100%;
}


@media (max-width: 48em) {
    .banner .swiper-slide .pic img:nth-child(1) {
        display: inline-block;
    }

    .banner .swiper-slide .pic img:nth-child(2) {
        display: none;
    }
}

@media (max-width: 36em) {
    .banner .swiper-slide .pic img:nth-child(1) {
        display: none;
    }

    .banner .swiper-slide .pic img:nth-child(2) {
        display: inline-block;
    }
}




/* 客制樣式 */
:root {
    --primary-color: #008240;
    --primary-color-dark: #006332;
    --primary-color-light:#eaf4ef;
}

.nav-function a svg {
    fill: #ffffff;
    color: #008240;
}

.translate-select::before {
    background-image: url(../_img/translate-r.svg);
}