ul {
   list-style: none;
}

a {
   text-decoration: none;
   color: inherit;
}

button {
   border: none;
   background-color: transparent;
   cursor: pointer;
   color: inherit;
}

/*.btn {*/
/*   display: block;*/
/*   background-color: var(--primary-color);*/
/*   color: var(--white);*/
/*   text-align: center;*/
/*   padding: 0.6rem 1.4rem;*/
/*   font-size: 1rem;*/
/*   font-weight: 500;*/
/*   border-radius: 5px;*/
/*}*/

.icon-menu-header {
   padding: 0.5rem;
   background-color: var(--light-grey);
   border-radius: 10px;
}

.logo {
   margin-right: 1.5rem;
}

.logo img {
   /*width: auto;*/
   /*height: 35px;*/
   width: 216px;
   height: auto;
   filter: brightness(1.2);
   margin-left: 1em;
}

#nav-menu {
   /*border-bottom: 2px solid #2b2911;*/
   background: #2a2a2a;
   margin: 0 auto;

   position: sticky;
   top: 0;
   z-index: 31000;
   box-shadow: 0 0px 4px 3px #090907e0;
}

#wrap-header.container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   /*max-width: 1400px;*/
   max-width: 1320px;
   margin: 0 auto;
   /*column-gap: 2rem;*/
   height: 90px;
   padding: 1.2rem 0rem;
   background: #2a2a2a;
   position: relative;
}

.menu {
   position: relative;
   background: transparent;
}

#nav-menu .dropdown-menu  {
   padding: 0;
}

#nav-menu .dropdown-menu li:not(:last-child) {
   border-bottom: 1px solid #959595;
}

.dropdown-menu {
   text-align: center;
   max-height: 71vh;
   overflow-y: auto;
   background: #4b4b4b; /* สี gradient ส้ม */
}
.dropdown-menu .dropdown-item {
   color: #fff;
}
.dropdown-menu .dropdown-item:hover {
   background-color: #81817de0;
}

/*.menu-bar li:first-child .dropdown {*/
/*   flex-direction: initial;*/
/*   min-width: 480px;*/
/*}*/

/*.menu-bar li:first-child ul:nth-child(1) {*/
/*   border-right: var(--border);*/
/*}*/

/*.menu-bar li:nth-child(n + 2) ul:nth-child(1) {*/
/*   border-bottom: var(--border);*/
/*}*/

/*.menu-bar .dropdown-link-title {*/
/*   font-weight: 600;*/
/*}*/

/*.menu-bar .nav-link {*/
/*   font-size: 1rem;*/
/*   font-weight: 500;*/
/*   letter-spacing: -0.6px;*/
/*   padding: 0.3rem;*/
/*   min-width: 60px;*/
/*   margin: 0 0.6rem;*/
/*   color: var(--white);*/
/*}*/

/*.menu-bar .nav-link:hover,*/
/*.dropdown-link:hover {*/
/*   color: var(--primary-color);*/
/*}*/

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
   display: flex;
   align-items: center;
   margin-right: 5px;
}

.menu-bar {
   margin: 0;
}

/*.dropdown {*/
/*   display: flex;*/
/*   flex-direction: column;*/
/*   min-width: 230px;*/
/*   background-color: #202020;*/
/*   border-radius: 10px;*/
/*   position: absolute;*/
/*   top: 36px;*/
/*   z-index: 1;*/
/*   visibility: hidden;*/
/*   opacity: 0;*/
/*   transform: scale(0.97) translateX(-5px);*/
/*   transition: 0.1s ease-in-out;*/
/*   box-shadow: var(--shadow);*/
/*}*/

/*.dropdown.active {*/
/*   visibility: visible;*/
/*   opacity: 1;*/
/*   transform: scale(1) translateX(5px);*/
/*}*/

/*.dropdown ul {*/
/*   display: flex;*/
/*   flex-direction: column;*/
/*   gap: 0.5rem;*/
/*   padding: 1.2rem;*/
/*   font-size: 0.95rem;*/
/*}*/

/*.dropdown-btn {*/
/*   display: flex;*/
/*   align-items: center;*/
/*   justify-content: space-between;*/
/*   gap: 0.15rem;*/
/*}*/

/*.dropdown-link {*/
/*   display: flex;*/
/*   gap: 0.5rem;*/
/*   padding: 0.5rem 0;*/
/*   border-radius: 7px;*/
/*   transition: 0.1s ease-in-out;*/
/*}*/

/*.dropdown-link p {*/
/*   font-size: 0.8rem;*/
/*   color: var(--medium-grey);*/
/*}*/

.right-container {
   display: flex;
   align-items: center;
   column-gap: 1rem;
}

.right-container .search {
   position: relative;
}

