:root,
[data-bs-theme=light] {
    --bs-body-bg: #000;
    --bs-body-bg1: #000000;
    --bs-body-bg2: #000000;
    --bs-body-bg3: #000000;
    --bs-body-bg4: #000000;
    --bs-body-bg5: #111;
    --bs-body-bg6: #000000;
    --theme-color1: #ae7d54;
    --bs-dark-text-emphasis1: #fff;
    --bs-dark-text-emphasis: #fff;
    --bs-body-counter: #f5f5f5;
    --theme-color-white: #fff;
    --bs-text-counter: #333;
    --bs-text-head: #462f6a;
    --bs-text-but: #fff;
    --bs-text-coun: #8d65a1;
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-body-bg: #111;
    --bs-body-bg1: #111;
    --bs-body-bg2: #111;
    --bs-body-bg3: #111;
    --bs-body-bg4: #111;
    --bs-body-bg5: #111;
    --bs-body-bg6: #111;
    --bs-dark-text-emphasis1: #fff;
    --bs-dark-text-emphasis: #fff;
    --bs-body-counter: #3d3d3d;
    --bs-text-counter: #f5f5f5;
    --bs-text-head: #9f81df;
    --bs-text-but: #494949;
    --bs-text-coun: #fff;
}
.navbar-brand{
    padding: 0;
}
.offcanvas {
    max-width: 80%;
        background-color: #111;
}
.header-style-four.style-dark .header-top .info-user {
    background-color: var(--theme-color-white);
}
.header-style-four .header-top .info-user {
    background-color: #212121;
    color: #e8342c;
    font-size: 24px;
    width: 47px;
    height: 47px;
    line-height: 47px;
    text-align: center;
    cursor: pointer;
}
.header-top .inner-box .top-left span {
    color: var(--theme-color-white);
    font-size: 16px;
    margin-right: 20px;
}
.header-top .inner-box .top-left span .icon {
    background-color: #212121;
    border-radius: 50%;
    height: 35px;
    line-height: 35px;
    width: 35px;
    text-align: center;
    color: #e8342c;
    margin-right: 7px;
}
.header-style-four{
    background-color: #111;
}
.header-info-right{
    background-color: #e8342c;
}
.header-info-right ul {
    margin-top: 0;
    padding: 10px;
    margin-bottom: 0rem;
}

.header-info-right .header-social li {
    display: inline-block;
}

.header-info-right .header-social li a {
    color: #fff;
    font-size: 16px;
    padding-left: 0px;
}

