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

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

body.full-height,
body.full-height .page-wrapper {
    background-color: #fafafa;
    min-height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
    letter-spacing: 1px;
}


h1 {
    font-size: 40px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}


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

a {
    color: #2E4857;
    transition: 0.3s;
}

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

.btn:focus,
.btn:active,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus,
button:focus {
    outline: 0;
    box-shadow: none;
}

a.disable,
button.disable {
    cursor: default;
    pointer-events: none;
    background: #cccccc;
    opacity: .7;
}

.fill img{
    max-width: none;
}

.image-fit img {
    max-width: 100%;
    height: auto;
}

.spacing {
    letter-spacing: 30px;
    vertical-align: inherit;
}

.img-fluid {
    max-width: 100%;
}

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

.w-100 {
    width: 100%;
}

.badge-new {
    position: absolute;
    left: 0;
    bottom: 15px;
    padding: 2px 6px;
    font-size: 13px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: #f6c46f;
}



@media (max-width: 768px) {
    .grid-3 .item, .grid-4 .item {
        width: 100%;
    }
    
}


/* clearfix */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1; /*For IE 6&7 only*/
}



/* text */
.text-smaller {
    font-size: 0.95em;
}

.text-muted {
    color: #888;
}


 /* Image Container */
.image-box {
    position: relative;
    display: flex !important;
}

    .image-box-outer {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
        margin: 0;
        line-height: 0;
    }

    .image-box-outer.ratio-3-2 {
        padding-bottom: 66.66%;
    }

    .image-box-outer.vertical {
        padding-bottom: 130%;
    }

        .image-box-inner {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }

            .image-box-inner img {
                width: 100%;
                height: 100%;
                object-position: 50% 50%;
                object-fit: cover;
            }

            .image-box-inner img.object-fit-contain {
                object-fit: contain;
            }


.image-hover--zoom img,
.image-hover--shrink img {
    transition: 0.5s;
}

.image-hover--zoom:hover img {
    transform: scale(1.03);
}

.image-hover--shrink:hover img {
    transform: scale(0.99);
}


/* ellipsis */
.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    -webkit-line-clamp: 2;
}

.ellipsis-3 {
    -webkit-line-clamp: 3;
}



/*button
-------------------------------*/

.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: 0.3s;
}

button {
    border: 1px solid transparent;
}

.button-primary {
    color: #fff;
    background-color: #F6AE2E;
}

.button-primary:hover {
    color: #fff;
    background-color: #33658a;
}

.button-secondary {
    color: #fff;
    background-color: #33658A;
    border: 1px solid #33658A;
}

.button-secondary:hover {
    color: #33658A;
    background-color: #fff;
}

.button-tertiary {
    color: #2E4857;
    background-color: #c1d0df;
    padding: 8px 30px;
    border-radius: 8px;
}

.button-tertiary:hover {
    background-color: #F8B543;
}

.button-outline-secondary {
    color: #33658A;
    border: 1px solid #33658A;
}

.button-outline-secondary:hover {
    color: #fff;
    background-color: #33658A;
}

.button-rounded {
    border-radius: 25px;
}

.button-square {
    border-radius: 0;
    padding: 8px 42px;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E4857;
    font-size: 18px;
    font-weight: 700;
}

    .button-link svg {
        stroke: #2E4857;
        width: 24px;
        height: 24px;
    }


.button-gray {
    background-color: #C8C9CA;
}

.button-defult {
    font-size: 15px;
    text-decoration: underline;
    color: #333;
}

.button-go-to-plan {
    font-size: 18px;
    background-color: #eff8ff;
    color: #33658a;
    border: 1px solid #bdd1e1;
    display: table;
    margin: auto;
    padding: 12px 66px;
    letter-spacing: 1px;
    border-radius: 3px;
}

.button-go-to-plan:hover {
    border-color: #5781a1;
    background-color: #e2f2ff;
}

.btnbox.line {
    border-top: 1px solid #33658a;
    padding: 20px 0;
}

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

.btn i {
    margin-right: 5px;
}

.btn:hover,
.btn:focus,
.btn.focus {
    color: #fff;
    outline: none;
}

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

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

.buy-btnbox.cart {
    margin: 50px 0 0;
}

.btn-with-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 130px;
}

    .btn-with-icon svg {
        width: 22px;
    }

.btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 7px 18px;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #4a4a4a;
}

.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: #808080;
    color: #fff;
}

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

.btn-del {
    color: #736e6b;
    background-color: transparent;
    border: 0;
}

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

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

.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: #fff;
}

.btn-go:hover {
    color: #e1c359;
    background-color: transparent;
}
.btn.empty{
    background-color: #888;
    pointer-events: none;
}
.btn:not(.empty):hover {
    opacity: 0.8;
}


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

/* placeholder */
.form-control::-webkit-input-placeholder {   /* Edge */
    color: #555;
}

.form-control:-ms-input-placeholder {   /* Internet Explorer */
    color: #555;
}

.form-control::placeholder {
    color: #555;
}


.inline {
    display: inline-block;
    width: auto;
}

.twzipcode select,
.twzipcode input {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    display: inline-block;
}

.twzipcode input {
    width: 85px;
    margin-bottom: 5px;
}

input:focus-visible,
select:focus-visible {
    outline: none;
}


.error {
    display: inline-block;
    padding: 6px 10px;
    background: #eb7d7d;
    border-radius: 5px;
    margin-left: 5px;
    color: #fff !important;
    position: relative;
    font-size: 13px;
    text-decoration: none;
}

.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 #eb7d7d;
    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;
        display: inline-block;
    }
    
}


/*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: 160px 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;
}

.modal .infor span {
    color: #33658a;
}

.modal .infor span.error {
    position: absolute;
    right: 0;
    top: 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 td:before {
        display: none;
}
.rwd-table th,
.rwd-table td {
    display: table-cell;
    padding: 0.25em 0.5em;
}

.rwd-table tbody>tr>th {
    border-color: #151515;
    color: #151515;
}
.rwd-table tr:nth-of-type(2n) {
    background: #f5f5f5;
}
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;
}


.table-border th,
.table-border td {
    border: 1px solid #707070;
}

.table-align-center th,
.table-align-center td {
    text-align: center;
}


/* responsive table */
.responsive-table {
    padding-left: 15px;
    padding-right: 15px;
}

    .responsive-table table {
        width: 100%;
    }

        .responsive-table th {
            background-color: #E5E5E5;
            padding: 5px;
        }

        .responsive-table td {
            padding: 20px 5px;
            font-size: 15px;
        }

@media (min-width: 760px) {
    .responsive-table .t-cell-num,
    .responsive-table .t-cell-duration {
        width: 15%;
    }

    .responsive-table .t-cell-name {
        width: 18%;
    }

    .responsive-table .t-cell-date {
        width: 12%;
    }

    .responsive-table .t-cell-price {
        width: 10%;
    }

    .responsive-table .t-cell-payment-status {
        width: 10%;
    }
    
}


