h1,h2,h3,h4,h5{
    font-family: Muangthaicap-Modern-Medium;
}

.bg-main-gray {
    background-color: #f4f8fb;
}

.link-underline-primary {
    text-decoration: underline;
    text-decoration-color: #0098dc;
    color: #0098dc;
}

.bg-image-mtc-logo{
    background-image: url('../images/company/mtc/MTC-logo.png');
    background-repeat: no-repeat;
}

.form-label {
    color: black;
}

input[type="radio"] {
    transform: scale(1.5);
}

input[type="checkbox"] {
    transform: scale(1.5);
}

.label-border {
    position: absolute;
    margin: 0 0 0 13px;
    padding: 0 2px;
    background-color: #ffffff;
    border-radius: 5px;
    z-index: 5;
}

.input-border {
    margin: 13px 0 0 0;
    padding: 17px 15px 13px 15px;
    border-color: #c5c5c7;
}

.sticky-bar {
    position: sticky;
    top: 0;
}

.bottom-bar {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 6;
}

input.input-border::placeholder {
    color: #cecece;
}
textarea.input-border::placeholder {
    color: #cecece;
}
option:disabled[selected] {
    color: #cecece;
}

.box-shadow-primary {
    box-shadow: 0px 0px 8px -2px rgba(0, 162, 229, 0.9);
}

.bg-primary-subtle-opaticy {
    background-color: rgba(212, 241, 255, 0.7);
}

.box-shadow-gray {
    box-shadow: 0px 0px 8px -2px rgba(0, 0, 0, 0.1);
}

hr.hr-white {
    border-top: 1px solid #ffffff;
    opacity: 1;
    border-radius: 2px;
    margin: 7px 0px;
}

hr.hr-blue {
    border-top: 1px solid #00a2e5;
    opacity: 1;
    border-radius: 2px;
    margin: 5px 0px;
}
hr.hr-warning {
    border-top: 1px solid #fff03d;
    opacity: 1;
    border-radius: 2px;
    margin: 5px 0px;
}

.text-secondary-subtle {
    color: #e7e7e8;
}

.bg-gray-100 {
    background-color: #f5f5f6;
}
.bg-gray-200 {
    background-color: #dfdfe3;
}
.text-gray-200 {
    color: #dfdfe3;
}
.text-mtc-yellow {
    color: #fff03d;
}

.vh-10 {
    min-height: 10vh;
}
.vh-20 {
    min-height: 20vh;
}
.vh-30 {
    min-height: 30vh;
}
.vh-40 {
    min-height: 40vh;
}
.vh-50 {
    min-height: 50vh;
}
.vh-60 {
    min-height: 60vh;
}
.vh-70 {
    min-height: 70vh;
}
.vh-80 {
    min-height: 80vh;
}
.vh-90 {
    min-height: 90vh;
}
.mh-100vh {
    min-height: 100vh;
}

tr,
td {
    padding: 3px 0px;
}

.image-square-80 img {
    width: 120px;
    height: auto;
    object-fit: cover;
}
.image-square-100 img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.image-square-60 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.digit-group {
    input {
        width: 45px;
        height: 50px;
        background-color: #e7e7e8;
        border: none;
        border-radius: 5px;
        line-height: 50px;
        text-align: center;
        font-size: 25px;
        font-family: "Muangthaicap-Text-Medium";
        font-weight: 200;
        color: #00a2e5;
        margin: 0 1px;
    }

    input:focus {
        outline: none !important;
        border-color: #00a2e5;
    }
}

.digit-group_CMI {
    input {
        width: 45px;
        height: 50px;
        background-color: #e7e7e8;
        border: none;
        border-radius: 5px;
        line-height: 50px;
        text-align: center;
        font-size: 25px;
        font-family: "Muangthaicap-Text-Medium";
        font-weight: 200;
        color: #00a2e5;
        margin: 0 1px;
    }

    input:focus {
        outline: none !important;
        border-color: #00a2e5;
    }
}

.digit-group_Login {
    input {
        width: 45px;
        height: 50px;
        background-color: #e7e7e8;
        border: none;
        border-radius: 5px;
        line-height: 50px;
        text-align: center;
        font-size: 25px;
        font-family: "Muangthaicap-Text-Medium";
        font-weight: 200;
        color: #00a2e5;
        margin: 0 1px;
    }

    input:focus {
        outline: none !important;
        border-color: #00a2e5;
    }
}



.prompt {
    margin-bottom: 20px;
    font-size: 20px;
    color: #00a2e5;
}

.custom-input {
    position: relative;
    width: 100%;
}

.custom-botton-input {
    position: absolute;
    right: 7px;
    top: 7px;
    bottom: 7px;
    border: 0;
    outline: none;
    margin: 0;
    padding: 0 10px;
    z-index: 2;
}

.loader-div {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 999999;
}

.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #1e9fd9;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spinloader 1.5s linear infinite;
}

.loader-body {
    animation: spinlogo 1.5s linear infinite;
}

@keyframes spinloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinlogo {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

tr {
    vertical-align: text-top;
}

.chat-botton {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 99px;
    z-index: 5;
}

.chat-botton a {
    position: relative;
    border-radius: 90%;
}

.chat-botton a img {
    overflow: hidden;
    transform: scale(1.4);
}

.chat-botton:hover {
    transform: scale(1.1);
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); /* border: 5px solid; */
    outline: 3px solid white;
}

.chat-botton a:hover {
    transform: scale(1.1);
}

.chat-botton-register {
    bottom: 105px;
}

.menu-navbar-customs {
    position: relative; /* จำเป็นสำหรับ pseudo-element */
    height: fit-content;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    margin: 0px 3px;
    transition: background-color 0.3s ease-in-out; /* เพิ่มเอฟเฟกต์การเปลี่ยนสีพื้นหลัง */
}

.menu-navbar-customs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: calc(100% - 6px);
    height: 4px;
    background-color: #00A2E5;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.menu-navbar-customs:hover {
    color: #fff;
}

.menu-navbar-customs:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-navbar-mtc{
    background-color: #e9f5fb;
    color: #0098dc;
    border: 3px solid transparent;
    border-radius: 40px;
    font-size: medium;
}

.menu-navbar-mtc:hover{
    background-color: #003f58;
    color: #e9f5fb;
    border: 3px solid #e9f5fb;
    border-radius: 40px;
    font-size: medium;
}

.slide-border-primary {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #4f4f4f;
    margin: 0px 5px;
}

.slide-border-primary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a2e5;
    transition: width 0.3s ease;
}

.slide-border-primary:hover {
    color: #00a2e5;
    transition: width 0.3s ease;
}

.slide-border-primary:hover::after {
    width: 100%;
}

.bg-main {
    background-image: url("../images/background/web.jpg");
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 575.98px) {
    .bg-main {
        background-image: url("../images/background/mobile.jpg");
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .bg-main {
        background-image: url("../images/background/mobile.jpg");
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* Extra Extra Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

.divider {
    display: block;
    text-align: center;
    margin: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.divider .divider-text {
    position: relative;
    display: inline-block;
    font-size: .8rem;
    padding: 0rem 1rem;
}

.tooltip{
    font-size: 0.9rem;
 }

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

 .social-sidebar{
    height: 30px;
    border-radius: 50%;
    margin: 0 1px;
 }

.plan-logo-company {
    width: 50px;
    height: 50px;
    display: inline-block;
    flex: 0 0 48px;
}