﻿
/*.table .item {
    margin: 15px 0px !important;
    width: 100% !important;
    display: flex !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, rgb(246, 246, 248) 0%, rgba(255,255,255,0) 80%);
}*/

html {
    scroll-behavior: smooth;
}

html, body, h1, h2, h3, h4, h5, h6, .dxpnlControl {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

div, p, span, a, table, th, td, .table-content h1, .table-content h2, .table-content h3, .table-content h4, .table-content h5 {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

.modal .modal-content, .modal .modal-content .modal-title {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #3a3b3c;
}

.global-wrap {
    background: #f7f7f7;
}

.top-main-area {
    background: #f7f7f7;
    z-index: 1;
    padding: 0;
    margin-bottom: 20px;
}

    .top-main-area .top-main-area-banner {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 500px;
    }

.header-logo {
    margin-top: 60px;
}

.table-content {
    margin-top: 10px;
}

/*.table .row {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}*/

.table .item {
    margin: 15px;
    width: calc(33.33% - 30px);
    display: block;
    border-radius: 18px;
    border: none;
    box-shadow: 2px 4px 12px rgba(0,0,0,.08);
    position: relative;
    background: #fff;
}

.table .items-temp-2 .item {
    width: calc(50% - 30px);
}

.span-content {
    width: 100%;
}

.header .logo {
    border-radius: 0;
}

.table-content .message-box, .table-content .message-box h1 {
    text-align: center;
}

    .table-content .message-box h1 {
        line-height: 3.5rem;
    }

    .table-content .message-box .txt-CampaignDesc {
        font-size: 25px;
    }

.table-content .col-tag {
    margin-top: 0;
}

        .table-content .col-tag .tab-item h4 {
            text-align: center;
            font-size: 23px;
            /*color: #3a3b3c;*/
        }

        .table-content .col-tag .tab-item .tag-remarks {
            font-size: 18px;
            font-weight: 400;
            margin: 1rem 0 0.5rem;
        }

.table .item .item-photo, .table .item .item-description {
    width: 100%;
    border-right: none;
}

.table .item .item-description {
    background: #ffffff;
    padding: 10px 15px 15px;
}

.table .item .item-photo {
    margin: 0;
}

    .table .item .item-photo img {
        border-radius: 0;
    }

.table .item .item-price .txt-price {
    margin-right: 0;
    margin-top: 0;
    border-radius: 0;
}

.table .item .item-description .txt-name {
    width: 100%;
    font-size: 21px;
}

.table .item .item-description .light-box-gallery {
    margin-bottom: 18px;
    width: fit-content;
    position: relative;
}

.table .item .item-description .form-group.remark {
    padding: 0 15px 13px 15px;
    font-size: 14px;
}

    .table .item .item-description .form-group.remark div {
        margin-bottom: .2rem;
    }

    .table .item .item-description .form-group.remark label {
        font-weight: bold;
        font-size: 13px;
        margin-bottom: .3rem;
    }

    .table .item .item-description .form-group.remark .txt-remark-list {
        font-weight: 400;
        font-size: 13px;
    }

/*.tagid-5 {
    color: #fff !important;
    background: #7d1544;
    padding: 10px 0;
}

.tagid-6 {
    color: #fff !important;
    background: #a7a7a7;
    padding: 10px 0;
}*/

/*.table .item .item-description .form-group.remark .txt-remark-list strong span{
    color: #666666 !important;
    font-weight: normal;
}*/

.message-box h1, .message-box h4 {
    text-align: center;
}

.message-box h4 {
    font-size: 20px;
    line-height: 27px;
}

.item-description .txt-name {
    cursor: pointer;
}

    .item-description .txt-name svg {
        font-size: 10px;
        margin-bottom: 3px;
    }

.table .item .item-description img {
    width: 30px;
}

.unit .form-control.select-unit {
    height: 49px;
    width: 115px;
}

.table .item .item-price .txt-currency, .footer-card .unit .txt-label {
    line-height: 25px;
}


.tab-group-nav .nav-group {
    margin: 20px 0;
    padding-left: 0;
}

    .tab-group-nav .nav-group li {
        display: inline-flex;
    }

        .tab-group-nav .nav-group li a {
            font-size: 20px;
            padding: 10px 0;
            border-bottom: 1px solid #000;
            color: #000;
            margin-right: 30px;
        }

.tab-group-evoucher {
    position: relative;
    margin-top: 55px;
}

    .tab-group-evoucher::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: #01488E;
    }

    .tab-group-evoucher .group-txt-name {
        font-size: 25px;
        width: fit-content;
        display: inline-block;
        color: #fff;
        background: #01488E;
        padding: 10px 30px;
    }

.footer-card {
    width: 100%;
    display: flex;
    border-top: 1px solid #ececec;
}

.table .item .item-price {
    width: 40%;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px 15px;
}

.footer-card .unit {
    width: 60%;
    padding: 10px 0 15px 15px;
    background-color: #ffffff;
}

    .footer-card .unit .txt-label {
        font-size: 16px;
        font-weight: bold;
    }

.summary .txt-label {
    color: #3a3b3c;
}

.summary .row-grandtotal .txt-value {
    color: #3a3b3c;
}

footer.main .footer-copyright {
    padding: 30px 30px 40px;
    background: #f7f7f7;
}

.online-voucher footer.main {
    margin-top: 0;
}

#mp_contentplaceholder_Content_callbackpanel_CartTable_div_Submit {
    margin-bottom: 45px;
}

