/*
 * Static presentation fixes for the PHP 8.4 Joomla mirror.
 * Loaded after the exported Joomla inline styles so these rules can correct
 * the header, mega menu, mobile menu, and privacy-page spacing safely.
 */
:root {
  --hv-shell: 1320px;
  --hv-gutter: 24px;
  --hv-dark-menu: rgba(18, 18, 18, 0.88);
  --hv-active: #f98e00;
}

@media (min-width: 1200px) {
  #sp-header > .container,
  .headerwithmenu-desktop > .sppb-row-container,
  .headerwithmenu-tablet-mobil > .sppb-row-container,
  #section-id-1616154428996 > .sppb-row-container {
    max-width: var(--hv-shell) !important;
    width: calc(100% - (var(--hv-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #sp-header .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #sp-header #sp-menu {
    padding-left: 0 !important;
  }
}

#sppb-addon-1616168075126 .sppb-addon-header .sppb-addon-title {
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#sp-header #off-menu_103,
#sp-header .sm-btn-103 {
  display: none !important;
}

@media (min-width: 1025px) {
  #sp-header {
    top: 84px !important;
  }

  #sp-top-bar::after {
    transform: translateY(-14px);
  }

  #sp-top-bar #sp-top2 {
    padding-left: 0 !important;
  }

  #sp-top2 .sp-module {
    transform: none;
  }

  span.bg-nav {
    background: rgba(17, 17, 17, 0.78) !important;
    display: none !important;
    height: 560px !important;
    left: 0 !important;
    opacity: 1 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    z-index: 1111 !important;
  }

  body.hv-nav-hover span.bg-nav {
    display: block !important;
  }

  #sp-header .sp-megamenu-parent {
    position: static !important;
  }

  #sp-header .sp-megamenu-parent > li.sp-has-child {
    position: static !important;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span {
    letter-spacing: 1px;
  }

  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.current-item > a,
  #sp-header .sp-megamenu-parent > li.hv-active > a,
  #sp-header .sp-megamenu-parent > li:hover > a,
  #sp-header .sp-megamenu-parent > li:focus-within > a,
  #sp-header .sp-megamenu-parent > li.active > span,
  #sp-header .sp-megamenu-parent > li.current-item > span,
  #sp-header .sp-megamenu-parent > li.hv-active > span,
  #sp-header .sp-megamenu-parent > li:hover > span,
  #sp-header .sp-megamenu-parent > li:focus-within > span {
    background: rgba(0, 0, 0, 0.36) !important;
    color: #ffffff !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown.sp-dropdown-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    left: 50% !important;
    max-width: none !important;
    min-width: 100vw !important;
    padding: 36px 0 20px !important;
    right: auto !important;
    top: 100% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown-inner {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    max-width: var(--hv-shell) !important;
    padding: 0 var(--hv-gutter) !important;
    width: 100% !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown a,
  #sp-header .sp-megamenu-parent .sp-dropdown span {
    color: #ffffff !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown a:hover,
  #sp-header .sp-megamenu-parent .sp-dropdown .sp-group-title:hover,
  #sp-header .sp-megamenu-parent .sp-dropdown li.active > a,
  #sp-header .sp-megamenu-parent .sp-dropdown li.current-item > a,
  #sp-header .sp-megamenu-parent .sp-dropdown li.hv-active > a {
    color: var(--hv-active) !important;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown .sp-group-title {
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase;
  }
}

.sp-page-builder .page-content #section-id-1623593389921 {
  padding-top: 56px !important;
}

.hv-video-teaser {
  margin-top: 24px;
  max-width: 620px;
}

.hv-video-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  position: relative;
  width: 100%;
}

.hv-video-button img {
  display: block;
  height: auto;
  width: 100%;
}

.hv-video-button:focus-visible {
  outline: 3px solid #f98e00;
  outline-offset: 4px;
}

.hv-video-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10080;
}

.hv-video-modal__inner {
  max-width: 1120px;
  position: relative;
  width: min(100%, 1120px);
}

.hv-video-modal video {
  background: #000000;
  display: block;
  height: auto;
  max-height: 82vh;
  width: 100%;
}

.hv-video-modal__close {
  align-items: center;
  background: #f98e00;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 30px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -12px;
  top: -56px;
  width: 44px;
}

.hv-video-modal__close:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hv-config-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10090;
}

.hv-config-modal__inner {
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  height: min(95vh, calc(100vh - 48px));
  position: relative;
  width: min(95vw, calc(100vw - 48px));
}

