/**
*   Header
*/

.header {
  --header-logo-height: 32px;
  --header-padding: 14px;
  z-index: 900;
  position: relative;
  background-color: #fff;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: none;
  border-bottom: 1px solid var(--cm-mid-gray, #DFDFDF);
  box-shadow: 0px 4px 48px 0px #00000014;
}

.admin-bar .header {
  top: 32px;
}

@media (min-width: 1025px) {
  .header {
    --header-logo-height: 55px;
    --header-padding: 20px;
  }
}

.header .header-container {
  padding: var(--header-padding) 0;
}

.header .menu-icon svg line {
  stroke: var(--color-grey-60);
}

.dark-color {
  color: var(--color-grey-60);
}

@media screen and (max-width: 767px) {
  .header-inner.mobile-padding {
    padding-top: 8px;
  }

  .top-menu {
    margin-block-end: 11px;
  }
}

.header-container .header-assign-btn .btn:hover {
  color: var(--primary-yellow) !important;
}

.header .header-menu-wrapper .menu {
  gap: 16px;
  color: var(--black);
  font-weight: 700;
}

.header .header-menu-wrapper .menu .current-page-ancestor,
.header .header-menu-wrapper .menu .current-menu-item {
  color: var(--primary-red);
}

.header .header-menu-wrapper .menu li:hover {
  color: var(--primary-red-highlight);
}

@media (min-width: 1025px) {
  .header .header-menu-wrapper .sub-menu {
    display: none;
  }
}

.header .mobile-navigation .sub-menu li:first-child {
  margin-top: 8px;
}
.header .mobile-navigation .sub-menu li:last-child {
  margin-bottom: 16px;
}

.header .header-logo svg.mobile-svg path,
.header .header-logo svg.mobile-svg rect {
  fill: white;
}

.header .header-logo {
  height: var(--header-logo-height);
  width: auto;
}

.header .header-logo a {
  display: flex;
  height: 100%;
  width: auto;
}

.header .header-logo svg,
.header .header-logo img {
  height: 100%;
  width: auto;
}

.header .mobile-menu {
  position: fixed;
  width: 100vw;
  height: calc(100% - 60px);
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 24px;
  border-top: 1px solid #EDEDED;
}

.header .mobile-menu-wrapper {
  opacity: 1;
}

.header .container {
  z-index: 1;
}

.header .mobile-bg {
  transform: translateX(100%);
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100%;
  transition: 0.4s;
  background-color: var(--white);
  z-index: -1;
}

.header .header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .header-assign-btn {
  min-width: 135px;
  height: 24px;
}

.header .header-assign-btn a
{
  border: 1px solid white;
  padding: 6px 12px;
  border-radius: 45px;
  line-height: normal;
}

@supports (hanging-punctuation: first) and (-webkit-appearance: none) {
  .header .header-assign-btn a {
    padding: 8px 12px 4px 12px;
  }
}

@media (hover: hover) {
  .header .header-assign-btn:hover a{
    border: 1px solid var(--primary-yellow);
  }
}

.header .header-menu .menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  
}

.noscroll {
  overflow-y: hidden;
}

/* Inside wp_nav_menu */

.header .main-navigation .menu {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.header .main-navigation .menu .menu-item {
  /* margin-right: 2.625rem; */
  text-transform: none;
  font-family: var(--font-stack);
  font-size: 18px;
  font-size: 22px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.800000011920929px;
  text-align: center;
  
  color: white;
}

.header .main-navigation .menu .menu-item.menu-item-active {
  /* opacity: 0.6; */
  color: var(--primary-yellow) !important;
}

.header .main-navigation .menu .menu-item:last-child {
  margin-right: 0;
}

.header .mobile-menu .mobile-menu-actions,
.header .mobile-menu .menu > li {
  width: 100%;
  margin-bottom: 0;
  opacity: 0;
  transform: translateX(50px);
}

.header .mobile-menu .mobile-navigation li a {
  color: var(--black);
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 39.74px;
  letter-spacing: -0.03em;
  width: 100%;
  display: flex;
}

/*
@media (min-width: 1025px) {
  .header .mobile-menu .mobile-navigation li a {
    font-weight: 400;
    font-size: 40px;
    line-height: 42px;
  }
}
*/

.header .mobile-menu .mobile-navigation .sub-menu {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}

.header .mobile-menu .mobile-navigation .sub-menu li a {
  color: var(--color-grey-60);
  font-size: 24px;
  line-height: 24px;
  font-weight: 800;
}

.header .mobile-menu .mobile-navigation li {
  position: relative;
}

.header .mobile-menu .mobile-navigation .sub-menu li {
  margin-bottom: 8px;
}

.header .mobile-menu .mobile-navigation li.menu-item-has-children > a::after {
  content: '';
  width: 17px;
  height: 12px;
  background: url('../../icons/menu-dropdown-arrow.svg') no-repeat center;
  display: flex;
  position: absolute;
  top: 15px;
  right: 0;
  transition: transform 0.3s ease-in-out;
}

.header .mobile-menu .mobile-navigation li.menu-item-has-children.sub-menu-open > a::after {
  transform: rotate(180deg);
}

.header .mobile-menu .mobile-additional-menu li a,
.header .mobile-menu .mobile-top-menu li a {
  color: var(--black);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
}

.header .mobile-menu .mobile-top-menu li {
  margin-bottom: 16px;
}

.header .mobile-menu .mobile-menu-actions {
  gap: 8px;
}

.header .mobile-menu .mobile-menu-actions .btn-wrapper {
  width: 50%;
}

.header .mobile-menu .mobile-menu-actions .btn-wrapper .btn {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 10px;
}

/*  End wp_nav_menu */


/**
*   Top menu
*/

.top-menu {
  padding: 10px;
  border-bottom: 1px solid #D7D4CF;
}

.top-menu .menu .menu-item {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}


.header.blue .button-wrapper {
  opacity: 0;
}

.header.blue .mobile-bg {
  position: fixed;
  top: 0;
  transform: translateX(0%);
  transition: 0.3s;
}

.header.blue .sub-mobile-menu {
  position: absolute;
  bottom: var(--size-4);
  width: calc(100% - 2.75rem);
}

/* REGULAR ANIMATIONS */

.header .button-wrapper.show {
  animation: show_kf 0.5s linear 0.5s 1 forwards normal;
}

#header .mobile-menu-actions.fade-in,
#header li.fade-in {
  animation: fade-in-kf 0.3s ease-in 0.2s 1 forwards normal;
}

@keyframes fade-in-kf {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes show_kf {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.submenu-wrapper {
  border-top: 1px solid #EDEDED;
  display: none;
}

@media (min-width: 1025px) {
  .submenu-wrapper {
    display: flex;
  }
}

.submenu-wrapper .submenu-list .menu-item a {
  display: flex;
  padding: 21px 12px;
  text-align: center;
  border-bottom: 3px solid transparent;
  color: var(--black);
}

.submenu-wrapper .submenu-list .menu-item.current-menu-item a {
  border-color: var(--primary-red);
}


/* Tent status */

.tent-status {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  position: relative;
  background-color: currentColor; /* The color of the status circle */
}

.tent-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: currentColor; /* Reuse the color of the parent */
  opacity: 0.6;
  z-index: -1;
  animation: pulse 1.5s infinite;
}

.tent-status.status-green {
  color: #1a6b23;
}

.tent-status.status-yellow {
  color: var(--primary-yellow);;
}

.tent-status.status-red {
  color: var(--primary-red);;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.top-menu .tent-status-link {
  text-decoration: underline;
}