#mp_contentplaceholder_Content_div_review {
    margin-bottom: 65px;
}

#mp_contentplaceholder_Content_div_CartTotalList .table_display, #mp_contentplaceholder_Content_div_CartTotalList .table thead {
    color: #3a3b3c;
}

.summary .txt-value {
    color: #3a3b3c;
}

.item-photo-bg {
    width: 100%;
    height: 265px;
}

.col-header-contact {
    display: none;
}

.require-option {
    /*display: inline-flex;
    align-items: center;*/
    margin: 1.5rem 0 .3rem;
}

.require-option label {
    line-height: 14px;
}

@media (min-width: 768px) {
    .table .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
    }

        .table .row.items-temp-2 {
            justify-content: center;
        }

    /*.item-description .short-des {
        min-height: 20px;
    }*/

    .item-description .hide-footer {
        height: 115px;
    }

    .footer-card {
        position: absolute;
        bottom: 0;
    }

    .table-content .message-box h1 {
        line-height: 4.6rem;
    }

}

@media (min-width: 1100px) {
    .container-evoucher, .footer-copyright .container {
        width: 96%;
    }
}

@media (min-width: 1200px) {

    .body_523 .table-content .col-md-4 {
        width: calc(50% - 30px);
    }

    .body_523 #mp_contentplaceholder_Content_callbackpanel_CartTable {
        width: 80% !important;
        margin: auto;
    }

    .body_523 .item-photo-bg {
        height: 300px;
    }
}

@media (min-width: 1300px) {
    .container-evoucher, .footer-copyright .container {
        width: 1260px;
    }

        .container-evoucher .content-items-temp-2, .footer-copyright .container {
            width: 1000px;
            margin: auto;
        }

    .table .item .item-price .txt-currency, .footer-card .unit .txt-label {
        font-size: 18px;
        line-height: 30px;
    }

}

@media (min-width: 1500px) {
    .container-evoucher, .footer-copyright .container {
        width: 1300px;
    }

    .item-photo-bg {
        height: 260px;
    }
}

@media (max-width: 1199px) {
    .top-main-area .top-main-area-banner {
        min-height: 400px;
    }

    .table .item {
        width: calc(50% - 30px);
    }

    .item-photo-bg {
        height: 295px;
    }
}

@media (max-width: 991px) {
    .table .item, .table .items-temp-2 .item {
        margin: 15px 15px;
        width: calc(100% - 30px);
    }

    .item-photo-bg {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .top-main-area {
        margin-bottom: 15px;
    }

        .top-main-area .top-main-area-banner {
            min-height: 150px;
        }

    .header-logo {
        margin-top: 20px;
    }

    .header .logo {
        max-width: 35%;
    }

    .message-box h1 {
        font-size: 25px;
    }

    .message-box h4 {
        font-size: 17px;
    }

    .table-content .message-box .txt-CampaignDesc {
        font-size: 20px;
    }

    .table-content {
        margin-top: 0;
    }

        .table-content .col-tag .tab-item h4 {
            font-size: 18px;
        }

        .table-content .col-tag .tab-item .tag-remarks {
            font-size: 15px;
        }

    .table .item .item-price {
        padding: 10px 15px 15px;
    }

        .table .item .item-price .txt-currency {
            font-size: 14px;
        }


        .table .item .item-price .txt-price {
            padding: 2px 10px 7px 10px;
        }

    .unit .form-control.select-unit {
        height: 39px;
        font-size: 17px;
    }

    .item-description .short-des .form-group.remark {
        margin-bottom: 0 !important;
    }

    .modal.modal-ContentDescription .close {
        right: 7px;
    }

    .item-photo-bg {
        height: 330px;
    }

    footer.main .footer-copyright {
        padding: 25px 10px 30px;
    }
}

@media (max-width: 550px) {
    .item-photo-bg {
        height: 260px;
    }
}

@media (max-width: 450px) {
    .item-photo-bg {
        height: 230px;
    }
}
