:root{
	--primary:#081B36;
	--secondary:#0D2139;
    --light:#D4D9DC;
    --lightwhite: #F1F3F4;
    --galaxygold: #BA9866;
    --galaxygold-dark: #927135;
    --text:#w;
	--dark:#000000;
    --silvermetallic: #8D9090;
    --btnoutlinehoverbg: #2D3542;
    --lightblue: #394661;
    --darkblue: #003A8C;
    --bodybg: #061428;
    --white: #FFF;
    --offwhite: #FBFBFC;
    --mediumgray: #777777;
    --mediumblue: #101D31;
    --deep-blue: #2E3A4A;
    --dark-gray: #717373;
    --dirty-gray: #96A3BA;
    --secondarygradient: linear-gradient(180deg, rgba(13, 33, 57, 0.4) 0%, rgba(13, 33, 57, 0.6) 15%, rgba(13, 33, 57, 0.9) 30%, #0D2139 45%, #0D2139 100%);
    --font1: "Nunito Sans", "Noto Sans Thai";
}
body {
    margin: 0;
    background-color: var(--bodybg);
    font-family: var(--font1);
    color: var(--white);
    font-weight: 300;
    font-size: 20px;
    line-height: 140%;
    overflow-x: hidden;
}
#scrolltop {
    position: absolute;
    left: 0;
    top: 0;
}
a {
    color: var(--white);
    text-decoration: none !important;
    transition: all 0.5s;
}
a:hover {
    color:var(--dark);
    text-decoration: none;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,h2,h3,h4,h5,h6,.h7,.h10,.h11,.h12 {
    line-height: 140%;
    font-weight: 300;
    color: var(--white);
    font-family: var(--font1);
}
.h8,.h9 {
    line-height: 140%;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font1);
}
h1 {
    font-size: 80px;
}
h2 {
    font-size: 40px;
}
h3 {
    font-size: 34px;
}
h4 {
    font-size: 32px;
}
h5 {
    font-size: 32px;
    font-weight: 400;
}
h6 {
    font-size: 26px;
}
.h7 {
    font-size: 24px;
}
.h8 {
    font-size: 20px;
}
.h9 {
    font-size: 18px;
}
.h10 {
    font-size: 16px;
}
.h11 {
    font-size: 14px;
}
.h12 {
    font-size: 12px;
}
.fs-12 {
    font-size: 12px;
}
.fs-20 {
    font-size: 20px;
}
.fs-24 {
    font-size: 24px;
}
.fs-22 {
    font-size: 22px;
}
.fs-26 {
    font-size: 26px;
}
.fs-28 {
    font-size: 28px;
}
.fs-32 {
    font-size: 32px;
}
.fs-46 {
    font-size: 46px;
}
.fw-100 {
    font-weight: 100;
}
.fw-300 {
    font-weight: 300;
}
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
html b,
html strong {
    font-weight: 600;
}
p:last-child {
    margin-bottom: 0;
}
::selection {
    color: var(--white);
    background: var(--primary);
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
}
html .container {
    width: 1250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}
html .container-xl {
    width: 1370px;
}
html .g-5,
html .gx-5,
html .g-lg-5,
html .gx-lg-5 {
    --bs-gutter-x: 4rem;
}
section {
    background-color: var(--bodybg);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}
html .section-2xpt {
    padding-top: 160px;
}
html .section-2xpb {
    padding-bottom: 160px;
}
html .btn {
    background: transparent;
    border-radius: 0;
    padding: 0 30px;
    line-height: 46px;
    min-width: 0;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid var(--white);
    color: var(--white);
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-block;
    min-width: 180px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}
