@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&display=swap");
* {
    font-family: "IBM Plex Sans Thai", sans-serif;
}

body {
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background-color: #ececec;
}

body::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #686868;
}

.content {
    margin-top: 70px;
    padding-bottom: 30px;
}

.page-title {
    padding: 10px 0;
    font-weight: bold;
}

a {
    text-decoration: none;
}

.form-control:focus,
.form-select:focus,
.accordion-button:focus,
.form-check-input:focus {
    border-color: #000000;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.25);
}

.form-check-input:checked[type="checkbox"] {
    background-color: #082984;
    border-color: #000000;
}

.form-check-input {
    border-color: #000000;
}

.form-control {
    font-size: 16px;
}

.form-control::placeholder {
    color: #969696;
}
.accordion-button {
    background-color: #082984;
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 13px;
}

.accordion-button font {
    font-size: 20px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #000;
    color: white;
}

.accordion-button::after {
    background-image: url("/assets/img/icons/chevron.png") !important; /* Remove the background image */
}

.plus-minus .accordion-button::after {
    background-image: url("/assets/img/icons/plus.png") !important;
}

.plus-minus .accordion-button:not(.collapsed):after {
    background-image: url("/assets/img/icons/minus.png") !important;
}
.head_page {
    /* height: 360px; */
    width: 100%;
    height: 100%;
    min-height: 47vw;
}

.head_sub_page {
    max-height: 25vw;
    min-height: 25vw;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 992px) {
    .head_sub_page {
        max-height: unset;
    }
}

@media screen and (max-width: 992px) {
    .head_sub_page,
    .head_page {
        min-height: 712px;
    }
}

@media screen and (min-width: 993px) {
    .mw-text {
        max-width: 450px;
    }
}
tbody,
td,
tfoot,
th,
thead,
tr {
    vertical-align: middle;
    line-height: 1.5;
}

.navbar-brand {
    margin: 0;
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 0 0 20px 20px;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    -ms-border-radius: 0 0 20px 20px;
    -o-border-radius: 0 0 20px 20px;
}

.nav_menu {
    cursor: pointer;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
}

.nav_menu:not(.pe-none):hover {
    color: #0fd5ff !important;
    transform: translateY(-2px);
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}
.nav_menu.active,
.nav_menu:not(.pe-none):hover::after,
.nav_menu.active::after {
    color: #0fd5ff !important;
}

.dropdown-hover .nav_menu {
    position: relative;
    padding-right: 14px;
}

.dropdown-hover .nav_menu::after {
    content: "⯆";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #ffffff;
}

.custom_hover {
    text-decoration: none;
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
}

.custom_hover:hover {
    transform: translateY(-2px);
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}
.btn_lang {
    color: white;
    border: 2px solid #fff;
    /* min-width: 80px; */
    padding: 0;
    font-weight: 700;
    opacity: 0.5;
}

/* .btn_lang:hover {
    border-color: #0072c0;
} */

/* .btn_lang.active {
    border: 0;
    background: linear-gradient(64deg, #0072c0 15.65%, #10d5ff 83.38%);
} */

.btn_lang:hover {
    border-color: #0072c0;
    opacity: 1;
}

.btn_lang.active {
    border: 3px solid #0072c0;
    opacity: 1;
}