@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
    .responsive-table table, .responsive-table thead, .responsive-table tbody, .responsive-table th, .responsive-table td, .responsive-table tr { 
        display: block; 
    }
    
    .responsive-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .responsive-table tr { border: 1px solid #333; }
    
    .responsive-table td { 
        border: none;
        border-bottom: 1px solid #333; 
        position: relative;
        padding-left: 50%; 
        padding-top: 0;
        padding-bottom: 0;
        min-height: 36px;
        line-height: 36px;
    }

    .responsive-table td:last-child {
        border-bottom: none;
    }
    
    .responsive-table td:before { 
        content: attr(data-label);
        background-color: #E5E5E5;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        line-height: 36px;
        border-right: 1px solid #333;
    }

    .responsive-table td.t-cell-duration:before {
        line-height: 26px;
    }

    .responsive-table tr:first-child {
        display: none;
    }
    
}


/* custom table */

.custom-table .product-row {
    margin-bottom: 10px;
}

.custom-table th {
    background-color: #dfebf2;
}

.custom-table td {
    padding: 8px 5px;
}

.custom-table th,
.custom-table td {
    border: 1px solid #ccd7de;
}




/*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:#c78b47;
}

.vertical .nav-tabs > li.active > a,
.vertical .nav-tabs > li.active > a:hover,
.vertical .nav-tabs > li.active > a:focus{
    border: 0;
    color:#c78b47;
    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 {
    max-width: 100%;
    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;
    }
}


.add-shadow {
    box-shadow: 0 4px 8px 2px rgb(0 0 0 / 15%);
}



.page-content {
    padding-top: 40px;
    padding-bottom: 80px;
}


/* color */
.color-light {
    color: #fff !important;
}

.color-primary {
    color: #F8B543 !important;
}

.color-primary:hover {
    opacity: 0.8;
}


.bg-secondary {
    background-color: #33658A;
}

.bg-gray {
    background-color: #E5E7E8;
}



/* sidebar */
.page-member .aside {
    margin-top: -25px;
}
.aside-label {
    font-size: 14px;
}

.aside ul {
    list-style: none;
    padding-left: 0;
    font-size: 16px;
}

    .side-memu a {
        display: block;
        padding: 8px 15px;
    }

        .side-memu > li > a {
            background-color: #dfebf2;
            border-bottom: 1px solid #fff;
            color: #333;
        }

        .side-memu > li > a:hover {
            color: #fff;
            background-color: #33658A;
        }

@media(max-width: 1199px) {
    .page-member .aside {
        padding-left: 15px;
        padding-right: 15px;
    }

    .aside ul.side-memu {
        display: flex;
        justify-content: space-between;
    }

        .aside ul.side-memu > li {
            flex: 1;
            text-align: center;
            margin-left: 3px;
            margin-right: 3px;
        }
}


/*header
---------------------------------- */
header.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    background-color: #fff;
}

.header-top {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
}

    .header-top a {
        font-size: 14px;
        padding-left: 5px;
        padding-right: 15px;
        margin-left: 12px;
    }

    .header-top a svg {
        position: relative;
        top: 2px;
        height: 14px;
    }

        .header-top a svg path {
            transition: 0.3s;
        }

    .header-top a:hover {
        color: #6799b6;
    }

        .header-top a:hover svg path {
            fill: #6799b6;
        }


.header-content {
    background-color: #33658A;
}

    .header-nav {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 90px;
    }

        .header-menu {
            display: -webkit-flex;
            display: flex;
            align-items: center;
            margin-bottom: 0;
        }

            .header-menu li {
                list-style: none;
            }

            .header-menu a {
                position: relative;
                color: #fff;
                padding: 10px;
                margin-left: 5px;
                margin-right: 5px;
            }

            .header-menu a::after {
                content: "";
                position: absolute;
                left: 10px;
                bottom: 0;
                background-color: #fff;
                width: 0;
                height: 2px;
                transition: 0.3s;
            }

            .header-menu a:hover::after {
                width: calc(100% - 20px);
            }


.header .shopping-cartbox {
    position: relative;
}

.header .cart-total {
    position: absolute;
    top: -8px;
    right: 2px;
    padding: 0 5px;
    font-size: 12px;
    background-color: #F4B744;
    border-radius: 15px;
    transform: scale(0.85);
}


@media (max-width: 1199px) {
    .header-top,
    .header-menu {
        display: none;
    }

    .header-nav {
        justify-content: center;
        height: 80px;
    }

    .header-nav img {
        height: 60px;
    }
}


/**
 *  Mobile Nav
 */

 .mobile-toggle {
    position: absolute;
    top: 10px;
    right: 0;
    width: 60px;
    height: 58px;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    display: none;
}

.sidebar-toggle {
    transition: 0.3s;
}

    .toggle-icon {
        position: relative;
        width: 22px;
        height: 14px;
        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-color: #f1f1f1;
            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: 7px;
            -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: 14px;
            -webkit-transform-origin: left center;
            -moz-transform-origin: left center;
            -o-transform-origin: left center;
            transform-origin: left center;
        }


        .sidebar-toggle.open {
            right: 0;
        }

        .sidebar-toggle.open .toggle-icon span:nth-child(1) {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            top: -1px;
            left: 4px;
        }
            
        .sidebar-toggle.open .toggle-icon span:nth-child(2) {
            width: 0%;
            opacity: 0;
        }
            
        .sidebar-toggle.open .toggle-icon span:nth-child(3) {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            top: 14px;
            left: 4px;
        }
    

.slide-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 60vh;
    margin-top: 80px;;
    background-color: rgba(119, 119, 119, 0.9);
    transition: .3s;
    z-index: 99;
    pointer-events: none;
    display: none;
}

    .slide-sidebar > ul {
        padding-left: 0;
    }

        .slide-sidebar ul > li > a {
            display: inline-block;
            padding: 10px 40px;
            width: 100%;
            color: #fff;
            letter-spacing: 2px;
            font-size: 18px;
            text-align: center;
        }

        .slide-sidebar ul > li > a:hover {
            background-color: rgb(255 255 255 / 55%);
        }


.slide-sidebar.active {
    right: 0;
    pointer-events: initial;
    border-bottom: 1px solid #eee;
}


.mobile-menu-btns {
    display: flex;
    border-top: 1px solid #E5E7E8;
    border-bottom: 1px solid #E5E7E8;
    margin-top: 40px;
    margin-left: 8px;
    margin-right: 8px;
}

    .mobile-menu-btns .item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding-top: 8px;
        padding-bottom: 8px;
        color: #E5E7E8;
        border-right: 1px solid #E5E7E8;
        font-size: 14px;
    }

    .mobile-menu-btns .item:last-child {
        border-right: none;
    }

    .mobile-menu-btns .item svg {
        margin-right: 3px;
    }

        .mobile-menu-btns .item svg path {
            fill: #E5E7E8;
        }


