:root {
    --primary-color: #000;
    --primary-color-reverse: #fff;
    --site-background: #fff;
    --secondary-color: #28b5b3;
    --secondary-color_2: #32c2bf;
    --grey-color: grey;
    --grey-color_2: #656565;
    --color-success: #0ac989;
    --color-danger: #f24242;
    --color-warning: #f7ce53;
    --color-info: #61a9f0;
  
    --bg_1: #fff;
    --bg-grey_1: #f3f3f3;
    --bg-grey_2: #f4f4f4;
    --bg-grey_3: #f5f5f5;
    --bg-grey_4: #f2f2f2;
  
    --radius: 4px;
    --radius-2: 8px;
    --radius-3: 12px;
    --radius-4: 16px;
    --radius-5: 20px;
  
    --text-xs: 12px;
    --text-sm: 13px;
    --text-md: 16px;
    --text-lg: 20px;
    --text-xl: 24px;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: var(--site-background);
}

/* backgrounds */
.bg_1 {background: var(--bg_1)}
.bg-sec{ background: var(--secondary-color); }
.bg-grey_1 {background: var(--bg-grey_1) !important}
.bg-grey_2 {background: var(--bg-grey_2) !important}
.bg-grey_3 {background: var(--bg-grey_3) !important}
.bg-grey_4 {background: var(--bg-grey_4) !important}
.input-bg-grey{ background: var(--bg-grey_4) !important; }
.modal-body { background: white; }
.bg-none { background: none !important; }
.hover-bg-grey:hover { background: #f4f4f4; }

/* Colors */
.primary-color { color: var(--primary-color) !important; }
.primary-color-reverse { color: var(--primary-color-reverse) !important; }
.secondary-color { color: var(--secondary-color) !important; }
.secondary-color_2 { color: var(--secondary-color_2) !important; }

.grey-color { color: var(--grey-color) !important }
.grey-color_2 { color: var(--grey-color_2) !important }
.color-success { color: var(--color-success) !important; }
.color-danger { color: var(--color-danger) !important; }
.color-info { color: var(--color-info) !important; }
.color-warning { color: var(--color-warning) !important; }

.icon-fill{ fill: var(--primary-color) }
.icon-fill-white-only{ fill: white }
.icon-fill-grey{ fill: var(--grey-color) }
.icon-fill-grey-2{ fill: var(--grey-color-2) }
.icon-fill-secondary{ fill: var(--secondary-color) }
.icon-fill-success{ fill: var(--color-success) }

.text-xs { font-size: var(--text-xs) !important }
.text-sm { font-size: var(--text-sm) !important }
.text-md { font-size: var(--text-md) !important }
.text-lg { font-size: var(--text-lg) !important }
.text-xl { font-size: var(--text-xl) !important }

p, h1, h2, h3, h4, h5, span, label, small, i {color: var(--primary-color);}
p {font-size: var(--text-sm)}
a { 
    color: var(--primary-color);
    text-decoration: none !important;
}
a :hover { text-decoration: none; }

.anuphan {font-family: 'Anuphan', sans-serif}
.gabarito {font-family: 'Gabarito', sans-serif}
.anuphan.wt-200, .gabarito.wt-200{ font-weight: 200; }
.anuphan.wt-400, .gabarito.wt-400{ font-weight: 400; }
.anuphan.wt-500, .gabarito.wt-500{ font-weight: 500; }
.anuphan.wt-600, .gabarito.wt-600{ font-weight: 600; }
.anuphan.wt-700, .gabarito.wt-700{ font-weight: 700; }

/* Buttons */
button {
    background: var(--secondary-color);
    border: none;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    width: 100%;
    font-family: 'anuphan';
    font-size: 14px;
    height: 40px;
}
button.small{ height: 35px; } 
button.medium{ height: 50px; } 
button.large{ height: 56px; } 
button.rounded{ border-radius:30; }

button:focus {
    outline: 0px;
    box-shadow: 0px;
    -webkit-box-shadow: none;
    border: none !important;
}
button.grey {
    background: #e8e8e8 !important;
    color: #000;
}
button.sec {
    background: #000;
    color: #fff;
}
button.white {
    background: #fff;
    color: #000;
}

/* Badge */
.badge {
    padding: 6px 12px;
    border-radius: 30px;
}
.badge-warning {
    background: #f7f4e3;
    color: #e1a80e;
    border: 1px solid #f4c02f;
    font-weight: 300;
    font-family: 'Gabarito', sans-serif;
}
.badge-success {
    background: #d6f7eb !important;
    color: #2aca8f !important;
    border: 1px solid #2aca8f;
    font-weight: 300;
    font-family: 'Gabarito', sans-serif;
}
.badge-danger {
    background: #fcccca;
    color: #de534c;
    border: 1px solid #de534c;
    font-weight: 300;
    font-family: 'Gabarito', sans-serif;
}
.badge-info {
    background: #deecf5;
    color: #3ba4e9;
    border: 1px solid #3ba4e9;
    font-weight: 300;
    font-family: 'Gabarito', sans-serif;
}
/* end badge */

/* inputs */
.input-container {
    position: relative;
    margin-top: 25px;
}
  
.input-container input {
    width: 100%;
    border: 1px solid #eae9e9;
    border-radius: 4px;
    color: var(--primary-color);
    background: transparent;
    caret-color: var(--primary-color);
    height: 46px;
    padding: 0px 14px;
}
  
.input-container select{
    width: 100%;
    height: 46px;
    border: 1px solid #eae9e9;
    border-radius: 4px;
    color: var(--primary-color);
    background: transparent;
    padding: 0px 14px;
    font-size: 14px;
}

.input-container textarea{
    width: 100%;
    border: 1px solid #eae9e9;
    border-radius: 4px;
    color: var(--primary-color);
    background: transparent;
    padding: 14px;
    font-size: 14px;
}
  
.input-container label {
    font-size: var(--text-sm);
    color: var(--grey-color-2);
    margin-bottom: 6px;
}
.input-container input::placeholder {
    font-size: 13px;
    color: var(--grey-color);
}
input:focus,
select:focus,
textarea:focus
{
  box-shadow: none !important;
  outline: none !important;
}
.input-container .has-icon {
    padding-right: 20% !important;
    position: relative;
}
.input-container .has-dual-icon {
    padding-right: 30% !important;
    padding-left: 30% !important;
    position: relative;
}
.input-container .input-icon-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    height: 46px;
    width: auto;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
}
.input-icon-wrapper-left {
    left: 10px;
    right: auto !important;
}
.input-icon {
    color: var(--primary-color);
    position: relative;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: none;
    transition: background-color 5000s ease-in-out 0s;
    background-color: none !important;
    -webkit-text-fill-color: #000;
}
/* end */