html .btn:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}
html .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
html .btn-primary:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
html .btn-after {
    padding: 0;
    line-height: 50px;
    color: var(--primary);
    background: transparent !important;
    border: 0;
    min-width: 0;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
html .btn-after:hover {
    color: var(--primary);
}
html .btn-after:after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    transition: all 0.4s;
}
html .btn-after:hover:after {
    width: 100%;
}
html .btn-after-light {
    color: var(--white);
}
html .btn-after-light:hover {
    color: var(--white);
}
html .btn-after-light:after {
    background: var(--white);
}
html .btn-after-text {
    color: var(--text);
}
html .btn-after-text:hover {
    color: var(--text);
}
html .btn-after-text:after {
    background: var(--text);
}
html .btn-after.fs-14 {
    font-size: 14px;
}
html .btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}
html .btn-outline:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}
html .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
html .btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
html .btn-outline-primary:disabled {
    border-color: var(--primary);
    color: var(--primary);
}
html .btn-sm {
    line-height: 42px;
    font-size: 14px;
}
html .btn-light {
    border-color: var(--light);
    color: var(--light);
}
html .btn-light:hover {
    background: var(--light);
    border-color: var(--light);
    color: var(--primary);
}
html .btn-light.disabled {
    color: var(--silvermetallic);
}
html .btn-s-light {
    color: var(--white);
    border-color: var(--white);
}
html .btn-s-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}
html .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}
html .btn-link {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px;
    transition: all 0.4s;
}
html .btn-link:hover {
    color: var(--galaxygold);
}
html .btn-link-dark-blue {
    color: var(--bodybg);
}
html .btn-link-dark-blue:hover {
    color: var(--galaxygold-dark);
}
html .btn-link[disabled] {
    opacity: 0.65;
    pointer-events: none;
}
html .without-underline {
    text-decoration: none !important;
}
html .btn:active {
    background: transparent !important;
    color: inherit !important;
}
html .btn:focus-visible {
    box-shadow: none;
    border-color: inherit;
    color: inherit;
    background-color: transparent;
}
.title {
    margin-bottom: 20px;
}
.title h2,
.innerbanner h1 {
    line-height: 126%;
    color: var(--lightwhite);
    margin-bottom: 0;
}
/* Header Css */
header {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgb(212 217 220 / 20%);
    transition: all 0.5s;
    padding: 25px 0;
}
.sticky header {
    background: var(--bodybg);
    padding: 16px 0;
}
.logo a {
    display: block;
    height: 40px;
}
.logo a img {
    display: block;
    height: 100%;
}
.login-dropdown .dropdown-toggle::after {
    display: none;
}
.login-dropdown .dropdown-toggle {
    font-family: var(--font1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.login-dropdown .dropdown-toggle svg {
    transition: all 0.4s;
}
.login-dropdown .dropdown-toggle.show svg {
    transform: scaleY(-1);
}
.login-dropdown .dropdown-menu {
    right: 32px;
}
.login-dropdown .dropdown-menu {
    top: 10px !important;
    right: 32px !important;
    left: auto !important;
    width: 130px;
    min-width: 0;
    border: 1px solid var(--light);
    border-radius: 0;
    padding: 0;
}
.login-dropdown .dropdown-menu .dropdown-item {
    font-family: var(--font1);
    color: var(--dark);
    padding: 0 16px;
    line-height: 46px;
    background: var(--white);
    transition: all 0.4s;
}
.login-dropdown .dropdown-menu .dropdown-item.active {
    background: rgba(212, 217, 220, 0.5);
    font-weight: 500;
}
.login-dropdown .dropdown-menu .dropdown-item:hover {
    background: rgba(212, 217, 220, 0.5);
}

/* announcementcarousel */
.announcementbar {
    height: 52px;
    background: #BBCCE9;
    width: 100%;
    transition: all 0.5s;
    display: flex;
    align-items: center;
}
.announcementbar.hide {
    height: 0px;
    overflow: hidden;
    padding: 0;
}
.announcementbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.announcementcarousel .slick {
    padding-left: 22px;
}
.announcementcarousel .slick-arrow {
    display: none !important;
}
.announcementbar .closeicon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    padding: 4px;
    color: var(--bodybg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: static;
    transition: all 0.5s;
}
.announcementcarousel .text {
    display: flex;
    gap: 4px;
}
.announcementcarousel p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(100% - 80px);
    text-overflow: ellipsis;
    line-height: 150%;
    font-weight: 300;
    color: var(--bodybg);
}
.announcementcarousel a {
    color: var(--bodybg);
    line-height: 150%;
    font-weight: 300;
}
.announcementcarousel a:hover {
    color: var(--galaxygold);
}
.announcementcarousel ul.slick-dots {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.announcementcarousel ul.slick-dots li {
    display: flex;
}
.announcementcarousel ul.slick-dots li button {
    width: 6px;
    height: 6px;
    border: 0;
    padding: 0;
    background: var(--bodybg);
    opacity: 0.5;
    border-radius: 50px;
    font-size: 0;
    transition: all 0.5s;
}
.announcementcarousel ul.slick-dots li.slick-active button {
    opacity: 1;
}
html .slick-vertical .slick-slide {
    border: 0 !important;
}

/* Footer css */

footer {
    padding: 60px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    z-index: 9;
}
.space40 {
    --bs-gutter-x: 40px;
}
.space60 {
    --bs-gutter-x: 60px;
}
.footer-top {
    padding-bottom: 48px;
}
.footer-top > .row {
    --bs-gutter-x: 24px;
}
.footer-top .logo {
    margin-bottom: 48px;
}
.footer-top .logo a {
    width: 112px;
    height: auto;
}
.footer-top .logo a picture {
    display: block;
    height: 100%;
}
.footer-top .logo a img {
    height: auto;
}
.footer-top .footer-quick-links {
    padding-left: 56px;
}
.footer-top .links ul li {
    margin-bottom: 24px;
    line-height: 100%;
}
.footer-top .links ul li:last-child {
    margin-bottom: 0;
}
.footer-top ul a {
    line-height: 150%;
    display: inline-block;
    position: relative;
    color: var(--white);
    font-weight: 500;
}
.footer-top ul .active a,
.footer-top ul a:hover,
.footer-top ul a:focus-visible {
    color: var(--galaxygold);
    outline: 0;
}
.link-title {
    font-family: var(--font1);
    color: var(--silvermetallic);
    margin-bottom: 20px;
    font-weight: 400;
}
.socialicon {
    margin-top: 32px;
}
.socialicon ul {
    display: flex;
    gap: 20px;
}
.socialicon ul li {
    margin: 0;
}
.socialicon ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--white);
}
.socialicon ul li a:after {
    display: none;
}
.footer-top .h11,
html .socialicon .h11 {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 170%;
    letter-spacing: 0.02em;
}
.footer-top .form-group {
    position: relative;
}
.footer-top .form-group .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    pointer-events: none;
}
.footer-center {
    padding: 16px 0 24px;
    border-top: 1px solid var(--deep-blue);
}
.footer-center p {
    color: var(--light);
    margin-bottom: 20px;
    line-height: 143%;
}
.footer-center p:last-child {
    margin-bottom: 0;
}
.footer-center p a {
    color: inherit;
    text-decoration: underline !important;
}
.footer-center p a:hover {
    color: var(--galaxygold);
}
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--deep-blue);
}
.footer-bottom ul {
    display: flex;
    gap: 32px;
}
.footer-bottom p,
.footer-bottom ul li .h11 {
    font-weight: 300;
    color: var(--light);
    display: block;
    line-height: 143%;
}
.footer-bottom ul li .h11 {
    color: var(--white);
    text-decoration: underline !important;
}
.footer-bottom ul li a:hover {
    color: var(--galaxygold);
}
.scrollToTop {
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: var(--white);
    border: 1px solid var(--white);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 99;
    right: 20px;
    bottom: 20px;
    transition: all 0.5s;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
}
.sticky .scrollToTop {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.scrollToTop:hover {
    color: var(--white);
}
.scrollToTop svg {
    transition: all 0.5s;
}
.scrollToTop:hover svg {
    transform: scale(1.2);
}
.section-wrapper {
    z-index: 9;
    position: relative;
    overflow: hidden;
}
html .country-footer {
    margin-top: 30px;
}
html .country-footer label {
    font-family: var(--font1);
}
html .country-footer .form-control {
    height: 48px;
    padding: 12px 0;
    color: var(--white);
    font-family: var(--font1);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--white);
    border-radius: 0;
}
html .country-footer .form-control::placeholder {
    color: var(--light);
    opacity: 0.5;
}
body:has(.select-outline .select2-container--open) footer {
    z-index: unset;
}

