.navbar {
    font-family: "Kanit", sans-serif;
    font-size: 1em;
    /* padding-top: .8rem; */
    background-color: white;
    /* box-shadow: 10px -50px 30px 50px rgba(0, 0, 0, 0.2); */
}

button:focus {
    outline: none;
}

.navbar-dark .navbar-toggler {
    border: none;
}

.navbar {
    transition: all 0.4s ease;
}

.navbar-brand {
    /* padding: .5rem 0px; */
    transition: all 0.4s ease;
}

/*--- Hamberger menu----*/
.animated-icon1 {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.animated-icon1 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

.animated-icon1 span {
    background: #2e2f7a;
}

.animated-icon2 span {
    background: #2e2f7a;
}

.animated-icon3 span {
    background: #2e2f7a;
}

.animated-icon1 span:nth-child(1) {
    top: 0px;
}

.animated-icon1 span:nth-child(2) {
    top: 10px;
}

.animated-icon1 span:nth-child(3) {
    top: 20px;
}

.animated-icon1.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.animated-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.animated-icon1.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/*-------------------------------------------------------- dropdown_detail */
.dropdown_account {
    max-width: 100%;
}

.dropdown_account .dropdown_menu_account {
    margin-top: 1.8em;
    width: 200px;
    list-style: none;
    position: absolute;
    background-color: white;
    display: none;
    /* display: block; */
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.16);
    cursor: pointer;
    text-align: center;
    font-size: 0.95em;
    margin-right: calc(10vw - 10px);
    /* margin-right: 12vw; */
}

.dropdown_account .dropdown_menu_account a:hover {
    text-decoration: none;
}

.dropdown_account .dropdown_menu_account li.menu_account {
    color: #FFF;
    border-bottom: 1px solid #d8d6d6;
    padding: 5px 0px;
    border-radius: 10px 10px 0px 0px;
    transition: 0.1s;
}

.dropdown_account .dropdown_menu_account li.menu_account:hover {
    background-color: #FFFFFF;
    color: white;
}

.dropdown_account .dropdown_menu_account li .submit_logout {
    border: none;
    background-color: white;
    color: #FFFFFF;
    width: 100%;
    cursor: pointer;
    padding: 5px 0px;
    border-radius: 0px 0px 10px 10px;
    transition: 0.1s;
}

.dropdown_account .dropdown_menu_account li .submit_logout:hover {
    background-color: #FFFFFF;
    color: white;
}

.dropdown_account a.box_user:hover {
    text-decoration: none !important;
    color: white;
}

.dropdown_account i.fa-user {
    color: white;
    font-size: 18px;
}

.dropdown_account .email {
    color: #1d5b8c;
    transition: 0.2s;
}

.dropdown_account .email:hover {
    opacity: .7;
}

.dropdown_account .lg_logout {
    cursor: pointer;
    transition: 0.3s;
}

.dropdown_account .lg_logout:hover {
    text-decoration: none;
}

/*----- mobile ---*/
.dropdown_account_mobile i.fa-user {
    color: white;
    font-size: 18px;
}

.dropdown_account_mobile .email {
    color: #2e2f7a;
}

@media screen and (max-width: 991.8px) {
    .box_sign {
        margin-left: 1.3rem;
        margin-top: 0.5rem !important;
        margin-bottom: 0.35rem !important;
    }
}

.box_sign i.fa-user {
    color: #666666;
    font-size: 18px;
}

.box_sign a .txt_sign_up {
    transition: 0.1s;
}

.box_sign a:hover {
    text-decoration: none !important;
}

.box_sign .txt_sign_up {
    color: #666666;
}

.box_sign .txt_sign_up:hover {
    text-decoration: none;
    color: #2e2f7a;
}

.navbar-nav li.nav-item {
    margin: 0px .25em;
}

.navbar-nav li.nav-item:last-child {
    border-right: none;
}

.navbar-nav li.nav-item.last-nav-item {
    /* border-right: 1px solid #FFFFFF; */
    border-right: none;
}

@media only screen and (max-width: 992px) {
    .navbar-nav li.nav-item {
        border-right: none;
        /* border-bottom: 1px solid #FFFFFF; */
    }

    .navbar-nav li.nav-item.last-nav-item {
        border-right: none;
        /* border-bottom: 1px solid #FFFFFF; */
    }
}

.navbar-nav li.nav-item a.nav-link {
    padding: .25em 1em;
    letter-spacing: normal;
    color: #FFFFFF;
}

.navbar-nav li.nav-item a.nav-link:hover {
    color: #1d5b8c;
}

.navbar-nav li.nav-item a.nav-link.active {
    color: #1d5b8c;
    font-weight: 600;
}

@media only screen and (max-width: 992px) {
    .navbar-nav {
        margin: 0px !important;
    }

    .navbar-nav li.nav-item {
        margin: 0px 0px;
    }

    .navbar-nav li.nav-item a.nav-link {
        padding:1em;
        border-radius: 0px;
    }
    .navbar-nav li.nav-item a.nav-link.active {
        color: #FFF;
        background-color: #8DC63F;
        font-weight: 600;
    }

    .dropdown_account_mobile .dropdown-menu {
        border: none;
        font-size: 0.9em;
        /* background-color:#FCF3CF; */
        background-color: #f7f7f7;
        margin: 5px 15px;
    }

    .dropdown_account_mobile .dropdown-menu a.dropdown-item {
        /* color: #7E5109; */
        color: #117a65;
    }

    .dropdown_account_mobile .dropdown-menu a.dropdown-item:focus {
        background-color: white;
    }

    .dropdown_account_mobile .dropdown-menu a.dropdown-item.active {
        background-color: #117a65;
        color: #f7f7f7;
        letter-spacing: 0.5px;
    }

    .dropdown_account_mobile .dropdown-menu a.dropdown-item:hover {
        background-color: #117a65;
        color: #f7f7f7;
    }

    .dropdown-toggle::after {
        color: white;
        float: right;
        margin-top: 15px;
    }

    /* .dropdown-toggle::after,.dropdown-toggle::before{
        color: black;
        float: right;
        margin-top: 15px;

    } */
}

@media only screen and (max-width: 768px) {
    .navbar {
        font-size: 1.1em;
    }

    .nav-link {
        /* display: block; */
        padding: 0.3rem 0rem;
    }

    .box_user {
        padding: 0.3rem 0rem;
    }
}

/* ------------------------------ New Design ------------------------------ */
