.page_font {
    font-family: Roboto,sans-serif;
    font-size: 16px;
    line-height: 1.35rem;
    letter-spacing: 0.04rem;
}

@media screen and (max-width:767px) {
    .page_font {
        font-size: 14px;
    }
}

.display-none {
    display: none;
}


/* Page header */

.img-container, .img-container img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width:1025px) {
    .excard-breadcum {
        padding-top: 20px;
    }
}


/* Category tab */
.tab {
    overflow: hidden;
    border: none;
    background-color: #e8e8e8;
    border-radius: 6px;
    border: 0.5px solid #f2f7f8;
}

    .tab a {
        background-color: inherit;
        font-weight: 500;
        float: left;
        cursor: pointer;
        padding: 10px 16px;
        transition: 0.3s;
        text-align: center;
        border: 1.9px solid rgb(242 247 248);
    }

@media only screen and (max-width:480px) {
    .tab a {
        height: 100px;
        font-size: 13px;
    }
}

@media screen and (max-width:767px) and (min-width:481px) {
    .tab a {
        height: 100px;
    }
}

@media screen and (max-width:1025px) and (min-width:768px) {
    .tab a {
        height: 70px;
    }
}

.tab a:hover {
    background-color: #005B7F;
    color: white !important;
    outline: none;
    border: 1px solid #005B7F;
}

.tab a.active {
    background-color: #005B7F;
    color: #f2f7f8;
    outline: none;
    border: 1.9px solid #005B7F;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: none;
    border-top: none;
}

.border-first {
    /* border-radius: 6px 0 0 6px; */
}

.border-last {
    /* border-radius: 0 6px 6px 0; */
}



/* All voucher */
.filter-txt .input-group-text {
    font-weight: 600;
}

.al_reset_keywords {
    position: absolute;
    top: 10px;
    right: 30px;
    z-index: 90;
    font-size: 16px;
    font-weight: 300;
    opacity: 1;
    font-family: "Poppins",sans-serif;
    cursor: pointer;
}

.btn-excard {
    position: relative;
    padding: 0.375rem 0.75rem;
    letter-spacing: 1px;
    font-family: "Roboto",sans-serif;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    text-decoration: none !important;
    text-transform: uppercase;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    font-size: 1rem;
    align-items: center;
}