html .select2-container {
    width: auto !important;
    display: block;
}
html .select2-container * {
    outline: 0;
}
html .select2-container--default .select2-selection--single {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    height: 68px;
    padding: 22px 16px;
    color: var(--bodybg);
    font-family: var(--font1);
    font-size: 16px;
}
html .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    padding: 0;
}
html .select2-container--default .select2-selection--single .select2-selection__rendered > span {
    display: flex;
    align-items: center;
    gap: 12px;
}
html .select2-container--default .select2-selection--single .select2-selection__rendered > span img {
    width: 24px;
    min-width: 24px;
    height: 24px;
    object-fit: contain;
}
html .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,<svg width="9" height="6" viewBox="0 0 9 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.76523 5.23086C4.66523 5.23086 4.57148 5.21523 4.48398 5.18398C4.39648 5.15273 4.31523 5.09961 4.24023 5.02461L0.790234 1.57461C0.652734 1.43711 0.583984 1.26211 0.583984 1.04961C0.583984 0.837109 0.652734 0.662109 0.790234 0.524609C0.927734 0.387109 1.10273 0.318359 1.31523 0.318359C1.52773 0.318359 1.70273 0.387109 1.84023 0.524609L4.76523 3.44961L7.69023 0.524609C7.82773 0.387109 8.00273 0.318359 8.21523 0.318359C8.42773 0.318359 8.60273 0.387109 8.74023 0.524609C8.87773 0.662109 8.94648 0.837109 8.94648 1.04961C8.94648 1.26211 8.87773 1.43711 8.74023 1.57461L5.29023 5.02461C5.21523 5.09961 5.13398 5.15273 5.04648 5.18398C4.95898 5.21523 4.86523 5.23086 4.76523 5.23086Z" fill="%23333333"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.5s;
}
html .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(-180deg);
}
html .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}


