﻿@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*@font-face {
    font-family: KrungthaiFast;
    font-weight: 700 900;
    src: url("./font/KrungthaiFast-Bold.otf") format("opentype");
}

@font-face {
    font-family: KrungthaiFast;
    font-weight: 500 600;
    src: url("./font/KrungthaiFast-Regular.otf") format("opentype");
}

@font-face {
    font-family: KrungthaiFast;
    font-weight: 100 400;
    src: url("./font/KrungthaiFast-Light.ttf") format("truetype");
}*/

html {
    /*font-size: 14px;*/
    font-size: 16px;
}

body {
    font-family: 'Prompt', sans-serif !important;
    color: #000000;
    /*font-weight: 400;*/
    font-weight: 300;
}
/*
    h2 35
    h3 28
    h4 20
    h5 18
*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 700;
}

h5, h6, .h5, .h6 {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 500;
    margin: 0;
}

.form-group label {
    /*font-weight: 400;*/
    font-weight: 300;
}

.form-control::placeholder {
    color: #BFBFBF;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: normal;
}

.form-control.error {
    border-color: #FF2829;
}

.theme-primary .main-header {
    background: #FFFFFF;
}

.main-header .navbar {
    border-bottom: 0;
    box-shadow: unset;
}

.main-footer {
    background-color: #000000;
    padding: 0;
    min-height: 10rem;
}

    .main-footer div:first-child {
        min-height: 8rem;
    }

    .main-footer div:last-child {
        min-height: 2rem;
    }

.shadow-lg {
    box-shadow: 0 0 0.5rem 0 #ddd !important;
}

label[id$="-error"] {
    color: #FF2829;
    /*font-weight: 400;*/
    font-weight: 300;
    font-size: 12px;
    padding-left: 5px;
    display: none;
}

    label[id$="-error"]::before {
        content: '*';
        margin-right: 5px;
    }

.btn {
    font-size: 1rem;
    font-weight: 500;
}

.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: unset;
}

.theme-primary .btn-primary {
    background-color: #000000;
    border-color: #000000;
    border-radius: 5rem;
    color: #ffffff;
    /*padding: 0.5rem 2rem;
    min-width: 10rem;*/
    padding: 0.5rem 2rem;
    min-width: 8rem;
    width: auto;
    /*max-width: 20rem;
    width: 100%;*/
}

    .theme-primary .btn-primary:disabled {
        background-color: #9C9C9C;
        border-color: #9C9C9C;
        cursor: not-allowed;
        pointer-events: all;
    }

    .theme-primary .btn-primary:hover, .theme-primary .btn-primary:active, .theme-primary .btn-primary:focus, .theme-primary .btn-primary.active {
        background-color: #000000 !important;
        border-color: #000000 !important;
        color: #ffffff !important;
    }

    .theme-primary .btn-primary.bo-primary {
        background-color: #FFFFFF;
        color: #000000;
        border-width: 1px;
    }

        .theme-primary .btn-primary.bo-primary:hover, .theme-primary .btn-primary.bo-primary:active, .theme-primary .btn-primary.bo-primary:focus, .theme-primary .btn-primary.bo-primary.active {
            background-color: #FFFFFF !important;
            border-color: #000000 !important;
            color: #000000 !important;
        }

.theme-primary .btn-save-image {
    color: #00A4E4;
    background-color: #E2F3F9;
    border-color: #E2F3F9;
    width: auto;
    border-radius: 10rem;
    max-width: unset;
    /*padding: 0.3rem 2rem 0.2rem;*/
    padding: 0.5rem 2rem;
    min-width: 8rem;
}

    .theme-primary .btn-save-image:hover, .theme-primary .btn-save-image:active, .theme-primary .btn-save-image:focus, .theme-primary .btn-save-image.active {
        background-color: #E2F3F9 !important;
        border-color: #E2F3F9 !important;
        color: #00A4E4 !important;
    }

.theme-primary .btn-secondary {
    background-color: #7D8288;
    border-color: #7D8288;
    border-radius: 10rem;
    color: #ffffff !important;
    /*padding: 0.5rem 2rem;
    min-width: 10rem;*/
    padding: 0.5rem 2rem;
    min-width: 8rem;
    width: auto;
    /*max-width: 20rem;
    width: 100%;*/
}

    .theme-primary .btn-secondary:hover, .theme-primary .btn-secondary:active, .theme-primary .btn-secondary:focus, .theme-primary .btn-secondary.active {
        background-color: #7D8288 !important;
        border-color: #7D8288 !important;
        color: #ffffff !important;
    }

.modal .btn {
    max-width: unset;
    width: auto;
    /*min-width: 10rem;*/
    padding: 0.5rem 2rem;
    min-width: 8rem;
}

.modal .modal-header h4 {
    width: calc(100% - 5.5rem);
    margin-top: 1.5rem;
}