.btn-bl {
    background-color: #2D90FD;
    color: #fff !important;
}

    .btn-bl:hover {
        background-color: #2dd9fc;
        background-image: linear-gradient(315deg, #2dd9fc 0%, #2D90FD 74%);
    }

.btn-grn {
    background-color: #13C500 !important;
    color: #fff !important;
    border: 0;
    /*text-shadow: 1px 1px 2px rgba(11, 116, 0, 1);  */
}

    .btn-grn:hover {
        background-color: #3eef2b;
        background-image: linear-gradient(315deg, #3eef2b 0%, #13C500 74%);
    }

/* Voucher status */
.bottombar {
    border-bottom: 3px solid #ccc;
    padding-left: 2px;
    padding-right: 2px;
}

    .bottombar:hover {
        border-bottom: 3px solid #2D90FD;
        color: #2D90FD;
    }

.no-line {
    text-decoration: none !important;
    color: rgb(104, 104, 104);
}

.active-blue {
    color: #2D90FD;
    border-bottom: 3px solid #2D90FD;
}

.ful-wid {
    width: 100%;
}


/* Voucher */
.voucher_border {
    box-shadow: 0 0 5px 0px rgb(0 0 0 / 18%);
    background-color: #fff;
}

.expired_border {
    background-color: #fff;
    border: 1px solid #e4e4e4;
}

.cpy_code {
    width: 100px;
    position: relative;
    /* padding: 0.375rem 0.75rem; */
    letter-spacing: 1px;
    font-family: "Roboto",sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    text-transform: uppercase;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    color: #9ED5FF !important;
    font-size: 11px;
    border: 1px solid #9ED5FF;
}

    .cpy_code:hover {
        color: #ffffff !important;
        border: 1px solid #72c2ff;
        background-color: #72c2ff;
    }

.pct_txt {
    font-size: 32px;
    line-height: 1.9rem;
    font-weight: 700;
    color: #fff;
}

.pct_sec {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.tc_txt {
    font-size: 10px;
}

.prd_cat {
    font-size: 11px;
    color: #A8A8A8;
}

.prd_desc {
    font-size: 13px;
}

.end-date {
    white-space: nowrap;
}

.valid_font {
    color: #A8A8A8;
    font-size: 12px;
    float: inherit;
}

.redeem_font {
    color: #05CC33 !important;
    float: right;
}

    .redeem_font:hover {
        color: #03681a !important;
        text-decoration: none;
    }

    .redeem_font.disabled {
        color: #000 !important;
    }

        .redeem_font.disabled:hover {
            color: #000 !important;
            cursor: default;
        }

.ribbon {
    font-size: 10px;
    text-align: center;
    position: absolute;
    top: 10px;
    left: -22px;
    padding: 1px 3px;
    color: white;
    width: 80px;
    z-index: 2;
    /* -webkit-box-shadow: 0px 2px 4px #888; */
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 18%);
}

    .ribbon.ribbon_acc {
        top: 18px;
        left: -19px;
    }

    .ribbon:after {
        content: ' ';
        position: absolute;
        width: 0;
        height: 0;
        left: 0px;
        top: 100%;
        border-width: 2px 4px;
        border-style: solid;
    }

    .ribbon.tnc {
        top: 14px;
        left: -7px;
    }

.soon_label {
    font-size: 10px;
    background-color: #F32E2E;
}

    .soon_label:after {
        border-color: #a81a1a #a81a1a transparent transparent;
    }

.expired_label {
    font-size: 10px;
    background-color: #878787;
}

    .expired_label:after {
        border-color: #666666 #666666 transparent transparent;
    }

.repeat_label {
    font-size: 10px;
    background-color: #ffe100;
    color: #000;
}

    .repeat_label:after {
        border-color: #bba500 #bba500 transparent transparent;
    }

.no_voucher {
    color: rgb(165, 165, 165);
    font-weight: 600;
}


.tear-icon {
    color: rgb(165, 165, 165);
    font-size: 20px;
}

.voucher_pagebutton {
    margin: 0 auto;
    text-align: center;
    width: 300px;
    background-color: white;
    vertical-align: middle;
}

@media screen and (min-width:481px) and (max-width:767px) {
    .voucher_pagebutton {
        width: 250px;
    }
}

@media screen and (min-width:320px) and (max-width:480px) {
    .voucher_pagebutton {
        width: 150px;
    }
}

.voucher_pagebutton .next {
    background-color: #707070;
    color: white;
    width: 30px;
    font-size: 20px;
    border-radius: 0px;
    outline: none;
    padding: 5px 13px;
    margin: 4px 2px;
}

    .voucher_pagebutton .next:hover {
        background-color: lightgray;
        color: gray;
    }

.voucher_pagebutton input {
    width: 50px;
    font-weight: bold;
    text-align: center;
}


/* TNC pop up */
#popup_tnc, #popup_invalid {
    display: none;
}

.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.65);
    z-index: 8888;
    overflow-y: hidden;
}

.popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 30vw;
    height: 80vh;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
    z-index: 98;
}

#popup_addtocart .popup_content {
    width: 508px;
    height: 312px;
}

#popup_tnc .popup_content .content_div {
    height: 70vh;
    width: auto;
    overflow-y: auto;
}

#popup_invalid .popup_content .content_div {
    height: 30vh;
    width: auto;
    overflow: auto;
}

.popup_close {
    font-size: 21px;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 9999;
    cursor: pointer;
    text-shadow: 0px 0px 2px rgb(255 255 255);
    color: rgba(0,0,0,0.75);
}

    .popup_close:hover {
        color: rgba(0,0,0,0.95);
    }

.spec_scroll {
    background-color: white;
    height: 230px;
    overflow-y: scroll;
}

#product_spec_table tbody > tr > :nth-child(1) {
    font-weight: 600;
    width: 40%;
    word-wrap: break-word;
}

.btn-gr {
    background-color: #05711E !important;
    color: #fff !important;
    border: 2px solid #05711E !important;
}

.productlist_content {
    height: 500px;
}

.voucher-all li, .voucher-all dd {
    list-style: none !important;
    text-align: left;
    font-weight: 700;
    margin-bottom: 0px;
    font-size: 14px;
    line-height: 1.7;
}

    .voucher-all li a {
        color: #000 !important;
        text-decoration: none;
    }

    .voucher-all dd a {
        color: #666565 !important;
        text-decoration: none;
        font-size: 13px;
    }

.voucher-all {
    -moz-column-count: 2;
    -moz-column-gap: 5%;
    -webkit-column-count: 2;
    -webkit-column-gap: 5%;
    column-count: 3;
    column-gap: 16%;
}