.header__top__right__language {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.header__top__right__language div {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 4px;
}

.header__top__right__language img {
    margin-right: 6px;
}

.header__top__right__language i {
    font-size: 6px;
    color: #fff;
    position: relative;
    top: -2px;
}

.header__top__right__language:hover ul {
    top: 32px;
    opacity: 1;
    margin-left: 20px;
    visibility: visible;
}

.header__top__right__language ul {
    background: #222;
    width: 83px;
    text-align: left;
    margin-left: 20px;
    padding: 0px 0;
    position: absolute;
    left: 0;
    top: 43px;
    z-index: 9999;
    opacity: 1;
    visibility: hidden;
    -webkit-transition: all, .3s;
    -moz-transition: all, .1s;
    -ms-transition: all, .3s;
    -o-transition: all, .3s;
    transition: all, .2s;
}

.header__top__right__language ul li {
    ist-style: none;
    padding: 8px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #ffffff1f;
}

.header__top__right__language ul li a {
    color: #fff !important;
    -webkit-transition: all, .1s;
    -moz-transition: all, .1s;
    -ms-transition: all, .1s;
    -o-transition: all, .1s;
    transition: all, .0s;
}
.header-style-four.style-dark .header-top {
    background-color: #1C1C1C;
    display: block;
    padding: 0;
}
.header-style-four.style-dark .header-top .inner-box {
    padding: 0;
}

.header-style-four .header-top .inner-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

}
.header-style-four.style-dark .header-top .inner-box .top-left {
    color: var(--theme-color-white);
}
.header-top .top-left {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.header-style-four.style-dark .header-top .inner-box .top-left span {
    color: var(--theme-color-white);
    font-size: 16px;
    margin-right: 20px;
}
.header-style-four.style-dark .header-top .inner-box .top-left span .icon {
    background-color: rgba(var(--theme-color-white-rgb), 1);
    border-radius: 50%;
    height: 40px;
    line-height: 40px;
    width: 40px;
    text-align: center;
    color: var(--theme-color1);
    margin-right: 7px;
}
.header-top .top-right {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.social-icon-one {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
ul, li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.header-style-four .header-top .social-icon-one li {
    color: #adadad;
    margin-left: 0;
    margin-right: 18px;
}

.social-icon-one li:first-child {
    margin-left: 0;
}
.social-icon-one li {
    position: relative;
    margin-left: 20px;
}
.header-style-four.style-dark .header-top .inner-box .top-right .social-icon-one li a {
    color: var(--theme-color-white);
}
.header-style-four .header-top .inner-box .top-right .social-icon-one li a {
    font-size: 16px;
    color: #adadad;
}
.social-icon-one li a {
    position: relative;
    display: block;
    font-size: 12px;
    line-height: 30px;
    color: var(--theme-color-dark);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
.header-style-four .header-top .info-language {
    margin-left: 30px;
}
.header-style-four .header-top .info-language .select-language {
    background-color: #ae7d54;
    color: var(--theme-color-white);
    padding: 15.75px 20px;
    cursor: pointer;
}
.header-style-four .header-top .info-language .select-language .icon {
    margin-left: 6px;
}











#navbar {
    background-color: var(--bs-body-bg1);
    /* Black background color */
    position: sticky;
    top: 0;
    /* overflow: hidden;*/
    z-index: 99;
    /* Transition effect when sliding down (and up) */

}
.scrolled {
    background-color: var(--bs-body-bg1) !important;
        box-shadow: 4px 0 20px -5px rgba(0, 0, 0, 0.2);
    /* สีเมื่อเลื่อนลง */
}
@media (max-width: 576px) {
    .dropdown-item::after {
        transform: rotate(90deg) !important;
    }
}

.dropdown .dropdown-menu .set-menu li {
    padding: 0 !important;
}




.dropdown-item.active,
.dropdown-item:active {
    color: var(--bs-dropdown-link-active-color) !important;
    text-decoration: none;
    background-color: #73b35a !important;
}

.header-layout4 .header-social a {}

.header-social a {
    display: inline-block;
    color: #fff;
    line-height: 1;
    margin-right: 15px;
    font-size: x-small;
}

.header-links>ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    gap: 35px;
}

.header-links>ul>li>a {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}
















.navbar-toggler {
    color: var(--bs-dark-text-emphasis);
}

/* Style the navbar links */
#navbar a {
        font-size: 19px;
    display: block;
    text-transform: uppercase;
    color: var(--bs-dark-text-emphasis);
    text-decoration: none;
}

.navbar-nav .dropdown-menu {
    position: static;
    background-color: var(--bs-body-bg5);
    border: none;
    margin-top: 40px;
    padding: 0;
}
.navbar-nav .dropdown-menu li{
    padding: 0;
}
.navbar-nav .dropdown-menu a{
    color: var(--bs-text-but) !important;
    font-weight: 200;
    font-size: 15px;
    padding: 5px 20px;
    border-bottom: 1px solid #ffffff21;
}
.navbar-nav .dropdown-menu a:hover{
    color: var(--bs-text-but) !important;
    background-color: var(--bs-body-bg6) !important;
}

#navbar a:hover {
    color: var(--bs-dark-text-emphasis);
}

.navbar-nav li {
    padding: 0 8px;
}

.main-header .menu-right-content {
    position: relative;
    display: flex;
    align-items: center;
}

.main-header .menu-right-content .support-box {
    position: relative;
    display: block;
    padding: 12px 40px 10px 80px;
    margin-right: 30px;
}

.main-header .menu-right-content .support-box .icon {
    position: absolute;
    display: inline-block;
    left: 0px;
    top: 0px;
    width: 56px;
    height: 56px;
    line-height: 62px;
    text-align: center;
    background: #809494;
    font-size: 30px;
    border-radius: 50%;
}

.main-header .menu-right-content .support-box .icon svg {
    color: #fff;
    margin-top: -10px;
}

.main-header .menu-right-content .support-box span {
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 2px;
    color: #809494;
}

.main-header .menu-right-content .support-box h6 {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.main-header .menu-right-content .btn-box {
    position: relative;
}

.main-header .menu-right-content .btn-box a {
    position: relative;
    display: inline-block;
    font-size: 17px;
    line-height: 17px;
    color: #fff;
    font-weight: 700;
    padding: 15px 30px;
    text-transform: uppercase;
}

.main-header .menu-right-content .btn-box a {
    color: #fff !important;
    background: #333333;
}






.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* rtl:begin:ignore */
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0;
    /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
    letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}