﻿
@font-face {
    font-family: 'Kanit-ExtraLight';
    src: url('../plugins/font/Kanit/Kanit-ExtraLight.ttf') format('truetype');
}

:root {
    --first-color: #E87722;
    --first-color-alt: #FAE4D3;
    --first-white: #FFF;
    --first-white-alt: #F1F2F7;
    --first-dark: #333;
}

body {
    font-family: 'Kanit-ExtraLight';
    margin: 0;
/*    background-image: url('../images/system/bg/bg-icon.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: auto;*/
}

ul {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

#header {
    width: 100%;
    border-bottom: 1px solid #EDF2F9;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: 100;
}

.scroll-header {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-tnw {
    height: 4rem;
    display: flex;
    padding-left: 1rem;
    justify-content: space-between;
    align-items: center;
}

#header .logo {
    width: 40px;
    height: 40px;
}

.text-tnw__first {
    color: var(--first-color);
}

.text-tnw__green {
    color: #40BF07;
}

.nav-tnw__menu a {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.nav-tnw__menu a:hover {
    color: var(--first-color);
}

.nav-item a:hover, .nav-tnw__link.active, .nav-item.active:focus, .nav-item li:hover > a, .nav-link:hover, .nav-link.active {
    color: var(--first-color);
}

.alert-tnw__message.active:hover {
    color: #FFF;
    background-color: #E86A00;
}

.alert-tnw__message.active {
    color: #FFF;
    background-color: var(--first-color);
}

.getstarted-user, .getstarted-user:hover {
    color: #333;
    transition: 0.3s;
    font-size: .955rem;
}

.nav-tnw__toggle {
    display: inline-flex;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav-tnw__close {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
}

.nav-tnw__list {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.nav-tnw__link {
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.nav-tnw__link:hover {
    color: var(--first-color);
}

.show-menu {
    right: 0;
}

@media screen and (min-width: 996px) {
    .nav-tnw {
        height: calc(3rem + 1.5rem);
    }

    .nav-tnw__toggle,
    .nav-tnw__close {
        display: none;
    }

    .nav-tnw__list {
        flex-direction: row;
        column-gap: .88rem;
    }

    .nav-tnw__menu {
        margin-left: auto;
    }
}

.content {
    padding: 80px 0 0 0;
}

/* --------------------------------------------------------------------------------
----- FOOTER
-------------------------------------------------------------------------------- */

.footer {
    padding: 60px 0;
    background-color: #E9ECF5;
    border: 1px solid #EDF2F9;
}

.footer .logo-img {
    width: 250px;
    height: 250px;
}

.footer ul li {
    margin-bottom: .7rem;
}

.footer .link-footer {
    color: #333;
    font-size: .895rem;
}

.footer .link-footer:hover {
    color: #58BAF9;
}

/* ================================================================================
 ======= dropdown menu
 =============================================================================== */


.dropdown {
    position: relative;
}

@media screen and (min-width: 996px) {
    .dropdown__content {
        box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.1);
    }

    .dropdown__content-end {
        box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.1);
    }
}

/* Hide the dropdown's content by default */
.dropdown__content {
    display: none;
    /* Position it right below the trigger element */
    left: 0;
    padding-top: 4px;
    position: absolute;
    top: 100%;
    /* It should be on the top of other elements */
    background-color: #fff;
    z-index: 1000;
    /* Size */
    width: 200px;
}

/* Hide the dropdown's content by default */
.dropdown__content-end {
    display: none;
    /* Position it right below the trigger element */
    right: 0;
    padding-top: 4px;
    position: absolute;
    top: 100%;
    /* It should be on the top of other elements */
    background-color: #fff;
    z-index: 1000;
    /* Size */
    width: 200px;
}

    .dropdown__content a, .dropdown__content-end a {
        font-size: .955rem;
        color: #333;
    }

.dropdown-tnw__menusub {
    padding: 30px 0 0 0;
}

@media screen and (max-width: 996px) {
    .dropdown.show-dropdown .dropdown__content {
        display: block;
    }
    /* Hide the dropdown's content by default */
    .dropdown__content {
        position: relative;
        width: 100%;
        border-left: 2px solid #F1F2F7;
    }

    .dropdown.show-dropdown .dropdown__content-end {
        display: block;
    }
    /* Hide the dropdown's content by default */
    .dropdown__content-end {
        position: relative;
        width: 100%;
        border-left: 2px solid #F1F2F7;
    }

    .dropdown-tnw__menusub {
        padding: 10px 0 0 0;
    }
}


@media screen and (min-width: 996px) {
    /* Show the content when hover on the container */
    .dropdown:hover .dropdown__content, .dropdown:hover .dropdown__content-end {
        display: block;
    }
}

.alert-tnw__message {
    padding: .3rem .6rem .3rem .6rem;
    border-radius: 7px;
    background-color: #E8E8E9;
    z-index: 2000;
}

@media screen and (max-width: 996px) {
    .alert-tnw__message {
        display: block;
        width: 90%;
    }
}

/* ================================================================================
    ======= content
    ================================================================================
*/
.section {
    padding: 120px 0 60px 0;
}

.validat-tnw___text {
    font-size: .775rem;
    color: #FF0000;
}

.text-tnw__success {
    --bs-text-opacity: 1;
    color: #40BF07 !important;
}

.text-tnw__row {
    margin-top: auto;
    margin-bottom: auto;
}

.text-tnw__note {
    font-size: .775rem;
}

@media screen and (min-width: 400px) {
    .text-tnw__note {
        font-size: .875rem;
    }
}

.validation-form-label {
    color: #FF0000;
    font-size: .815rem;
}

.register-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.register-title-sub {
    font-size: .825rem;
    color: #8C8D8E;
    margin-top: 4px;
    margin-bottom: 0;
}

.col-form-label {
    font-size: .895rem;
}

/*
.card {
    box-shadow: .1rem .2rem .9rem 0 rgb(140 152 164 / 25%);
}*/

.card-header {
    font-size: .895rem;
    font-weight: 600;
    background-color: #E9ECF5;
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.register-card-bg {
    position: relative;
}

/*.register-card-img-left {
    position: absolute;
    top: -50%;
    left: -10%;
    z-index: -1;
}*/