@media(max-width: 1199px) {
    .slide-sidebar {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }
}



            
/*slider
---------------------------------- */
.site-slider {
    margin-top: 130px;
}

.site-slider .slick-slide {
    height: auto;
}

.banner {
    position: relative;
}

    .banner-image {
        width: 100%;
    }

    .banner-title {
        font-size: 36px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .banner-content {
        position: absolute;
        top: 50%;
        left: 20%;
        width: 500px;
        max-width: 80%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        color: #fff;
    }

    .hero-slider .banner-image-layer {
        position: relative;
        width: 100%;
        /* height: 60vh; */
    }

    .hero-slider .banner-image-layer img {
        width: 100%;
    }
    
    /*
    .banner-image-layer::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background-color: rgba(27, 27, 27, 0.2);
    }
    */

    .banner .slick-dots {
        bottom: -35px;
    }

    .slick-dots li {
        width: 10px;
        height: 10px;
    }

    .slick-dots li button:before {
        content: "";
        background-color: transparent;
        border: 1px solid #2E4857;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        opacity: .7;
    }

    .slick-dots li.slick-active button:before {
        background-color: #2E4857;
        opacity: 1;
    }

    .slide-control .arrow {
        position: absolute;
        top: 50%;
        cursor: pointer;
    }

    .site-slider .arrow-prev {
        left: 10%;
    }

    .site-slider .arrow-next {
        right: 10%;
    }

        .slide-control svg {
            width: 32px;
            stroke: #272727;
        }


@media (max-width: 1199px) {
    .banner-content {
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .site-slider .slide-control {
        display: none;
    }

    .site-slider {
        margin-top: 80px;
    }

}



/*breadcrumb
---------------------------------- */
.page-breadcrumb {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 40px;
}

    .page-breadcrumb .bread-item {
        font-size: 15px;
        color: #33658A;
    }

    .page-breadcrumb .bread-item:hover {
        color: #F6AE2E;
    }

    .page-breadcrumb .bread-item::after {
        position: relative;
        top: -1px;
        font-size: 12px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f054";
        margin-left: 8px;
        margin-right: 2px;
        color: #33658A;
    }

    .page-breadcrumb .bread-item:last-child::after {
        display: none;
    }


/*main
---------------------------------- */
.main {
    min-height: 300px;
    overflow: hidden;
}



/*content
---------------------------------- */
.section,
section.content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-heading {
    position: relative;
    display: flex;
    align-items: center;
}

.section-heading::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    margin-left: 20px;
    background-color: #33658A;
}

    .section-heading .title {
        flex-shrink: 0;
        color: #33658A;
        font-weight: 700;
    }


.heading-with-line {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #33658A;
}

.heading-with-line::before,
.heading-with-line::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: #33658A;
    margin-right: 10px;
    margin-left: 10px;
}



@media(min-width: 768px) {
    .section-content {
        padding-left: 40px;
        padding-right: 40px;
    }    
}  

@media(max-width: 576px) {
    .section {
        padding-top: 40px;
    }
}




/*home
-----------------------------------*/

/* recommend */
    .h-recommend {
        text-align: center;
    }

        .h-recommend a {
            display: block;
            padding: 50px 20px;
            transition: 0.3s;
        }

        .h-recommend a:hover {
            background-color: #F8B543;
        }

        .h-recommend img {
            width: 165px;
            height: 120px;
            object-fit: contain;
        }

        .h-recommend .title {
            font-weight: 700;
            color: #33658a;
        }

        
/* video */
.h-video .video-item {
    margin-bottom: 40px;
}

    .h-video .video-item-inner {
        display: flex;
    }

        .h-video .video-item-inner .image-box {
            width: 180px;
            flex-shrink: 0;
        }
        
        .video-play {
            width: 100%;
            max-height: 100%;
        }

        .video-item .video-download {
            text-align: right;
        }

        .video-item .video-download .button {
            padding: 6px 20px;
            font-size: 14px;
        }

@media(max-width: 576px) {
    .h-video .video-item-inner .image-box {
        width: 130px;
    }
}



