/* Bundled CSS: custombootstrapcomponents.css */
.btn-primary {
    background-color: var(--shade1) !important;
    border: var(--shade1) !important;
    color: var(--white) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;
}
.btn-primary:hover, .btn-primary:active {
    background-color: var(--shade2) !important;
    border: var(--shade2) !important;
    color: var(--white) !important;
}

.btn-outline-primary {
    color: var(--shade1) !important;
    border: var(--shade1) solid 1px !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active {
    color: var(--white) !important;
    background-color: var(--shade1) !important;
    border: var(--shade1) solid 1px !important;
}

.copylinkbtn {
    color: var(--shade1) !important;
    background-color: var(--white) !important;
    border-radius: 7px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.copylinkbtn:hover {
    color: var(--white) !important;
    background-color: var(--shade1) !important;
}

.accordion {
    --bs-accordion-active-bg: rgba(35, 224, 120, 0.5);
    --bs-accordion-btn-focus-box-shadow: rgba(35, 224, 145, 0.5);
    --bs-accordion-active-color: var(--shade2);
}


/* PAGINATION */
.pagination a {
    color: var(--shade1);
}
.pagination a:hover {
    color: var(--shade2);
}
.pagination .active  {
    color: white;
    background-color: var(--shade1) !important;
    background-image: var(--shade1) !important;
    background: var(--shade1) !important;
    border: solid 1px var(--shade1) !important;
}



/* Bundled CSS: normalize.css */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/* Bundled CSS: main.css */
/* CUSTOM FONTS */
/* @font-face {
    font-family: 'NotoSansThai-Regular';
    font-weight: 400;
    src: local('NotoSansThai-Regular'), 
        url('../fonts/NotoSansThai/NotoSansThai-Regular.ttf') format("truetype");
} */

/* @font-face {
    font-family: 'IBMPlexSansThai-Regular';
    font-weight: 400;
    src: local('IBMPlexSansThai-Regular'), 
        url('../fonts/IBM_Plex_Sans_Thai/IBMPlexSansThai-Regular.ttf') format("truetype");
}
@font-face {
    font-family: 'IBMPlexSansThai-Medium';
    font-weight: 500;
    src: local('IBMPlexSansThai-Medium'), 
        url('../fonts/IBM_Plex_Sans_Thai/IBMPlexSansThai-Medium.ttf') format("truetype");
}
@font-face {
    font-family: 'IBMPlexSansThai-Bold';
    font-weight: 600;
    src: local('IBMPlexSansThai-Bold'), 
        url('../fonts/IBM_Plex_Sans_Thai/IBMPlexSansThai-Bold.ttf') format("truetype");
} */

:root {
    /* color */
    --shade1: #03A580;
    --shade2: #005B30;
    --shade3: #FE4C1C;
    --shade4: #E5EAED;

    --shade5: #81CEBF;
    

    --white: #ffffff;
    --grey: #ddd;
}

html {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: white;
    color: white;

    overflow-x:hidden;
}
a, p, h1, h2, h3, h4 {
    -webkit-user-select: none !important;  /* Chrome all / Safari all */
    -moz-user-select: none !important;     /* Firefox all */
    -ms-user-select: none !important;      /* IE 10+ */
    user-select: none !important;          /* Likely future */      
}

body {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}
code, kbd, pre, samp {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}
button, input, optgroup, select, textarea {
    font-family: inherit
}
.tooltip {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}
.popover {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}
.text-monospace {
    /* font-family: 'IBMPlexSansThai-Regular', sans-serif !important; */
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}

i {
    font-family: 'bootstrap-icons' !important;
}

.firsticon {
    font-size: var(--normalbtn);
    color: var(--shade1);
}




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

/* MAIN */
.bodysec {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
}
/* 
CUSTOM INPUT FILE */
[type="file"] {
/* Style the color of the message that says 'No file chosen' */
  color: #878787;
}
[type="file"]::-webkit-file-upload-button {
  background: var(--shade1);
  border: 2px solid var(--shade1);
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  outline: none;
  padding: 10px 25px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

[type="file"]::-webkit-file-upload-button:hover {
  background: var(--white);
  border: 2px solid var(--shade1);
  color: var(--shade1);
}



/* SIGNINPAGE */
.signinsec {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.signindiv {
    width: 60vw;
    padding: 20px;
    overflow: hidden;
}
.signin {
    width: 100%;
}

/* SIGNUP */
.signupsec {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.signupdiv {
    width: 60vw;
    padding: 20px;
    overflow: hidden;
}
.signup {
    width: 100%;
}

/* CHECKOUT */
.checkoutsec {
    display: grid;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--shade1);
}
.checkoutdiv {
    width: 80vw;
    padding: 10px;
    border-radius: 7px;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.checkoutheader {
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    border-radius: 7px;
    background-color: var(--white);

    margin-bottom: 20px;
}
.checkoutheaderimg {
    width: 100px;
}

/* QR TRANSFER */
.qrtransfersec {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.qrtransferdiv {
    overflow: hidden;
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80vw;
    max-width: 500px;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.qramount {
    color: var(--shade1);
    font-weight: 600;
}

.qrlogoimg {
    width: 30%;
}
.qr30img {
    width: 30%;
    border-radius: 7px;
}
.qrimg {
    width: 60%;
    margin-left: 50%;
    transform: translate(-50%);
}
.buttondl {
    margin-top: 10px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 80%;
}
.qrheader {
    background-color: var(--white);
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
.qrbody {
    margin-left: 50%;
    transform: translate(-50%);
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80%;
}
.qrmailto {
    border: none;
    background-color: var(--shade1);
    color: var(--white);
    width: 80%;
    border-radius: 7px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.qrfooter {
    margin-left: 50%;
    transform: translate(-50%);
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80%;
    padding-top: 20px;
    border-top: var(--grey) solid 1px;
}


.cmskbtn {
    border: none;
    color: white;
    border-radius: 10px;
    height: 30px;
    text-align: center;
    text-justify: center;
    text-shadow: 2px 2px 5px grey;
    background-color: var(--shade1);
    background-image: linear-gradient(315deg, rgb(70, 185, 135) 20%, rgb(144, 220, 168) 74);
    font-size: 1em; /* Default font size for larger screens */
}

@media only screen and (max-width: 600px) {
    /* Adjust font size for screens smaller than 600 pixels wide */
    .cmskbtn {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 400px) {
    /* Further adjust font size for screens smaller than 400 pixels wide */
    .cmskbtn {
        font-size: 0.6em;
    }
}

.cmskbtn:hover {
    filter: brightness(120%);
    transition-duration: 0.3s;
}


/* Bundled CSS: navbar.css */
.navbar {
    display:flex;
    justify-content: space-between;
    align-items:center;
    height:80px;
    width:100%;

    /* position:absolute; */
    /* z-index:1; */
    z-index: 100;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.05);
    overflow: hidden;

    transition:0.3s ease transform;
}
.fixed-top {
    position: fixed;
    background: #FFF;
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.05);
    width: 100%;
}
.navul {
    list-style-type: none;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-left:30px;
    height:70px;
}
.navul li {
    display:inline-block;
}
.nav-link {
    position:relative;
    padding:15px 0px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.active {
    font-weight:700;
}
.navbar-left {
    background:#FFF;

    /* == */
    margin-left: 50%;
    transform: translateX(-50%);
}
.navbar-left li {
    min-width: 100px;
}
@media screen and (min-width:769px) {
    .nav-link:before,.nav-link:after {
        content:"";
        position:absolute;
        width:50%;
        top:57px;    
        height:2px;
        background:#000;
        width:0%;
        opacity:0;
        transition:0.16s ease;
    }
    .nav-link:before {
        right:50%;
    }
    .nav-link:after {
        left:50%;
    }
    .navbar-left .nav-link:hover:before {
        width:50%;
        opacity:1;
    }
    .navbar-left .nav-link:hover:after {
        width:50%;
        opacity:1;
    }
}
.navbar-right {
    background: transparent;
    width:20%;
    padding-left:0px;

    position: absolute;
    right: 0;
}
.brand {
    display:block;
    color: var(--brand-color);
}
#shop-icon,#user-icon {
    fill:var(--brand-color);
}
.navbar-burger-btn span {
    position: absolute;
    left:0px;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius:2px;
    transition:0.24s ease all; 
}
.navbar-burger-btn span:first-child {
    top:3px;
}
.navbar-burger-btn span:nth-child(2) {
    top:9px;
}
.navbar-burger-btn span:nth-child(3) {
    top:15px;
}
.navbar-burger-btn {
    display:none;
    position: absolute;
    top: 25px;
    left: 30px;
    width: 20px;
    height: 20px;
    padding:0;
    margin:0;
    z-index:100;

    border: none;
    background-color: transparent;
}


@media screen and (max-width:769px) {
    :root {
        --brand-color:#000 !important;
    }
    .navbar {
        background: white;
        box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.05);
        transition: 0.24s ease height,0.3s ease transform;
    }
    .navbar-burger-btn {
        display:block;
    }
    .navbar-left {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        background:transparent;
        height:auto;

        /* == */
        margin-top: 40px;
        margin-left: 0%;
        transform: translateX(-0%);
    }
    .navbar-right {
        width: auto;
        padding-left: 0px;
        position: absolute;
        display: inline-block;
        right: 20px;
        top: 8px;
        height: auto;
        margin:0;
    }
    .brand {
        display:none;
    }
    .navbar-right>li {
        margin:0px 5px;
    }
    .navbar[data-state="closed"] {
        height:70px;
    }
    .navbar[data-state="open"] {
        height:260px;
    }
    .navbar[data-state="closed"] .navbar-left {
        visibility:hidden;
        opacity:0;
    }
    .navbar[data-state="open"] .navbar-left {
        visibility:visible;
        opacity:1;
        transition:0.01s ease visibility, 0.16s ease-in-out opacity 0.08s; 
    }
    .navbar[data-state="open"] .navbar-burger-btn span:first-child {
        transform:rotate(225deg);
        top:9px;
    }
    .navbar[data-state="open"] .navbar-burger-btn span:nth-child(2) {
        opacity:0;
        width:0%;
    }
    .navbar[data-state="open"] .navbar-burger-btn span:nth-child(3) {
        transform:rotate(-225deg);
        top:9px;
    }

    .imglogo {
        display: none;
    }
}

/* ////// */

.imglogo {
    position: absolute;
    left: 20px;
    width: 100px;
}


/* Bundled CSS: scrolltopbutton.css */
#scrolltopbutton {
    z-index: 10;
    position:fixed;
    right:15px;
    /* bottom:15px; */
    bottom:80px;
    cursor:pointer;
    width:45px;
    height:45px;
    background-color:var(--shade1);
    color: var(--white);
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}


/* Bundled CSS: spinnerload.css */
#spinner {
    z-index: 100;
    display: grid;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
