/* FONT: FAMILY */
body.body--with-checkbox-checked {
  overflow: hidden !important;
}

#wpadminbar {
  position: fixed;
}

.sv-header-wrapper {
  padding-top: 112px;
}

#sv-header {
  padding: 0 16px;
  background-color: var(--color-gray-700);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  max-height: 112px;
  transition: all .3s ease-in-out;
}

#sv-header.sv-header--scrolled {
  background-color: var(--color-gray-600);

}

body.logged-in.admin-bar #sv-header {
  top: 46px;
}

#sv-header .sv-header__container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 18px;
  max-height: 112px;
}

#sv-header .sv-header__logo {
  width: 100%;
  max-width: 154px;
  line-height: 0;
}

#sv-header .sv-header__logo img {
  width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: center center;
}

#sv-header .sv-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/** Menu Language **/
#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown {
  height: 100%;
  width: 100px;
}

#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown a {
  background: transparent !important;
  border: none;
}

#sv-header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  margin: -12px 0;
}

#sv-header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
  content: "";
  border: 0.35em solid transparent;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
}

.sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:before,
.sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
  content: "";
  vertical-align: middle;
  display: inline-block;
  position: absolute;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

#sv-header .wpml-ls-legacy-dropdown a:focus {
  color: var(--color-white) !important;
}

#sv-header .wpml-ls-legacy-dropdown a:hover {
  color: var(--color-gray-300) !important;
}

#sv-header .wpml-ls-legacy-dropdown a {
  padding: 12px;
}

#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
  background-image: url(/wp-content/uploads/2024/04/dropdown-menu-2.svg);
  background-size: 12px;
  height: 12px;
  width: 17px;
}

#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover:after {
  filter: saturate(100%) brightness(60%);
  transform: translateY(-20%) translateX(40%) rotate(180deg);
}

#sv-header .wpml-ls-legacy-dropdown .wpml-ls-item {
  width: 80px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: var(--px-20);
  font-family: var(--font-family-primary);
}

#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
  padding: 0;
}

#sv-header .sv-header__language-switcher .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  padding-top: 0px;
  width: 80px;
  background-color: var(--color-gray-600);
}

#sv-header .wpml-ls-current-language ul li {
  padding: 12px 12px !important;
  border-bottom: 1px solid var(--color-gray-200);
}

#sv-header .otgs-development-site-front-end {
  display: none;
}

#sv-header .sv-header__checkbox {
  display: none;
}

#sv-header .sv-header__nav-controls {
  width: auto;
  order: 1;
  line-height: 0;
}

#sv-header .sv-header__checkbox:checked~.sv-header__nav-controls .sv-header__navOpen,
#sv-header .sv-header__navClose {
  display: none;
}

#sv-header .sv-header__checkbox:checked~.sv-header__nav-controls .sv-header__navClose {
  display: block;
}

#sv-header .sv-header__navigation {
  background-color: var(--color-gray-600);
  color: var(--color-gray-600);
  position: fixed;
  top: 112px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 112px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: all 500ms;
}

#sv-header .sv-header__checkbox:checked~.sv-header__navigation {
  opacity: 1;
  pointer-events: initial;
  overflow: auto;
}

#sv-header .sv-header__navigation .sv-header__menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#sv-header .sv-header__navigation .menu-item {
  border-bottom-color: var(--color-gray-400);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#sv-header .sv-header__navigation .menu-item a {
  padding: 20px 16px 20px 16px;
  width: 100%;
  color: var(--color-gray-100);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-primary);
  font-size: var(--px-14);
  font-weight: 400;
  line-height: 1.5em;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: all .3s ease-in-out;
}

#sv-header .sv-header__navigation .menu-item.item-active a {
  color: var(--color-primary);
}

#sv-header .menu-item .menu-item-description {
  font-weight: 400;
}