/* article post */
.inline-post {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #33658A;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

    .inline-post-inner {
        display: flex;
        align-items: flex-start;
        width: 100%;
    }

        .inline-post .date {
            background-color: #33658A;
            color: #fff;
            padding: 5px 15px;
            flex-shrink: 0;
        }

        .inline-post .title {
            padding: 0 20px;
            max-width: 80%;
        }


    .inline-post .icon-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #33658A;
        border-radius: 50%;
        width: 26px;
        height: 26px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .inline-post svg {
        width: 22px;
        height: 22px;
        stroke: #fff;
    }


@media (max-width: 576px) {
    .inline-post {
        flex-direction: column;
    }

        .inline-post-inner {
            margin-top: 10px;
        }

            .inline-post .date {
                font-size: 14px;
            }

            .inline-post .title {
                padding: 0;
            }
}


/* plan */
.h-plan .coverflow {
    padding-top: 50px;
    padding-bottom: 50px;
}

.coverflow {
    width: 100%;
}

    .coverflow .slick-slide {
        background-color: #fff;
        margin-left: 30px;
        margin-right: 30px;
        transition: 0.3s;
        /* -webkit-transform: scale(0.85);
        -moz-transform: scale(0.85);
        transform: scale(0.85); */
    }

    .coverflow .slick-center {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }

    .coverflow .plan {
        border: 1px solid #ddd;
        /* width: 275px; */
        height: 450px;
        border-radius: 15px;
        overflow: hidden;
    }

        .coverflow .plan form {
            height: 100%;
        }

        .coverflow .plan .content {
                display: flex;
                flex-direction: column;
                height: 82%;
                padding: 20px 30px;
                color: #2E4857;
            }

            .coverflow .plan .price { 
                margin-top: auto;
            }

            .coverflow .plan .title {
                padding: 20px;
                color: #fff;
                font-size: 20px;
                font-weight: 700;
                text-align: center;
            }

            .coverflow .plan .price {
                font-size: 20px;
                margin-bottom: 20px;
                text-align: center;
                margin-top: auto;
            }

            .coverflow .plan .button {
                text-align: center;
                color: #2E4857;
                font-weight: 700;
            }

            .coverflow .plan .button:hover {
                color: #fff;
            }

            .coverflow .color-1 {
                border-color: #F8B543;
            }

            .coverflow .color-2 {
                border-color: #EB6D68;
            }

            .coverflow .color-3 {
                border-color: #76C56A;
            }

            .coverflow .color-1 .title {
                background-color: #F8B543;
            }

            .coverflow .color-2 .title {
                background-color: #EB6D68;
            }

            .coverflow .color-3 .title {
                background-color: #76C56A;
            }


.coverflow-container {
    position: relative;
}

    .coverflow-container .arrow-prev {
        left: -30px;
    }

    .coverflow-container .arrow-next {
        right: -30px;
    }


@media(max-width: 576px) {
    .coverflow-container .arrow-prev {
        left: -8px;
    }

    .coverflow-container .arrow-next {
        right: -8px;
    }
}


/*about
-----------------------------------*/
.about-intro p {
    margin-bottom: 30px;
}


.about-quote {
    background-color: #BCD0DC;
    color: #2E4857;
    font-size: 46px;
}

    .about-quote .content {
        display: flex;
        align-items: center;
    }

    .about-quote .text {
        padding-left: 50px;
    }
    
    .about-quote img {
        flex-shrink: 0;
        width: 340px;
        padding-top: 40px;
    }


    .about-features {
        text-align: center;
    }

        .about-features h3,
        .about-features .feature-caption {
            font-weight: 700;
            color: #2E4857;
        }

        .about-features img {
            width: 90%;
        }

        .feature-caption {
            margin-top: 15px;
        }


    .call-to-action {
        background-color: #BCD0DC;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .call-to-action .content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .call-to-action .text {
        font-size: 30px;
        line-height: 1.5em;
    }


@media (max-width: 992px) {
    .about-intro {
        text-align: center;
    }

        .about-intro img {
            width: 30%;
            float: none;
        }

    .about-quote .content {
        flex-direction: column;
    }

    .about-quote img {
        order: 2;
    }

    .about-quote .text {
        order: 1;
        font-size: 28px;
        padding-left: 0;
        padding-top: 30px;
        width: 86%;
    }


    .call-to-action .content {
        flex-direction: column;
    }

    .call-to-action .text {
        font-size: 24px;
        margin-bottom: 20px;
    }
}



/*news
----------------------------------*/
.news-post {
    display: flex;
    background-color: #F7F9F9;
    color: #333;
}

    .news-post .image-box {
        width: 250px;
        flex-shrink: 0;
    }

    .news-post-content {
        display: flex;
        flex-direction: column;
        padding: 18px;
        flex: 1;
    }

        .news-post-date {
            font-size: 18px;
        }

        .news-post-title {
            display: block;
            margin-top: 0;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .news-post-content a {
            color: #2E4857;
        }


.post-details .date {
    font-size: 22px;
}

.post-details .title {
    font-size: 26px;
}

@media(max-width: 576px) {
    .news-post {
        flex-direction: column;
    }

    .news-post .image-box {
        width: 100%;
    }

    .news-post .image-box-outer {
        padding-bottom: 66.66%;
    }
}




/*video
-----------------------------------*/

.page-video .video-item {
    margin-bottom: 40px;
    padding: 5px;
    transition: 0.3s;
}

    .page-video .video-item .image-box {
        position: relative;
    }

    .page-video .video-item .image-box::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-family: "Font Awesome 5 Free"; 
        font-weight: 900;
        content: "\f144";
        color: #fff;
        font-size: 36px;
        opacity: 0.9;
    }

    .page-video .video-item .video-date {
        margin-top: 5px;
        margin-bottom: 10px;
    } 
    
    .page-video .video-item .video-title {
        height: 48px;
    }

    .page-video .video-item .video-info {
        padding: 10px;
    }


.page-video .video-item:hover {
    background-color: #eaeaea;
}



/*product
-----------------------------------*/
.p-pd-list {
    width: 100%;
}
 
.p-pd-list .item {
    padding: 0 10px;
    margin-bottom: 40px;
}

figure.pdlist {
    border-radius: 5px;
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    background-color: #fff;
    padding: 10px 10px 20px 10px;
    position: relative;
    height: 100%;
    transition: .3s;
}

figure.pdlist:hover {
    background-color: #E5E7E8;
}

figure.pdlist a {
    display: inline-block;
    overflow: hidden;
}

figure.pdlist a.fill{
    min-height: 267px;
}

figure.pdlist .pdname {
    font-weight: 700;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

figure.pdlist .pd-summary {
    height: 90px;
}

span.special {
    color: #107301;
    font-size: 18px;
    font-weight: bold;
}

span.special:before {
    color: #222;
    font-size: 13px;
    font-weight: bold;
    content: "特價";
    margin-right:5px;
}

span.original {
    color: #969292;
    font-size: 13px;
    margin-left: 10px;
    text-decoration: line-through;
}

.pdlist button {
    position: absolute;
    right: 10px;
    bottom: 20px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

figure.pdlist .price {
    margin: 0px 10px;
    color: #BC9054;
    font-weight: 700;
    font-size: 20px;
}

figure.pdlist:hover .price {
    color: #fff;
}

.sale-status {
    display: table;
    margin-right: 10px;
    padding: 3px 8px;
    background: #f1f1f1;
    border-radius: 2px;
    font-size: 14px;
}

@media(max-width: 576px) {
    .p-pd-list .item {
        padding: 0 10px;
        margin-bottom: 40px;
    }
    
}



/*imgzoom*/
.imgzoom a{
    position: relative;
    overflow: hidden;
    display: block;
}
.imgzoom img {
    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 {
    background: transparent;
}

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


/***** Jazz *****/


/*---------------*/

figure.effect-jazz:before {
    width: 100%;
    height: 280px;
    display: block;
    content: "";
    background: rgba(0, 0, 0, 0);
    position: absolute;
    z-index: 2;
}

figure.effect-jazz:hover:before {
    background: rgba(0, 0, 0, 0.2);
}

figure.effect-jazz img {
    opacity: 1;
}

figure.effect-jazz figcaption::after,
figure.effect-jazz img,
figure.effect-jazz p{
    -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;
}

figure.effect-jazz figcaption::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    content: '';
    opacity: 0;
    -webkit-transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 0, 1);
    transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 0, 1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

figure.effect-jazz h3,
figure.effect-jazz p {
    opacity: 1;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
}

figure.effect-jazz h3 {
    padding-top: 26%;
    -webkit-transition: -webkit-transform 0.35s;
    transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    transition: transform 0.35s, -webkit-transform 0.35s;
    opacity: 0;
}

figure.effect-jazz p {
    padding: 0.5em 2em;
    text-transform: none;
    font-size: 15px;
    opacity: 0;
}

figure.effect-jazz:hover img {
    opacity: 1;
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
}

figure.effect-jazz:hover figcaption::after {
    opacity: 1;
    -webkit-transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 1, 1);
    transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 1, 1);
}

figure.effect-jazz:hover h3,
figure.effect-jazz:hover p {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
    z-index: 9;
    position: relative;
}
/*--------pager-------*/
.mypager {
    text-align: center;
}

.pagination {
    display: table;
    margin: 70px auto 10px;
}

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

.pagination > li > a, .pagination > li > span {
    color: #343434;
    border-color: #999;
    margin: 0 3px;
    border: none;
    border-radius: 5px;
    padding: 4px 10px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: #33658A;
    border-color: #33658A;
    color:#fff;
}
.pagination > li:first-child > a, .pagination > li:first-child > span{
    border-radius: 0;
}

.pagination svg {
    stroke: #33658A;
}

.pagination > li.prev > a:hover,
.pagination > li.next > a:hover {
    background-color: #fff;
}

.pagination > .active svg {
    stroke: #fff;
}


/*--------------product show-----------------*/

body.product.show .content .btn-back {
    margin-top: 50px;
}
.product-details section.content {
    margin-top: 20px;
}
body.product.show .pd-wrapper,
.product-details .pd-wrapper {
    padding: 0 0 0 50px;
    margin-top: 0;
    width: 50%;
}
    
.product-details .pd-wrapper .btnbox {
    display: flex;
    flex-wrap: wrap;
}

.product-details .pd-wrapper .btnbox .button {
    width: 200px;
    margin-bottom: 10px;
}

.product-details .pd-wrapper .btnbox .btn-addcart {
    margin-right: 5px;
}

.product-details .pd-wrapper .btnbox .btn-addcart:hover {
    background-color: #ededed;
}

.product-details .pd-wrapper .btnbox .button-download {
    display: inline-block;
    padding: 9px 20px;
    margin-bottom: 10px;
}

.pdviewbox {
    width: 568px;
    padding: 0 0 40px 0;
    position: relative;
}
.pdviewbox .slider-for {
    width: 468px;
    height: 468px;
    overflow: hidden;
}
.pdviewbox .slider-for .slick-slide {
    width: 468px;
    height: 468px;
}

.pdviewbox .slider-for .fill{
    height: 458px;
}
.pdviewbox .slider-nav .fill{
    height: 86px;
}
.pdviewbox .slick-prev:before,
.pdviewbox .slick-next:before{
    color:#999;
}
.pdviewbox .slider-nav {
    padding: 0;
    margin: 20px 0;
}
.pdviewbox .slick-prev {
    left: 0;
}
.pdviewbox .slick-next {
    right: 0;
}
.slick-prev, .slick-next {
    top: 50%;
}

.pdviewbox .slider-nav .slick-slide {
    position: relative;
    margin: 0 5px;
    border: 3px solid transparent;
    cursor: pointer;
    height: 60px !important;
    overflow: hidden;
}

.pdviewbox .slider-nav .slick-current {
    border: 3px solid #107301;
}

.pdviewbox .slick-slide img {
    cursor: pointer;
}

.slick-lightbox-slick .slick-prev:before,
.slick-lightbox-slick .slick-next:before {
    font-size: 52px;
}

.slick-lightbox-slick-item.slick-slide,
.slick-lightbox-slick-item.slick-slide:focus {
    outline: none !important;;
}

.slick-lightbox .slick-next {
    right: 50px;
}

.slick-lightbox .slick-prev {
    z-index: 1;
}
.slick-lightbox-close {
    top: 10px;
    right: 40px;
}

.slick-lightbox-close:before {
    font-size: 60px;
}

body.product.show .btnbox {
    text-align: left;
    margin: 0;
}


.pdinfo {
    position: relative;
}
    .pdinfo h2 {
        padding: 0;
        color: #000;
        font-weight: bold;
        text-align: left;
        margin-top: 0;
        margin-bottom: 26px;
        max-width: 70%;
    }

.left-intro,
.right-intro {
    display: inline-block;
    vertical-align: top;
}

.introbox {
    margin-bottom: 26px;
    font-size: 16px;
}

.introbox.b3 {
    margin-bottom: 20px;
}

.left-intro {
    color: #666;
    width: 80px;
    font-size: 15px;
    font-weight: 700;
}

.right-intro {
    padding-left: 10px;
    width: 445px;
}

.right-intro .p-label {
    display: inline-block;
    margin-right: 5px;
}

.right-intro .btn i {
    margin-right: 0;
}

.right-intro.editor p {
    line-height: 24px;
    color: #666;
}


h4.price {
    margin: -14px 0 0 0;
    display: inline-block;
    font-size: 28px;
    color:#ea2727;
}

h4.price span {
    font-size: 13px;
    text-decoration: line-through;
    color: #666;
    margin-left: 10px;
}

.spec-list a.spec-item {
    display: inline-block;
    border: 1px solid #cacaca;
    padding: 6px 20px;
    color: #666;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 18px;
}

.spec-list a.spec-item:hover,
.spec-list a.spec-item.active {
    border-color: #cb8a5f;
    color: #cb8a5f;
}

body.product.show .content .input-group-btn .btn {
    margin-top: 0;
}

.number {
    position: relative;
    width: 30%;
}

.pdinfo .input-group {
    width: 100%;
    position: absolute;
}

.pdinfo .input-group input {
    text-align: center;
}

body.product.show .btnbox.cart {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.btnbox.cart .btn{
    font-size: 18px;
}
.sharebox {
    margin-top: 20px;
}

.titlebar {
    background-color: #107301;
    border-radius: 0;
    padding: 6px 20px;
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

.right-intro.editor {
    overflow: hidden;
    line-height: 26px;
    font-size: 16px;
}

.product-detail-content {
    margin-top: 40px;
}


.product-detail-content .titlebar {
    color: #525252;
    font-size: 24px;
    font-weight: 700;
    background-color: transparent;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 30px;
}

.original-price {
    display: inline-block;
    text-decoration: line-through;
    font-size: 14px;
    margin-left: 15px;
    color: #888;
    padding: 2px 8px;
    background: #f7f7f7;
}
.stock {
    display: inline-block;
    margin: 13px 20px 0;
    font-size: 14px;
}

.btn.btn-goback {
    border-radius: 3px;
    background-color: #4DA338;
    margin-bottom: 10px;
}
    .btn.btn-goback i {
        margin: 0 1px;
    }
    
@media(max-width: 991px) {
    body.product.show .pd-wrapper, .product-details .pd-wrapper {
        margin-top: 0;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .pdinfo h2 {
        max-width: 100%;
    }

}
@media (max-width: 576px) {
    body.product.show .pd-wrapper, .product-details .pd-wrapper {
        width: 100%;
        padding: 0 20px 20px;
    }
    .product-details .pd-wrapper .btnbox .button {
        width: 49%;
    }
    .left-intro {
        margin-bottom: 6px;
    }
    .buy-btnbox.cart .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .product-detail {
        border: none;
        box-shadow:none;
        padding: 0;
    }
    .stock {
        margin: 13px 20px 0 38px;
        width: auto;
    }
    .right-intro.number {
        transform: scale(0.94);
        margin-left: -10px;
    }
}

/*share
---------------------------------- */
body.share .sharebox{
    margin-bottom:50px;
}
.sharebox .listbox {
    float: left;
    background-color: #eaeaea;
    position: relative;
    margin-bottom: 10px;
}
.sharebox .tbox {
    width: 100%;
    display: table-cell;
    float: left;
    padding: 20px;
    position: relative;
}
.picbox {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
    .picbox img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

.sharebox .tbox p{
    font-size:14px;
    margin: 0;
    line-height: 22px;
}
.sharebox .tbox p.name{
    font-size: 16px;
    text-align: center;
    height: 22px;
    overflow: hidden;
}
.sharebox .tbox p.title {
    margin: 5px 0 20px;
    height: 22px;
    overflow: hidden;
}
.sharebox .tbox:before {
    content: "";
    border: 14px solid rgba(0,0,0,0);
    position: absolute;
    left: 100%;
    /*border-left: 20px solid #eaeaea;*/
    border-right: 0;
    top:50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.sharebox .listbox:hover {
    background-color: #107301;
}
.sharebox .listbox:hover .tbox p{
    color:#fff;
}
/*.sharebox .listbox:hover .tbox:before{
    border: 14px solid rgba(0,0,0,0);
    border-left: 20px solid #107301;
}*/
.more i {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.sharebox .listbox a.more {
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 50%;
    bottom: 20px;
    margin-right: 20px;
}
.sharebox .listbox a.more:hover {
    background-color: #fff;
    color:#107301;
}
.sharebox .listbox .tinfo{
    overflow: hidden;
    height: 66px;
}
#myshare .modal-header {
    border: 0;
}
#myshare .modal-dialog {
    width: auto;
}
#myshare p.name {
    text-align: center;
    font-size: 20px;
    color: #107301;
}
#myshare p.title {
    text-align: center;
    font-size: 16px;
    color: #107301;
    margin: 5px 0 20px;
    height: 22px;
    overflow: hidden;
}
#myshare .author {
    font-size: 13px;
}
#myshare .tinfo {
    overflow-y: auto;
    font-size: 15px;
    line-height: 24px;
    padding: 0 20px;
}
#myshare .tbrief {
    font-size: 14px;
}
.cfbox {
    padding: 0;
}
.sharebox .list {
    padding: 0 28px;
}
.sharebox .listbox:last-child{
    margin-bottom: 0;
}
.sharebox .listbox.t-right .tbox,
.sharebox .listbox.t-right .picbox
{
    float:right;
}
.sharebox .listbox.t-right .tbox:before{
    left: inherit;
    right: 100%;
    border-right: 20px solid #eaeaea;
    border-left: 0;
}
.sharebox .listbox:hover.t-right .tbox:before{
    border: 14px solid rgba(0,0,0,0);
    border-right: 20px solid #107301;
}
.sharebox .listbox.t-right a.more{
    right:0;
}

