@font-face {
    font-family: 'NotoSansThai';
    src: url('font-face/NotoSansThai-Regular.eot');
    src: url('font-face/NotoSansThai-Regular.eot?#iefix') format('embedded-opentype'),
        url('font-face/NotoSansThai-Regular.woff2') format('woff2'),
        url('font-face/NotoSansThai-Regular.woff') format('woff'),
        url('font-face/NotoSansThai-Regular.ttf') format('truetype'),
        url('font-face/NotoSansThai-Regular.svg#NotoSansThai-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans Thai';
    src: url('font-face/IBMPlexSansThai-Regular.eot');
    src: url('font-face/IBMPlexSansThai-Regular.eot?#iefix') format('embedded-opentype'),
        url('font-face/IBMPlexSansThai-Regular.woff2') format('woff2'),
        url('font-face/IBMPlexSansThai-Regular.woff') format('woff'),
        url('font-face/IBMPlexSansThai-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarabun';
    src: url('font-face/Sarabun-Regular.eot');
    src: url('font-face/Sarabun-Regular.eot?#iefix') format('embedded-opentype'),
        url('font-face/Sarabun-Regular.woff2') format('woff2'),
        url('font-face/Sarabun-Regular.woff') format('woff'),
        url('font-face/Sarabun-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root,[data-bs-theme=light] {
    --bs-text-muted: #99A1B7;
    --bs-gray-100: #F9F9F9;
    --bs-gray-100-rgb: 249, 249, 249;
    --bs-gray-200: #F1F1F4;
    --bs-gray-200-rgb: 241, 241, 244;
    --bs-gray-300: #DBDFE9;
    --bs-gray-300-rgb: 219, 223, 233;
    --bs-gray-400: #C4CADA;
    --bs-gray-400-rgb: 196, 202, 218;
    --bs-gray-500: #99A1B7;
    --bs-gray-500-rgb: 153, 161, 183;
    --bs-gray-600: #78829D;
    --bs-gray-600-rgb: 120, 130, 157;
    --bs-gray-700: #4B5675;
    --bs-gray-700-rgb: 75, 86, 117;
    --bs-gray-800: #252F4A;
    --bs-gray-800-rgb: 37, 47, 74;
    --bs-gray-900: #071437;
    --bs-gray-900-rgb: 7, 20, 55;
    --bs-light: #F9F9F9;
    --bs-primary: #cb0808;
    --bs-secondary: #F1F1F4;
    --bs-success: #17C653;
    --bs-info: #1B84FF;
    --bs-warning: #F6C000;
    --bs-danger: #F8285A;
    --bs-dark: #1E2129;
    --bs-primary-active: #a10000;
    --bs-secondary-active: #C4CADA;
    --bs-light-active: #F1F1F4;
    --bs-success-active: #04B440;
    --bs-info-active: #056EE9;
    --bs-warning-active: #DEAD00;
    --bs-danger-active: #D81A48;
    --bs-dark-active: #111318;
    --bs-primary-light: #F8F5FF;
    --bs-secondary-light: #F9F9F9;
    --bs-success-light: #DFFFEA;
    --bs-info-light: #E9F3FF;
    --bs-warning-light: #FFF8DD;
    --bs-danger-light: #FFEEF3;
    --bs-dark-light: #F9F9F9;
    --bs-light-light: #ffffff;
    --bs-primary-inverse: #ffffff;
    --bs-secondary-inverse: #252F4A;
    --bs-light-inverse: #252F4A;
    --bs-success-inverse: #ffffff;
    --bs-info-inverse: #ffffff;
    --bs-warning-inverse: #ffffff;
    --bs-danger-inverse: #ffffff;
    --bs-dark-inverse: #ffffff;
    --bs-primary-clarity: rgba(114, 57, 234, 0.2);
    --bs-secondary-clarity: rgba(249, 249, 249, 0.2);
    --bs-success-clarity: rgba(23, 198, 83, 0.2);
    --bs-info-clarity: rgba(27, 132, 255, 0.2);
    --bs-warning-clarity: rgba(246, 192, 0, 0.2);
    --bs-danger-clarity: rgba(248, 40, 90, 0.2);
    --bs-dark-clarity: rgba(30, 33, 41, 0.2);
    --bs-light-clarity: rgba(255, 255, 255, 0.2);
    --bs-light-rgb: 249, 249, 249;
    --bs-primary-rgb: 203, 8, 8;
    --bs-secondary-rgb: 241, 241, 244;
    --bs-success-rgb: 23, 198, 83;
    --bs-info-rgb: 27, 132, 255;
    --bs-warning-rgb: 246, 192, 0;
    --bs-danger-rgb: 248, 40, 90;
    --bs-dark-rgb: 30, 33, 41;
    --bs-text-white: #ffffff;
    --bs-text-primary: #cb0808;
    --bs-text-secondary: #F1F1F4;
    --bs-text-light: #F9F9F9;
    --bs-text-success: #17C653;
    --bs-text-info: #1B84FF;
    --bs-text-warning: #F6C000;
    --bs-text-danger: #F8285A;
    --bs-text-dark: #1E2129;
    --bs-text-muted: #99A1B7;
    --bs-text-gray-100: #F9F9F9;
    --bs-text-gray-200: #F1F1F4;
    --bs-text-gray-300: #DBDFE9;
    --bs-text-gray-400: #C4CADA;
    --bs-text-gray-500: #99A1B7;
    --bs-text-gray-600: #78829D;
    --bs-text-gray-700: #4B5675;
    --bs-text-gray-800: #252F4A;
    --bs-text-gray-900: #071437;
    --bs-border-color: #F1F1F4;
    --bs-border-dashed-color: #DBDFE9;
    --bs-component-active-color: #ffffff;
    --bs-component-active-bg: #cb0808;
    --bs-component-hover-color: #cb0808;
    --bs-component-hover-bg: #F9F9F9;
    --bs-component-checked-color: #ffffff;
    --bs-component-checked-bg: #cb0808;
    --bs-box-shadow-xs: 0 0.1rem 0.75rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow-sm: 0 0.1rem 1rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 2rem 1rem rgba(0, 0, 0, 0.1);
    --bs-input-bg: var(--bs-body-bg);
    --bs-input-color: var(--bs-gray-700);
    --bs-input-solid-color: var(--bs-gray-700);
    --bs-input-solid-bg: var(--bs-gray-100);
    --bs-input-solid-bg-focus: var(--bs-gray-200);
    --bs-input-solid-placeholder-color: var(--bs-gray-500);
    --bs-root-card-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
    --bs-root-card-border-color: #F1F1F4;
    --bs-tooltip-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    --bs-table-striped-bg: rgba(var(--bs-gray-100-rgb), 0.75);
    --bs-table-loading-message-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-dropdown-bg: var(--bs-body-bg);
    --bs-dropdown-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-code-bg: #f1f3f8;
    --bs-code-shadow: 0px 3px 9px rgba(0, 0, 0, 0.08);
    --bs-code-border-color: transparent;
    --bs-code-color: #b93993;
    --bs-symbol-label-color: var(--bs-gray-800);
    --bs-symbol-label-bg: var(--bs-gray-100);
    --bs-symbol-border-color: rgba(var(--bs-body-bg), 0.5);
    --bs-bullet-bg-color: var(--bs-gray-400);
    --bs-scrolltop-opacity: 0;
    --bs-scrolltop-opacity-on: 0.3;
    --bs-scrolltop-opacity-hover: 1;
    --bs-scrolltop-box-shadow: var(--bs-box-shadow);
    --bs-scrolltop-bg-color: var(--bs-primary);
    --bs-scrolltop-bg-color-hover: var(--bs-primary);
    --bs-scrolltop-icon-color: var(--bs-primary-inverse);
    --bs-scrolltop-icon-color-hover: var(--bs-primary-inverse);
    --bs-drawer-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.05);
    --bs-drawer-bg-color: #ffffff;
    --bs-drawer-overlay-bg-color: rgba(0, 0, 0, 0.2);
    --bs-menu-dropdown-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-menu-dropdown-bg-color: var(--bs-body-bg);
    --bs-menu-heading-color: #99A1B7;
    --bs-menu-link-color-hover: #cb0808;
    --bs-menu-link-color-show: #cb0808;
    --bs-menu-link-color-here: #cb0808;
    --bs-menu-link-color-active: #cb0808;
    --bs-menu-link-bg-color-hover: #F9F9F9;
    --bs-menu-link-bg-color-show: #F9F9F9;
    --bs-menu-link-bg-color-here: #F9F9F9;
    --bs-menu-link-bg-color-active: #F9F9F9;
    --bs-scrollbar-color: #F1F1F4;
    --bs-scrollbar-hover-color: #DBDFE9;
    --bs-overlay-bg: rgba(0, 0, 0, 0.05);
    --bs-blockui-overlay-bg: rgba(0, 0, 0, 0.05);
    --bs-rating-color-default: #C4CADA;
    --bs-rating-color-active: #FFAD0F;
    --bs-ribbon-label-box-shadow: 0px -1px 5px 0px rgba(30, 33, 41, 0.1);
    --bs-ribbon-label-bg: #cb0808;
    --bs-ribbon-label-border-color: #4312ab;
    --bs-ribbon-clip-bg: #1E2129;
    --bs-engage-btn-bg: #ffffff;
    --bs-engage-btn-box-shadow: 0px 0px 22px #E0E0E0;
    --bs-engage-btn-border-color: #E8E8E8;
    --bs-engage-btn-color: #252F4A;
    --bs-engage-btn-icon-color: #78829D;
    --bs-engage-btn-color-active: #252F4A;
    --bs-font-noto-sans: "NotoSansThai";
    --bs-font-ibm-sans: "IBM Plex Sans Thai";
    --bs-font-sarabun: "Sarabun";
    --bs-body-font-family: var(--bs-font-ibm-sans);
    --bs-primary-text-emphasis: #0b5f2d;
    --bs-link-color: #252F4A;
    --bs-link-color-rgb: 37, 47, 74;
    --bs-link-hover-color: #071437;
    --bs-link-hover-color-rgb: 7, 20, 55;
}

[data-bs-theme=dark] {
    --bs-text-muted: #636674;
    --bs-gray-100: #1B1C22;
    --bs-gray-100-rgb: 27, 28, 34;
    --bs-gray-200: #26272F;
    --bs-gray-200-rgb: 38, 39, 47;
    --bs-gray-300: #363843;
    --bs-gray-300-rgb: 54, 56, 67;
    --bs-gray-400: #464852;
    --bs-gray-400-rgb: 70, 72, 82;
    --bs-gray-500: #636674;
    --bs-gray-500-rgb: 99, 102, 116;
    --bs-gray-600: #808290;
    --bs-gray-600-rgb: 128, 130, 144;
    --bs-gray-700: #9A9CAE;
    --bs-gray-700-rgb: 154, 156, 174;
    --bs-gray-800: #B5B7C8;
    --bs-gray-800-rgb: 181, 183, 200;
    --bs-gray-900: #F5F5F5;
    --bs-gray-900-rgb: 245, 245, 245;
    --bs-light: #1B1C22;
    --bs-primary: #cb0808;
    --bs-secondary: #363843;
    --bs-success: #00A261;
    --bs-info: #006AE6;
    --bs-warning: #C59A00;
    --bs-danger: #E42855;
    --bs-dark: #272A34;
    --bs-primary-active: #a10000;
    --bs-secondary-active: #464852;
    --bs-light-active: #1F212A;
    --bs-success-active: #01BF73;
    --bs-info-active: #107EFF;
    --bs-warning-active: #D9AA00;
    --bs-danger-active: #FF3767;
    --bs-dark-active: #2D2F39;
    --bs-primary-light: #272134;
    --bs-secondary-light: #363843;
    --bs-success-light: #1F212A;
    --bs-info-light: #172331;
    --bs-warning-light: #242320;
    --bs-danger-light: #302024;
    --bs-dark-light: #1E2027;
    --bs-light-light: #1F212A;
    --bs-primary-inverse: #ffffff;
    --bs-secondary-inverse: #ffffff;
    --bs-light-inverse: #808290;
    --bs-success-inverse: #ffffff;
    --bs-info-inverse: #ffffff;
    --bs-warning-inverse: #ffffff;
    --bs-danger-inverse: #ffffff;
    --bs-dark-inverse: #ffffff;
    --bs-primary-clarity: rgba(136, 63, 255, 0.2);
    --bs-secondary-clarity: rgba(54, 56, 67, 0.2);
    --bs-success-clarity: rgba(0, 162, 97, 0.2);
    --bs-info-clarity: rgba(0, 106, 230, 0.2);
    --bs-warning-clarity: rgba(197, 154, 0, 0.2);
    --bs-danger-clarity: rgba(228, 40, 85, 0.2);
    --bs-dark-clarity: rgba(39, 42, 52, 0.2);
    --bs-light-clarity: rgba(31, 33, 42, 0.2);
    --bs-light-rgb: 27, 28, 34;
    --bs-primary-rgb: 109, 0, 0;
    --bs-secondary-rgb: 54, 56, 67;
    --bs-success-rgb: 0, 162, 97;
    --bs-info-rgb: 0, 106, 230;
    --bs-warning-rgb: 197, 154, 0;
    --bs-danger-rgb: 228, 40, 85;
    --bs-dark-rgb: 39, 42, 52;
    --bs-text-white: #ffffff;
    --bs-text-primary: #cb0808;
    --bs-text-secondary: #363843;
    --bs-text-light: #1B1C22;
    --bs-text-success: #00A261;
    --bs-text-info: #006AE6;
    --bs-text-warning: #C59A00;
    --bs-text-danger: #E42855;
    --bs-text-dark: #272A34;
    --bs-text-muted: #636674;
    --bs-text-gray-100: #1B1C22;
    --bs-text-gray-200: #26272F;
    --bs-text-gray-300: #363843;
    --bs-text-gray-400: #464852;
    --bs-text-gray-500: #636674;
    --bs-text-gray-600: #808290;
    --bs-text-gray-700: #9A9CAE;
    --bs-text-gray-800: #B5B7C8;
    --bs-text-gray-900: #F5F5F5;
    --bs-border-color: #26272F;
    --bs-border-dashed-color: #363843;
    --bs-component-active-color: #ffffff;
    --bs-component-active-bg: #cb0808;
    --bs-component-hover-color: #cb0808;
    --bs-component-hover-bg: #1B1C22;
    --bs-component-checked-color: #ffffff;
    --bs-component-checked-bg: #cb0808;
    --bs-box-shadow-xs: 0 0.1rem 0.75rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow-sm: 0 0.1rem 1rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 2rem 1rem rgba(0, 0, 0, 0.1);
    --bs-input-color: var(--bs-gray-700);
    --bs-input-bg: var(--bs-body-bg);
    --bs-input-solid-color: var(--bs-gray-700);
    --bs-input-solid-bg: var(--bs-gray-100);
    --bs-input-solid-bg-focus: var(--bs-gray-200);
    --bs-input-solid-placeholder-color: var(--bs-gray-500);
    --bs-tooltip-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    --bs-root-card-box-shadow: none;
    --bs-root-card-border-color: #1E2027;
    --bs-table-striped-bg: rgba(27, 28, 34, 0.75);
    --bs-table-loading-message-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    --bs-dropdown-bg: #1C1D22;
    --bs-dropdown-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    --bs-code-bg: #2b2b40;
    --bs-code-shadow: rgba(0, 0, 0, 0.08) 0px 3px 9px 0px;
    --bs-code-border-color: transparent;
    --bs-code-color: #b93993;
    --bs-symbol-label-color: #B5B7C8;
    --bs-symbol-label-bg: #1B1C22;
    --bs-symbol-border-color: rgba(255, 255, 255, 0.5);
    --bs-bullet-bg-color: #464852;
    --bs-scrolltop-opacity: 0;
    --bs-scrolltop-opacity-on: 0.3;
    --bs-scrolltop-opacity-hover: 1;
    --bs-scrolltop-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    --bs-scrolltop-bg-color: #cb0808;
    --bs-scrolltop-bg-color-hover: #cb0808;
    --bs-scrolltop-icon-color: #ffffff;
    --bs-scrolltop-icon-color-hover: #ffffff;
    --bs-drawer-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    --bs-drawer-bg-color: #1C1D22;
    --bs-drawer-overlay-bg-color: rgba(0, 0, 0, 0.4);
    --bs-menu-dropdown-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    --bs-menu-dropdown-bg-color: #1C1D22;
    --bs-menu-heading-color: #636674;
    --bs-menu-link-color-hover: #cb0808;
    --bs-menu-link-color-show: #cb0808;
    --bs-menu-link-color-here: #cb0808;
    --bs-menu-link-color-active: #cb0808;
    --bs-menu-link-bg-color-hover: #1B1C22;
    --bs-menu-link-bg-color-show: #1B1C22;
    --bs-menu-link-bg-color-here: #1B1C22;
    --bs-menu-link-bg-color-active: #1B1C22;
    --bs-scrollbar-color: #26272F;
    --bs-scrollbar-hover-color: #363843;
    --bs-overlay-bg: rgba(255, 255, 255, 0.05);
    --bs-blockui-overlay-bg: rgba(255, 255, 255, 0.05);
    --bs-rating-color-default: #464852;
    --bs-rating-color-active: #FFAD0F;
    --bs-ribbon-label-box-shadow: 0px -1px 5px 0px rgba(255, 255, 255, 0.1);
    --bs-ribbon-label-bg: #cb0808;
    --bs-ribbon-label-border-color: #4312ab;
    --bs-ribbon-clip-bg: #F9F9F9;
    --bs-engage-btn-bg: #26272F;
    --bs-engage-btn-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    --bs-engage-btn-border-color: #26272F;
    --bs-engage-btn-color: #B5B7C8;
    --bs-engage-btn-icon-color: #808290;
    --bs-engage-btn-color-active: #B5B7C8;
    --bs-font-noto-sans: "NotoSansThai";
    --bs-font-ibm-sans: "IBM Plex Sans Thai";
    --bs-font-sarabun: "Sarabun";
    --bs-body-font-family: var(--bs-font-ibm-sans);
}
[data-bs-theme=light] {
    --bs-app-bg-color: #ffffff;
    --bs-header-link-bg-color: linear-gradient(180deg, #854BFF 0%, #5C23D2 100%);
}

body, html {
    font-family: var(--bs-body-font-family);
    letter-spacing: 0.5px;
    line-height: normal !important;
}
a {
    color: var(--bs-body-color);
    text-decoration: none;
}
.h1, h1 {
    font-size: calc(1.75rem + .6vw);
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3.75rem;
    }
}

.app-header {
    padding-top: 6px;
    border-bottom: 1px solid var(--bs-gray-300);
}
.app-header:before{
    position: absolute;
    width: 100%;
    height: 7px;
    background-color: var(--bs-primary);
    content: '';
    top: 0;
}
.header-logo{
    position: relative;
    top: 4px;
}
.header-logo img  {
    border-radius: 50%;
}
[data-bs-theme=light] .header-logo img  {
    border: 4px solid var(--bs-white);
    border-radius: 50%;
    box-shadow: 0px 0px 0px 1px #cb0808;
}
[data-bs-theme=dark] .header-logo img  {
    border: 4px solid var(--bs-gray-700);
    border-radius: 50%;
}

@media (min-width: 992px) {
    .app-header {
        padding-top: 6px;
        z-index: 9;
    }
    .app-header-menu .menu>.menu-item.here>.menu-link {
        color: var(--bs-primary) !important;
    }
    .app-header-menu .menu>.menu-item.here>.menu-link .menu-title {
        color: var(--bs-primary);
    }
    .app-header-menu .menu>.menu-item.here>.menu-link {
        background: none !important;
    }
    .header-logo{
        top: 4px;
    }
}
@media (max-width: 991.98px) {
    :root {
        --bs-app-header-height: 50px;
    }
}
@media (min-width: 992px) {
    :root {
        --bs-app-header-height: 75px;
        --bs-app-header-height-actual: 120px;
    }
    [data-kt-app-header-sticky=on] {
        --bs-app-header-height: 75px;
        --bs-app-header-height-actual: 120px;
    }
}
@media (min-width: 992px) {
    .app-header-menu .menu>.menu-item>.menu-link {
        width: auto;
        height: auto;
    }
}

.menu-state-gray-900 .menu-item .menu-link.active .menu-title {
    color: var(--bs-primary);
}
.menu-state-gray-900 .menu-item .menu-link.active .menu-icon, .menu-state-gray-900 .menu-item .menu-link.active .menu-icon .svg-icon, .menu-state-gray-900 .menu-item .menu-link.active .menu-icon i {
    color: var(--bs-primary);
}

.avatar{
    background-color: #ced4da;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 36px;
    height: 36px;
    /*overflow: hidden;*/
    position: relative;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #ced4da;
}
.avatar.avatar-square{
    border-radius: 12px;
}
.avatar.avatar-xs{
    width: 16px;
    height: 16px;
}
.avatar.avatar-sm{
    width: 24px;
    height: 24px;
}
.avatar.avatar-md{
    width: 48px;
    height: 48px;
}
.avatar.avatar-lg{
    width: 57px;
    height: 57px;
}
.avatar.avatar-xl{
    width: 84px;
    height: 84px;
}
.avatar.avatar-xxl{
    width: 120px;
    height: 120px;
}
.avatar.avatar-xxxl{
    width: 160px;
    height: 160px;
}

.avatar.avatar-xxxxl{
    width: 240px;
    height: 240px;
}

.avatar.avatar-xxxxxl{
    width: 300px;
    height: 300px;
}
.main-slide{
    position: relative;
    margin-bottom: 30px;
}
.main-slide .slide-controls{
    list-style: none;
    position: absolute;
    top: 40%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
    margin: 0;
}
.main-slide .slide-controls .prev,.main-slide .slide-controls .next{
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px;
    padding-bottom: 7px;
}
.main-slide .slide-controls .prev i,.main-slide .slide-controls .next i{
    color: rgba(255, 255, 255, 1);
}

.main-slide .tns-nav{
    display: flex;
    justify-content: center;
    /* padding: 30px 0; */
    z-index: 1000;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.main-slide .tns-nav button{
    width: 20px;
    height: 20px;
    border: none;
    margin: 0 3px;
    background-color: var(--bs-gray-300);
}
.main-slide .curve{
    background-image: url(../img/bg/slide.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100%;
    bottom: -3px;
    position: absolute;
    width: 100%;
}

.tns-nav > button.tns-nav-active {
    background-color: var(--bs-primary);
}
.nayok-slider{
    margin-top: 0;
}
.nayok-slider .pic{
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}
.nayok-slider .pic img{
    max-width: 100%;
    height: 350px;
}

@media (min-width: 768px) {
    .nayok-slider{
        /*margin-top: -50px;*/
    }
    .nayok-slider .pic img{
        height: auto;
    }
}

.section-vdo{
    background-image: url('../img/bg/vdo-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 200px 0;
}
.news-block{
    position: relative;
    overflow: hidden;
    display: block;
    transition: 0.8s;
    opacity: 1;
}
.news-block .pic{
    position: relative;
    overflow: hidden;
    width: 100%;
    background-image: url('../img/no-pic.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.news-block:hover{
    opacity: 1;
}

footer{
    background-color: #585858;
    background-image: url(../img/bg/bg-foot.jpg);
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: bottom center;
}

[data-bs-theme=dark] footer{
    background-color: #1a1a1a;
}

footer .sub-footer{
    background-color: var(--bs-primary-active);
}
.right-float{
    position: fixed;
    right: 5px;
    top: 50%;
}
.complaint{
    position: relative;
    width: 80px;
    height: 80px;
    background-color: var(--bs-primary);
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0px 2px 20px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--bs-white);
    /*opacity: 0.9;*/
    z-index: 10;
}

.complaint:hover{
    /*    width: 100px;
        height: 100px;*/
    /*    transition: 0.2s;
        opacity: 1;*/
    animation: pulse 0.5s infinite;
}

.complaint .plus{
    position: absolute;
    background-color: var(--bs-white);
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: 0.5s;
    box-shadow: 0px 2px 20px 4px rgba(0, 0, 0, 0.3);
}

.complaint:hover .plus{
    width: 43px;
    height: 43px;
    top: -11px;
    left: -11px;
}

.messenger{
    position: relative;
    width: 80px;
    height: 80px;
    background-color: var(--bs-white);
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0px 2px 20px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--bs-white);
    background-image: url("../img/messenger.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 79%;
    z-index: 11;
}
.messenger:hover{
    /*    width: 100px;
        height: 100px;
        transition: 0.2s;*/
    opacity: 1;
    animation: pulse 0.5s infinite;
}

.messenger.ita{
    background-image: url("../img/ITALogo.png");
}

@media (max-width: 992px) {
    .messenger{
        top: 65%;

    }
}
.section-service{
    background-image: url('../img/bg/service.png');
    background-repeat: no-repeat;
    background-attachment: initial;
    background-position: center bottom;
    background-size: contain;
}
.section-service .container{
    position: relative;

}
.section-service .nayok{
    margin-top: -5%;
}



@media (min-width: 768px) {
    .section-service{
        background-attachment: fixed;
        background-position: center bottom;
        background-size: cover;
    }
}

@media (max-width: 576px) {
    .section-service .nayok{
        margin-top: 10px;
    }
}

.result-block{

    position: relative;
    display: block;
    overflow: hidden;
    transition: 0.3s;
}

.result-block .title{
    position: relative;
    z-index: 2;
}

.result-block .img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: 0.3s;
}

.result-block .ita{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.result-block:hover .img{
    background-size: 120%;
}

.section-statistic{
    background-image: url("../img/bg/statistic.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0;
}
[data-bs-theme=dark] .section-statistic{
    background-image: url("../img/bg/statistic-dark.jpg");
}
.people{
    position: relative;
    height: 100%;
    background: rgba(203, 8, 8, 0.8);
}

[data-bs-theme=dark] .people{
    background: rgba(0, 0, 0, 0.8);
}
.people-block {
    position: relative;
    overflow: hidden;
    width: 50%;
    float: left;
    height: 50%;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px dotted var(--bs-light-light);
}
.people-block:hover {
    background: rgba(255, 255, 255, 0.1);
}
.people-block:nth-child(1),.people-block:nth-child(3) {
    border-right: 1px dotted var(--bs-light-light);
}
.people-block:nth-child(3),.people-block:nth-child(4) {
    border-bottom: 0;
}

.people-block .icon{
    padding: 15px;
    /*    padding-right: 30px;*/
    text-align: center;
}

.people-block .icon img{
    width: 100%;
    max-width: 70px;
}

.people-block .number{
    margin-bottom: -15px;
}

@media (max-width: 991px) {
    .people{
        padding: 0;
    }
    .people-block .icon{
        padding-right: 15px;
    }
    .people-block .icon img{
        max-width: 55px;
    }
}

@media (max-width: 768px) {
    .people{
        margin-bottom: 30px;
    }
}
.visit-count{
    padding-top: 30px;
    padding-bottom: 30px;
}
.visit-count .online span.status-dot{
    display: inline-block;
    width: 12px;        /* เพิ่มขนาดเล็กน้อยเพื่อให้แสงเรืองดูดีขึ้น */
    height: 12px;
    border-radius: 50%;
    background-color: #85ff00; /* สีเขียวสว่าง */
    margin-right: 8px;

    /* เรียกใช้ Animation */
    animation-name: light-blink;
    animation-duration: 1.5s;                 /* ความเร็วในการกระพริบ */
    animation-iteration-count: infinite;      /* วนซ้ำตลอดไป */
    animation-timing-function: ease-in-out;   /* รูปแบบการเปลี่ยนความเร็ว */

    /* สไตล์เริ่มต้นของแสงเรือง (เผื่อกรณี Animation โหลดไม่ทัน) */
    box-shadow: 0 0 5px #00FF41, 0 0 10px #00FF41, 0 0 15px #00FF41;
}

@keyframes light-blink {
    /* ช่วงที่สว่างที่สุด */
    0%, 100% {
        opacity: 1;
        /* สร้างแสงเรือง (Glow effect) ที่ชัดเจน */
        box-shadow: 0 0 5px #00FF41, 0 0 10px #00FF41, 0 0 15px #00FF41;
    }
    /* ช่วงที่หรี่ลง */
    50% {
        opacity: 0.6;
        /* แสงเรืองที่อ่อนลง */
        box-shadow: 0 0 3px #00FF41, 0 0 8px #00FF41;
    }
}


/**** ตัวอักษรสีทอง ****/

/* Keyframes for Natural Gold Shimmer Animation */
@keyframes naturalGoldShimmer {
    0% {
        background-position: -200% center;
    }
    50% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Enhanced Natural Gold Class */
.natural-gold-shimmer {
    /* Brighter Natural Gold Gradient */
    background-image: linear-gradient(
        110deg,
        #F7E98E,  /* Bright champagne gold */
        #FFFACD,  /* Lemon chiffon */
        #FFD700,  /* Pure gold */
        #F0E68C,  /* Khaki gold */
        #FFEF94,  /* Light golden yellow */
        #FFF8DC,  /* Cornsilk */
        #FFEAA7,  /* Warm golden */
        #FFE135,  /* Bright yellow gold */
        #F39C12,  /* Orange gold */
        #F7DC6F,  /* Soft gold */
        #FDEAA7,  /* Pale gold */
        #FFD700   /* Pure gold (repeat for smooth loop) */
        );

    /* Text clipping for gold effect */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;

    /* Fallback color */
    color: #FFD700;

    /* Enhanced background sizing for smoother animation */
    background-size: 300% auto;

    /* Natural shimmer animation */
    animation: naturalGoldShimmer 6s ease-in-out infinite;

    /* Enhanced typography */
    font-weight: 700;

    /* Natural depth with multiple shadows */
    /*    text-shadow:
            0 1px 2px rgba(255, 215, 0, 0.3),
            0 2px 4px rgba(255, 215, 0, 0.2),
            0 3px 6px rgba(255, 215, 0, 0.1),
            1px 1px 3px rgba(218, 165, 32, 0.4);*/
}

/* Variant: Subtle Gold (for smaller text) */
.subtle-gold-shimmer {
    background-image: linear-gradient(
        120deg,
        #F4E87C,  /* Soft gold */
        #FFF9E6,  /* Cream */
        #F1C40F,  /* Sunflower */
        #F8E71C,  /* Golden yellow */
        #FFE55C,  /* Light gold */
        #FFF3A0,  /* Pale yellow */
        #F4E87C   /* Soft gold (repeat) */
        );

    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: #F1C40F;

    background-size: 200% auto;
    animation: naturalGoldShimmer 8s ease-in-out infinite;
    font-weight: 600;

    /*    text-shadow:
            0 1px 2px rgba(241, 196, 15, 0.2),
            1px 1px 2px rgba(241, 196, 15, 0.3);*/
}

/* Variant: Luxury Gold (for headings) */
.luxury-gold-shimmer {
    background-image: linear-gradient(
        100deg,
        #D4AF37,  /* Classic gold */
        #FFE55C,  /* Bright gold */
        #F7E98E,  /* Champagne */
        #FFFACD,  /* Light cream */
        #FFD700,  /* Pure gold */
        #FFF8DC,  /* Cornsilk */
        #FFEF94,  /* Golden yellow */
        #F0E68C,  /* Khaki gold */
        #FFEAA7,  /* Warm golden */
        #D4AF37   /* Classic gold (repeat) */
        );

    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: #D4AF37;

    background-size: 350% auto;
    animation: naturalGoldShimmer 10s ease-in-out infinite;
    font-weight: 800;

    /* Luxury depth effect */
    /*    text-shadow:
            0 2px 4px rgba(212, 175, 55, 0.4),
            0 4px 8px rgba(212, 175, 55, 0.3),
            0 6px 12px rgba(212, 175, 55, 0.2),
            2px 2px 4px rgba(184, 134, 11, 0.5);*/
}
.inner-header{
    background-image: url('../img/bg/inner-header.png');
    background-repeat: no-repeat;
    background-attachment: initial;
    background-position: center bottom;
    background-size: cover;
    padding: 150px 0;
}
.inner-breadcrumb{
    padding: 30px 0;
}
.inner-body{
    padding: 30px 0;
    padding-top: 0px;
    margin-bottom: 30px;
}
.text-editer {
    font-family: var(--bs-font-sarabun) !important;
    line-height: 2;
    max-width: 900px;
    margin: auto;
}

.text-editer h1{
    font-size: 16px;
}
.text-editer h2{
    font-size: 14px;
}
.text-editer img{
    max-width: 100% !important;
}

.image-control{
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.image-control:not(.upload):hover{
    box-shadow: var(--bs-box-shadow) !important;
}
.image-control .pic{
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 30vh;
    background-image: url("../img/no-image/upload-image.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*.image-control .pic img{
    max-width: 100%;
    max-height: 30vh;
    object-fit: cover;
}*/
.image-control .control{

}
.image-control.upload{
    height: 100%;
    min-height: 50px;
    background-image: url("../img/no-image/upload-image.png");
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bs-text-light);
    background-size: 15%;
    transition: 0.3s;
    cursor: pointer;
    display: block;
}
@media (min-width: 992px) {
    .image-control.upload{
        min-height: 200px;
    }
}
.image-control.upload:hover{
    background-color: var(--bs-light-active);
}

[data-bs-theme=dark] .image-control.upload{
    background-image: url("../img/no-image/upload-image-light.png");
}

.nav-inner-content{
    background-color: var(--bs-gray-100);
    padding: 10px 15px;
    padding-bottom: 30px;
    border-radius: 15px;
    border: 2px solid transparent;

}
.nav-inner-content li.nav-link{
    position: relative;
    border-bottom: 1px solid transparent; /* Set a transparent solid border as a fallback */
    border-image: linear-gradient(to right, #FFD700, #DAA520, #B8860B) 1;
    transition: 0.5s;
}
.nav-inner-content li.nav-link:before{
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0;
    bottom: -4px;
    background-color: #FFD700;
    /* border-radius: 50%; */
    rotate: 45deg;
}
.nav-inner-content li.nav-link:after{
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    right: 0;
    bottom: -4px;
    background-color: #B8860B;
    /*    border-radius: 50%;*/
    rotate: -45deg;
}
.nav-inner-content li.nav-link > a{
    /*color: var(--bs-white);*/
}
.nav-inner-content li.nav-link:last-child{
    /*border: none;*/
}
.nav-inner-content li.nav-link:hover{
    /*background-color: var(--bs-primary-active);*/

}
.nav-inner-content li.nav-link:hover > a{
    color: var(--bs-primary) !important;
}
.nav-inner-content li.nav-link.active{
    /*background-color: var(--bs-primary-active);*/
    /*font-weight: bold;*/

}
.nav-inner-content li.nav-link.active > a{
    color: var(--bs-primary);
}

.nav-inner-content.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #ffffff;
    --bs-nav-pills-link-active-bg: var(--bs-primary);
}

.tab-content{
    width: -webkit-fill-available;
}

.list-block{
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-block .list-content{
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: var(--bs-body-bg);
    border-bottom: 1px dotted var(--bs-gray-500);
    transition: 0.3s;
}
.list-block .list-content:hover{
    box-shadow: var(--bs-box-shadow) !important;
}

.ebook-shelf{
    background-image: url(../img/bg/shelf-bg.png);
    background-size: 94% 333px;
    background-repeat: repeat-y;
    background-position: center top;
}
.ebook-shelf ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.ebook-shelf .ebook-content{
    width: 100%;
    display: block;
    /*overflow: hidden;*/
    height: 230px;
    position: relative;
    text-align: center;
    margin-bottom: 92px;
}
.ebook-shelf .ebook-content img{
    object-fit: cover;
    width: auto;
    height: 100%;
    box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.ebook-shelf .ebook-content img:hover{
    /*box-shadow: var(--bs-box-shadow) !important;*/
    box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.5);
}
.section-news{
    padding: 150px 0;
}
.section-result{
    padding: 100px 0;
}
@media (max-width: 991px) {
    .section-vdo {
        padding: 50px 0;
    }
    .section-news{
        padding: 50px 0;
    }
    .section-result{
        padding: 50px 0;
    }
}

.form-check-label {
    color: var(--bs-gray-800);
}

.form-check-input:checked {
    background-color: #2196F3;
    border-color: #1983d7;
}

.has-error.has-danger .form-control:invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(1em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.has-error.has-danger .form-control{
    border-color: #E91E63;
}

.help-block.with-errors {
    color: #E91E63;
    margin-top: 5px;
}
.btn{
    white-space: nowrap;
}

.answer-block{
    padding-left: 30px;
}

.section-landmark{
    padding: 0;
    background-color: #a4e3ff;
}
.section-landmark .landmark-wrapper h1{
    position: absolute;
    top: 38px;
    z-index: 2;
}
.section-landmark .landmark-wrapper{
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-landmark .landmark-wrapper .main{
    max-width: 100%;
}
.section-landmark .landmark-wrapper .landmark{
    position: absolute;
    animation: float 3s ease-in-out infinite; /* กำหนดเวลาลอย 3 วินาที */
    transition: 0.3s;
}
.section-landmark .landmark-wrapper .landmark:hover{
    animation: float 1s ease-in-out infinite; /* กำหนดเวลาลอย 3 วินาที */
}
.section-landmark .landmark-wrapper .landmark:hover .pin img{
    width: 100%;
}
.section-landmark .landmark-wrapper .landmark .pin img{
    transition: 0.3s;
    width: 75%;
}

@media (max-width: 991px) {
    .section-landmark .landmark-wrapper .landmark .pin img{
        width: 38%;
    }
    .section-landmark .landmark-wrapper .landmark:hover .pin img{
        width: 50%;
    }
}
.section-landmark .landmark-wrapper .landmark .name{
    position: absolute;
    background-color: #fff;
    border-radius: 15px;
    padding: 3px 5px;
    line-height: 1;
    text-align: center;
    top: -20px;
    white-space: nowrap;
    left: 0;
    opacity: 0;
    transition: 0.2s;
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-primary-text-emphasis);
}
.section-landmark .landmark-wrapper .landmark:hover .name{
    top: -60px;
    opacity: 1;
}
.section-landmark .landmark-wrapper .landmark.landmark-01{
    left: 38%;
    top: 26%;
    animation-delay: 0.2s;
}
.section-landmark .landmark-wrapper .landmark.landmark-02{
    left: 23%;
    top: 18%;
    animation-delay: 1.5s;
}
.section-landmark .landmark-wrapper .landmark.landmark-03{
    left: 28%;
    top: 30%;
    animation-delay: 0.7s;
}
.section-landmark .landmark-wrapper .landmark.landmark-04{
    left: 40%;
    top: 47%;
    animation-delay: 0.4s;
}
.section-landmark .landmark-wrapper .landmark.landmark-05{
    left: 10%;
    top: 29%;
    animation-delay: 0.1s;
}
.section-landmark .landmark-wrapper .landmark.landmark-06{
    right: 28%;
    top: 42%;
    animation-delay: 1.2s;
}
.section-landmark .landmark-wrapper .landmark.landmark-07{
    bottom: 21%;
    left: 26%;
    animation-delay: 1.0s;
}
.section-landmark .landmark-wrapper .landmark.landmark-08{
    top: 26%;
    left: 50%;
    animation-delay: 0.9s;
}
.section-landmark .landmark-wrapper .landmark.landmark-09{
    top: 24%;
    left: 43%;
    animation-delay: 0.6s;
}
@media (max-width: 991px) {
    .section-landmark{
        padding: 50px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px); /* ปรับตัวเลขนี้เพื่อให้ลอยสูงหรือต่ำลง */
    }
}

@keyframes float-short {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px); /* ปรับตัวเลขนี้เพื่อให้ลอยสูงหรือต่ำลง */
    }
}

/* แสงแดด */
.sun-rays {
    position: absolute;
    top: 5%;
    right: 13%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 150, 1) 0%, rgba(255, 255, 150, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: sunGlow 5s ease-in-out infinite alternate;
    z-index: 0;
}

.sun-rays::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 200, 0.5) 0%, rgba(255, 255, 200, 0) 60%);
    border-radius: 50%;
    filter: blur(15px);
    animation: sunGlowAlt 7s ease-in-out infinite alternate;
}

@keyframes sunGlowAlt {
    0% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

@keyframes sunGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* เมฆ */
.cloud-layer {
    position: absolute;
    animation: float 3s linear infinite; /* เคลื่อนที่ช้าๆ */
    width: 13%;
}

/* กำหนดตำแหน่งและแอนิเมชันของเมฆแต่ละก้อน */
.cloud-1 {
    width: 15%;
    top: 8%;
    left: 15%;
    transform: scale(0.8);
    animation-delay: 2s;
}

.cloud-2 {
    top: 19%;
    right: 10%;
    transform: scale(1.2);
    opacity: 0.7;
    animation-delay: 15s;
}

.cloud-3 {
    top: 19%;
    left: 0%;
    transform: scale(0.7);
    opacity: 0.5;
    animation-delay: 8s;
}

.cloud-4 {
    width: 10%;
    top: 10%;
    left: 50%;
    transform: scale(0.7);
    opacity: 0.9;
    animation-delay: 8s;
}

.cloud-5 {
    width: 7%;
    top: 5%;
    left: 28%;
    transform: scale(0.6);
    opacity: 0.9;
    animation-delay: 8s;
}

@keyframes moveClouds {
    0% {
        transform: translateX(0) scaleX(1);
    }
    100% {
        transform: translateX(calc(100vw + 100%)) scaleX(1);
    } /* เคลื่อนที่ออกไปนอกจอขวา */
}

.section-gmap iframe{
    width: 100%;
    min-height: 550px;
    margin: 0;
    padding: 0;
    margin-bottom: -7px;
}