
@font-face {
    font-family: 'thsarabunb';
    src: url('THSARABUN BOLD.TTF');
    font-weight: bold;
}

@font-face {
    font-family: "thsarabun";
    src: url("THSARABUN ITALIC.ttf");
    font-style: italic;
}

@font-face {
    font-family: "thsarabun";
    src: url("THSARABUN BOLD ITALIC.ttf");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'thsarabun';
    src: url('THSARABUN.TTF');
}




@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

h1, .h1 {
    font-size: 30px;
    font-weight: bold;
    display: block;
}

h3, .h3 {
    font-size: 28px;
    font-weight: bold;
    display: block;
    padding-left: 4px;
}


h5 {
    font-size: 26px;
    font-weight: bolder;
}

ol {
    counter-reset: item;
    padding-left: 15px;
}

lin {
    display: block
}

    lin:before {
        content: counters(item, ".")". ";
        white-space: pre;
        counter-increment: item
    }

body {
    margin-bottom: 10px;
    font-family: "thsarabunb";
    font-size: 24px;
}


.btn-outline-pink {
    color: #ff3399;
    border-color: #ff3399;
}

    .btn-outline-pink:hover {
        color: #fff;
        background-color: #ff3399;
        border-color: #ff3399;
    }

    .btn-outline-pink:focus, .btn-outline-pink.focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }

    .btn-outline-pink.disabled, .btn-outline-pink:disabled {
        color: #ff3399;
        background-color: transparent;
    }

    .btn-outline-pink:not(:disabled):not(.disabled):active, .btn-outline-pink:not(:disabled):not(.disabled).active,
    .show > .btn-outline-pink.dropdown-toggle {
        color: #fff;
        background-color: #ff3399;
        border-color: #ff3399;
    }

        .btn-outline-pink:not(:disabled):not(.disabled):active:focus, .btn-outline-pink:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-pink.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
        }


.btn-pink {
    color: #fff;
    background-color: #ff3399;
    border-color: #ff3399;
}

    .btn-pink:hover {
        color: #fff;
        background-color: #ff1a8c;
        border-color: #cc0066;
    }

    .btn-pink:focus, .btn-pink.focus {
        color: #fff;
        background-color: #ff1a8c;
        border-color: #cc0066;
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .btn-pink.disabled, .btn-pink:disabled {
        color: #fff;
        background-color: #ff3399;
        border-color: #ff3399;
    }

    .btn-pink:not(:disabled):not(.disabled):active, .btn-pink:not(:disabled):not(.disabled).active,
    .show > .btn-pink.dropdown-toggle {
        color: #fff;
        background-color: #cc0066;
        border-color: #cc0052;
    }

        .btn-pink:not(:disabled):not(.disabled):active:focus, .btn-pink:not(:disabled):not(.disabled).active:focus,
        .show > .btn-pink.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }

.btn-outline-grey {
    color: #dddddd;
    border-color: #dddddd;
}

    .btn-outline-grey:hover {
        color: #fff;
        background-color: #dddddd;
        border-color: #dddddd;
    }

    .btn-outline-grey:focus, .btn-outline-grey.focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }

    .btn-outline-grey.disabled, .btn-outline-grey:disabled {
        color: #dddddd;
        background-color: transparent;
    }

    .btn-outline-grey:not(:disabled):not(.disabled):active, .btn-outline-grey:not(:disabled):not(.disabled).active,
    .show > .btn-outline-grey.dropdown-toggle {
        color: #fff;
        background-color: #dddddd;
        border-color: #dddddd;
    }

        .btn-outline-grey:not(:disabled):not(.disabled):active:focus, .btn-outline-grey:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-grey.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
        }


.btn-grey {
    color: #fff;
    background-color: #dddddd;
    border-color: #dddddd;
}

    .btn-grey:hover {
        color: #fff;
        background-color: #e6e6e6;
        border-color: #f2f2f2;
    }

    .btn-grey:focus, .btn-grey.focus {
        color: #fff;
        background-color: #e6e6e6;
        border-color: #f2f2f2;
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .btn-grey.disabled, .btn-grey:disabled {
        color: #fff;
        background-color: #dddddd;
        border-color: #dddddd;
    }

    .btn-grey:not(:disabled):not(.disabled):active, .btn-grey:not(:disabled):not(.disabled).active,
    .show > .btn-grey.dropdown-toggle {
        color: #fff;
        background-color: #f2f2f2;
        border-color: #cc0052;
    }

        .btn-grey:not(:disabled):not(.disabled):active:focus, .btn-grey:not(:disabled):not(.disabled).active:focus,
        .show > .btn-grey.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }


.bg-pink {
    --bs-bg-opacity: 1;
    background-color: DeepPink;
}
.required .control-label:after {
    content: " *";
    color: red;
}
.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}
.form-dropdown {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    height: auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: auto;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.select2-container {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: auto;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.formx {
    box-shadow: 0 15px 30px 0 rgb(0 0 0 / 30%);
    border-radius: 10px;
    z-index: 9;
    padding: 30px;
    background: #ffffff;
}

/*PRELOADING------------ */
#overlayer {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 7100;
    background: #ffffff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.loader {
    z-index: 7700;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.position-relative {
    position: relative;
}

.logo {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
}

    .logo:hover {
        color: #ffffff;
    }


.hero {
    padding: 7rem 0 10rem 0;
    //background: #6998AB;
    margin-bottom: 100px;
}

    .hero.hero-inner {
        padding: 9rem 0 7rem 0;
        margin-bottom: auto;
        background: #1A374D;
    }

    .hero h1 {
        color: #5d8aef;
        text-shadow: -1px -1px #FFFFFF, 1px 1px #333333;
        font-size: 60px;
    }

@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 45px;
    }
}

.hero h1 .typed-words {
    position: relative;
}

    .hero h1 .typed-words:before {
        position: absolute;
        height: 7px;
        //background-color: #B1D0E0;
        bottom: 0;
        left: 0;
        right: 0;
        content: "";
    }

.hero .intro-wrap {
    position: relative;
    z-index: 1;
}

.hero .slides {
    background: #ffffff;
    max-width: 800px;
    left: -100px;
    z-index: 0;
    position: relative;
    border-radius: 200px;
    -webkit-box-shadow: 0 25px 50px -10px rgba(26, 55, 77, 0.4);
    box-shadow: 0 25px 50px -10px rgba(26, 55, 77, 0.4);
    height: 608px;
    margin-bottom: -200px;
}

@media (max-width: 991.98px) {
    .hero .slides {
        left: 0;
    }
}

.hero .slides img {
    position: absolute;
    border-radius: 200px;
    opacity: 0;
    -webkit-transition: 4s opacity ease;
    -o-transition: 4s opacity ease;
    transition: 4s opacity ease;
    background: #ffffff;
}

    .hero .slides img.active {
        opacity: 1;
        z-index: 1;
    }

