:root,
[data-bs-theme="light"] {
  --bs-body-bg1: #fff;
  --bs-body-bg2: #f2f2f2;
  --bs-body-bg3: #fff0;
  --bs-body-bg4: #809494;
  --bs-body-bg5: #b19677;
  --bs-body-bg6: #9a8165;
  --bs-dark-text-emphasis1: #000;
  --bs-dark-text-emphasis: #535353;
  --bs-body-counter: #f5f5f5;
  --bs-text-counter: #333;
  --bs-text-head: #462f6a;
  --bs-text-but: #fff;
  --bs-body-color: #111;
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #fff;
  --bs-body-bg1: #fff;
  --bs-body-bg2: #2b2b2b;
  --bs-body-bg3: #2b2b2b;
  --bs-body-bg4: #2b2b2b;
  --bs-body-bg5: #b19677;
  --bs-body-bg6: #9a8165;
  --bs-dark-text-emphasis1: #111;
  --bs-dark-text-emphasis: #111;
  --bs-body-counter: #3d3d3d;
  --bs-text-counter: #f5f5f5;
  --bs-text-head: #9f81df;
  --bs-text-but: #494949;
  --bs-body-color: #111;
}
.offcanvas {
  max-width: 80%;
}
.offcanvas-header .btn-close {
  background-color: #e6e6e6;
}
#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;
}

.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-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: #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 {
  float: left;
  display: block;
  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: 23px;
  padding: 0;
}
.navbar-nav .dropdown-menu li {
  padding: 0;
}
.navbar-nav .dropdown-menu a {
  color: var(--bs-text-but) !important;
  font-weight: 400;
  font-size: 15px;
  padding: 5px 20px;
  border-bottom: 1px solid #ffffff21;
}
.navbar-nav .dropdown-menu a:hover {
  /* color: var(--bs-text-but) !important; */
  color: #000 !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 32px 10px 60px;
  margin-right: 0px;
}
.social-icon1 a {
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 16px;
  background-color: #272263;
  border: 1px solid #272263;
  border-radius: 50%;
  margin-right: 3px;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.social-icon1 a i {
  color: #fff;
}
.main-header .menu-right-content .support-box .icon {
  position: absolute;
  display: inline-block;
  left: 0px;
  top: 9px;
  width: 45px;
  height: 45px;
  line-height: 49px;
  text-align: center;
  background: #b19677;
  font-size: 22px;
  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: #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;
  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: #322c74;
}

.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, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

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

.bi {
  vertical-align: -0.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: 0.75rem;
  margin-left: 0.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: -0.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;
  }
}