/* 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);
}



/*contact
-----------------------------------*/
.page-contact .desc {
    color: #33658A;
    margin-bottom: 25px;
}

.contact-form .form-control {
    border-color: rgb(188 208 220 / 69%);
    background-color: rgb(188 208 220 / 69%);
    box-shadow: none;
    font-size: 16px;
    padding: 8px 15px;
    height: auto;
    border-radius: 2px;
}


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

.input-captcha {
    position: relative;
}

.input-captcha img {
    position: absolute;
    top: 1px;
    right: 1px;
    border-left: 1px solid #AEAEAE;
}

.button-wrapper.fluid {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin-left: -15px;
    margin-right: -15px;
}

.button-wrapper.fluid .button {
    flex: 1;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 18px;
}

.button-wrapper.fluid .button[type="submit"] {
    color: #fff;
    background-color: #33658A;
}

.button-wrapper.fluid .button:hover {
    opacity: 0.9;
}

.button-wrapper .button-text.left {
    margin-left: -4px;
    color: #686868;
}

.button-wrapper .button-text.left svg {
    stroke: #686868;
}

.button-wrapper .button-text.right {
    margin-left: 4px;
}

.button-wrapper svg {
    position: relative;
    top: 5px;
}


@media (min-width: 576px) {
    .button-wrapper .button-text.left {
        margin-left: -24px;
    }
    
    .button-wrapper .button-text.right {
        margin-left: 24px;
    }
}