.right-container img {
   border-radius: 50%;
}

.search input {
   background-color: #1b1d1b;
   border-radius: 6px;
   padding: 0.7rem;
   padding-left: 2.4rem;
   font-size: 16px;
   width: 100%;
   border: 2px solid #f1d40e;
   box-shadow: 1px 1px 1px #0c0e0b;
}

.search input:focus-visible {
   outline: none;
}

.search .bx-search {
   position: absolute;
   left: 10px;
   top: 50%;
   font-size: 1.3rem;
   transform: translateY(-50%);
   opacity: 0.6;
   color: #f3f3f3;
}

.search .bx-search::before {
   color: #dbe907 !important;
}

input[type="search" i]::-webkit-search-cancel-button {
   -webkit-appearance: none;
   display: inline-block;
   width: 12px;
   height: 12px;
   cursor: pointer;
   margin-left: 10px;
   background:
           linear-gradient(45deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#fff 45%,#fff 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%),
           linear-gradient(135deg, transparent 0%,transparent 43%,#fff 45%,#fff 55%,transparent 57%,transparent 100%);
}

input:-webkit-autofill{
   -webkit-text-fill-color: #fff !important;
   background-color: #1b1d1b !important;
   transition: background-color 5000s ease-in-out 0s;
}

#hamburger {
   display: none;
   padding: 0.1rem;
   margin-left: 1rem;
   font-size: 1.9rem;
}

#hamburger span {
   display: block;
   font-size: 16px;
   margin-bottom: 11px;
   line-height: 4px;
}

@media (max-width: 1100px) {
   #hamburger {
      display: block;
      /*color: #f3d99f;*/
      margin-right: 17px;
   }

   /*#hamburger span {*/
   /*   display: block;*/
   /*   font-size: 12px;*/
   /*}*/

   .container {
      padding: 1.2rem;
   }

   header nav.navbar {
      display: none;
   }

   .menu {
      display: none;
      position: absolute;
      top: 72px;
      left: 0;
      min-height: 100vh;
      width: 100vw;
      z-index: 9999;
   }

   .menu-bar li:first-child ul:nth-child(1) {
      border-right: none;
      border-bottom: var(--border);
   }

   .dropdown {
      /*display: none;*/
      min-width: 100%;
      border: none !important;
      border-radius: 5px;
      position: static;
      top: 0;
      left: 0;
      visibility: visible;
      opacity: 1;
      transform: none;
      box-shadow: none;
   }

   .menu.show,
   .dropdown.active {
      display: block;
   }

   .dropdown ul {
      padding-left: 0.3rem;
   }

   .menu-bar {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      row-gap: 1rem;
      padding: 1rem;
   }

   .menu-bar .nav-link {
      display: flex;
      justify-content: space-between;
      width: 100%;
      font-weight: 600;
      font-size: 1.2rem;
      margin: 0;
   }

   .menu-bar li:first-child .dropdown {
      min-width: 100%;
   }

   .menu-bar > li:not(:last-child) {
      padding-bottom: 0.5rem;
      border-bottom: var(--border);
   }
}

@media (max-width: 600px) {
   .right-container {
      display: none;
   }

   #hamburger i {
      /*margin-top: 8px;*/
      display: block;
   }
   /*#hamburger span {*/
   /*   !*margin-top: 14px;*!*/
   /*   display: block;*/
   /*   font-size: 16px;*/
   /*}*/
}

/*nav under header*/
.nav-link {
   color: #fff;
}

.nav-scroller a.nav-link:hover i,
.nav-scroller a.nav-link:hover span.text-block-nav-link {
   color: #ffca2c;
   transition: .3s ease-in-out;
}

.nav-scroller {
   position: relative;
   z-index: 0;
   height: initial;
   overflow-y: hidden;

   background: #1a2f16;
   box-shadow: 0px 0px 4px 1px #a8a8068c;
   margin-top: 2px;
}

.nav-scroller .nav {
   display: flex;
   flex-wrap: wrap;
   color: rgba(255, 255, 255, .75);
   text-align: center;
   white-space: nowrap;
   justify-content: center;
   /*justify-content: left;*/
   box-shadow: inset 0px -11px 9px 4px #2b2d09;
}

.nav-scroller .nav-link {
   padding: 10px 17px;
}

.show-count-menu {
   margin-bottom: 2px;
}

.text-block-nav-link {
}

@media (max-width: 600px) {
   .nav-scroller .nav-link {
      font-size: 14px;
      padding: 13px 17px;
   }
}

@media (max-width: 1023px) {
   .nav-scroller {
      height: 2.75rem;
   }

   .nav-scroller .nav {
      justify-content: left;
      flex-wrap: nowrap;
      padding-bottom: 1rem;
      margin-top: -1px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
   }
}