.hv-config-modal iframe {
  background: #ffffff;
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.hv-config-modal__close {
  align-items: center;
  background: #f98e00;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 30px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  z-index: 1;
}

.hv-config-modal__close:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

body.hv-config-modal-open {
  overflow: hidden;
}

.hv-mobile-trigger,
.hv-mobile-panel {
  display: none;
}

@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  #sp-header {
    min-height: 54px !important;
    z-index: 10020 !important;
  }

  #sp-header > .container,
  #section-id-1616154428996 > .sppb-row-container {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: calc(100% - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
    width: calc(100% - 28px) !important;
  }

  #sp-header .row {
    position: relative !important;
  }

  #sppb-addon-1616168075126 .sppb-addon-header .sppb-addon-title {
    font-size: 13px !important;
  }

  #sp-header #sp-menu {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: static !important;
  }

  #sp-header .sp-megamenu-parent,
  #sp-header #off-menu_103,
  #sp-header .sm-btn-103,
  #offcanvas-toggler {
    display: none !important;
  }

  .hv-mobile-trigger {
    align-items: center !important;
    background: rgba(0, 0, 0, 0.38) !important;
    border: 0 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    gap: 8px !important;
    height: 34px !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 9px !important;
    pointer-events: auto !important;
    position: absolute !important;
    right: 0 !important;
    text-align: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-transform: uppercase !important;
    width: auto !important;
    z-index: 10070 !important;
  }

  .hv-mobile-trigger__bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 18px;
  }

  .hv-mobile-trigger__bars span {
    background: currentColor;
    display: block;
    height: 2px;
    width: 18px;
  }

  body.hv-mobile-menu-open {
    overflow: hidden;
  }

  body.hv-mobile-menu-open .hv-mobile-panel {
    display: block;
  }

  .hv-mobile-panel {
    background: rgba(17, 17, 17, 0.88);
    bottom: 0;
    color: #ffffff;
    left: 0;
    overflow-y: auto;
    padding: 20px 28px 36px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10080;
  }

  .hv-mobile-panel__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 42px;
  }

  .hv-mobile-panel__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    gap: 8px;
    line-height: 1;
    padding: 0;
    text-transform: uppercase;
  }

  .hv-mobile-panel__brand {
    margin-bottom: 42px;
    max-width: 300px;
  }

  .hv-mobile-panel__brand img {
    display: block !important;
    height: auto !important;
    margin-bottom: 8px !important;
    max-width: 100% !important;
  }

  .hv-mobile-panel__brand-text {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    line-height: 0.92;
  }

  .hv-mobile-panel__brand-subline {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 5px;
    text-transform: uppercase;
  }

  .hv-mobile-list,
  .hv-mobile-submenu,
  .hv-mobile-actions {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .hv-mobile-item,
  .hv-mobile-actions li {
    margin: 0;
  }

  .hv-mobile-link,
  .hv-mobile-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 500;
    gap: 8px;
    line-height: 1.3;
    padding: 8px 0;
    text-align: left;
    text-decoration: none !important;
    width: 100%;
  }

  .hv-mobile-chevron {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    transform: rotate(0deg);
    width: 14px;
  }

  .hv-mobile-item.is-open > .hv-mobile-toggle .hv-mobile-chevron {
    transform: rotate(90deg);
  }

  .hv-mobile-submenu {
    background: rgba(0, 0, 0, 0.26);
    display: none;
    margin: 2px 0 8px 18px;
    padding: 8px 16px;
  }

  .hv-mobile-item.is-open > .hv-mobile-submenu {
    display: block;
  }

  .hv-mobile-submenu .hv-mobile-link,
  .hv-mobile-submenu .hv-mobile-toggle {
    font-size: 16px;
    font-weight: 500;
    padding: 7px 0;
  }

  .hv-mobile-submenu .hv-mobile-submenu {
    background: transparent;
    margin-left: 18px;
    padding: 0 0 4px;
  }

  .hv-mobile-link:hover,
  .hv-mobile-link:focus,
  .hv-mobile-toggle:hover,
  .hv-mobile-toggle:focus,
  .hv-mobile-link.hv-active,
  .hv-mobile-item.hv-active > .hv-mobile-link,
  .hv-mobile-item.hv-active > .hv-mobile-toggle {
    color: var(--hv-active) !important;
  }

  .hv-mobile-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 22px;
    padding-top: 14px;
  }

  .hv-mobile-actions .hv-mobile-link {
    font-weight: 500;
  }

  .offcanvas-menu,
  .offcanvas-overlay,
  .close-offcanvas {
    display: none !important;
  }

  .sp-page-builder .page-content #section-id-1623593389921 {
    padding-top: 34px !important;
  }

  .hv-video-teaser {
    margin-top: 18px;
    max-width: none;
  }

  .hv-video-modal {
    padding: 14px;
  }

  .hv-video-modal__close {
    right: 0;
    top: -52px;
  }

  .hv-config-modal {
    padding: 12px;
  }

  .hv-config-modal__inner {
    height: min(95vh, calc(100vh - 24px));
    width: min(95vw, calc(100vw - 24px));
  }

  .hv-config-modal__close {
    right: 8px;
    top: 8px;
  }
}

@media (max-width: 420px) {
  #sppb-addon-1616168075126 .sppb-addon-header .sppb-addon-title {
    font-size: 12px !important;
  }

  .hv-mobile-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hv-mobile-panel__brand-text {
    font-size: 34px;
  }
}