.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;
}
.twzipcode {
    position: relative;
}
.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;
}

.message {
    text-align: center;
    color: #d50931;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.message p {
    display: inline-block;
}

.map {
    margin-top: 20px;
    margin-bottom: -54px;
    width: 100%;
    height: 300px;
}

.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: flex;
    align-items: flex-start;
    margin-bottom: 1px;
    padding: 15px;
    border-bottom: 1px solid #e3e3d8;
    background: #f7f7f5;
}



/*member
---------------------------------- */
.page-login {
    padding-top: 90px;
    background-color: #E5E7E8;
}

    form.login-form {
        display: flex;
        flex-direction: column;
        background-color: rgb(255 255 255 / 66%);
        width: 400px;
        max-width: 90%;
        min-height: 420px;
        padding: 40px;
        border-radius: 40px;
        margin-top: 100px;
        margin-bottom: 60px;
        margin-left: auto;
        margin-right: auto;
    }


.login-form .form-control {
    border: 1px solid #fff;
    box-shadow: none;
    height: 50px;
}

.login-form .form-control:focus {
    box-shadow: 0 0 5px 1px rgb(51 101 138 / 20%);
}

.login-form .input-field {
    position: relative;
    display: block;
    margin-bottom: 20px;
}

.login-form .btnbox {
    margin-top: auto;
}

    .login-form .button {
        display: block;
        width: 100%;
    }

.register-form .input-field.u_account {
    display: flex;
}

    .register-form .u_account1 {
        flex-shrink: 0;
        width: 55px;
        margin-right: 10px;
    }

    .register-form .u_account2 {
        flex: 1;
    }



 /* info card */
.info-card {
    display: flex;
    flex-direction: column;
    background-color: rgb(255 255 255 / 66%);
    width: 480px;
    max-width: 90%;
    padding: 50px 70px 60px;
    border-radius: 40px;
    margin-top: 100px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width: 576px) {
    .info-card {
        padding: 50px 30px 60px;
    }
}




/* member center */
.unit-warp {
    display: flex;
    flex-wrap: wrap;
}

    .unit-warp a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 75px 0;
        width: 100%; 
        height: 100%; 
    }

    .unit {
        width: 20%;
        background: #E5E7E8;
        box-shadow: 4px 4px 6px 1px rgb(0 0 0 / 15%);
        margin: 20px 2.5%;
        border-radius: 5px;
    }

        .unit svg {
            transition: .3s;
            width: 30px;
            height: 30px;
            stroke: #2E4857;
            margin-right: 5px
        }


    .unit:hover svg {
        transform: scale(1.1);
    }

    .unit:hover a {
        color: #2E4857;
    }

    .unit-icon {
        display: block;
    }

    .unit-title {
        display: block;
        font-size: 20px;
        font-weight: 700;
    }

@media(max-width: 991px) {
    .unit {
        width: 45%;
    }
}


/* page member */
.page-member .form-control {
    background-color: #E5E5E5;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    height: 42px;
}

.page-member .input-captcha img {
    right: 16px;
}

