@charset "utf-8";
/* CSS Document */
html {
    height: 100%;
}

body {
    position: relative;
    font-family: 'Microsoft JhengHei','微軟正黑體','Open Sans';
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #666;
    line-height: 1.5;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #343434;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}


p {
    font-size: 16px;
}

a {
    color: #333;
}

a:hover,
a:focus {
    color: #5b6242;
    text-decoration: none;
    outline: 0;
}

button:focus {
    outline: 0;
}
a.disable,
button.disable {
    cursor: default;
    pointer-events: none;
    background: #cccccc;
    opacity: .7;
}
.color-purple {
    color: #ff2b43;
}

img {
    max-width: 100%;
}
.img-box.center {
    text-align: center;
}
.image-fill img {
    width: 100%;
}

.text-muted a {
    font-size: 13px;
    text-decoration: underline;
}

/* margin */
.mt-1 {
    margin-top: 1em;
}
.mt-2 {
    margin-top: 2em;
}
.mt-3 {
    margin-top: 3em;
}
.mt-4 {
    margin-top: 4em;
}
.mt-5 {
    margin-top: 5em;
}

.m-t-20 {
    margin-top: 20px;
}
.m-t-40 {
    margin-top: 40px;
}
.m-t-60 {
    margin-top: 60px;
}
.m-b-20 {
    margin-bottom: 20px;
}
.m-b-40 {
    margin-bottom: 40px;
}
.m-b-60 {
    margin-bottom: 60px;
}


/* list */
.list-style-none {
    list-style: none;
}

.list-style-alpha {
    list-style-type: lower-alpha;
}

.page-privacy li {
    margin-bottom: 5px;
}


/* slick */
.slick-slide:focus {
    outline: none;
}

/* form */
.form-control {
    background-color: #DBDECF;
    border: 1px solid #6F784D;
    border-radius: 1px;
    color: #707070;
}
select.form-control {
    background-color: transparent;
    border-left: none;
    border-right: none;
    background: url(/assets/images/icons/select-arrow.png) right no-repeat !important;
    -webkit-appearance: none;
    color: #6F784D;
}

/* custom select */
.select__box-wrapper {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.select__box {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
}

.select__box:first-child {
    z-index: 1;
}

.select__box:last-child {
    z-index: 0;
}

    .select__box-current {
        position: relative;
        border: 1px solid #6F784D;
        color: #6F784D;
        width: 220px;
        padding: 5px;
        border-radius: 25px;
        text-align: center;
        font-size: 18px;
        cursor: pointer;
    }

    .select__box-current.active {
        background-color: #6F784D;
        color: #fff;
    }

        .select__box-current svg {
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 22px;
            height: 22px;
            stroke: #6F784D;
        }

        .select__box-current.active svg {
            stroke: #fff;
            transform: translateY(-50%) rotate(180deg);
            transform-origin: center;
        }

    .select__box-list {
        position: absolute;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        background-color: #fff;
        border-radius: 5px;
        display: none;
        height: 0;
        transition: 0.3s;
    }

    .select__box-list.active {
        display: block;
        height: auto;
        z-index: 9;
    }

        .select__box-value {
            border-bottom: 1px solid #eee;
        }

        .select__box-list .option-wrap {
            padding: 8px 15px;
            font-size: 16px;
        }

            .select__box-list .option-wrap input {
                margin: 0;
            }

            .select__box-list .option-wrap .checkmark {
                opacity: 0;
            }

@media(max-width: 576px) {
    .select__box-wrapper {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .select__box {
        margin-bottom: 15px;
    }
}

/*header 
-----------------------------------*/
.header {
    position: absolute;
    width: 100%;
    color: #fff;
    padding-top: 30px;
    z-index: 9999;
}
.header .container {
    position: relative;
    z-index: 2;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    /* background: rgb(51 51 51 / 0.8); */
    /* background-image: url("/assets/images/header-gradient.png"); */
    background: linear-gradient(to bottom, #000000, rgb(255 255 255 / 0%));
    z-index: 1;
}

.header-content {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}
    .nav__menu > ul {
        display: -webkit-flex;
        display: flex;
        justify-content: flex-end;
    }
    .nav__menu li {
        list-style: none;
    }
    .nav__menu a {
        display: inline-block;
        color: #fff;
        padding: 3px 8px;
        margin-left: 5px;
        margin-right: 2px;
        letter-spacing: 2px;
    }
    .nav__menu .icon {
        margin-right: 4px;
    }
    .nav__menu-top a {
        font-size: 14px;
    }
    .nav__menu-top .shopping-cart.active {
        position: relative;
    }
    .nav__menu-top .shopping-cart.active::after {
        content: '';
        position: absolute;
        right: 1px;
        top: 6px;
        width: 6px;
        height: 6px;
        background-color: #ff3c3c;
        border-radius: 50%;
    }
    .site-logo img {
        height: 70px;
    }

    @keyframes slideInTop {
        0% {
            top: 0;
            opacity: 0;
        }
        100% {
            top: 22px;
            opacity: 1;
        }
    }

    .shopping-cart_container {
        position: relative;
    }

    .shopping-cart_container:hover .shopping-cart__content {
        display: block;
        animation: slideInTop 0.5s forwards;
    }
    
    .shopping-cart__content {
        display: none;
        position: absolute;
        left: -90%;
        width: 280px;
        padding-top: 10px;
    }

    .shopping-cart__table {
        background-color: #6f784d;
    }

        .shopping-cart__content .cart-desc {
            padding: 10px 15px 0;
            font-size: 13px;
        }

            .shopping-cart__row {
                justify-content: space-between;
                align-items: flex-start;
                padding: 15px;
                border-bottom: 1px solid #5d653c;
                font-size: 14px;
            }

                .shopping-cart__row > .image {
                    width: 48px;
                }

                .shopping-cart__info {
                    flex: 1;
                    padding-left: 5px;
                }

                .shopping-cart__info svg {
                    position: relative;
                    top: 2px;
                    margin-right: 3px;
                }

                .shopping-cart__content img {
                    width: 48px;
                }

                .shopping-cart__content .thumb-image img {
                    object-fit: contain;
                }

                

            .shopping-cart__content .button-check-wrapper {
                padding: 10px 0;
            }

                .shopping-cart__content .button-check-wrapper a {
                    display: block;
                    text-align: center;
                    margin: 0 15px;
                    padding-top: 10px;
                    padding-bottom: 10px;
                    background-color: #3e4230;
                    transition: 0.3s;
                }

                .shopping-cart__content .button-check-wrapper a:hover {
                    background-color: #4b5332;
                }

                .shopping-cart__content .button-del {
                    color: #151515;
                    transition: 0.3s;
                }

                .shopping-cart__content .button-del:hover {
                    color: #c0ca9b;
                }


/* Mobile Nav */
.mobile-nav {
    display: none;
    z-index: 99;
}
    .toggle {
        cursor: pointer;
        width: 22px;
        height: 14px;
        padding: 0;
    }
        .toggle-icon {
            width: 22px;
            height: 14px;
            position: relative;
            top: 15px;
            right: 5px;
            margin: 0;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-transition: .5s ease-in-out;
            -moz-transition: .5s ease-in-out;
            -o-transition: .5s ease-in-out;
            transition: .5s ease-in-out;
            cursor: pointer;
        }
          
        .toggle-icon span {
            display: block;
            position: absolute;
            height: 2px;
            width: 100%;
            background: #fff;
            border-radius: 9px;
            opacity: 1;
            left: 0;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-transition: .25s ease-in-out;
            -moz-transition: .25s ease-in-out;
            -o-transition: .25s ease-in-out;
            transition: .25s ease-in-out;
        }
    
        .toggle-icon span:nth-child(1) {
            top: 0px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }
          
        .toggle-icon span:nth-child(2) {
            top: 8px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }
          
        .toggle-icon span:nth-child(3) {
            top: 16px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }

        .toggle-icon.open span {
            background: #fff;
        }
        .toggle-icon.open span:nth-child(1) {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            top: -1px;
            left: 0;
        }
          
        .toggle-icon.open span:nth-child(2) {
            width: 0%;
            opacity: 0;
        }
          
        .toggle-icon.open span:nth-child(3) {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            top: 14px;
            left: 0;
        }
    
    .mobile-sidebar {
        position: fixed;
        z-index: -1;
        width: 100%;
        height: 100vh;
        overflow: scroll;
        background-color: rgb(0 0 0 / 80%);
        top: -120%;
        left: 0;
        transition: .3s;
        padding-top: 100px;
    }
        .mobile-sidebar > ul {
            padding-left: 0;
            width: 88%;
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 40px;
        }
            .mobile-sidebar li {
                list-style: none;
            }
                .mobile-sidebar li a {
                    display: inline-block;
                    padding: 10px 0;
                    width: 100%;
                    color: #fff;
                    letter-spacing: 3px;
                    text-align: center;
                    font-size: 16px;
                    font-weight: 100;
                }
                .mobile-sidebar li:last-child a {
                    border-bottom: none;
                }
                .mobile-sidebar .nav__menu-top {
                    border-bottom: 1px solid #fff;
                }

            
            .mobile-sidebar .collapse__button {
                transition: .3s;
            }
            .mobile-sidebar .collapse__button.active {
                position: relative;
                background-color: #000;
                margin-top: 8px;
                margin-bottom: 15px;
                border-bottom: none;
            }
            .mobile-sidebar .collapse__button.active::after {
                position: absolute;
                content: url(../images/icons/arrow-dropleft.png);
                bottom: -16px;
                left: 50%;
                transform: translateX(-50%);
            }

    .slide-sidebar.active {
        top: 0;
    }

@media (max-width: 1211px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 15px;
    }
    .header::before {
        height: 120%;
    }
    .nav__menu {
        display: none;
    }
    .toggle {
        position: absolute;
        top: 12px;
        right: 30px;
    }
    .site-logo {
        margin-right: unset;
    }
    .header-content {
        justify-content: center;
    }
    .mobile-nav {
        display: block;
    }
}

/*main
---------------------------------- */
.main {
    min-height: 300px;
    background: url(/assets/images/bg-pattern.jpg) top repeat;
    overflow: hidden;
}
.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* bootstrap datetimepicker widget */
.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    border-radius: 0 !important;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
    background: #5987da !important;
}
.bootstrap-datetimepicker-widget .glyphicon:before {
    color: #fff !important;
}

/*content
---------------------------------- */
.content .container {
    position: relative;
}


/*home
-----------------------------------*/
.text-block {
    color: #6F784D;
}
    .heading {
        font-size: 46px;
        color: #6F784D;
    }
    .text-block .info {
        width: 90%;
    }
        .text-block .info h3 {
            font-size: 40px;
            color: #6F784D;
            margin-bottom: 30px;
        }

@media(max-width: 576px) {
    .text-block .info {
        width: 100%;
        padding-bottom: 50px;
    }
    .text-block .info h3 {
        text-align: center;
    }
    .text-block .info .button {
        display: table;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
    }
}

.slash {
    position: relative;
    left: -30px;
    margin-top: 120px;
    margin-bottom: 120px;
    width: 250px;
    height: 1px;
    background-color: #6F784D;
    transform: rotate(-45deg);
    transform-origin: center;
}

/* about */
.home-about .image-block {
    display: flex;
}
    .home-about .image-block img {
        width: 50%;
    }

@media(max-width: 576px) {
    .home-about .image-block .image-2 {
        display: none;
    }
    .home-about .image-block img {
        width: 100%;
    }
}

/* product */
.home-product {
    background-color: #DBDECF;
    padding-top: 40px;
}
.carousel-arrows {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
    background-color: #5B6242;
    width: 30%;
}
    .carousel-arrows .arrow {
        position: relative;
        cursor: pointer;
        padding: 12px;
        line-height: 0;
    }
    .carousel-arrows .arrow::before {
        content: '';
        position: absolute;
        top: 10%;
        right: 0;
        width: 1px;
        height: 80%;
        background-color: rgb(255 255 255 / 0.4);
    }
    .carousel-arrows .arrow:last-child:before {
        display: none;
    }
    .carousel-arrows svg {
        width: 28px;
        height: 28px;
        stroke: #fff;
    }

.home-product .text-block .info [data-num] {
    display: none;
}
.home-product .text-block .info [data-num].active {
    display: block;
}
.home-product .product-summary {
    margin-bottom: 20px;
}
.home-product .product-content {
    opacity: 0;
    transition: 0.3s;
}
.home-product .text-block .info .active .product-content {
    opacity: 1;
}

@media(max-width: 576px) {
    .carousel {
        margin-top: -200px;
        padding-bottom: 40px;
    }
    .carousel-arrows {
        position: absolute;
        top: 200px;
    }
    .home-product {
        position: relative;
        margin-top: 180px;
    }
        .home-product .image-block {
            margin-bottom: 80px;
        }

    .home .heading {
        text-align: center;
    }
    .slash {
        width: 150px;
        left: 50%;
        transform: translateX(-50%) rotate(-45deg);
        margin-top: 90px;
        margin-bottom: 90px;
    }
}

/* news */
.home-news .heading {
    margin-bottom: 60px;
}
.home-news .item-row {
    border-bottom: 1px solid #5F5F5F;
    padding: 16px 5px 0;
}
.home-news .item-row:last-child {
    border-bottom: 0;
}
    .home-news .news-title a {
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }
        .home-news .news-title a > span {
            width: 88%;
        }
        .home-news .news-title a > img {
            width: 20px;
        }

    .home-news .date {
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .home-news .badge {
        width: 30px;
        line-height: 24px;
        border-radius: 50%;
        background-color: #5B6242;
        margin-right: 5px;
    }
    .home-news .badge .text {
        display: inline-block;
        font-size: 12px;
        transform: scale(0.75);
        margin-left: -6px;
    }

/* page */
.page {
    position: relative;
    padding-bottom: 40px;
}
.page .heading {
    font-size: 30px;
    text-align: center;
    color: #707070;
    line-height: 1.1em;
    margin-top: 60px;
    margin-bottom: 30px;
}
    .page .heading span {
        display: block;
        font-size: 24px;
        color: #6F784D;
    }

/*about
-----------------------------------*/
.page-about .images-row {
    display: flex;
    margin-bottom: 20px;
}
    .page-about .images-row img {
        flex: 1;
        height: auto;
        width: 33.3333333%;
    }

.mobile-slideshow .slick-dots {
    bottom: 10px;
}
    .mobile-slideshow .slick-dots li button:before {
        border: 1px solid #fff;
        border-radius: 50%;
        color: transparent;
    }
        .mobile-slideshow .slick-dots li.slick-active button:before {
            color: #fff;
        }

.mobile-slideshow .slick-prev, .mobile-slideshow .slick-next {
    top: 50%;
} 
.mobile-slideshow .slick-prev {
    left: 5px;
}   
.mobile-slideshow .slick-next {
    right: 5px;
}

/*toast
-----------------------------------*/
.page-toast .editor {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
}

/*
.page-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: -208px;
    background: url(/assets/images/about/about-img-1.png);
    width: 600px;
    height: 560px;
    background-size: contain;
    background-repeat: no-repeat;
}
*/

.page-toast::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -160px;
    background: url(/assets/images/about/loaf.png) bottom right;
    width: 600px;
    height: 480px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.toast-listing .price {
    margin-bottom: 30px;
}

.toast-listing .price .highlight {
    font-size: 28px;
    color: #6f784d;
    margin-left: 5px;
    margin-right: 5px;
}


/*
@media(max-width: 1366px) {
    .page-toast::before {
        left: -360px;
    }
}
*/

@media(max-width: 1211px) {
    /*
    .page-toast::before {
        position: relative;
        display: block;
        left: unset;
        width: 560px;
        height: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    */
    
    .page-toast::after {
        display: none;
    }
    
}

@media(max-width: 768px) {
    .page-toast .editor {
        width: 90%;
    }
    .page-toast::before {
        left: -130px;
    }
    .toast-listing {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
    
}

@media(max-width: 576px) {
    .toast-listing {
        width: 100%;
    }
}


/*product
-----------------------------------*/
.product {
    border-bottom: 1px solid #6F784D;
    padding-bottom: 80px;
    margin-bottom: 60px;
}

.product:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.product-listing {
    display: none;
}

.product-row {
    display: -webkit-flex;
    display: flex;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

    .product-row .block {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .product-row .image-block {
        align-items: center;
        margin-right: 80px;
        flex-shrink: 0;
        width: 360px;
        max-width: 100%;
    }

    .product-row .image-block a {
        width: 360px;
        max-width: 100%;
    }

    .product-row .image-block img {
        object-fit: contain;
        height: 360px;
    }

.product .name {
    margin-top: 0;
}

.product .name a {
    font-size: 40px;
    color: #6F784D;
}

.product .spec {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}
    .product .spec .option-wrap {
        font-size: 16px;
    }

    .product .spec .option-wrap .checkmark:after {
        border: none;
        transform: none;
        left: 3px;
        top: 3px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: #6F784D;
    }

    .product .spec .option-wrap input[type="radio"] ~ .checkmark {
        border-color: #6f784d;
        background-color: transparent;
        border-radius: 50%;
    }

    .option-wrap input[type="radio"]:checked ~ .checkmark:after {
        background-color:#6f784d;
    }

    .in-stock {
        color: #707070;
        font-size: 15px;
    }
    
.product .desc {
    margin-bottom: 15px;
}

.product .info {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 25px;
    margin-top: auto;
    border-top: 1px solid #707070;
}

    .product .info .item {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        /* flex: 1; */
        border-right: 1px solid #707070;
        height: 70%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .product .info .item.price {
        flex: 1
    }

    .product .info .item.in-stock {
        flex-direction: column;
        justify-content: center;
        width: 120px;
    }

    .product .info .item:last-child {
        border-right: 0;
    }

    .product .info .label {
        color: #000;
        font-size: 14px;
        padding-bottom: 0;
    }

    .product .price .text {
        color: #6F784D;
        font-size: 36px;
    }

    .product .amount input {
        width: 80%;
        color:  #6F784D;
        border-top: 1px solid #6F784D;
        border-bottom: 1px solid #6F784D;
        border-left: none;
        border-right: none;
        background-color: transparent;
        text-align: center;
    }

    .product .amount input:focus {
        outline: none;
    }

    .product .amount input[type="number"]::-webkit-inner-spin-button, 
    .product .amount input[type="number"]::-webkit-outer-spin-button {  
        opacity: 1;
        background-color: #6F784D;
    }

    .product .add-to-cart .button {
        margin-left: 15px;
    }

    .product .add-to-cart .button.button--add-cart {
        background-color: #a2b268;
    }

    .product .add-to-cart .button.button--add-cart:hover {
        background-color: #ccdb94;
    }

.product-slider-nav .slick-slide {
    cursor: pointer;
}

.pd-wrapper .pdinfo {
    padding-left: 60px;
}

.pd-wrapper .introbox {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.pd-wrapper .pd-name {
    font-size: 42px;
    font-weight: 700;
    color: #6f784d;
    width: 80%;
}

.pd-wrapper .original-price {
    font-size: 15px;
}

.pd-wrapper .p-label {
    font-size: 15px;
}

    .pd-wrapper .introbox .right-intro {
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }

        .pd-wrapper .introbox .price {
            display: -webkit-flex;
            display: flex;
            margin-top: 0;
            margin-bottom: 0;
            margin-left: 10px;
            margin-right: 10px;
            font-size: 30px;
        }

        .pd-wrapper .introbox .price .p-label {
            position: relative;
            top: 17px;
            left: 5px;
        }

.pd-wrapper .spec-item {
    display: -webkit-flex;
    display: flex;
    position: relative;
    margin-right: 15px
}

.pd-wrapper .spec-item::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 1px solid #5b6242;
    border-radius: 50%;
    margin-right: 5px
}

.pd-wrapper .spec-item.active::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background-color: #6f784d;
    border-radius: 50%;
}

.pd-wrapper .sku_spec .introbox {
    margin-top: 5px;
}

.pd-wrapper .spec-list a.spec-item.active {
    border-color: transparent;
    color: initial !important;
}

.pdviewbox .slick-prev, .pdviewbox .slick-next {
    top: 50%;
}

.pdviewbox .slick-prev.slick-arrow {
    left: -20px;
}

.pdviewbox .slick-next.slick-arrow {
    right: -20px;
}

.pdviewbox .slick-prev:before, .pdviewbox .slick-next:before {
    color: #bccc7e;
}

.product-detail {
    margin-top: 60px;
    margin-bottom: 80px;
}
    .product-detail .titlebar {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 30px;
        padding-bottom: 5px;
        border-bottom: 1px solid #6f784d;
    }

.input-group .form-control.buycount {
    width: 70px;
    text-align: center;
}

.buycount-box {
    margin-top: 20px;
}

.buycount-box .btn {
    padding: 7.5px 12px;
    font-size: 12px;
}

.buycount-box .input-group {
    display: flex;
}

    .buycount-box .input-group-btn {
        width: 36px;
    }




.product--details {
    border-bottom: none;
    margin-bottom: 0;
}

.product--details .info {
    border-top: none;
    justify-content: unset;
}

.product--details .info .item {
    border-right: none;
}

.product--details .info .item.price {
    flex: unset;
}


.product--details .add-to-cart {
    display: flex;
    margin-left: 40px;
}

.product--details .add-to-cart .button {
    margin-left: 10px;
    padding: 10px 30px;
}

.input-group-btn .btn {
    background-color: #a2b268;
}

.input-group-btn ~ .form-control {
    border: 1px solid #a2b268;
}


@media(max-width: 1211px) {
    .buycount-box {
        flex-wrap: nowrap;
    }

    .product--details .add-to-cart {
        width: 100%;
    }

    .product.product--details .add-to-cart .button {
        margin-top: 10px;
    }
    
}

@media(max-width: 768px) {
    .input-group .form-control.buycount {
        width: 120px;
    }

    .pd-wrapper .pdinfo {
        padding-left: 0;
    }
}


@media(max-width: 576px) {
    .buycount-box {
        flex-wrap: wrap;
    }

    .input-group .form-control.buycount {
        width: 100%;
    }

    .pd-wrapper .pd-name {
        width: 100%;
    }


    .product--details .add-to-cart {
        margin-left: 0;
        margin-top: 20px;
    }

    .buycount-box .btn {
        padding: 7.5px 22px;
    }
}


/* product slider */
.product-slider .thumb-image {
    padding: 5px;
}


@media(max-width: 1211px) {
    .product .info {
        flex-wrap: wrap;
    }

    .product .info .item.add-to-cart {
        flex: auto;
        width: 100%;
    }

    .product .info .item {
        flex: 1;
        border-right: none;
    }

    .product .add-to-cart .button {
        margin-top: 20px;
        margin-left: 5px;
        padding: 8px 16px;
        width: 50%;
        text-align: center;
    }
}

@media (max-width:1024px) {
    .product .price .text {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .pd-wrapper .pdinfo {
        padding-left: 0;
    }

    .product-row {
        flex-direction: column;
    }

    .product-row .image-block {
        margin-left: auto;
        margin-right: auto;
    }

    .product .info .item {
        padding-left: 0px;
        padding-right: 0px;
        height: 40px;
        margin-top: 10px;
    }

        .product .price .text {
            font-size: 22px;
        }

        .product .name {
            text-align: center;
            margin-top: 10px;
        }

        .product .name a {
            font-size: 36px;
        }

        .product .spec {
            margin-top: 60px;
        }
        
}

@media (max-width: 576px) {
    .pdviewbox .slick-prev.slick-arrow {
        left: -9px;
    }

    .pdviewbox .slick-next.slick-arrow {
        right: -9px;
    }
}

/*contact
-----------------------------------*/
.page-contact {
    margin-bottom: 60px;
}

.location {
    margin-top: 60px;
    background-color: #eee;
    font-size: 15px;
}

    .location__row {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        border-bottom: 1px solid #dbdbdb;
    }

    .location__thead {
        font-size: 13px;
        background-color: #e8eae3;
    }

        .location__info {
            flex: 1;
            padding: 5px 15px;
        }
        .location__info.address i {
            color: #6f784d;
            margin-left: 5px;
        }


.button--badge {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    color: #fff;
    border-radius: 50px;
    background-color: #6f784d;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
    transition: 0.3s;
}
.button--badge:focus,
.button--badge:hover {
    background-color: #889067;
    color: #fff;
}

.button--badge img {
    width: 48px;
    margin-right: 15px;
}


@media(max-width: 576px) {
    .location__thead {
        display: none;
    }

    .location__row {
        padding-top: 5px;
        padding-bottom: 5px;
        flex-direction: column;
        text-align: center;
    }
}


/*news
-----------------------------------*/
.page-news .grid .item {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}
.page-news .grid .item {
    margin-bottom: 40px;
}
.page-news .textbox {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin-top: 5px;
    flex: 1;
    background-color: #DBDECF;
}
    .page-news .textbox .head {
        display: -webkit-flex;
        display: flex;
        margin-bottom: 15px;
    }
        .page-news .textbox .date {
            position: relative;
            width: 50px;
            height: 56px;
            margin-right: 10px;
            background: url(/assets/images/news/date-bg.png) no-repeat;
            background-size: contain;
            text-align: center;
        }
        .page-news .date .wrapper {
            position: absolute;
            width: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
            .page-news .date span {
                display: block;
                font-weight: 700;
                font-size: 15px;
                color: #C66C1A;
            }
            .page-news .textbox .date .month {
                border-bottom: 1px solid #B45B02;
                margin-top: 2px;
                color: #404040;
            }
            .page-news .textbox .title {
                font-size: 20px;
                font-weight: 700;
                flex: 1;
            }
            .page-news .textbox .summary {
                margin-bottom: 30px;
            }
            .page-news .textbox .button {
                display: table;
                margin-left: auto;
                margin-right: auto;
                margin-top: auto;
            }

.page-news.details .date {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #6F784D;
    margin-top: 40px;
}
.page-news.details .subject {
    font-weight: 700;
    font-size: 28px;
}

@media(max-width: 576px) {
    .page-news .grid .item {
        width: 100%;
        padding: 15px;
    }
}

/* page login */
.page .site-logo {
    position: relative;
    z-index: 3;
}
.page-login {
    /* height: 100vh; */
    background: url(/assets/images/member/login-bg.jpg) center no-repeat;
    background-size: cover;
}
    .page-login .site-logo {
        text-align: center;
    }
    .page-login .container {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        padding-top: 160px;
        padding-bottom: 80px;
        min-height: 100vh;
    }
    .page-login .content-box {
        width: 460px;
        max-width: 100%;
    }
        .page-login .content-box .heading {
            font-size: 28px;
            color: #fff;
            margin-top: 0;
        }
            .page-login .content-box .heading span {
                color: #BCCC7E;
                font-size: 46px;
                margin-top: 15px;
            }

        .page-login .text-muted a {
            color: #fff;
        }
        .page-login .copyright {
            background-color: transparent;
        }
        
.page-login.join .container {
    align-items: flex-end;
    margin-bottom: 20px;
}

    .register-form {
        width: 720px;
        max-width: 100%;
        margin: 0 auto 40px;
        padding: 40px 40px 20px;
        border-radius: 25px;
        background-color: #5B6242;
        color: #fff
    }
    .register-form .heading {
        font-size: 28px;
        color: #fff;
        margin-top: 0;
    }
        .register-form .heading span {
            font-size: 20px;
            color:#BCCC7E;
        }
        .register-form .option-wrap {
            display: table;
            margin-left: auto;
            margin-right: auto;
            display: inline;
        }
        .register-form .privacy-term a {
            color: #fff;
            text-decoration: underline;
        }
        .register-form .privacy-term a:hover {
            opacity: 0.8;
        }
        .register-form .option-wrap .checkmark:after {
            left: 7px;
            top: 2px;
        }
        .highlight {
            color: #BCCC7E;
            transition: 0.3s;
        }
        .highlight:hover {
            color: #BCCC7E;
            opacity: 0.8;
        }
    
    .register-form .thirdparty-login-wrapper {
        margin-bottom: 20px;
    }

    .register-form .thirdparty-login-wrapper a {
        width: 80px;
    }

.page-login.forget .container {
    justify-content: center;
}
    .page-login.forget .login-form-forget {
        width: 400px;
        max-width: 100%;
    }
    .page-login.forget .heading {
        color: #fff;
    } 

@media(max-width: 1600px) {
    .page-login.join {
        height: auto;
    }
    .page-login.join .container {
        align-items: flex-start;
        height: auto;
    }
}   

@media(max-width: 768px) {
    .page-login .container {
        justify-content: center;
    }
}

@media(max-width: 576px) {
    .page-login {
        background: url(/assets/images/member/login-bg-mobile.jpg) center no-repeat;
        background-size: cover;
    }
    .register-form {
        margin-top: 0;
        padding: 40px 10px 20px;
    }

        .thirdparty-login a {
            width: 72px;
        }
        .page-login .copyright {
            background-color: transparent;
        }

    
    .page-login.forget .container {
        align-items: center;
    }
    .page-login.forget .login-form-forget {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*imgzoom*/
.imgzoom a{
    position: relative;
    overflow: hidden;
    display: block;
}
.imgzoom img {
    width: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
}

.imgzoom:hover img {
    opacity: 0.8;
    -webkit-transform: scale3d(1.05,1.05,1);
    transform: scale3d(1.05,1.05,1);
}

/*note
-----------------------------------*/
.tabs-wrap {
    display: flex;
    flex-wrap: wrap;
}
.tabs-wrap .nav-warp {
    margin-top: 40px;
}

.note-tabs .vertical .nav-tabs, .note-tabs .vertical .tab-content {
    display: block;
}
/*---------------*/


/*--------pager-------*/
.pagination {
    display: table;
    margin: 70px auto 0;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #767676;
    border-color: #767676;
    color:#fff;
}

.pagination > li > a, .pagination > li > span {
    color: #343434;
    border-color: #999;
    margin: 0 3px;
}
.pagination > li > a {
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    padding: 0;
    border-radius: 50% !important;
    color: #5B6242 !important;
    font-weight: 700;
    border-color: #5B6242 !important;
    background-color: transparent !important;
}
    .pagination > li > a svg {
        position: relative;
        top: 4px;
        width: 20px;
        height: 20px;
        stroke: #5B6242;
    }

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: #767676;
    border-color: #767676;
    color:#fff;
}

.pagination > .active > a {
    background-color: #C0CB9B !important;
}

/*--------------product show-----------------*/
/* photo grid */
.photos-wrap {
    display: flex;
    flex-wrap: wrap;
}
.photo-grid {
    text-align: center;
    margin: 0 0 30px;
    width: 25%;
}
.photo-grid img {
    width: 250px;
}
.photo-grid p {
    margin: 10px 15px;
}
.photo-grid .photo-box {
    display: block;
    position: relative;
    width: 250px;
    height: 160px;
    overflow: hidden;
    margin: 0 auto;
}
.photo-grid .photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s;
    width: 100%;
}
.photo-grid .photo:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* checkbox / radio */
.option-wrap input[type="radio"]:checked ~ .checkmark,
.option-wrap input[type="checkbox"]:checked ~ .checkmark {
    border-color: #bccc7e;
    background-color: #bccc7e;
}
.option-wrap input[type="radio"]:checked ~ .checkmark:after,
.option-wrap input[type="checkbox"]:checked ~ .checkmark:after {
    background-color: #bccc7e;
}
.option-wrap .checkmark:after {
    border: solid #555848;
    border-width: 0 1.5px 1.5px 0;
}

/*contact
-----------------------------------*/
.contact-content {
    width: 90%;
    margin: 0 auto;
}
.contact-desc {
    margin-bottom: 20px;
}
.required-token {
    text-align: right;
    margin-right: 14px;
    font-size: 13px;
}
.contact-content h3.heading {
    color: inherit;
    margin: 0;
    font-weight: 400;
}
.content-info li p {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    margin-bottom: 0;
    font-size: 16px;
    width: 32px;
    text-align: center;
}
.content-info-item {
    margin-left: 15px;
    flex: 1;
}
    .content-info-item a {
        word-wrap: break-word;
    }

.content-info-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
}
.content-info-item .text {
    display: block;
}
.content-info .time {
    display: inline-block;
    line-height: 30px;
}
.content-info li p i {
    font-size: 26px;
    margin-top: 12px;
    margin-right: 10px;
    color: #5B6242;
}
.content-info li p i.fa-envelope {
    font-size: 22px;
}
.contact-form .label {
    color: #939191;
    font-size: 100%;
    display: block;
    text-align: left;
    padding-left: 0;
    font-weight: normal;
}

.contact-form .input,
.contact-form .textarea,
form .input,
form .textarea {
    position: relative;
    display: block;
}

.contact-form .input i,
.contact-form .textarea i {
    position: absolute;
    top: 3px;
    width: 29px;
    height: 29px;
    font-size: 15px;
    line-height: 29px;
    text-align: center;
    right: 3px;
    border-left: 1px solid #ccc;
    color: #AEAEAE;
}

.contact-form .input-captcha img,
.login-form .input-captcha img,
.register-form .input-captcha img{
    position: absolute;
    top: 2px;
    right: 16px;
    border-left: 1px solid #AEAEAE;
    height: 31px;
}
.login-form .input-captcha img {
    top: 0;
    right: 1px;
    height: 39px;
    width: auto;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.contact-form footer {
    margin: 20px 0;
    text-align: right;
    padding-right: 14px;
}

.contact-form footer .btn {
    min-width: 110px;
    padding: 8px;
    font-size: 14px;
}

.contact-form .error, 
form .invalidate .error,
.register-form .error,
.login-form .error,
.form .error{
    position: absolute;
    right: 17px;
    top: 2px;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 13px;
}

.login-form .error{
    right:2px;
    margin-top:0;
}
.input-addr .error {
    top: 12px;
    right: 2px;
}
.addrbox .error {
    bottom: 1px;
    top: inherit;
}
.twzipcode .error {
    top: 0;
    bottom: inherit;
}
.input-captcha .error {
    right: 115px;
}

.contact-form .has-success .error,
form .has-success .error {
    opacity: 0;
    padding: 0;
    display: inherit;
}
form .has-success .error::before {
    content: none;
}
.message {
    color: #fff;
    padding: 8px 15px;
    background-color: #cc5656;
    border-radius: 5px;
    font-size: 15px
}
#Success.message {
    background-color: transparent;
}
.message p {
    display: inline-block;
}

h3.heading {
    color: #5B6242;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    margin:20px 0;
    padding-bottom: 10px;
    position: relative;
    vertical-align: middle;
}

.map {
    margin-top: 30px;
}

.maplabels {
    font-size: 22px;
    color: #741321;
    font-weight: bold;
    font-family: "微軟正黑體";
}
.contact-text {
    box-shadow: 5px 0px 5px rgba(95, 95, 95, 0.2);
    margin-right: 40px;
}
.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}
.contact-box,.contact-box p{
    font-size: 18px;
    font-weight: normal;
}
.contact-box p{
    font-weight: bold;
}
.contact-text p {
    letter-spacing: -1px;
    line-height: 26px;
    margin-bottom: 0;
}
.contact-content ul.content-info li {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 1px;
    padding: 15px 20px;
    align-items: flex-start;
}

@media(max-width: 576px) {
    .contact-form footer {
        text-align: center;
    }
    .content-info-item {
        text-align: left;
    }
    .map iframe {
        margin-bottom: 10px;
    }
}

/*member
---------------------------------- */
#loginForm {
    margin-bottom: 10px;
}
.loginbox h3 {
    margin-bottom: 30px;
}
.loginbox h3 span,
.joinbox h3 span{
    display: block;
    font-size: 14px;
    text-transform: uppercase;
}

.joinbox {
    padding-left: 60px;
}
.login-form label {
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 400;
}
.login-form .form-control {
    border: 1px solid #a6aa91;
    background-color: rgb(188 195 163 / 75%);
    border-radius: 25px;
    color: #fff;
    padding: 8px 20px;
    height: auto;
    font-size: 16px;
}
.login-form .form-control::-webkit-input-placeholder {   /* Edge */
    color: #fff;
}
.login-form .form-control::-ms-input-placeholder {   /* Internet Explorer */
    color: #fff;
}
.login-form .form-control::placeholder {
    color: #fff;
}
.login-form .btn-login {
    background-color: #6F784D;
    border-radius: 20px;
    padding: 8px 20px;
    height: auto;
    margin-top: 25px;
    font-size: 16px;
}

/* thirdparty login */
.thirdparty-login-wrapper {
    justify-content: center;
}
    .thirdparty-login,
    .thirdparty-login:hover {
        flex: unset;
        background-color: transparent;
    }
        .thirdparty-login a {
            padding: 6px;
        }

@media (max-width: 1199px) {
    .thirdparty-login-wrapper {
        flex-direction: row;
    }
}
        
.vertical .tab-content.loginbox {
    padding: 0 0 0 70px;
    width:76%;
}
.joinbox .text {
    margin-bottom: 20px;
}
.joinbox .text p {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 0;
}
.unit-warp {
    display: flex;
    flex-wrap: wrap;
}
    .unit-warp a {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
        width: 100%;
        height: 100%;
    }
    .unit {
        width: 25%;
        height: 280px;
        text-align: center;
        background: #f5f5f5;
        background: url(/assets/images/member/slice.png) center no-repeat;
        background-size: contain;
        background-position-x: 27%;
        margin-bottom: 60px;
    }
    .unit:hover {
        background: url(/assets/images/member/slice-colored.png) center no-repeat;
        background-size: contain;
        background-position-x: 28%;
    }
    .unit svg {
        transition: .3s;
        width: 48px;
        height: 48px;
        stroke: #5B6242;
    }
    .unit i {
        transition: .3s;
        color: #5B6242;
        font-size: 48px;
    }
    .unit:hover svg,
    .unit:hover i {
        transform: scale(1.1);
    }
    .unit:hover a {
        color: #5B6242;
    }
    .unit-icon {
        display: block;
    }
    .unit-title {
        margin-top: 20px;
        display: block;
        font-size: 16px;
    }
@media (max-width: 1200px) {
    .unit {
        padding-left: 25px;
    }
}
@media (max-width: 991px) {
    .unit {
        width: 50%;
        background-position-x: 38%;
        padding-left: 0;
    }
    .unit:hover {
        background-position-x: 38%;
    }
}
@media (max-width: 576px) {
    .unit {
        width: 100%;
        background-position-x: 48%;
        padding-left: 28px;
    }
    .unit:hover {
        background-position-x: 48%;
    }
}
.email-not-active {
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}
.memberbox .row {
    margin: 0;
}
.memberbox {
    background: url(/assets/images/member/memberbox_bg.jpg) repeat-y;
    height: 55vh;
    margin: 0 5px;
    position: relative;
}
.text-pic {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 40px;
}

.member-btnbox {
    margin-left: 32%;
    padding-top: 100px;
}

.member-btnbox a {
    display: inline-block;
    padding: 10px 20px;
    width: 100%;
    background-color: #ffd0d9;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #5B6242;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.member-btnbox a:hover {
    background-color: #5B6242;
}

.member-btnbox a:nth-child(even) {
    margin-right: 0;
}

.member-btnbox a i {
    width: 75px;
    height: 75px;
    display: inline-block;
    background-repeat: no-repeat;
    vertical-align: middle;
    background-size: 95%;
}

.member-btnbox a i.logout {
    background-image: url("/assets/images/member/icon-logout.png");
}

.member-btnbox a i.order {
    background-image: url("/assets/images/member/icon-order.png");
}

.member-btnbox a i.infor {
    background-image: url("/assets/images/member/icon-infor.png");
}

.member-btnbox a i.password {
    background-image: url("/assets/images/member/icon-password.png");
}

.member-btnbox a i.bouns {
    background-image: url("/assets/images/member/icon-bouns.png");
}

.member-btnbox a .m-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.member-btnbox a .m-text h4 {
    color: #191919;
    font-weight: normal;
    margin: 0;
}

.member-btnbox a .m-text p {
    color: #191919;
    font-size: 14px;
    margin: 0;
}
.member-btnbox a:hover .m-text h4,
.member-btnbox a:hover .m-text p{
    color:#fff;
}
.step {
    text-align: center;
}

.center-block {
    text-align: center;
}

.center-block h4 {
    color: #5B6242;
}

input.addr {
    position: relative;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    width: 100%;
    margin-top: 10px;
}

.page-member #address-error {
    top: 47px;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
    margin: 0px 5px;
}

.icon-ok i {
    font-size: 100px;
    color: #5B6242;
}

/* modal */
.modal {
    z-index: 99999;
}
.modal-body .btn i {
    margin: 0;
}
.modal-content {
    min-height: 90vh;
    padding: 20px 20px 40px;
    background-color: #5B6242;
    border: 1px solid #5B6242;
    color: #fff;
}
.modal-header {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}
.modal-header .heading {
    font-size: 28px;
    color: #fff;
    margin-bottom: 0;
}
.modal-footer {
    border: none;
}

.infor span {
    color: #BCCC7E;
    text-decoration: underline;
}
.caveat {
    margin: 15px 0;
    color:#BCCC7E;
}

.close {
    font-size: 26px;
}
.bonus-search {
    text-align: center;
    margin-bottom: 20px;
}
.bonus-search h4 {
    display: inline-block;
}
.bonus-search input {
    border: 1px solid #ccc;
    padding: 3px;
}
body.member.bonus .rwd-table tbody>tr>th:first-child {
    width: 5%;
}
body.member.bonus .rwd-table tbody>tr>th:nth-child(2) {
    width: 45%;
}
/*order
-----------------------------------*/
/*#cart-board.container {
    top: -210px;
}*/
.cartbox {
    display: none;
    width: 370px;
    position: absolute;
    top: 10px;
    right: -100px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    z-index: 999;
}

.cartbox.open {
    display: block;
}

.cartbox .img {
    width: 70px;
    height: 50px;
    float: left;
}

.cartbox thead {
    background-color: #5B6242;
    color: #fff;
    font-size: 14px;
}

.cartbox .name {
    vertical-align: top;
    width: 55%;
    font-size: 14px;
    text-align: left;
}

.cartbox table>tbody>tr>td,
.cartbox table>thead>tr>th{
    text-align: center;
}
body.order .cartlist .rwd-table tbody>tr>th{
    background-color: #5B6242;
    color: #fff;
}
.container .cartlist .checkout-btnbox {
    position: relative;
    justify-content: space-between;
}

.cartlist .name {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}
.cartlist thead {
    background-color:#5B6242;
    color: #fff;
    font-size: 16px;
}
.cartlist .datepicker thead
.cartlist .img {
    display: inline-block;
}
.cartlist .img.fill {
    width: 80px;
    height: 95px;
}

.cartlist input.input-xs {
    width: 60px;
    text-align: center;
}

/* .cartlist .table>tbody>tr>td {
    vertical-align: middle;
} */
.cartlist input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.cartlist .product-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
}
.cartlist .proceed a {
    padding: 8px 32px;
    min-width: 150px;
}

.cartlist .product-name {
    width: 70%;
    display: inline-block;
    padding-right: 40px;
}
.cartlist .product-specs {
    width: 29%;
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    color: #888;
}

.cartlist .btn.backto-shop {
    background: #A3A3A3;
    color: #ffffff;
    border: 1px solid #A3A3A3;
    border-radius: 25px;
}

    .cartlist .deleteitems .btn {
        background-color: #a3a3a3;
        color: #fff;
        border-radius: 25px;
        padding: 8px 22px;
    }

@media (max-width: 576px) {
    .cartlist .product-name,
    .cartlist .product-specs {
        width: 100%;
        display: block;
    }
    .cartlist .name {
        margin: 5px 0;
    }
    
}

.totalbox-line {
    border-top: 1px solid #5B6242;
    padding: 10px 0;
}

/* .totalbox {
    
}

.totalbox span {
    
}

.totalbox .price {
    
} */

.list-total .price:before {
    content: "NT$";
    display: inline-block;
    font-size: 0.9em;
    margin-right: 10px;
}

.list-total {
    text-align: right;
    font-size: 14px;
    line-height: 1.5em;
}
.list-total span {
    min-width: 80px;
    display: inline-block;
    vertical-align: middle;
}
.paytotal {
    color: #5B6242;
    font-weight: 700;
    font-size: 24px;
}
body.cart .total {
    font-weight: bold;
    color: #000;
}
.datalist {
    vertical-align: top;
    min-height: 350px;
}
.checkout .datalist {
    min-height: unset;
    margin-bottom: 30px;
}
.datalist .table {
    border: 0;
}
.datalist .title {
    background-color: #5b6242;
    color: #fff;
    padding: 6px 20px;
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.datalist .table th {
    width: 24%;
}
label.form-inline input {
    display: inline-block;
}
nav.leftbox,
nav.rightbox {
    display: inline-block;
    vertical-align: top;
    color: #000;
    line-height: 36px;
}

nav.leftbox li {
    font-weight: bold;
}

.notebox {
    background-color: #eaeaea;
    padding: 20px;
}
.notebox p {
    font-weight: 600;
    color: #555;
    font-size: 17px;
    margin: 0 0 5px;
}
.notebox nav.notelist {
    margin-bottom: 20px;
}
.notelist li i {
    color: #c4001c;
    margin-right: 10px;
    vertical-align: top;
    margin-top: 8px;
    width:3%;
    float: left;
}

.notelist p.inline {
    width: 94%;
}
.cartlist .title {
    padding: 10px;
}
.cartlist .title label {
    margin-bottom: 0;
}
body.order .cartlist .title span {
    color: red;
}
body.order.p02 .cartlist .title span {
    color: #fff;
}
body.order.p04 .content .info {
    border-bottom: 1px solid #ccc;
    padding: 20px;
    text-align: center;
}

body.order.p04 .content .cartlist thead {
    background-color: #888;
}

body.order.p04 .totalbox-line {
    border-color: #ccc;
}

body.order.p04 .content .text p {
    line-height: normal;
}

body.order.p04 .cartlist {
    margin-top: 20px;
}
body.order.p04 .rwd-table tbody>tr>th{
    border-color: #ccc;
}
body.order.p04 .rwd-table tbody>tr>th,
body.order.p04 .rwd-table tbody>tr>td{
    padding:8px !important;
}
body.order.show .title {
    padding: 20px;
    font-size: 16px;
    color: #5B6242;
    border-bottom: 1px solid;
    margin-bottom: 20px;
}

body.order.show .title i {
    margin-right: 10px;
}

body.order.show .title span {
    float: right;
}

body.order.show .leftbox .nav > li {
    background-color: #ddd;
    padding: 0 5px;
    margin-bottom: 1px;
}

body.order.show .rightbox .nav > li {
    border-bottom: 1px solid #ccc;
}

body.order.show nav.rightbox {
    width: 84%;
}
body.order.show .rwd-table tbody>tr>th {
    border-color:#ddd;
    width: 20%;
}
body.order.show .messagebox .rwd-table tbody>tr>th:first-child {
    width: 5%;
}
body.order.show .messagebox .rwd-table tbody>tr>td:first-child {
    text-align: center;
}
.infolist {
    margin-top: 10px;
    margin-bottom: 40px;
}

td.reply,
td.message {
    width: 30%;
}


/* Order Detail */
.order-detail .orderid {
    padding: 10px;
}
.order-detail .orderid .item {
    display: inline-block;
    margin: 0 15px;
}
.order-detail .title {
    padding: 10px;
    background: #5B6242;
    color: #fff;
}
.order-detail .title i,
.order-detail .orderid i {
    margin-right: 5px;
}

.order-detail th {
    width: 120px;
}

.order-detail .rwd-table tbody>tr>th {
    border-color: #ddd !important;
}

.order-detail .subheading {
    padding: 5px 0;
}

.order-detail .rwd-table td:before {
    display: none;
}

.order-detail .rwd-table th,
.order-detail .rwd-table td {
    text-align: left;
}

@media(min-width: 1201px) {
    .order-detail .cart-item-content {
        width: 100%;
    }

    .order-detail .cart-item-amount {
        width: 30%;
    }
    
    .order-detail .cart-item-content .item.pickup {
        width: 20%;
    }

    .order-detail .cart-item-content .item.specs {
        width: 20%;
    }

    .order-detail .cart-item-content .item.price {
        width: 10%;
    }

    .order-detail .cart-item-qty,
    .order-detail .cart-item-subtotal {
        width: 50%;
    }

    .order-detail .cart-item-amount {
        text-align: center;
    }
    
}


/*footer
---------------------------------- */
.scrollToTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 55px;
    height: 55px;
    z-index: 1005;
    cursor: pointer;
    display: none;
    background: #333;
    border-radius: 50%;
    opacity: .8;
}

.scrollToTop i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
}

.footer {
    margin-top: 60px;
}

.footer-logo {
    position: relative;
    top: 3px;
    width: 100%;
    text-align: center;
}

.footer-content {
    background-color: #6f784d;
    color: #fff;
    font-size: 15px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 5px;
    padding-right: 5px
}

    .footer-content .container {
        position: relative;
    }

    .footer-content .item-row,
    .footer-content ul {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        padding-left: 0;
    }

        .footer-content li {
            list-style: none;
            opacity: 0.8;
        }

            .footer-content li a {
                display: inline-block;
                padding: 4px 12px;
                color: #fff;
            }

        .footer-info {
            display: flex;
            justify-content: space-between;
            width: 80%;
        }

        .footer-content .item-row .title {
            color: #fff;
            font-size: 15px;
            padding: 0 12px;
        }
        
        .footer-content .item .inner-box {
            display: -webkit-flex;
            display: flex;
            padding: 0 12px 7px;
        }

            .footer-content .item .inner-box i {
                position: relative;
                top: 3px;
                margin-right: 8px;
            }

            


        .footer-content .contact-info-row {
            align-items: flex-start;
        }
        
        .footer-content .contact-info {
            position: relative;
            top: 5px;
            align-items: flex-start;
        }

        .footer-content .contact-info .item li {
            display: flex;
            width: 100%;
            margin-bottom: 3px;
        }

        .footer-content .contact-info .inner-box .store-name {
            width: 70px;
            text-align: justify;
            text-align-last: justify;
            display: inline-block;
            flex-shrink: 0;
        }


        .footer-content .contact-info .inner-box .store-name:after {
            content: '';
            height: 1px;
            display: block;
        }

        .footer-follow {
            position: absolute;
            top: 0;
            right: 0;
        }

        .footer-follow a {
            margin-left: 5px;
            margin-right: 5px;
        }

        .footer-follow img {
            width: 48px;
        }

.float-icons {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: none;
}

    .float-icons a {
        display: block;
        margin-bottom: 10px;
    }

    .float-icons img {
        width: 80px;
    }

    .float-icons .shopping-cart {
        text-align: center;
        color: #5e6445;
        font-size: 26px;
        width: 50px;
        line-height: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 50%;
    }

    .float-icons .shopping-cart .count {
        position: absolute;
        top: 1px;
        right: 10px;
        font-size: 12px;
        width: 20px;
        line-height: 20px;
        border-radius: 50%;
        background-color: #bcc3a3;
    }

.copyright {
    padding: 8px 0;
    color: #d4d6ca;
    text-align: center;
    font-size: 12px;
    background-color: #434831;
}

@media (max-width: 991px) {
    .footer-info {
        width: 100%;
    }
    
    .footer-content .item-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .footer-content ul {
        flex-wrap: wrap;
        padding-left: 0;
    }

    .footer-content li a {
        padding: 4px 0;
    }

    .footer-content .item-row .title {
        padding: 0;
    }


    .footer-follow {
        position: relative;
        right: unset;
        text-align: center;
        margin-top: 40px;
    }
    .float-icons {
        right: 20px;
    }
    .float-icons img {
        width: 60px;
    }
    .copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-content .item .inner-box {
        padding: 0 0 7px;
    }

    .footer-content .contact-info .inner-box .store-name {
        width: 60px;
    }
}


/*home
-------------------------------*/
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
    .banner .slide {
        position: relative;
        height: 100vh;
    }
    .banner .slide:focus {
        outline: none;
    }

.banner-content {
    position: absolute;
    width: 50%;
    bottom: 30%;
    right: 0;
    color: #fff;
}
    .banner-content h2 {
        font-size: 36px;
        font-weight: 700;
        color: #fff;
    }
    .banner-content p {
        font-size: 20px;
        color: #fff;
    }

.scroll-icon {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    stroke: #fff;
    width: 40px;
    height: 40px;
}
.scroll-icon img {
    width: 28px;
    animation: bounce 2s infinite;
}
.scroll-icon svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-15px);}
	60% {transform: translateY(-8px);}
}