.modal .btn-close {
    /*position: absolute;
    right: 1.1rem;
    top: 0.8rem;
    font-size: 1rem;
    color: #000000;
    background: transparent;
    border-radius: unset;
    padding: 0.2rem;
    opacity: 1;
    z-index: 1;
    width: auto;
    height: auto;*/
    position: absolute;
    right: 2rem;
    top: 1.7rem;
    font-size: 0.8rem;
    color: #000000;
    background: transparent;
    opacity: 1;
    z-index: 1;
    width: auto;
    height: auto;
    border: 1px solid #000;
    border-radius: 10rem;
    padding: 0.2rem 0.7rem 0.1rem;
}

    .modal .btn-close:focus {
        box-shadow: unset;
    }

    .modal .btn-close i.mdi.mdi-close {
        display: inline-block;
        margin-top: -3px;
        margin-right: -1px;
    }


[type="checkbox"].filled-in:not(:checked) + label:after {
    font-size: 16px;
    margin: 0 0.3rem;
    width: 1.3rem;
    height: 1.3rem;
}

[type="checkbox"].filled-in:checked + label:after {
    font-size: 16px;
    margin: 0 0.3rem;
    width: 1.3rem;
    height: 1.3rem;
}

[type="checkbox"].filled-in:checked + label:before {
    font-size: 16px;
    top: 0.1rem;
    margin: 0 0.3rem;
    left: 0.2rem;
    width: 0.4rem;
    height: 0.9rem;
}

[type="radio"] + label:before, [type="radio"] + label:after {
    font-size: 16px;
    margin: 0 0.3rem;
    width: 1.3rem;
    height: 1.3rem;
}

.theme-primary [type=checkbox].filled-in:checked.chk-col-primary + label:after {
    border: 2px solid #000000;
    background-color: #000000;
}

.theme-primary [type=radio].with-gap.radio-col-primary:checked + label:before {
    border: 2px solid #000000;
}

.theme-primary [type=radio].with-gap.radio-col-primary:checked + label:after {
    background-color: #000000;
    border: 2px solid #000000;
}

.theme-primary [type=radio].with-gap.radio-col-primary.error + label:before {
    border: 2px solid #FF2829;
}

.theme-primary [type=checkbox].filled-in.chk-col-primary.error + label:after {
    border: 2px solid #FF2829;
}

[type="text"].readonly-point:not(:disabled) {
    background: #fff;
    cursor: pointer;
}

[type="radio"]:not(:checked) + label, [type="radio"]:checked + label, [type="checkbox"] + label {
    height: auto;
    line-height: 1.3rem;
}

[type="radio"]:disabled + label, [type="checkbox"]:disabled + label, [type="text"]:disabled {
    color: #809098 !important;
    cursor: not-allowed !important;
}

.select2-container--default .select2-selection--single {
    height: 2.395rem;
    border-color: #B2BABF;
    padding: 0.525rem 0.75rem 0.525rem;
    border-radius: 0;
    font-weight: 400;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 2.1rem;
    }

.theme-primary .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #000000;
    color: #ffffff;
}

.theme-primary .btn-link, .btn-link {
    color: #000000;
    /*font-weight: 400;*/
    font-weight: 300;
    text-decoration: underline !important;
    background: unset;
    border: unset;
    padding: 0;
}

    .theme-primary a:hover, .theme-primary a:active, .theme-primary a:focus,
    .btn-link:hover, .btn-link:active, .btn-link:focus {
        color: #000000;
    }

    .theme-primary a:disabled,
    .btn-link:disabled {
        color: #bbbbbb;
        cursor: not-allowed;
        pointer-events: all;
    }

.btn-back {
    /*font-weight: 400;*/
    background: unset;
}

    .btn-back.h4 {
        width: auto;
        z-index: 1;
    }

@media (min-width: 768px) {
    .btn-back.h4 {
        margin-bottom: -1.7rem;
        width: auto;
        z-index: 1;
    }
}

@media (max-width: 991px) {
    .modal .modal-header h4 {
        width: 100%;
        margin-top: 2rem !important;
    }
}


@media (max-width: 767px) {
    .max-md-p {
        padding: 0;
    }

    #set-box-2 {
        order: 2;
        margin-top: 4rem;
    }

    .set-box-2 {
        order: 2;
    }

    .div-btn button,
    .div-btn a {
        width: 100% !important;
    }
}

.d-sm-inline-block {
    display: inline-block !important;
}

.font-nomal {
    font-size: 1rem;
}

.font-light {
    font-size: 0.85rem;
}

.font-light-mini {
    font-size: 0.65rem;
}

.font-300 {
    font-weight: 300;
}

.font-400 {
    font-weight: 400;
}

.font-500 {
    font-weight: 500;
}

.font-600 {
    font-weight: 600;
}

