:root,
[data-bs-theme=light] {
    --bs-body-bg1: #fff;
    --bs-body-bg2: #fff;
    --bs-body-bg3: #000;
    --bs-body-bg4: #fff;
    --bs-body-bg44: #2e353b;
    --bs-dark-text: #000;
    --bs-dark-text1: #323133;
    --bs-body-new: #fff;
    --bs-body-new1: #2e353b;
    --bs-text-foot: #f9f9f9;
    --bs-text-head: #462f6a;
    --bs-dark-text-i: #515151;
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-body-bg1: #222;
    --bs-body-bg2: #3a3b3c;
    --bs-body-bg3: #484848;
    --bs-body-bg4: #ffffff1f;
    --bs-body-bg44: #2e353b;
    --bs-dark-text: #fff;
    --bs-dark-text1: #aeaeae;
    --bs-body-new: #212528;
    --bs-body-new1: #fff;
    --bs-text-head: #9f81df;
    --bs-dark-text-i: #fff;
    --bs-text-foot: #121212;
}
.breadcrumbs h2{
    color: #087e61 !important;
}
.shape1 {
    border-right: 1px solid #cecfcf;
}
.shape h6 a{
    color: #057e61 !important;
}
.shape .list-group .list-group-item {
    color: #057e61 !important;
}
.list-group .list-group-item {
    font-size: 14px !important;
} 
.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--bs-body-bg44) !important;
    border-color: var(--bs-body-bg44) !important;
}
.page-item span a{
    color: var(--bs-body-new1) !important;
}
.slider-for-prev,
.slider-for-next {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-for-prev {
    left: 30px;
    /* ระยะห่างจากขอบซ้าย */
}

.slider-for-next {
    right: 30px;
    /* ระยะห่างจากขอบขวา */
}

.slider-nav img {
    padding: 5px;
        border: 1px solid #ebebeb;
}
.slick-slide img {
    border: 1px solid #ebebeb;
}
.slick-dots {
    display: none !important;
}

.mega-content h6 {
    margin-bottom: revert-layer !important;
}

.long_dash {
    width: 43px;
    height: 2px;
    background: #087e61;
    display: inline-block;
    margin-top: 11px;
    margin-bottom: 10px;
}

#navbar {
    background-color: var(--bs-body-bg);
    /* Black background color */
    position: sticky;
    top: 0;
    /* overflow: hidden;*/
    z-index: 99;
    /* Transition effect when sliding down (and up) */
    box-shadow: 4px 0 20px -5px rgba(0, 0, 0, 0.2);

}

.btn-1 {
    background-color: #057e61 !important;
    border: #057e61 !important;
}

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

.header-top {
    position: relative;
    z-index: 1;
    padding: 0 315px 0 0;
    background-color: #73b35a;
}

.header-contact li a i {
    color: #73b35a;
}

.navbar-brand img {
    width: 85%;
}

.header-links {
    padding-right: 30px;
    border-right: 1px solid #bcbcbc;
    margin-right: 30px;
}

.header-links ul li a {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50px;
}

#navbar a i {
    font-size: 20px;
    color: var(--bs-dark-text-i);
}

.header-top__left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 11px 0 11px 215px;
}

.header-top__left::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: #000;
    z-index: -1;
    left: 0;
    top: 0;
    bottom: 0;
}

.header-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-contact li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.header-contact li a {
    color: #fff;
    margin-right: 15px;
    font-size: x-small;
}

.header-social a i {
    color: #73b35a;
    margin-right: 8px;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--bs-dropdown-link-active-color) !important;
    text-decoration: none;
    background-color: #057e61 !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: 15px;
}

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

.scrolled {
    background-color: #555;
    /* สีเมื่อเลื่อนลง */
}

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

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

.navbar-nav .dropdown-menu {
    position: static;
    background-color: var(--bs-body-bg1);
    border: none;
    margin-top: 1px;
    width: 100%;
    border-radius: 0;

}

.list-group-item {
    position: relative;
    display: block;
    padding: 0px 0 !important;
    color: var(--bs-list-group-color);
    text-decoration: none;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px;
}

#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: 9px 40px 10px 53px;
    margin-right: 32px;
}

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

.main-header .menu-right-content .support-box .icon i {
    color: #fff;
}

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

.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;
    width: 250px;
}

.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: 20px 30px;
    width: 250px;
    text-transform: uppercase;
}

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






.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;
    }
}