.vip-status {
    padding: 8px 20px;
    color: #dc9100;
    background-color: #fff6e3;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #ffe1a2;
    border-radius: 5px;
}

@media(min-width: 991px) {
    .page-member .form-group label {
        line-height: 42px;
    }
    
}



.step {
    text-align: center;
}


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

.center-block h4 {
    color: #272727;
}

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

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

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

.modal-body .btn i {
    margin: 0;
}
.modal-content {
    padding: 20px 20px 40px;
}
.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%;
}



/* shopping cart */
.shopping-steps {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .shopping-steps .step {
        position: relative;
        display: flex;
        background-color: #E5E7E8;
        color: #2E4857;
        font-size: 20px;
        font-size: 18px;
        padding: 10px 28px;
    }

    .shopping-steps .step .icon {
        margin-right: 5px;
    }

    .shopping-steps .step.active {
        background-color: #F8B543;
    }

    .shopping-steps svg {
        margin-left: 5px;
        margin-right: 5px;
    }
    
@media (max-width: 576px) {
    .shopping-steps .step {
        font-size: 15px;
        padding: 10px 11px;
    }
}



/*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: #107301;
    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: #107301;
    color: #fff;
}
.checkout-btnbox {
    position: relative;
}

.cartlist .name {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}
.cartlist thead {
    background-color: #689ae3;
    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;
}

.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: transparent;
    color: #2b2b2b;
    border: 1px solid #2b2b2b;
}

.cartlist .deleteitems {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    text-align: left;
}

    .cartlist .deleteitems .btn {
        background-color: #eaeaea;
        color: #333;
        padding: 8px 22px;
    }

.shop-now a {
    background-color: #9f9d49;
    color: #fff;
    transition: 0.3s;
}
.shop-now a:hover {
    background-color: #706e32;
}

.panic-buying,
.hot {
    background-color: #FF7400;
}

@media (max-width: 1024px) {
    .shop-now {
        width: auto;
        margin-left: -10px;
        margin-right: -10px;
    }
}

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

.totalbox-line {
    padding: 10px 0;
}


.list-total .total-num:before {
    content: "NT";
    display: inline-block;
    margin-right: 5px;
}

.list-total .price:before {
    content: "NT";
    display: inline-block;
    font-size: 14px;
    margin-right: 5px;
}

.list-total {
    text-align: right;
    font-size: 18px;
    line-height: 1.5em;
    padding-top: 20px;
}

    .list-total span {
        display: inline-block;
        vertical-align: middle;
    }

.paytotal {
    color: #ff0032;
    font-weight: bold;
    font-size: 20px;
}
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: #bcd0dc;
    color: #333;
    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: #f5f0ed;
    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: #107301;
    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: #a2958d;
    color: #fff;
}
.order-detail .title i,
.order-detail .orderid i {
    margin-right: 5px;
}
.order-detail .rwd-table tbody>tr>th {
    border-color: #ddd !important;
}
.order-detail .subheading {
    padding: 5px 0;
}

.has-success .form-control {
    border-color: #61b085;
}

.has-success .form-control:focus {
    border-color: #67b168;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #61b085;
}

.has-error .form-control:focus {
    border-color: #fb8887;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #ffa8a7;
}



.page-order .pro-name {
    margin-bottom: 5px;
}

.page-order .pro-name > a {
    color: #359dd8;
}

.page-order .pro-name > a:hover {
    color: #0a7cbe;
}




/*footer
---------------------------------- */

.footer .scrollToTop {
    position: fixed;
    bottom: 40px;
    right: 25px;
    width: 40px;
    height: 40px;
    z-index: 1005;
    cursor: pointer;
    display: none;
    opacity: .9;
    background-color: #3f7095;
}

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



/**
 *  Footer
 */

.footer {
    color: #fff;
    background-color: #33658A;
    padding-top: 40px;
    padding-bottom: 60px;
}

.footer-logo img {
    height: 120px;
}

.footer-content {
    position: relative;
}

    .footer-content .col-item {
        padding: 10px 20px;
        margin-top: 20px;
    }

    .footer-item-label {
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        font-weight: 700;
        color: #F8B543;
        padding-bottom: 5px;
    }

    .footer-item-label::after {
        content: "";
        display: block;
        height: 2px;
        margin-left: 10px;
        background-color: #F8B543;
        flex: 1;
    }

    .footer-content .item-content {
        font-size: 15px;
    }

    .footer-content .item-content a {
        font-size: 15px;
        color: #fff;
        padding: 3px;
    }

    .footer-content .item-content a:hover {
        color: #F8B543;
    }

    .footer-content .item-content svg {
        width: 18px;
        height: 18px;
        stroke: #fff;
    }


.footer-menu .item-content {
    display: flex;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}


.footer-contact .item-content li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-contact .icon {
    display: flex;
    align-items: center;
    height: 24px;
    text-align: center;
}

    .footer-contact .icon i {
        color: #626262;
        font-size: 16px;
        width: 18px;
    }


.footer-contact .item-content::before {
    width: 60%;
    left: 0;
    transform: none;
}


@media (min-width: 1211px) {
    .footer-content {
        display: flex;
        width: 60%;
    }

    .footer-content .footer-item-label {
        margin-bottom: 15px;
    }

    .footer-content .footer-item-label::before {
        left: 0;
        transform: none;
    }

    .footer-contact .logo-text {
        margin-top: -22px;
        width: 100%;
    }

    .footer-content .footer-contact .footer-item-label::before {
        width: 58%;
    }

    .footer-content .col-item {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        text-align: center;
    }

    .footer-content .col-item {
        padding: 10px;
    }


    .footer-menu .item-content {
        flex-direction: column;
    }

    .footer-nav-col {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-content .item-content a {
        flex-shrink: 0;
        width: 33.33333%;
    }


}




.copyright {
    padding: 8px 80px;
    color: #2E4857;
    background-color: #BCD0DC;
    text-align: center;
    font-size: 12px;
}

    .copyright a {
        color: #fff;
    }

@media (max-width: 576px) {
    .copyright {
        text-align: center;
    }
}



/*home
-------------------------------*/
.newpd {
    margin: 60px 0 20px;
}
.newslist {
    border-bottom: 1px dotted #aaaaaa;
    padding: 5px 0;
    margin-bottom: 5px;
}

.newslist span.date {
    border-radius: 5px;
    background: #721321;
    color: #fff;
    padding: 5px 8px;
    font-size: 14px;
}

.newslist span.subject {
    margin-left: 10px;
    font-size: 16px;
    color: #000;
}

.youtube {
    display: inline-block;
    height: 168px;
}

.videobox {
    background: #731322;
    height: 168px;
    position: relative;
}

.videobox .info {
    vertical-align: top;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 45px;
    text-align: center;
}

.videobox p span {
    margin-right: 10px;
}

.videobox p.tel {
    font-size: 24px;
}

img.videobg {
    margin-left: -170px;
}

.aboutbox {
    background-image: url(../_images/index/aboutbox-bg.jpg);
    background-position: 50% 50%;
    text-align: center;
    color: #000;
    padding-bottom: 50px;
    background-size: cover;
}

.aboutbox h3 {
    color: #000;
}

a.more {
    background: #741321;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    display: block;
    width: 80px;
    margin: 10px auto 20px;
    text-transform: uppercase;
}

a.more:hover {
    background: #a21d30;
}

body.home .fb_iframe_widget_fluid {
    display: inline-block;
    width: 300px;
}

.hotpd {
    margin: 40px 0;
}


/*about*/

.about_box {
    float: right;
    margin-top: 20px;
    text-shadow: 0px 0px 20px #fff;
}

.abtitle{
    color: #107301;
    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, #10730100 0%, #fbc38c 30%, #107301 100%);
}

@media (max-width: 480px) {
    .about_box {
        width: 100%;
        margin-top: 0px;
    }
}

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

/* Cart */
.cart-item-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    font-size: 15px;
    border-top: 1px solid #d2d2d2;
    background-color: #f4f6f7;
}
    .cart-th-row {
        padding: 2px 0 0;
        color: #333;
        background-color: #BCD0DC;
    }

    .cart-item-row .inner-item {
        padding: 5px;
        min-width: 5%;
        text-align: center;
    }

    .cart-item-row .cart-item-select {
        width: 10%;
        padding-left: 10px;
        text-align: left;
    }

    .cart-item-row .cart-item-name {
        width: 25%;
    }

    .cart-item-row .cart-item-price {
        width: 40%;
    }

    .cart-item-row .cart-item-option {
        width: 25%;
    }

   
    .cart-item-option button {
        outline: none;
        border: none;
        background: transparent;
    }

    .cart-payments {
        background-color: #fcfdfd;
        border-top: 1px solid #dae4e9;
        border-bottom: 1px solid #dae4e9;
        padding: 8px 10px;
        font-size: 14px;
        color: #4e4e4e;
    }

    .cart-payments .item::after {
        content: '、';
    }

    .cart-payments .item:last-child:after {
        display: none;
    }

    .cart-product-row {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-top: 0;
    }

@media(max-width: 576px) {
    .cart-item-row .cart-item-name {
        width: 35%;
        text-align: left;
    }

    .cart-item-row .cart-item-option {
        width: 15%;
    }
} 

.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: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #c5c5c5;
}

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

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

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

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