html .select2-container--open [class*="select2-dropdown--"] {
    border: 0;
    border-radius: 0;
    background: transparent;
}
html .select2-container--default .select2-results>.select2-results__options {
    max-height: 250px;
    overflow-y: auto;
}
html .select2-results__option {
    font-size: 16px;
    transition: all 0.4s;
    color: var(--primary);
    font-family: var(--font1);
    background: var(--white);
    line-height: 140%;
    font-weight: 300;
    padding: 12px 15px;
    height: 48px;
    display: flex;
    align-items: center;
    margin-bottom: -1px;
}
html .select2-results__option > span {
    display: flex;
    align-items: center;
    gap: 12px;
}
html .select2-results__option > span img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
html .select2-container--default .select2-results__option--selected,
html .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #d9dbde;
    color: var(--primary);
}


/* Body css */
body:has(.loginpage)  {
    padding-top: 91px;
}
.loginsection {
    padding: 80px 0;
    /*background-image: url('../images/ThailandBackground.jpg');*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 91px);
    min-height: calc(100dvh - 91px);
    display: flex;
    align-items: center;
}
.formbox {
    padding: 40px;
    width: 504px;
    max-width: 100%;
    background: var(--bodybg);
}
.formbox * {
    font-family: var(--font1);
}
.formbox picture {
    display: block;
    width: 213px;
    margin-bottom: 32px;
}
html .form-field {
    position: relative;
    margin-bottom: 16px;
}
html .form-field:last-child {
    margin-bottom: 0;
}
html .form-field label {
    color: var(--bodybg);
    font-family: var(--font1);
    margin-bottom: 8px;
    display: block;
    cursor: auto;
}
html .form-control {
    height: 68px;
    border: 1px solid var(--offwhite);
    padding: 0 16px;
    border-radius: 0;
    background: var(--offwhite);
    color: var(--bodybg);
}
html .form-control::placeholder {
    color: var(--bodybg);
}
html .form-control:focus {
    box-shadow: none;
    border-color: var(--light);
}
html .form-submit {
    margin-top: 32px;
}
html .btn.disabled {
    background: transparent;
    border-color: var(--dark-gray);
    color: var(--silvermetallic);
    pointer-events: all;
    opacity: 1;
}
.separator {
    background: var(--light);
    height: 1px;
    margin: 32px 0;
}
.formbox .text p {
    font-family: var(--font1);
    color: var(--bodybg);
    font-weight: 300;
    margin-bottom: 12px;
}
.formbox .text p:last-child {
    margin-bottom: 0;
}
.formbox .text a {
    /*color: inherit;*/
}
.formbox .text a:hover {
    color: var(--galaxygold);
}
.backtologin {
    margin-bottom: 32px;
}
.backtologin a {
    color: var(--bodybg);
    font-family: var(--font1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.backtologin a:hover {
    color: var(--galaxygold);
}
.formbox :is(h2,p,ol,li) {
    color: var(--bodybg);
}
.formbox ol {
    padding-left: 20px;
}
html .invalid-feedback {
    position: absolute;
    top: 102%;
    margin: 0;
    color: var(--bs-form-invalid-color);
    font-family: var(--font1);
    font-weight: 300;
}
.formbox .text {
    margin-bottom: 32px;
}
.loginsection:before {
    content: "";
    background: linear-gradient(0deg, rgba(13, 33, 57, 0.16), rgba(13, 33, 57, 0.16)), linear-gradient(270deg, rgba(13, 33, 57, 0.4) 6.49%, rgba(13, 33, 57, 0) 49.38%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}
.form-field .m_number{
    color: var(--text);
}

.formbox-footer {
    background:#D9DBDE;
    color: #061428;
    font-size: 14px;
    width:504px;               /* เท่ากับ .formbox */
    max-width:100%;
    margin:0 auto;             /* จัดกลาง */
    padding:16px 40px;         /* กันตัวอักษรชิดขอบ */
}