/* thai */
@font-face {
    font-family: 'Mitr';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiLypw5ucZF-Sg4Maj_.woff2) format('woff2');
    unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* vietnamese */
@font-face {
    font-family: 'Mitr';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiLypw5ucZF-TM4Maj_.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Mitr';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiLypw5ucZF-TI4Maj_.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Mitr';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiLypw5ucZF-Tw4MQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
    height: 100%;
    background-color: #ffffff;
}

html {
    overflow-x: hidden;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: 'Mitr';
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: #00356a;
    text-decoration: none;
    transition: 0.3s all ease;
}

a:hover {
    color: #0054aa;
}

.text-black {
    color: #000 !important;
}

/*.text-primary {
  color: #2d71a1 !important;
}*/

.border-top {
    border-top: 1px solid #D9D9D9 !important;
}

.border-bottom {
    border-bottom: 1px solid #D9D9D9 !important;
}

.form-control::-moz-placeholder {
    color: #999 !important;
    opacity: 1;
}

.big {
    font-size: 120px;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

main>.container {
    padding: 20px 15px 0;
}

/* Headings
-------------------------------------------------- */
h1 {
    font-size: 2em;
    line-height: 1.25em;
    font-weight: 400;
    margin-bottom: .5em;
    /*color: #0055aa !important;*/
}

h2 {
    font-size: 2em;
    line-height: 1.25em;
    font-weight: 300;
    /*margin-bottom: .5em;*/
    /*color: #0055aa !important;*/
}

h3 {
    font-size: 1.4em;
    line-height: 1.5em;
    font-weight: 400;
    /*margin-bottom: .5em;*/
    /*color: #0055aa !important;*/
}

h4 {
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.5em;
    /*margin-bottom: .5em;
  color: #0055aa;*/
}

h1 a,
h2 a,
h3 a,
h4 a {
    color: inherit;
    border: 0 !important;
}

img {
    /*display: block;*/
    max-width: 100%;
}

.wrap {
    height: auto !important;
    margin: 0 auto -80px;
    min-height: 100%;
    padding: 0 0 80px;
    font-family: 'SuperMarket';
    font-size: 18px;
    letter-spacing: 0.5px;
    /*background: linear-gradient(180deg, rgba(255,255,240,1) 20%, rgba(135,187,254,1) 80%) !important;*/
    background: #fff;
}

.header {
    background: rgb(4, 82, 164) !important;
    background: linear-gradient(90deg, rgba(4, 82, 164, 1) 0%, rgba(0, 169, 228, 1) 100%) !important;
    align-items: center;
    color: #ffff;
    display: block;
    padding: 10px;
}

.header .btnLogOut {
    color: rgba(255, 255, 255, 0.767);
    text-decoration: none;
}

.header span {
    font-size: 16px;
}


/* custom */
.header-title {
    padding: 4px 16px;
    margin-bottom: 20px;
    /*  height:50px;*/
    color: #fff;
    background-color: #007ec5;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 30px;
    font-family: 'Mitr';
    letter-spacing: 1px;
    width: 100%;
}


/* top section */

.top_navbar {
    position: relative;
    padding: 5px;
    margin: 0;
    width: 100%;
    min-height: 30px;
    background: linear-gradient(90deg, rgba(4, 82, 164, 1) 0%, rgba(0, 169, 228, 1) 100%) !important;
    color: #fff;
}

.top_header {
    font-family: 'SuperMarket';
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    /*    min-height: 30px;*/
    /*    height: 300px;*/
    /*    background-color: #0055aa;*/
    /*  color: #fff;*/
    color: #2d3192;
    background: #85BAFE;
    background: -webkit-linear-gradient(top, #FFFFFF, #85BAFE);
    background: -moz-linear-gradient(top, #FFFFFF, #85BAFE);
    background: linear-gradient(to bottom, #FFFFFF, #85BAFE);
}


.top_header .h1 {
    font-family: 'SuperMarket';
    color: #2d3192;
}

.top_navbar .hotline {
    text-align: right;
}

.top_navbar .logout {
    padding-top: 5px;
    text-align: right;
}

.top_navbar .place {
    text-align: left;
}

.top_navbar a {
    color: #ffffff;
}

.top_navbar a:hover {
    color: #ffffff;
    text-decoration: none;
}

.top_nav_list ul {
    margin: 0;
    padding: 10px 0 10px 0;
}

.top_nav_list li {
    float: left;
    /*in-line */
    margin: 0px 0px 0px 10px;
    color: #ffffff;
    list-style-type: none;
}

.top_nav_list li a {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: normal;
    font-size: 0.9em;
    color: #ffffff;
    /*    background-color: #000;*/
}

.top_nav_list li a:hover {
    color: #ffff00;
    text-decoration: none;
}

.top_nav_list .contact-info {
    font-weight: normal;
    font-size: 13px;
}

.top_section {
    position: relative;
    padding: 10px 0px 0px 0px;
    margin: 0px;
    /*height: 120px;*/
    /*-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);*/
    /*background: #fff url(../images/top-bg.png) repeat-x left top;*/
    /*background: #0161a7;*/
    z-index: 999;
}

.logoPwa-lg {
    width: 250px;
    /*float: left;*/
}

.logoPwa-sm {
    width: 54px;
    /*float: left;*/
}

.page_title {
    float: right;
    font-size: 2.8rem;
    /*font-family: 'SuperMarket';*/
}

.page_title::after {
    content: "";
    clear: both;
}

.navbarMenu,
.navbarMenu .navbar-nav .nav-link:hover,
.navbarMenu .navbar-nav .nav-link.active {
    color: #f8f9fa !important;
}

.navbarMenu {
    background-color: #0054aa;
    font-size: 1.1rem;
}

.navbarMenu .navbar-nav .nav-link {
    margin-right: 10px;
    border-radius: 10px;
}

.navbarMenu .navbar-nav .nav-link:hover {
    background-color: #00a8e3;
}

.navbarMenu .navbar-nav .nav-link.active {
    background-color: #3db1ad;
}

@media (max-width: 576px) {
    .nav-link {
        margin-top: 10px !important;
        padding-left: 10px !important;
    }

    .page_title {
        padding-top: 13px;
        font-size: 1.8rem;
    }

    .page_title img {
        display: none;
    }
}

.showUser {
    font-size: 14px;
    padding: 0px;
    color: rgba(255, 255, 255, 0.767);
    text-decoration: none;
}

.showUser:hover,
.showUser:active:hover,
.showUser:after {
    color: rgba(255, 255, 255, 0.767);

}

#breadcrumbs {
    background: #eeeded;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

.content {
    margin-top: 15px;
}

.menu_type {
    background-color: #FAFAFA;
}

.logoMenu {
    width: 80px;
}

.btnMainMenu:hover .card {
    background-color: #e0f2ea;
}

.btnMainMenu {
    text-decoration: none !important;
}

.btnMainMenu .card {
    background-color: #FBFBFB;
}

.btnMainMenu .card-title {
    color: #312f2f;
}

.loader {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999999999;
}

.loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.select2-selection__choice {
    margin-top: 0px !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: rgba(0, 139, 139, 0.09) !important;
}

.select2-selection__choice__remove {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 2px !important;
}

.select2-selection__choice__remove:hover {
    background-color: transparent !important;
    color: #ef5454 !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    top: 16px;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}


.required:after {
    content: " *";
    color: #dc3545;
}

.section {
    padding: 7rem 0;
}

.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(-45deg, #3db3c5, #274685);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-orange {
    background: linear-gradient(-45deg, #df310a, #f4aa0d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-size {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.card-img-top {
    height: 228px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.card-img-top:hover {
    transform: scale(1.05);
    filter: brightness(85%);
}

.jumbotron-bg {
    background-color: #f0f4f8;
}

.info-state1 {
    background-image: linear-gradient(to top, #8fe0ff, #afe4ff, #cae8ff, #e0edff, #f1f4ff, #f7f7ff, #fbfbff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff);
}

.info-state2 {
    background-image: linear-gradient(to bottom, #8fe0ff, #afe4ff, #cae8ff, #e0edff, #f1f4ff, #f7f7ff, #fbfbff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff);
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 5px;
    display: none;
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    z-index: 1000;
}

#lineBtn {
    position: fixed;
    bottom: 80px;
    right: 5px;
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    z-index: 1000;
}

#lineBtn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#lineBtn:hover {
    transform: scale(1.05);
}

#backToTopBtn:hover {
    transform: scale(1.05);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;

}

.image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.fb-video iframe {
    border-radius: 15px;
}

.card-header-add-theme {
    background: linear-gradient(135deg, #3a8dde, #0056b3);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.form-switch .form-check-input {
    width: 60px;
    height: 30px;
    background-color: #ddd;
    border-radius: 25px;
    position: relative;
    transition: background-color 0.3s;
}

.form-switch .form-check-input:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

@media (min-width: 360px) and (max-width: 375px) {
    .card-body button {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 320px) {
    .card-body button {
        font-size: 11px !important;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .jumbotron h1 {
        font-size: 24px !important;
    }

    .jumbotron p {
        font-size: 17px !important;
    }

    .jumbotron button {
        font-size: 16px !important;
    }

    .info-state1 h2 {
        font-size: 20px !important;
    }

    .info-state1 img {
        width: 90% !important;
    }

    .info-state2 h2 {
        font-size: 20px !important;
    }
}

@media (min-width: 320px) and (max-width: 1366px) {
    .jumbotron-text {
        order: 2
    }

    .jumbotron-image {
        order: 1
    }

    #loading img {
        width: 100% !important;
    }
}

@media (min-width: 320px) and (max-width: 430px) {
    .jumbotron-text p {
        font-size: 13.5px !important;
    }
}

#footer {
    font-family: 'SuperMarket' !important;
    padding: 1em 0 1em;
    margin-top: 20px;
    bottom: 0;
    /* Set the fixed height of the footer here */
    height: auto;
    width: 100%;
    border-top: 5px solid #0164ac;
    background-color: #03468A;
    color: #fff;
}

footer.wrap {
    min-width: 100% !important;
}

#footer p {
    padding: 0px;
    margin: 0px;
}

.footer-left {
    font-weight: normal;
    font-size: 1.0em;
}

.footer-left a {
    color: #ffffff;
}

.footer-left a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}

.footer p.text {
    padding-top: 20px;
    color: #fff;
    font-size: 24px;
}