#sv-header .sv-header__navigation .menu-item-has-children::after {
  content: "";
  width: 8px;
  height: 14px;
  background: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg" class="e-font-icon-svg e-fas-chevron-right"><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" fill="%23FFFFFF"></path></svg>') no-repeat center center;
  position: absolute;
  right: 16px;
  transition: all .3s ease-in-out;
}

#sv-header .sv-header__navigation .menu-item-has-children:hover::after {
  background: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg" class="e-font-icon-svg e-fas-chevron-right"><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" fill="%232bd3c9"></path></svg>') no-repeat center center;
}

#sv-header .sv-header__back-menu-container {
  background-color: var(--color-primary);
  width: 100%;
}

#sv-header #sv-header__back-menu {
  padding: 14px 16px;
  background-color: transparent;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

#sv-header .sv-header__navigation .sv-header__back-button {
  width: 100%;
  align-items: center;
  border: none;
  display: flex;
  margin-bottom: 0;
  padding: 14px 20px;
  user-select: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
}

#sv-header .sv-header__navigation .sv-header__back-button::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.03033 3.96967C8.32322 4.26256 8.32322 4.73744 8.03033 5.03033L4.81066 8.25H15C15.4142 8.25 15.75 8.58579 15.75 9C15.75 9.41421 15.4142 9.75 15 9.75H4.81066L8.03033 12.9697C8.32322 13.2626 8.32322 13.7374 8.03033 14.0303C7.73744 14.3232 7.26256 14.3232 6.96967 14.0303L2.46967 9.53033C2.17678 9.23744 2.17678 8.76256 2.46967 8.46967L6.96967 3.96967C7.26256 3.67678 7.73744 3.67678 8.03033 3.96967Z" fill="%23282828"/></svg>');
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 18px;
  width: 18px;
}

#sv-header .sv-header__back-button span {
  color: var(--color-gray-600);
  font-family: var(--font-family-primary);
  font-size: var(--px-12);
  font-weight: 700;
  line-height: var(--px-18);
  margin-left: 8px;
  text-transform: capitalize;
}

#sv-header .sv-header__navigation .menu-item-title {
  padding: 24px 16px;
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-size: var(--px-16);
  font-weight: 700;
  line-height: 1.5em;
  background-color: var(--color-gray-600);
  border: none;
}

@media (max-width: 1024px) {
  #sv-header .sub-menu {
    background-color: var(--color-gray-600);
    position: fixed;
    top: 112px;
    left: 100%;
    width: 100%;
    height: calc(100dvh - 112px);
    z-index: 200;
    transition: all 500ms;
    overflow: auto;
    padding: 0;
  }

  #sv-header .sub-menu.submenu-container--show {
    left: 0;
  }

  body.logged-in.admin-bar #sv-header .sv-header__navigation,
  body.logged-in.admin-bar #sv-header .sub-menu {
    top: 158px;
    height: calc(100dvh - 158px);
  }

  /** Menu Language **/
  #sv-header .wpml-ls-current-language ul li {
    padding: 10px 10px !important;
  }

  .sv-header__language-switcher .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    padding-top: 0px;
    width: 80px;
    background-color: var(--color-gray-600);
  }

  .sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover:after .sv-header__language-switcher .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:focus:after {
    filter: saturate(100%) brightness(60%);
    transform: translateY(-20%) translateX(40%) rotate(180deg);
  }
}

@media (min-width: 768px) {
  .sv-header-wrapper {
    padding-top: 89px;
  }

  #sv-header .sv-header__container {
    flex-direction: row;
    padding: 30px 0;
    max-height: 89px;
  }

  #sv-header .sv-header__content {
    justify-content: flex-end;
  }

  #sv-header .sv-header__navigation,
  #sv-header .sub-menu {
    top: 89px;
    height: calc(100dvh - 89px);
  }

  body.logged-in.admin-bar #sv-header .sv-header__navigation,
  body.logged-in.admin-bar #sv-header .sub-menu {
    top: 135px;
    height: calc(100dvh - 135px);
  }
}