@media screen and (max-width:767px) {
    #product_spec_table tbody > tr > :nth-child(1) {
        width: 20%;
    }

    #popup_invalid .popup_content .content_div {
        height: 40vh;
    }

    .voucher-all {
        column-count: 2;
    }
}

@media screen and (max-width:600px) {
    .btn-notify {
        width: 100%;
        margin-bottom: 5px;
    }

    #popup_invalid .popup_content .content_div {
        height: 50vh;
    }
}

@media screen and (max-width:480px) {
    #popup_invalid .popup_content .content_div {
        height: 70vh;
    }
}


/* Balance Card */
.balance-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(82, 82, 82, 0.125);
    border-radius: .25rem;
    align-items: center;
    justify-content: space-evenly;
}

    .balance-card .circle {
        position: relative;
        height: 150px;
        width: 150px;
        border-radius: 50%;
        margin: auto;
    }

        .balance-card .circle .box, .balance-card .circle .box .voucher_no {
            font-size: 16px;
            position: absolute;
            top: 59%;
            left: 50%;
            z-index: 2;
        }

        .balance-card .circle .box {
            height: 100%;
            width: 100%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            border: none;
        }

            .balance-card .circle .box .voucher_no {
                transform: translate(-50%, -50%);
            }

.voucher_balance {
    font-size: 50px;
}

.voucher_total {
    font-size: 20px;
}

.balance_back {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 90px 5px 30px;
}

.level-ft {
    color: #fff;
    text-shadow: 1px 2px 3px #555;
}


/* Hide */
.status_font {
    font-size: 25px;
}

.position {
    position: absolute;
    bottom: 30px;
}

.upgrade-btn {
    border-radius: 8px;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

    .upgrade-btn:hover {
        text-decoration: none;
    }


/* Change according to voucher type   */

.special-background {
    background-color: #ff6cbb;
}

.evoucher-background {
    background-color: #ffc029;
}

.promocode-background {
    background-color: #47c8ff;
}

.expired-background {
    background-color: #C6C6C6;
}

#all.balance-card {
    border-top: 5px solid #05CC33;
}

#all .balance_back {
    background-image: url(../images/v3/myoffer/all_voucher_card.png);
}

#all .upgrade-btn {
    background-color: #d7ffe1;
    color: black !important;
    border: 1px solid #05CC33;
}

    #all .upgrade-btn:hover {
        background-color: #fff;
        color: #039124 !important;
        border: 1px solid #05CC33;
    }

#all .voucher_balance {
    color: #0ED200;
}

#specialpromo.balance-card {
    border-top: 5px solid #FD1591;
}

#specialpromo .balance_back {
    background-image: url(../images/v3/myoffer/special_offer_card.png);
}

#specialpromo .upgrade-btn {
    background-color: #ffe4f3;
    color: black !important;
    border: 1px solid #FD1591;
}

    #specialpromo .upgrade-btn:hover {
        background-color: #fff;
        color: #a70059 !important;
        border: 1px solid #FD1591;
    }

#specialpromo .voucher_balance {
    color: #FD1591;
}

#promocode.balance-card {
    border-top: 5px solid #15B7FD;
}

#promocode .balance_back {
    background-image: url(../images/v3/myoffer/promo_code_card.png);
}

#promocode .upgrade-btn {
    background-color: #e2f6ff;
    color: black !important;
    border: 1px solid #15B7FD;
}

    #promocode .upgrade-btn:hover {
        background-color: #fff;
        color: #005174 !important;
        border: 1px solid #15B7FD;
    }

#promocode .voucher_balance {
    color: #15B7FD;
}

#evoucher.balance-card {
    border-top: 5px solid #FDB915;
}

#evoucher .balance_back {
    background-image: url(../images/v3/myoffer/evoucher_card.png);
}

#evoucher .upgrade-btn {
    background-color: #ffedc3;
    color: black !important;
    border: 1px solid #FDB915;
}

    #evoucher .upgrade-btn:hover {
        background-color: #fff;
        color: #ffb200 !important;
        border: 1px solid #FDB915;
    }

#evoucher .voucher_balance {
    color: #FDB915;
}