/* Others */
.overflow-scroll { overflow: scroll }
.overflow-auto { overflow: auto }
.overflow-hidden { overflow: hidden }

.radius {border-radius: var(--radius);}
.radius-2 {border-radius: var(--radius-2) !important;}
.radius-3 {border-radius: var(--radius-3) !important;}
.radius-4 {border-radius: var(--radius-4) !important;}
.radius-5 {border-radius: var(--radius-5) !important;}

._card {
    padding: 12px;
    border-radius: var(--radius-2);
    background: white;
}

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }

.header-nav {
    height: 65px;
    padding-left: 30px;
    padding-right: 30px;
}
.header-nav .nav-link{
    font-family: 'anuphan';
    font-weight: 300;
    font-size: 14px;
    color: var(--primary-color-reverse);
}
.header-nav .menu-toggle {
    height: 2px;
    width: 24px;
    background: white;
}
.nav-menu-content-container {
    background: #101010;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 44;
    top: 0;
    padding: 10px;
    display: none;
}
.nav-menu-content-container .link {
    display: block;
    padding: 10px 15px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.w-fit-content {
    width: fit-content;
}
.h-fit-content {
    height: fit-content;
}

@media screen and (min-width: 1020px) {
    .w-lg-fit-content { width: fit-content }
    .h-lg-100 { height: 100% }
    .w-lg-50 { width: 50% !important }
}

.pointer { cursor: pointer; }

.header-text { font-size: 40px }
@media (max-width: 576px) {
    .header-text { font-size: 32px; }
    .px-mobile-0 { padding-left: 0px; padding-right: 0px; }
}

.h-100 { height: 100; }
.min-h-100{ min-height: 100%; }
.border-none { border: none !important; }