/* Custom header */

.site-header {
  margin-top: 0;
  padding: 0 !important;
}

.fixed-header {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.fixed-header .as-custom-header-wrapper {
  padding: 0 3%;
  transition: 100ms all ease-in-out;
}

.site-header > .col-full {
  width: 100vw;
  max-width: 100%;
  padding: 0;
}

@media screen and (max-width: 992px) {
  .site-header > .col-full {
    margin-left: 0;
    margin-right: 0;
  }
}

.as-custom-top-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 1rem;
}

.as-custom-top-header-wrapper a {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

#menu-main-menu-desktop > li > a::before {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.2s ease;
}

#menu-main-menu-desktop > li > a:hover::before,
#menu-main-menu-desktop .current-menu-item a::before {
  width: 90%;
}

.as-custom-header-wrapper {
  padding: 10px 3%;
}

@media screen and (max-width: 767px) {
  .as-custom-header-wrapper {
    padding: 1rem 3%;
  }
}

.as-custom-header-wrapper > .as-custom-header-row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.as-custom-header-row1 > .logo-wrapper {
  width: 35%;
  display: flex;
  /* transform: translateY(-5px); */
  align-items: center !important;
}

.as-custom-header-row1 > #site-navigation {
  width: 45%;
}

.as-custom-header-row1 > .header-links {
  width: 20%;
}

.as-custom-header-row1 > .logo-wrapper .as-logo.as-logo-favicon {
  max-width: 75px !important;
}

.as-custom-header-row1 > .logo-wrapper .as-logo.as-logo-texting {
  max-width: 200px !important;
}

@media screen and (max-width: 767px) {
  .as-custom-header-row1 > .mobile-menu-trigger,
  .as-custom-header-row1 > .logo-wrapper {
    width: 20%;
  }

  .as-custom-header-row1 > .mobile-menu-trigger {
    font-size: 2em;
  }

  .as-custom-header-row1 > .logo-wrapper {
    justify-content: flex-start !important;
  }

  .as-custom-header-row1 > .logo-wrapper .custom-logo {
    margin: 0 !important;
  }

  .as-custom-header-row1 > .logo-wrapper .as-logo.as-logo-favicon {
    max-width: 50px !important;
  }

  .as-custom-header-row1 > .logo-wrapper .as-logo.as-logo-texting {
    max-width: 150px !important;
  }

  .as-custom-header-row1 > #site-navigation {
    display: none;
  }
}

/* .as-custom-header-row1 .logo-wrapper {
  display: flex;
  justify-content: center;
} */

.as-custom-header-row1 .site-branding {
  margin: 0;
  width: inherit;
}

.as-custom-header-row1 .logo-wrapper img.custom-logo {
  margin: 0 auto;
  max-width: 300px;
  transform: translateY(-3px);
}

.mobile-menu-trigger img {
  float: right;
}

/* header links */

.site-header .header-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-basis: 15%;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .as-custom-header-row1 > .header-links {
    display: none;
  }
}

.site-header .mobile-menu-trigger {
  display: none;
}

@media screen and (max-width: 767px) {
  .site-header .mobile-menu-trigger {
    display: block;
    order: 2;
    text-align: right;
  }

  .site-header .logo-wrapper {
    width: 100% !important;
    max-width: 300px;
    text-align: left;
  }

  .site-header #site-navigation {
    display: none;
  }
}

.site-header .header-links img {
  width: 20px;
}

.site-header .header-links a {
  position: relative;
}

.site-header .header-links a > .header-counter {
  position: absolute;
  bottom: -10px;
  right: -13px;
  font-size: 0.7rem;
  height: 18px;
  width: 18px;
  background: var(--black);
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 769px) {
  .as-custom-top-header-wrapper #site-navigation {
    display: none !important;
  }

  .wpml-ls-trigger .wpml-ls {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .as-custom-header-menu {
    display: none !important;
  }
}

.as-custom-header-menu {
  transition: all 0.3s ease;
}

.as-custom-header-menu.sticky {
  position: fixed;
  top: 0;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  background: white;
  right: 0;
}

.admin-bar .as-custom-header-menu.sticky {
  top: 30px;
}

.as-custom-header-menu .site-branding,
.as-custom-header-menu .header-links {
  display: none;
}

.as-custom-header-menu.sticky .site-branding {
  display: block;
  width: auto !important;
  float: left !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
  padding: 0 2%;
}

.as-custom-header-menu.sticky .header-links {
  display: flex;
  margin-right: 2%;
}

/* Mobile menu button */

#site-navigation-menu-toggle {
  background-color: transparent;
  border: none;
}

#site-navigation-menu-toggle span {
  text-transform: uppercase;
  font-family: var(--alt-font);
}

/* Mobile flyout menu */

.handheld-navigation {
}

#menu-main-menu-mobile {
  margin-top: 0;
}

#menu-main-menu-mobile > li > a {
  text-transform: uppercase;
  letter-spacing: 2px;
}

#menu-main-menu-mobile > li > button {
  color: var(--purrple);
}

#menu-main-menu-mobile a {
  color: var(--purrple);
}

#menu-main-menu-mobile .sub-menu.toggled-on a {
  padding: 10px 1rem 10px 0;
}

.sub-menu.toggled-on .menu-item-has-children > a {
}

/* Desktop primary navigation */

#site-navigation {
  /* display: flex;
  justify-content: center; */
  /* width: 100% !important; */
  margin: 0 !important;
}

#menu-main-menu-desktop {
  display: flex;

  justify-content: center;

  margin: 0 !important;
}

#menu-main-menu-desktop > li {
  text-align: center;
}

#menu-main-menu-desktop > li > a {
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 992px) {
  .primary-navigation {
    display: none;
  }
}

.primary-navigation .menu-item {
  color: black;
  font-weight: 600 !important;
}

.menu-item-has-children > a {
  padding: 2px 5px !important;
}

@media screen and (min-width: 768px) {
  .menu-highlight > a {
    color: white !important;
    padding: 5p !important;
    font-size: 0.9rem;
  }

  .menu-highlight::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 100%;
    background-color: var(--purrple) !important;
    transform: translateY(-50%);
    z-index: -1;
    top: 50%;
  }
}