.sub_tabs {
    width: 100%;
}

    /* Nav */
    .sub_tabs nav {
        text-align: center;
    }

        .sub_tabs nav ul {
            position: relative;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: flex;
            margin: 0 auto;
            padding: 0;
            max-width: 1200px;
            list-style: none;
            -ms-box-orient: horizontal;
            -ms-box-pack: center;
            -webkit-flex-flow: row wrap;
            -moz-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
            flex-flow: row wrap;
            -webkit-justify-content: center;
            -moz-justify-content: center;
            -ms-justify-content: center;
            justify-content: center;
            border-bottom: 3px solid #ccc;
        }

            .sub_tabs nav ul li {
                position: relative;
                z-index: 1;
                display: block;
                margin: 0;
                text-align: center;
                -webkit-flex: 1;
                -moz-flex: 1;
                -ms-flex: 1;
                flex: 1;
            }

        .sub_tabs nav a {
            position: relative;
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            line-height: 2.5;
        }

.tabs nav a span {
    vertical-align: middle;
    font-size: 14px;
}

.sub_tabs nav a:focus {
    outline: none;
}

.tabs-style-linemove nav li:last-child::before {
    position: absolute;
    bottom: -2.89px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2D90FD;
    content: '';
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}


.tabs-style-linemove nav li:first-child.tab-current ~ li:last-child::before {
    -webkit-transform: translate3d(-300%,0,0);
    transform: translate3d(-300%,0,0);
}

.tabs-style-linemove nav li:nth-child(2).tab-current ~ li:last-child::before {
    -webkit-transform: translate3d(-200%,0,0);
    transform: translate3d(-200%,0,0);
}

.tabs-style-linemove nav li:nth-child(3).tab-current ~ li:last-child::before {
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
}

.tabs-style-linemove nav a {
    line-height: 1;
    -webkit-transition: color 0.3s, -webkit-transform 0.3s;
    transition: color 0.3s, transform 0.3s;
}

.tabs-style-linemove nav li.tab-current a {
    color: #2D90FD;
}

.tabs-style-linemove nav a span {
    font-weight: 400;
}

.tabs-style-line nav ul {
    padding: 0 2em;
    max-width: none;
    box-shadow: inset 0 -2px #d1d3d2;
}

.tabs-style-line nav a {
    padding: 0.7em 0.4em;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    -webkit-transition: color 0.3s, box-shadow 0.3s;
    transition: color 0.3s, box-shadow 0.3s;
}

    .tabs-style-line nav a:hover,
    .tabs-style-line nav a:focus {
        box-shadow: inset 0 -2px #74777b;
    }

.tabs-style-line nav li.tab-current a {
    box-shadow: inset 0 -2px #2D90FD;
    color: #2D90FD;
}

@media screen and (max-width: 58em) {
    .tabs-style-line nav ul {
        display: block;
        box-shadow: none;
    }

        .tabs-style-line nav ul li {
            display: block;
            -webkit-flex: none;
            flex: none;
        }
}

@media (min-width: 280px) and (max-width: 992px) {
    .popup_content {
        width: 95% !important;
        height: 90%;
    }

    #popup_addtocart .popup_content, #popup_productlist .cont_productlist {
        width: 65% !important;
        height: 60% !important;
    }

    #popup_addtocart .product-list {
        height: 223px !important;
    }

    #popup_productlist .product-list {
        height: 66vh !important;
    }
}

@media (min-width: 280px) and (max-width: 469px) {
    #popup_tnc .popup_content .content_div {
        height: 80vh;
    }

    #popup_addtocart .popup_content, #popup_productlist .cont_productlist {
        width: 95% !important;
        height: 60% !important;
    }

    #popup_addtocart .product-list {
        height: 176px !important;
    }

    .excard-qoform__productdiv.pop_all_product {
        height: 419px !important;
    }
}

.info-label {
    font-family: "Roboto",sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    letter-spacing: 0.04rem;
    max-height: 82.5vh;
    overflow-y: auto;
    color: rgba(0,0,0,0.85);
}

.product-tag-label {
    background-color: #EBF2F5;
    border-radius: 30px;
    font-family: "Roboto",sans-serif;
    font-size: 0.725rem;
    padding: 0.55rem 0.75rem;
    margin-right: 0.65rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .product-tag-label:hover {
        box-shadow: 0 0 0px 0.05rem #005b7f40;
        text-decoration: none;
    }

#popup_addtocart .title, #popup_productlist .title {
    background-color: #005B7F;
    color: #fff;
}

#popup_addtocart .product-list {
    overflow-y: auto;
    height: 136px;
}

#popup_productlist .product-list {
    overflow-y: auto;
    height: 56vh;
}

.excard-qoform__wrapper {
    width: 900px;
}

.excard-qoform__productdiv.pop_all_product {
    overflow-y: auto;
    height: 390px
}

.voucher-all dd {
    line-height: 1.6;
}