@media (min-width: 783px) {
  body.logged-in.admin-bar #sv-header {
    top: 32px;
  }

  body.logged-in.admin-bar #sv-header .sv-header__navigation,
  body.logged-in.admin-bar #sv-header .sub-menu {
    top: 109px;
    height: calc(100dvh - 109px);
  }
}

@media (min-width: 1025px) {
  #sv-header {
    background-color: transparent;
  }

  #sv-header .d-none-desktop {
    display: none !important;
  }

  #sv-header .d-none-mobile {
    display: block;
  }

  #sv-header .sv-header__navigation,
  #sv-header .sub-menu,
  body.logged-in.admin-bar #sv-header .sv-header__navigation,
  body.logged-in.admin-bar #sv-header .sub-menu {
    height: auto;
  }

  #sv-header .sv-header__container {
    flex-direction: row;
    gap: 22px;
  }

  #sv-header .sv-header__content {
    flex-direction: row-reverse;
  }

  #sv-header .sv-header__navigation {
    height: 100%;
    opacity: 1;
    position: static;
    pointer-events: initial;
    background-color: transparent;
  }

  #sv-header .sv-header__navigation .sv-header__menu-list {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding-right: 16px;
  }

  #sv-header .sv-header__navigation .menu-item {
    position: relative;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: default;
  }

  #sv-header .sv-header__navigation .menu-item a {
    font-size: var(--px-16);
    transition: all 0.5s ease-in-out;
    padding: 0;
    font-weight: 300;
    line-height: var(--px-20);
  }

  #sv-header .sv-header__navigation .menu-item:hover a,
  #sv-header .sv-header__navigation .menu-item a[aria-current="page"] {
    color: var(--color-primary);
  }

  #sv-header .sv-header__navigation .menu-item-has-children a {
    padding-right: 10px;
    pointer-events: none;
  }

  #sv-header .sv-header__navigation .menu-item:hover .sub-menu a {
    color: var(--color-gray-500);
  }

  #sv-header .sv-header__navigation .menu-item:hover::before {
    width: 100%;
  }

  #sv-header .sv-header__navigation .menu-item .sub-menu .menu-item::before {
    display: none;
  }

  #sv-header .sv-header__navigation .menu-item-has-children::after {
    position: static;
    height: 10px;
    right: 5px;
    width: 10px;
    transform: rotate(90deg);
  }

  #sv-header .sv-header__navigation .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--color-white);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    width: max-content;
    max-width: max-content;
    box-shadow: 0 16px 24px 0 var(--color-shadow);
    padding: 0;
    height: auto;
  }

  body.logged-in.admin-bar #sv-header .sub-menu {
    top: 20px;
  }

  #sv-header .sv-header__navigation .menu-item:hover .sub-menu,
  #sv-header .sv-header__navigation .menu-item:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  #sv-header .sv-header__navigation .sub-menu .menu-item-btn,
  #sv-header .sv-header__navigation .sub-menu .menu-item-title {
    display: none;
  }

  #sv-header .sv-header__navigation .sub-menu li {
    position: relative;
  }

  #sv-header .sv-header__navigation .sub-menu a {
    padding: 12px 20px;
    background-color: var(--color-white);
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-start;
    transition: all 0.5s ease-in-out;
    color: var(--color-gray-500);
    font-weight: 500;
    font-size: var(--px-14);
    pointer-events: all;
  }

  #sv-header .sv-header__navigation .menu-item:hover .sub-menu a:hover,
  #sv-header .sv-header__navigation .menu-item:hover .sub-menu a:focus {
    background-color: var(--color-gray-350);
    color: var(--color-primary);
  }

  #sv-header .sv-header__navigation .sv-header__back-button {
    display: none;
  }

  #sv-header .wpml-ls-legacy-dropdown a {
    line-height: var(--px-20);
  }
}

@media (min-width: 1200px) {
  #sv-header .sv-header__navigation .sv-header__menu-list {
    gap: 30px;
  }
}