.font-700 {
    font-weight: 700;
}

.color-black {
    color: #000000 !important;
}

.color-gray {
    color: #555555 !important;
}

.color-light-gray {
    color: #A7A8A9 !important;
}

.color-red {
    color: #EA2D2D !important;
}

.color-white {
    color: #ffffff !important;
}

.b-1 {
    border: 1px solid #E1EAEF !important;
}

.b-color-black {
    border-color: #000000 !important;
}

.input-otp {
    margin: 1rem auto;
    max-width: 250px;
    text-align: center;
    letter-spacing: 0.5rem;
    padding-left: 1.25rem;
    font-weight: 700 !important;
    font-size: 1.5rem;
}

    .input-otp::placeholder {
        /*font-weight: 400;*/
        font-weight: 300;
        font-size: 1rem;
        letter-spacing: normal;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.form-control, .form-select {
    border-radius: 0 !important;
    box-shadow: none;
    border-color: #B2BABF;
    height: auto;
    font-weight: 400;
}

.theme-primary .form-control:focus, .theme-primary .form-control:focus-visible {
    border-color: #000000;
    outline: unset;
}

.theme-primary .input-group {
    display: flex;
    align-items: center;
}

.theme-primary .form-control,
.theme-primary .input-group-addon {
    transition: border-color 0.2s ease-in-out;
}

.theme-primary .input-group:focus-within .form-control,
.theme-primary .input-group:focus-within .input-group-addon {
    border-color: #000000;
    outline: unset;
}

.theme-primary .form-control.error:focus, .theme-primary .form-control.error:focus-visible,
.theme-primary .form-control.error ~ .input-group-addon {
    border-color: #FF2829;
}

.input-group .input-group-addon {
    border-color: #B2BABF;
}

.input-group-addon {
    font-weight: 300;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    font-size: 1rem;
}

.form-control + .input-group-addon:not(:first-child), .form-select + .input-group-addon:not(:first-child) {
    border-radius: 0;
}

.sweet-alert {
    font-family: 'Prompt', sans-serif !important;
    padding: 2rem;
}

    .sweet-alert h2 {
        /*font-size: 1.2857142857142858rem;
        margin: 0.5rem 0 1rem 0;*/
        font-size: 1.15rem;
        margin: 0.5rem 0 0.5rem 0;
        line-height: normal;
        color: #000000;
    }

    .sweet-alert p {
        font-size: 1rem;
        color: #000000;
        margin: 0 0 0.5rem 0;
    }

    .sweet-alert button {
        font-size: 1rem;
        /*font-weight: 400;*/
        font-weight: 500;
        background-color: #000000 !important;
        border-color: #000000 !important;
        border-radius: 5rem;
        color: #ffffff;
        margin: 1rem 0.25rem 0.5rem 0.25rem;
        /*padding: 0.6rem 1rem 0.4rem;*/
        padding: 0.5rem 2rem;
        min-width: 8rem;
    }

        .sweet-alert button.cancel {
            background-color: #7D8288 !important;
            border-color: #7D8288 !important;
        }

    .sweet-alert .sa-icon.sa-success {
        background-color: #ffffff;
    }

        .sweet-alert .sa-icon.sa-success .sa-placeholder {
            border-color: #000000;
            background-color: #000000;
        }

        .sweet-alert .sa-icon.sa-success .sa-line {
            background-color: #ffffff;
            z-index: 3;
        }

.img-step {
    max-width: 20rem;
    width: 100%;
    height: auto;
}

.img-step-h {
    max-width: 5rem;
    width: auto;
    height: auto;
    max-height: 15rem;
}

@keyframes lds-eclipse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes lds-eclipse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.lds-eclipse {
    position: relative;
    margin: 0 auto;
}

    .lds-eclipse div {
        -webkit-animation: lds-eclipse 1s linear infinite;
        animation: lds-eclipse 1s linear infinite;
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 50%;
        box-shadow: 0 0.1rem 0 0 #000000;
        -webkit-transform-origin: 0.9rem 0.95rem;
        transform-origin: 0.9rem 0.95rem;
        margin: auto;
    }

.lds-eclipse {
    width: 100%;
    height: 2rem;
    -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
    transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}


/*languages*/
.img-fluid {
    width: auto;
    height: 1.8rem;
}

.li-menu {
    margin: 0 10px;
}

    .li-menu .a-menu {
        color: #000;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 0 5px;
    }

        .li-menu .a-menu.active {
            background: #FFFFFF !important;
            color: #000 !important;
            border-bottom: 2px solid #000;
            border-radius: 0 !important;
        }

        .li-menu .a-menu:hover,
        .li-menu .a-menu:active,
        .li-menu .a-menu:focus {
            background: #FFFFFF !important;
            color: #000 !important;
            border-bottom: 2px solid #000;
            border-radius: 0 !important;
        }