@media(max-width: 576px) {
    .banner,
    .banner .slide {
        height: 100vh;
    }
    .banner-content {
        width: 100%;
        bottom: 40%;
        text-align: center;
    }
}

/*button
-------------------------------*/
.button {
    background-color: #6F784D;
    border-radius: 20px;
    border: none;
    padding: 8px 24px;
    color: #fff;
    font-size: 15px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}
.button.gray,
.button.go-back {
    background-color: #A3A3A3;
}

.button.gray:hover {
    color: #fff;
    background-color: #8d8d8d;
}

.button.disabled {
    pointer-events: none;
    background-color: #cbcbcb !important;
}


.button.disabled:hover {
    color: #fff;
    background-color: #A3A3A3;
}

.button-cancel {
    text-decoration: underline;
    color: #5b6242;
}

.button:hover {
    color: #5b6242;
    background-color: #bcc49c;
    box-shadow: 0px 1px 1px rgb(170 188 101 / 70%);
}

.container .btnbox {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btnbox .button {
    margin-left: 5px;
    margin-right: 5px;
}

.btnbox .button:focus {
    color: #ffffff;
}

.btnbox.line {
    padding: 20px 0;
}

.btn {
    background-color:#6f784d;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    transition: 0.3s;
}

.btn:hover,
.btn:focus,
.btn.focus,
.btn:active:focus {
    color: #fff;
    background-color: #5B6242;
    outline: none;
}
.input-group:focus,
.input-group-btn:focus {
    outline: none;
}

.btn-back i {
    font-size: 10px;
    margin-right: 10px;
}

.btn-default {
    background: #ccc;
    font-size: 14px;
    color: #666;
}

.buy-btnbox.cart {
    margin: 0 20px;
}
.buy-btnbox.cart .btn {
    min-width: 150px;
    font-size: 16px;
    margin-right: 10px;
}
.btn-checkout {
    min-width: 150px;
    padding: 10px 20px;
    background: #6F784D;
    border-radius: 25px;
    margin-left: 8px;
}
.buy-btnbox .btn-checkout {
    margin-left: 0;
    margin-right: 8px;
}
.btn-checkout:hover {
    background-color: #5b6242;
}
.btn-addcart {
    min-width: 90px;
    padding: 5px;
    background-color: rgb(188 204 126);
    border-radius: 25px;
    padding: 10px 20px;
}
.btn-add {
    padding: 8px 30px;
    font-size: 14px;
}
.btn-purple {
    background: #dbcde0;
    color: #560f29;
}

.btn-login {
    width: 100%;
    background-color: #767676;
    margin-top: 10px;
}

.btn-fb {
    width: 100%;
    background-color: #3c5a99;
    background-image: none;
    line-height: 24px;
    margin-top: 10px;
}
.btn-fb img{
    height: 24px;
}

.btn-fb:hover,
.btn-fb:focus {
    background-image: none;
    background-color: #3F5A93;
    opacity: 0.9;
}

.btn-close {
    background-color: transparent;
    color: #fff;
}

.btn-50 {
    background: url(/assets/images/member/btn50bg.png) repeat;
}

.btn-del {
    color: #5B6242;
    background-color: transparent;
    border: 0;
}

.btn-del:hover {
    color: #f01d35;
}

.btn-checkout-full {
    width: 100%;
    background-color: #525252;
    transition: .3s;
}
.btn-checkout-full:hover {
    color: #5B6242;
    background-color: transparent;
    border: 1px solid #5B6242;
}

.btn-gray {
    background-color: #2b2b2b;
    color: #fff;
}

.btn-full {
    width: 100%;
}
.btn-nb {
    background-color: transparent;
    color: #000;
    font-size: 14px;
}
.btn-go {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    padding: 0;
    font-size: 12px;
    background-color: transparent;
    color: #525252;
}
.btn-go:hover {
    color: #5B6242;
    background-color: transparent;
}
.btn.empty{
    background-color: #888;
}

@media(max-width: 1211px) {
    .buycount-box .input-group-addon, .buycount-box .input-group-btn {
        width: auto;
    }
    
}
@media(max-width: 576px) {
    .buy-btnbox.cart {
        margin: 40px 0 0;
        width: 100%;
    }
}


/*form
--------------------------------*/

.inline {
    display: inline-block;
    width: auto;
    min-width: 80px;
}

/* twzipcode */
.twzipcode {
    position: relative;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.twzipcode > span {
    flex: 2;
}
.twzipcode > span[data-role="zipcode"] {
    flex: 1;
}

.twzipcode select {
    width: 94%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    color: #6F784D;
    background-color: transparent;
    background-image: none;
    border: 1px solid #6f784d;
    border-left: none;
    border-right: 1px;
    border-radius: 1px;
    margin-left: auto;
    display: block;
    background: url(/assets/images/icons/select-arrow.png) right no-repeat !important;
    -webkit-appearance: none;
}

.twzipcode select:focus,
.twzipcode input:focus {
    outline: none;
}

.twzipcode input {
    background-color: #DBDECF;
    border: 1px solid #6F784D;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 700;
}

.twzipcode input[name="zipcode"] {
    pointer-events: none;
}

.twzipcode input:disabled {
    background-color: #d8d8d8;
    border-color: #d8d8d8;
    opacity: 0.7;
}

#register-form .form-control {
    display: inline-block;
    width: 100%;
}

.error {
    display: inline-block;
    padding: 6px 10px;
    background: #5B6242;
    border-radius: 5px;
    margin-left: 5px;
    color: #fff;
    position: relative;
}

.error::before {
    box-sizing: content-box;
    width: 0;
    height: 0;
    position: absolute;
    content: "";
    top: 8px;
    right: 100%;
    border: 8px solid rgba(0, 0, 0, 0);
    border-right: 15px solid #5B6242;
    border-left: 0 solid;
    font: normal 100%/normal Arial, Helvetica, sans-serif;
    color: rgba(0, 0, 0, 1);
    text-overflow: clip;
    text-shadow: none;
}

.codebox,
.codepic {
    display: inline-block;
}

label span {
    vertical-align: middle;
}

.red {
    color: #f00;
}

.btnbox.t-line {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 40px;
}

@media(max-width: 576px) {
    .twzipcode > span {
        margin-bottom: 8px;
        flex: auto;
    }

    .twzipcode [data-role="district"] select {
        width: 100%;
    }
    
}
/*Modal
-------------------------------*/

.modal .titlebox {
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal .titlebox a {
    display: inline-block;
    width: 50%;
    text-align: center;
    background-color: #b5b5b5;
    padding: 5px;
    margin-right: -3px;
    color: #000;
}

.modal .titlebox a.active,
.modal .titlebox a:hover {
    background-color: #dbcde0;
}

.modal-dialog {
    width: 400px;
    margin: 30px auto;
}

.modal-body .input-group {
    margin-bottom: 10px;
}

.modal .input-group .form-control {
    height: 36px;
    font-size: 15px;
}

.modal .input-group .form-control.input-sm {
    width: 50%;
    border-radius: 0px 5px 5px 0;
}

a.code {
    font-size: 18px;
    color: #666;
}

.modal .login-btnbox .btn {
    padding: 6px 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.modal-footer {
    text-align: center;
}


/*table
-------------------------------*/
table.table {
    border-bottom: 1px solid #ddd;
}
table.table.noline th,
table.table.noline td {
    border-top: 0;
}

table.table.table-gray th,
table.table.table-gray thead {
    color: #000;
}

th.pdimg {
    width: 10%;
    text-align: center;
}

th.w-80 {
    width: 80px;
}

th.pdname,
td.pdname {
    text-align: left;
}
.rwd-table thead tr {
    background-color: #5B6242;
    border-bottom: 10px solid #f4f4f4;
}
.rwd-table tr {
    background-color: #DBDECF;
    border-top: 2px solid #ffffff;
}

.rwd-table th,
.rwd-table td {
    display: table-cell;
    padding: 0.25em 0.5em;
    text-align: center;
}
.rwd-table td {
    color: #5B6242;
}
.rwd-table thead td {
    color: #fff;
}

/* .rwd-table th:first-child,
.rwd-table td:first-child {
    
}

.rwd-table th:last-child,
.rwd-table td:last-child {
   
}

.rwd-table th,
.rwd-table td {
    
} */

.rwd-table tbody>tr>th {
    border-color: #5B6242;
    color: #5B6242;
}

td p {
    margin: 0;
    line-height: normal;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 12px;
}

@media (max-width: 768px){
	.rwd-table, .rwd-table thead, .rwd-table tbody, .rwd-table th, .rwd-table td, .rwd-table tr { 
		display: block; 
	}
	.rwd-table thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.rwd-table tr { border-top: 10px solid #f4f4f4; }
	
	.rwd-table td {
        position: relative;
        padding-left: 45% !important;
        height: 38px;
        border: none;
        border-top: 0 !important;
    }
    
    .rwd-table .table > thead > tr > th,
    .rwd-table .table > tbody > tr > th,
    .rwd-table .table > tfoot > tr > th,
    .rwd-table .table > thead > tr > td,
    .rwd-table .table > tbody > tr > td,
    .rwd-table .table > tfoot > tr > td {
        padding: 0;
    }


    .rwd-table td::before {
		position: absolute;
		top: 0;
		left: 0;
        width: 45%; 
        height: 100%;
        padding-top: 8px;
        padding-right: 0;
        white-space: nowrap;
        background-color: #5B6242;
        color: #fff;
    }

	.rwd-table td:nth-of-type(1):before { content: "訂單編號"; }
	.rwd-table td:nth-of-type(2):before { content: "交易金額"; }
	.rwd-table td:nth-of-type(3):before { content: "取貨日期"; }
	.rwd-table td:nth-of-type(4):before { content: "建立日期"; }
	.rwd-table td:nth-of-type(5):before { content: "付款方式"; }
	.rwd-table td:nth-of-type(6):before { content: "運送方式"; }
	.rwd-table td:nth-of-type(7):before { content: "處理情形"; }
    .rwd-table td:nth-of-type(8):before { content: "取消訂單"; }
    
    .rwd-table td::after {
        content: '';
        position: absolute;
        right: 2.5%;
        bottom: 0;
        width: 50%;
        height: 1px;
        background-color:  #6F784D;
    }
    .rwd-table td:last-child::after {
        display: none;
    }

}



/*layout
-------------------------------*/

.m-l-10 {
    margin-left: 10px;
}

.m-r-10 {
    margin-right: 10px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-r-20 {
    margin-right: 20px;
}

.clearfix {
    clear: both;
}
/*vertical tabs
-------------------------------*/
.vertical .nav-tabs > li{
    float: none;
    border: 0;
}
.vertical .nav-tabs,
.vertical .tab-content {
    display: table-cell;
    margin: 0;
    vertical-align: top;
}
.vertical .nav-tabs {
    border: 0;
    min-width:220px;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 15px;
}
.nav-title {
    padding: 10px 15px;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e0 !important;
    margin-bottom: 10px !important;
    color: #333;
}
.vertical .tab-content {
    width: 80%;
    padding: 0 10px 0 50px;
}

.vertical .tab-content h2 {
    width: 100%;
}
    
.vertical .nav-tabs > li > a{
    border-radius: 0;
    border: 0;
    color:#767676;
    font-size: 16px;
}
.vertical .nav-tabs > li > a:hover{
    border:0;
    color:#5B6242;
}
.vertical .nav-tabs > li.active > a,
.vertical .nav-tabs > li.active > a:hover,
.vertical .nav-tabs > li.active > a:focus{
    border: 0;
    color:#5B6242;
    background-color: transparent;
}

.vertical .tab-pane {
    min-height: 400px;
}
/*editor
-------------------------------*/

.editor h1,
.editor h2,
.editor h3,
.editor h4,
.editor h5,
.editor p {
    color: #000;
}

.editor p {
    font-size: 16px;
    line-height: 30px;
}

.editor img {
    display: block;
    border: 0;
    /*margin: 0 auto;*/
    max-width: 100%;
    width: 700px !important;
    height: auto !important;
}

.editor h4{
    font-size:20px;
}
.note-tabs .editor li {
    line-height: 30px;
    font-size: 16px;
    color:#252525;
}
.empty {
    text-align: center;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*print
-------------------------------*/
@media print{
    body,.container{
        margin:0;
        padding:0;
        overflow: hidden;
    }
    header,footer,
    .page-class,
    .content .container h2,
    .alltitle,
    body.order.p04 .content .info,
    .container .btnbox,
    .banner,
    .breadcramb{
        display: none;
    }
    .notebox{
        padding:0;
        background:none;
    }
    .notelist p{
        font-size: 14px;
        margin-bottom: 0;
    }
    .rwd-table th:last-child, .rwd-table td:last-child {
        border-bottom: 1px solid #ccc;
    }
}

/*about*/

.about_box {
    /*width: 80%;*/
    float: right;
    margin-top: 20px;
    text-shadow: 0px 0px 20px #fff;
}

.abtitle{
    color: #5B6242;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
}

.abtitle:after {
    content: "";
    width: 100px;
    height: 2px;
    position: absolute;
    margin-top: 20px;
    background-image: linear-gradient(to left, #5B624200 0%, #fbc38c 30%, #5B6242 100%);
}

.article-width {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .article-width {
        width: 90%;
    }
}
@media (max-width: 576px) {
    .about_box {
        width: 100%;
        margin-top: 0px;
    }
    
}

/**/
body > div.sweet-alert.showSweetAlert.visible > div.sa-button-container > div > button {
    background: #5B6242 !important;
}

/* Cart */
.cart-item-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0;
    font-size: 15px;
    border-top: 1px solid #f3f3f3;
    background: #DBDECF;
    width: 100%;
}
    .cart-th-row {
        padding: 2px 0 3px;
        border-top: 1px solid #5b6242;
        color: #ffffff;
        background-color: #5B6242;
    }

/* .cart-item-row:nth-of-type(2n) {
    background: #f5f5f5;
} */
    .cart-item-row .inner-item {
        padding: 5px;
        min-width: 5%;
    }
    .cart-item-row .cart-item-select {
        width: 7%;
        padding-left: 10px;
        margin-right: 5px;
        margin-left: 2%;
        text-align: center;
        height: 20px;
        padding-top: 0;
        padding-bottom: 0;
    }
        .cart-item-row .cart-item-select .check-container {
            margin-bottom: 0;
            padding-left: 34px;
        }

    .cart-item-row .checkmark {
        top: 1px;
        left: 10px;
    }
    .cart-item-info {
        display: flex;
        flex-wrap: wrap;
        width: 65%;
        justify-content: space-between;
        align-items: center;
    }
        .cart-item-image img {
            width: 80px;
        }
        .cart-item-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            width: 89%;
        }
            .cart-item-content .name {
                padding: 0 15px;
                width: 40%;
                max-width: 400px;
            }
            
        .cart-item-amount {
            display: flex;
            justify-content: space-around;
            width: 17%;
            align-items: center;
        }
            .cart-item-amount input {
                width: 60px;
                width: 80%;
                color:  #6F784D;
                border-top: 1px solid #6F784D;
                border-bottom: 1px solid #6F784D;
                border-left: none;
                border-right: none;
                background-color: transparent;
                text-align: center;
            }
            .cart-item-amount input:focus {
                outline: none;
            }
            .cart-item-amount input[type="number"]::-webkit-inner-spin-button, 
            .cart-item-amount input[type="number"]::-webkit-outer-spin-button {  
                opacity: 1;
                background-color: #6F784D;
            }

            .product .amount input:focus {
                outline: none;
            }
            .cart-item-stock {
                font-size: 12px;
                margin: 5px 0;
            }
            .cart-item-qty .error {
                margin-top: 5px;
                margin-left: 0;
            }
            .cart-item-qty .error::before {
                border: none;
            }

            .cart-item-content .spec {
                display: block;
            }

            .product .pd-wrapper {
                margin-top: 15px;
            }


        .item-w {
            width: 85px;
        }

    .cart-item-option button {
        outline: none;
        border: none;
        background: transparent;
    }
    .cart-date {
        padding: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: 700;
    }
    .cart-item-wrap .block {
        margin-bottom: 50px;
    }
    

    .item-label {
        display: none;
        margin-right: 5px;
        color: #6F784D;
    }

.check-container {
  display: block;
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 20px;
  width: 30px;
  left: 0;
  z-index: 9;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 1px solid #888;
    border-radius: 50%;
}

.check-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.check-container input:checked ~ .checkmark {
  background-color: #bccc7e;
  border: 1px solid#a7ac96;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.check-container input:checked ~ .checkmark:after {
  display: block;
}

.check-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #5b6242;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.check-container.same-as-buyer {
    margin-bottom: 0;
}
.same-as-buyer .checkmark {
    top: 2px;
}

/* Chcekout */
.products-total-price {
    font-size: 16px;
}
.checkout .cart-item-info {
    width: 80%;
}

.checkout .cart-item-content {
    width: 100%;
    justify-content: unset;
}

.checkout .cart-item-content > .item {
    flex: 1;
}

    .checkout .cart-item-content .name {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        flex: 2;
    }

    .checkout .cart-item-content .cart-item-image {
        margin-right: 5px;
    }
    
.checkout .cart-item-row {
    padding: 2px 5px;
}
    .checkout .cart-th-row {
        padding: 2px 0 3px;
    }
    .checkout .check-container {
        display: inline-block;
        margin-right: 10px;
    }
        
    .checkout .cart-item-row .cart-item-qty.cell {
        padding: 0 12px;
    }

.label-en {
    display: block;
    font-size: 13px;
    font-weight: 400;
}
.invoice-field {
    display: none;
}
.receipt-field {
    margin-bottom: 0;
}

    .receipt-field .option-content {
        margin-left: 20px;
    }

        .receipt-field .option-content .input-group {
            display: -webkit-flex;
            display: flex;
            margin-bottom: 15px;
        }

            .receipt-field .input-group .inner-label {
                width: 110px;
            }

            .receipt-field .option-content input {
                opacity: 1;
                position: relative;
                width: 100%;
                height: 34px;
                padding: 2px 10px;
                z-index: 9;
            }

            .receipt-field .inner-option-wrap input[type="radio"] {
                position: absolute;
                opacity: 0;
                width: 100%;
            }

            .receipt-field .inner-option-wrap .option-label > input {
                margin-top: 5px;
            }

            .receipt-field .option-content input:focus {
                border: 1px solid #6F784D;
                background-color: #dbdecf;
                outline: none;
            }

            .receipt-field .option-wrap .checkmark:after {
                left: 7px;
                top: 2px;
            }

            .receipt-field .twzipcode {
                width: 100%;
            }


            .receipt-field .post-info {
                width: 100%;
            }

                .receipt-field .post-info .twzipcode > span {
                    position: relative;
                }

                .receipt-field .post-info .twzipcode .error {
                    right: -30px;
                    width: 60px;
                    font-size: 12px;
                }

            .receipt-field .post-address {
                margin-top: 10px;
                position: relative;
            }


            .receipt-field .twzipcode [data-role="zipcode"] input {
                width: 120px;
            }

            
        
        .receipt-field .check-container .underline-input {
            width: 100%;
            border-top: none;
            border-left: none;
            border-right: none;
            border-bottom: 1px solid #6F784D;
            background-color: transparent;
        }
        .receipt-field .check-container > input {
            width: 100%;
            height: 20px;
        }

        

.order-confirmation {
    border-top: 4px solid #5B6242;
    padding: 20px 20px 20px 30px;
    background-color: #DBDECF;
}
    .order-confirmation h3 {
        margin: 8px 0 0;
        color: #333;
    }
    .order-confirmation .list-total {
        margin: 8px 0;
    }
        .order-confirmation .list-total span {
            min-width: 200px;
        }

    .order-confirmation .totalbox-line {
        border-top: none;
        padding: 0;
    }
    .order-confirmation .total_html {
        color: #6F784D;
    }

@media (max-width: 1200px) {
    .cart-item-row {
        padding: 20px 0 !important;
        align-items: initial;
    }
    .cart-th-row {
        padding: 10px 0 !important;
    }
    .cart-item-row .inner-item {
        padding: 0 5px;
        color: #6F784D;
    }
    .cart-item-row .check-container {
        margin-bottom: 0;
    }
        .cart-item-row .checkmark {
            top: 0;
            left: 0;
        }
    
    .cart-th-row .cart-item-select {
        width: 100%;
        text-align: left;
        color: #fff;
    }
    .cart-item-info {
        width: 85%;
        justify-content: initial;
        align-items: initial;
    }
    .checkout .cart-item-info {
        width: 100%;
    }
    .cart-item-content {
        /* width: 70%; */
        padding: 0 10px;
    }
        .cart-item-content > .item {
            width: 100%;
            padding: 0 5px 0 0;
        }
        .cart-item-row .inner-item.cart-item-amount {
            /* width: 180px;
            position: absolute;
            bottom: 10px;
            right: 0; */
            width: 100%;
            justify-content: flex-end;
            padding-right: 10px;
        }
        .cart-item-amount.m-layout {
            margin-left: 90px;
        }
        .cart-item-subtotal {
            margin-left: 15px;
        }
        
    .checkout .cart-item-content > .item {
        flex: unset;
    }
    .cart-item-content .name {
        margin: 0 0 8px;
    }
    .cart-item-content .spec {
        font-size: 14px;
        color: #888;
    }
    .item-label {
        display: inline-block;
    }
    .cart-item-subtotal span.subtotal {
        color:#6F784D;
        font-weight: 700;
    }
    .m-d-none {
        display: none;
    }
    .cart-item-option {
        position: absolute;
        top: 2px;
        right: 10px;
        margin: 20px 0;
        text-align: right;
    }
    
    .checkout-btnbox .proceed {
        float: none !important;
        display: flex;
    }
    .cartlist .proceed a {
        padding: 10px 36px;
        flex: 1;
        margin: 0 5px;
    }
    .cartlist .deleteitems {
        position: relative;
        float: none !important;
        margin: 30px 0 0;
        opacity: .7;
        text-align: center;
        order: 2;
    }
    .cartlist .deleteitems .btn {
        background-color: transparent;
        color: #434831;
    }
}

@media (max-width: 576px) {
    /* .cart-item-content {
        width: 66% !important;
    } */
   
    .receipt-field .twzipcode [data-role="district"] select {
        width: 100%;
    }


    .container .cartlist .checkout-btnbox {
        flex-direction: column;
        margin-top: 40px;
    }
    .datalist .table th {
        width: 27%;
        font-size: 13px;
        padding: 8px 2px;
    }
    .receipt-field .option-content {
        margin-left: 0;
        margin-top: 10px;
    }
    .order-confirmation .list-total span {
        min-width: unset;
    }
    .order-confirmation .total_html {
        margin-top: 20px;
        padding: 15px 20px;
    }
}

/* order list */
.button-cancel-order {
    padding: 4px 5px;
    font-size: 13px;
    color: #1a1a1a;
    border-radius: 3px;
    border: 1px solid #bec3ae;
    background-color: #bdc1ac;
}

.page-member-email .register-form {
    margin-top: 0;
}

/* Trading Results */
.trading-results .rwd-table tbody>tr>th {
    border-color: #ddd;
}
.trading-results-details {
    margin: 20px 0;
}
.trading-results-details .table {
    background-color: #DBDECF;
    border-top: 2px solid #ffffff;
}
.trading-results .orderid > .item {
    margin: 0 15px;
}
.trading-results .orderid > .item i {
    margin-right: 5px;
}
@media (max-width: 576px) {
    .trading-results .orderid > .item {
        display: block;
    }
}

.table-primary {
    background-color: #dbdecf;
}
.bordered-table tr {
    border-top: 2px solid #ffffff;
}

/* Report */
    section.content.center-report {
        margin-top: 0;
    }
    .content-header {
        padding: 40px 0 0;
    }
        .content-header h2 {
            padding: 0;
        }
        .content-header .promote-code {
            position: absolute;
            font-size: 16px;
            z-index: 9;
        }

    .center-content {
        margin-top: 20px;
    }
    .center-report table.table {
        background: #fff;
    }
        .center-report table.table td:first-of-type {
            border-left: 1px solid transparent;
        }
        .center-report table.table td:last-child {
            border-right: 1px solid transparent;
        }
        .center-report table.table  td {
            border-bottom: 1px solid #dfe3e6;
        }
        .center-report table.table tr:hover td:first-of-type {
            border-left: 1px solid #7dabe6 !important;
        }
        .center-report table.table tr:hover td:last-child {
            border-right: 1px solid #7dabe6 !important;
        }
        .center-report table.table tr:hover td {
            border-bottom: 1px solid #7dabe6 !important;
            box-shadow: 0 -1px 0 0 #7dabe6;
            background-color: rgba(85, 150, 230, 0.06);
        }
            .center-report table.table .col-pd-name {
                width: 48%;
                text-align: left;
            }
            .center-report table.table td,
            .center-report table.table th {
                text-align: center;
            }
            .center-report h3 {
                text-align: left;
                margin-bottom: 20px;
            }
            
    .sidebar-block {
        margin-top: 22px;
    }
    .sidebar-block .block {
        width: 86%;
        font-size: 16px;
        border: 1px solid #ddd;
        padding: 0;
    }
        .sidebar-block .block li {
            position: relative;
            list-style: none;
        }
        .sidebar-block .block li a {
            display: block;
            padding: 10px 20px;
        }
        .sidebar-block .block-name {
            font-size: 15px;
            margin-bottom: 10px;
        }
    
    .dropdown-button::before {
        position: absolute;
        top: 2px;
        right: 20px;
        font-size: 12px;
        line-height: 40px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f078";
        cursor: pointer;
    }
    .dropdown-content {
        display: none;
        padding-left: 0;
        background: #eee;
    }
    .dropdown-button.open {
        color: #5B6242;
    }
    .dropdown-button.open::before {
        content: "\f077";
    }
    .sidebar-block .block .dropdown-content a {
        padding-left: 40px;
        border-bottom: 1px solid #ddd;
    }

    .promote-dropdown {
        position: relative;
    }
    .promote-dropdown:hover .dropdown-content {
        display: block;
    }
    .promote-dropdown:hover .promote-button {
        color: #337ab7;
    }
    .promote-dropdown .dropdown-content {
        position: absolute;
        width: 220px;
        right: -140px;
        padding: 10px;
        z-index: 9;
        padding: 8px 0;
        background: transparent;
    }
    .promote-dropdown .dropdown-inner {
        background: #fff;
        box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
        border: 1px solid #ddd;
        padding: 15px;
    }
        .promote-dropdown .dropdown-content li {
            display: inline-block;
            list-style: none;
        }
        .promote-dropdown .dropdown-content .text {
            text-align: left;
            font-size: 13px;
            padding-bottom: 5px;
            margin-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }
        .promote-dropdown .dropdown-content a {
            display: inline-block;
            width: 36px;
            line-height: 36px;
            background: #f5f5f5;
            border-radius: 50%;
            color: #fff;
            margin: 0 2px;
        }
        .promote-dropdown .dropdown-content a:hover i {
            transform: rotateY(360deg);
            transition: .5s;
        }
        .promote-dropdown .dropdown-content a.mail {
            background: #ff8300;
        }
        .promote-dropdown .dropdown-content a.facebook {
            background: #1877f2;
        }
        .promote-dropdown .dropdown-content a.line {
            background: #00b900;
        }
        .promote-dropdown .dropdown-content a.link {
            color: #525252;
        }
        .cell-button {
            font-size: 16px;
            color: #525252;
            background: #fff;
            border: 1px solid #ddd;
            padding: 4px 8px;
            border-radius: 3px;
        }


@media (max-width: 1440px) {
    .promote-dropdown .dropdown-content {
        right: -20px;
    }
}
@media (max-width: 1211px) {
    .sidebar-block .block {
        width: 100%;
    }
    figure.pdlist {
        min-height: 428px;
    }
    .promote-code {
        text-align: center;
    }
}

.filters {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
}    
    .report-switch {
        display: flex;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
        .report-switch .switcher {
            border-radius: 0;
            background-color: #eee;
            color: #525252;
            padding: 8px 24px;
            width: 110px;
        }
        .report-switch .switcher.active {
            background-color: #217cd0;
            color: #fff;
            box-shadow: none;
        }
        .report-switch .switcher.left {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        .report-switch .switcher.right {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }

    .monthpicker input {
        font-size: 14px;
        outline: 0;
        text-align: center;
        background: #f5f5f5;
        width: 100px;
        border: 1px solid transparent;
        padding: 7px 30px 7px 10px;
    }
    .monthpicker .datepicker {
        position: relative;
        display: inline;
    }
    .monthpicker .datepicker::after {
        position: absolute;
        top: 0;
        right: 10px;
        color: #888;
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        content: "\f073";
    }
    .monthpicker label {
        margin: 0 5px;
    }
    .monthpicker .btn {
        margin-top: -3px;
        margin-left: 5px;
    }
    .ui-datepicker {
        width: 260px;
        box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);
        margin: 2px 0;
        padding: 10px 5px;
        font-family: "微軟正黑體";
        font-weight: 500;
        font-size: 15px;
    }
    .ui-datepicker-calendar,
    .ui-datepicker .ui-datepicker-buttonpane {
        display: none;
    }
    .ui-datepicker .ui-datepicker-header {
        padding: 10px 0;
        background: #fff;
        border: none;
    }
    .ui-datepicker .ui-datepicker-title {
        margin: 0 1em !important;
    }
    .ui-datepicker .ui-datepicker-prev,
    .ui-datepicker .ui-datepicker-next {
        top: 10px;
        display: none;
    }

    .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
        width: 40%;
        padding: 5px;
        background: #f5f5f5;
        border: none;
        border-radius: 3px;
        color: #525252;
        margin: 0 3px;
        font-family: "微軟正黑體";
    }
    .ui-datepicker-month {
        margin-left: 8px !important;
    }

    .range-switcher {
        display: flex;
        justify-content: flex-end;
        width: 70px;
        margin-right: 0;
        margin-left: auto;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    .range-switcher .switcher {
        position: relative;
        
    }
    .range-switcher .switcher .radio-label {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 34px;
        height: 34px;
        padding: 5px 10px;
    }
    .range-switcher .switcher input[type="radio"] {
        opacity: 0;
        cursor: pointer;
        width: 24px;
        height: 34px;
    }
    .range-switcher .switcher input[type="radio"]:checked ~ .radio-label {
        color: #217cd0;
        background: #eee;
    }

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.report-panel {
    padding-bottom: 20px;
}
    .date-range-pick {
        display: inline-block;
        background: #f5f5f5;
        padding: 2px 12px;
        border-radius: 5px;
    }
        .date-range-pick a {
            display: inline-block;
            padding: 8px 20px;
            background: #eee;
            border-radius: 5px;
            transition: .3s;
        }
        .date-range-pick a:hover {
            background: #5B6242;
            color: #fff;
        }

.report-brief {
    position: relative;
    box-shadow: 0px 2px 0px rgba(115, 128, 157, 0.3);
    border: 1px solid #f5f5f5;
}

.report-brief .tabs-nav {
    position: relative;
    background: #81b0dc;
    display: flex;
}
    .report-brief-indicator {
        position: absolute;
        height: 100%;
        top: 0;
        background: #217cd0;
        transition: .2s ease-in-out;
    }
    .report-brief .tab-link {
        position: relative;
        color: #fff;
        padding: 20px 50px;
        background: transparent;
        z-index: 1;
        overflow: hidden;
    }
    .report-brief .tab-link::before {
        content: "";
        position: absolute;
        width: 2px;
        height: 100%;
        top: 0;
        right: 0;
        background: #71a5d6;
    }
    .report-brief .tab-link.active::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 8px 8px 8px;
        border-color: transparent transparent #fff transparent;
    }
    .report-brief .tab-link:focus {
        box-shadow: inset 0 0 100px rgba(33, 124, 208, 0.3);
    }
    .report-brief .label-text {
        display: block;
        letter-spacing: 1px;
    }
    .brief-label {
        font-size: 14px;
    }
    .brief-number {
        font-size: 24px;
        margin: 2px 0;
    }

.report-brief .tabs-content-wrap {
    min-height: 320px;
    text-align: center;
    line-height: 320px;
}

.report-name {
    font-size: 18px;
    background: #eef6fd;
    padding: 20px 50px;
    color: #2781d4;
}
.report-content {
    margin-top: 40px;
    box-shadow: 0px 2px 0px rgba(115, 128, 157, 0.3);
    border: 1px solid #f5f5f5;
}
.report-table {
    margin: 40px 0 60px;
}
.report-table ul {
    padding: 0;
}
.inner-table {
    padding: 60px 80px;
    margin: 0;
}
    .table-row {
        border-top: 1px solid #dfe3e6;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
    }
    .table-th-row {
        border-bottom: 1px solid #ddd;
        color: #5B6242;
        font-weight: 700;
    }
    .table-row:nth-child(even) {
        background: #f5f5f5;
    }
    .table-row:last-child {
        border-bottom: 1px solid #dfe3e6;
    }


    .table-cell-wrap {
        display: flex;
        justify-content: space-between;
    }

    .table-cell {
        width: 22%;
        padding: 12px 20px;
        min-width: 50px;
    }
    .table-th-row .table-cell {
        color: #666;
        font-size: 14px;
        line-height: 40px;
        padding: 0 20px;
    }
    .table-cell.name {
        width: 60%;
        margin: 0;
    }
    .table-cell.amount {
        min-width: 80px;
    }
    .table-cell.profit {
        min-width: 60px;
    }
    .table-cell.option {
        width: 80px;
    }
    .table-cell button.sort {
        position: relative;
        background: none;
        border: none;
        padding: 0;
    }
    .table-cell button.sort::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f078";
        position: absolute;
        top: 2px;
        right: -24px;
        padding: 0 8px;
        font-size: 12px;
        color: #ccc;
    }
    .table-cell button.sort.asc::before {
        content: "\f077";
    }
    .table-row span[data-label] {
        display: none;
        text-transform: capitalize;
        font-weight: 700;
        font-size: 13px;
        min-width: 60px;
        line-height: 32px;
        padding-left: 5px;
    }

.single-product-report .subheading {
    font-size: 17px;
    margin: 5px;
    text-align: center;
}

/* chart */
.chart-container {
    position: relative;
    margin: auto;
    padding: 30px 10px;
    height: 320px;
}
    .product-report-chart .chart-switcher {
        text-align: right;
        margin: 15px 0;
    }
    .product-report-chart .chart-switcher button {
        background: #f5f5f5;
        border: none;
        padding: 6px 12px;
    }

/* Report Daily */
.go-back {
    margin: 10px 0;
}
.go-back i {
    margin-right: 3px;
}
.report-daily-brief {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 60px;
}
    .brief-block {
        width: 23%;
        background: #eef6fd;
        padding: 25px;
        border-radius: 5px;
    }
        .brief-block-label {
            color: #567d9e;
            font-size: 14px;
        }
        .brief-block-text {
            font-size: 26px;
        }

.product-report-table {
    margin-top: 30px;
}


@media(max-width: 576px) {
    .report-switch {
        margin: 0 auto;
    }
    .monthpicker .datepicker {
        display: inline-block;
        width: 100%;
    }
    .monthpicker .datepicker::after {
        top: 8px;
    }
    .monthpicker input {
        width: 100%;
    }
    .monthpicker label {
        margin: 5px auto;
        text-align: center;
        width: 100%;
    }
    .monthpicker .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
    }
    .inner-table {
        font-size: 14px;
        padding: 5px;
    }
        .table-row {
            flex-wrap: wrap;
            padding: 5px 0;
        }
        .table-cell {
            padding: 5px;
            width: 70% !important;
        }
        .table-th-row {
            display: none;
        }
        .table-th-row .table-cell {
            line-height: unset;
            font-size: 12px;
            padding: 0 2px;
        }
        .table-cell.date {
            min-width: 70px;
        }
        .table-cell.amount {
            min-width: 70px;
        }
        .table-cell.option {
            min-width: 40px;
        }

    .date-quick-pickup {
        margin: 0 auto 20px;
    }
    .report-brief .tab-link {
        padding: 8px;
    }
    .brief-label {
        font-size: 12px;
    }
    .brief-number {
        font-size: 16px;
    }

    .brief-block {
        width: 48%;
        margin-bottom: 10px;
    }
        .brief-block-label {
            font-size: 12px;
        }
        .brief-block-text {
            font-size: 18px;
        }

    .table-row span[data-label] {
        display: inline-block;
    }
}

/* Terms of Use */
.terms-of-use {
    padding: 18px;
}
.terms-of-use-content {
    max-height: 260px;
    overflow-y: scroll;
    background: #f5f5f5;
    padding: 10px 40px;
}
.terms-of-use-content section {
    margin-bottom: 30px;
    font-size: 14px;
}
    .terms-of-use-content h3 {
        font-weight: 500;
        font-size: 20px;
        text-align: left;
        margin-bottom: 15px;
    }
    .terms-of-use-content li {
        margin: 5px 0;
    }
    .terms-of-use-content p {
        font-size: 14px;
    }


/* Chatroom */
.chat-button {
    color: #59bb60;
}
.order-detail .chat-button {
    color: #fff;
}


/**
 * page transition
 */

.page-transition {
    margin-top: 160px;
}


/**
 * Popup
 */

.popup {
    position: relative;
    z-index: -9999999;
    opacity: 0;
    transition: opacity 0.5s;
}
 
.popup.active {
    z-index: 9999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 55%);
}

    .popup__content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .popup--modal .popup__content {
        background-color: #fff;
        padding: 10px 40px 30px;
        width: 1140px;
        max-width: 95%;
        max-height: 90vh;
    }


    .popup__content .content {
        overflow: auto;
        max-height: 75vh;
    }

    .popup__content.rounded {
        border-radius: 20px;
    }

    .popup__content .item {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
        text-align: center;
    }

    .popup__content .box {
        background-color: rgb(135 154 103 / 80%);
        border-radius: 8px;
        color: #fff;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        list-style: none;
    }

    .popup__content .box li {
        padding-top: 8px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #29311b;
        font-size: 15px;
    }

    .popup__content .box li:last-child {
        border-bottom: none;
    }

    .popup__content .box a {
        color: #fff;
        transition: 0.3s;
    }

    .popup__content .box a:hover {
        opacity: 0.6;
    }

    .popup__content.bg-color-primary {
        background-color: #879a67;
    }

    .popup__content.bg-image {
        background: url(/assets/images/member/login-bg.jpg) center no-repeat;
        background-size: cover;
    }

    .popup__content .title {
        color: #fff;
        letter-spacing: 1px;
        display: table;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        background-color: #ae7a59;
        padding: 2px 50px;
        border-radius: 20px;
        font-size: 20px;
        opacity: 0.9;
    }
    

    .popup.active  {
        opacity: 1;
    }

    .text-color-light {
        color: #fff;
    }


.button--popup-close {
    position: fixed;
    right: 15px;
    top: 20px;
    cursor: pointer;
}

.button--popup-close svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
}




.popup--modal[data-popup-modal="release-day"] .popup__content {
    width: 35%;
    margin-left: auto;
    margin-right: auto;
}

.popup--modal[data-popup-modal="release-day"] .popup__content .content {
    max-height: 60vh;
}



@media (max-width: 576px) {
    .popup--modal .popup__content {
        padding: 10px 15px 30px;
        max-height: 80vh;
    }

    .popup--modal[data-popup-modal="release-day"] .popup__content {
        top: 45%;
        width: 90%;
    }

    .popup__content .content {
        max-height: 66vh;
    }
}



/* scrollbar */

.popup__content .content::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.popup__content .content::-webkit-scrollbar
{
	width: 8px;
    border-radius: 10px;
	background-color: #F5F5F5;
}

.popup__content .content::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}


/* 出爐時間 */
.button--option-select {
    display: inline-block;
    border: 1px solid #5B6242;
    border-radius: 20px;
    padding: 4px 16px;
}

.button--option-select.active {
    background-color: #6f784d;
    color: #fff;
}