.btn_gradient {
    background: linear-gradient(64deg, #0072c0 15.65%, #10d5ff 83.38%);
    border: 0;
}

.btn,
.btn_hover,
.service_icon img {
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
}

.btn_hover:hover {
    transform: translate(-0.5px, -0.5px);
    box-shadow: 4px 4px 10px #00000050;
    -webkit-transform: translate(-0.5px, -0.5px);
    -moz-transform: translate(-0.5px, -0.5px);
    -ms-transform: translate(-0.5px, -0.5px);
    -o-transform: translate(-0.5px, -0.5px);
}

.service_icon:hover img {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
}

.text-main-site {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.text-gradient {
    font-weight: bold;
    font-size: 32px;
    background: -webkit-linear-gradient(64deg, #0072c0 15.65%, #10d5ff 83.38%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.text-blue1 {
    color: #10d5ff;
}

.bg-blue1 {
    background-color: #10d5ff;
}

.text-blue2 {
    color: #082984;
}

.bg-blue2 {
    background-color: #082984;
}

.radius-20 {
    border-radius: 20px;
}

.box-gradient {
    border-radius: 20px;
    background: linear-gradient(64deg, #0072c0 15.65%, #10d5ff 83.38%);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.box-shadow {
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    background: white;
    padding: 20px;
    padding-bottom: 0;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.box-shadow .box-img,
.box-img {
    border-radius: 50%;
    width: 80px;
    max-width: 100%;
    height: 80px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-img-future {
    width: 250px !important;
    height: 250px !important;
}

.box-img img {
    height: 100%;
    scale: 0.7;
}

.card_text-title {
    font-size: 21px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    background: -webkit-linear-gradient(64deg, #0072c0 15.65%, #10d5ff 83.38%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-text {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 102px;
    line-height: 1.6;
}

.badge-card {
    font-size: 14px;
    border-radius: 10rem;
    width: fit-content;
    color: #082984;
    border: 1px solid #082984 !important;
    padding: 1px 8px;
    margin-bottom: 0.75rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card_text-desc {
    text-align: center;
    /* min-height: 100px; */
    padding-top: 1rem;
    color: black;
}

.card_list_scroll .activity_list_block {
    max-width: calc(100% / 3);
}

.card_list_scroll {
    overflow-x: auto;
    padding-bottom: 20px;
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.card_list_scroll > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.card_list_scroll::-webkit-scrollbar {
    height: 8px;
}

.card_list_scroll::-webkit-scrollbar-track {
    background-color: #dadada;
}

.card_list_scroll::-webkit-scrollbar-thumb {
    background-color: #10d5ff;
    border-radius: 6px;
}

/* .card_list_scroll::-webkit-scrollbar-thumb:hover {
    background-color: #0072c0;
} */

@media (max-width: 767px) {
    .card_list_scroll .activity_list_block {
        max-width: 100%;
    }
}

.category_item {
    border: solid 1px #969696;
    color: #969696;
    background-color: #fff;
}
.category_item:hover {
    border: solid 1px #000;
    color: #000;
}

.category_item.active {
    background-color: #082984;
    color: #fff;
    pointer-events: none;
}
/* Chat Toggle Pop-up CSS */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #082984;
    color: #fff;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.651);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 45px;
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    -ms-border-radius: 45px;
    -o-border-radius: 45px;
}

.chat-button:hover {
    background-color: #000;
}

.chat-button:focus {
    outline: none;
}

.chat-widget {
    position: fixed;
    bottom: 76px;
    right: 20px;
    width: fit-content;
    height: fit-content;
    display: none;
    z-index: 999999;
}

.telephone-button {
    display: inline-flex;
    padding: 10px;
    background-color: #03e78b;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 45px;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    -ms-border-radius: 45px;
    -o-border-radius: 45px;
    font-size: 20px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    transition: 0.4s ease-in-out;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
}

.messenger-button {
    display: inline-flex;
    padding: 10px;
    background-color: #326ff3;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 45px;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    -ms-border-radius: 45px;
    -o-border-radius: 45px;
    font-size: 20px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    transition: 0.4s ease-in-out;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
}

/* Custom tooltip style */
.tooltip-inner {
    box-shadow: 1px 1px 10px rgba(40, 40, 40, 0.5);
}

.white-tooltip {
    --bs-tooltip-bg: white !important;
    --bs-tooltip-color: black !important;
}

/* Scroll-top Button CSS */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    /* background: #326ff3; */
    color: #fff;
    border-radius: 50%;
    box-shadow: 1px 1px 10px rgba(40, 40, 40, 0.5);
    transition: 0.4s ease-in-out;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

#scrollTopBtn.show {
    display: block;
}

#scrollTopBtn:hover,
.telephone-button:hover,
.messenger-button:hover {
    scale: 1.1;
    box-shadow: 2px 2px 10px rgba(40, 40, 40, 0.8);
}

/* Loading CSS */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.error {
    color: red;
}

.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    overflow: hidden !important;
    height: 100%;
}

.bg-sub-1 {
    background: url("/assets/img/home/sub-bg.png");
    background-repeat: no-repeat;
    background-size: auto;
}

.dataTables_length {
    padding: 0px 0px 10px 0px;
}