.check-container .checkmark:after {
    left: 6px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #333;
    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;
}



.option-wrap input[type="radio"]:checked ~ .checkmark, .option-wrap input[type="checkbox"]:checked ~ .checkmark {
    border-color: #33658a;
    background-color: #33658a;
}

.option-wrap input[type="radio"]:checked ~ .checkmark:after, .option-wrap input[type="checkbox"]:checked ~ .checkmark:after {
    background-color: #33658a;
}


/* Chcekout */
.products-total-price {
    font-size: 16px;
}

.checkout .cart-item-info {
    width: 80%;
}

.checkout .cart-item-content {
    width: 80%;
}

.checkout .cart-item-row {
    justify-content: center;
}

.checkout .cart-th-row {
    padding: 2px 5px 0;
}

.checkout .check-container {
    display: inline-block;
    margin-right: 10px;
}

.label-en {
    display: block;
    font-size: 13px;
    font-weight: 400;
}

.invoice-field {
    display: none;
}

.receipt-field {
    margin-bottom: 0;
}

.order-confirmation {
    border-top: 1px solid #ddd;
    padding: 40px 20px 20px;
}

.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;
}

@media (max-width: 1200px) {
    .m-d-none {
        display: none;
    }
}

@media (max-width: 576px) {
    .order-confirmation .list-total span {
        min-width: unset;
    }

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

    .order-confirmation .total_html {
        margin-top: 20px;
        background: #f7f7f7;
        padding: 15px 20px;
    }
}



/* invoive- order success */
.page-invoice .content {
    font-size: 36px;
    font-weight: 700;
    color: #2E4857;
}

    .page-invoice .content h2 {
        font-weight: 700;
        font-size: 56px;
    }

@media(max-width: 576px) {
    .page-invoice .content {
        font-size: 32px;
    }

    .page-invoice .content h2 {
        font-size: 36px;
    }
}



/* Trading Results */
.trading-results .rwd-table tbody>tr>th {
    border-color: #ddd;
}

.trading-results-details {
    margin: 20px 0;
}

.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;
    }
}



/* page-error */
.page-error .content {
    font-size: 36px;
    font-weight: 700;
    color: #33658A;
}

    .page-error .content h2 {
        font-size: 80px;
        letter-spacing: 5px;
    }

    .page-error .content h2 .text-smaller {
        font-size: 0.75em;
    }


@media(max-width: 576px) {
    .page-error .content {
        font-size: 32px;
    }

    .page-error .content h2 {
        font-size: 60px;
    }
}
    


/* 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-top: 1px solid #707070;
    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: 16px;
        margin-bottom: 6px;
    }

.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: #107301;
}
.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%;
    }
    .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: #107301;
            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: #107301;
        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;
}



/* blog */
.post .category {
    background-color: #f5f0ed;
    color: #333;
}

.post .category__item {
    color: #33658a;
}

.page__sidebar a.active, .page__sidebar a:hover, .page__sidebar li.active a {
    color: #33658a;
}

.page__mobile__menu .collapse__button i {
    margin-left: 5px;
}

.post .heading {
    max-width: 85%;
    text-align: left;
}

.news-post .heading {
    padding: 0 0 20px;
}

.tag {
    background-color: #f5f0ed;
    color: #776e69;
}

.heading_block {
    position: relative;
}

.heading_block .jssocials {
    top: 0;
}

.news-post .jssocials {
    position: relative;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .page__sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .page__sidebar > ul {
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .post .heading {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .heading_block .jssocials {
        position: relative;
        text-align: right;
    }

    .news-post .jssocials {
        text-align: left;
    }
}


/* ad */
.p-relative {
    position: relative;
}

.ad {
    height: 645px;
}

.ad-content {
    position: relative;
    height: 645px;
}

    .ad-content .box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        max-width: 95%;
        color: #fff;
        padding: 80px 50px;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .ad-content .title {
        margin-top: 0;
        color: #fff;
    }

@media(min-width: 576px) {
    .ad-content .box {
        left: 0;
        transform: translate(0, -50%);
    }
}


.image-link a {
    position: relative;
}

.image-link a svg {
    width: 20px;
}

.image-link a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(163 140 56 / 60%);
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}

.image-link:hover a::before {
    opacity: 1;
}

.image-link a::after {
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: 2px solid rgb(255 255 255 / 40%);
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}

.image-link:hover a::after {
    opacity: 1;
}


.image-link .caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    transition: 0.3s;
    z-index: 1;
}

.image-link:hover .caption {
    bottom: 50%;
    transform: translate(-50%, 50%);
}