/* ----------------------------------
   Navbar
---------------------------------- */

:root {
    --eh-header-bg: #000406;
    --eh-header-text: #ffffff;
    --eh-header-muted: rgba(255, 255, 255, 0.68);
    --eh-header-line: rgba(255, 255, 255, 0.12);
    --eh-header-active: rgba(75, 160, 203, 0.16);
    --eh-header-active-text: #ffffff;
    --eh-header-active-border: rgba(75, 160, 203, 0.42);
    --eh-header-blue: #2796ff;
    --eh-header-blue-soft: rgba(39, 150, 255, 0.14);
}

#customheadercontainer.main-containernavbar {
    margin: 0;
    max-width: none;
    padding: 0;
    width: auto;
}

.eh-site-header {
    background: var(--eh-header-bg);
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    z-index: 1040;
}

.eh-site-header.is-hidden {
    transform: translateY(-100%);
}

.eh-site-header.is-scrolled {
    border-bottom: 1px solid var(--eh-header-line);
    box-shadow: 0 18px 40px rgba(0, 4, 6, 0.22);
}

.eh-navbar {
    background: var(--eh-header-bg);
    min-height: 6.875rem;
    overflow: visible;
    padding: 1.875rem clamp(1.25rem, 5.2vw, 6.25rem);
}

.eh-navbar__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    max-width: 107.5rem;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.eh-navbar__brand,
.eh-offcanvas__brand {
    align-items: center;
    display: inline-flex;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.eh-navbar__desktop {
    display: none;
    margin-left: auto;
}

.eh-navbar__logo {
    display: block;
    height: auto;
    max-height: 2.375rem;
    width: clamp(8.75rem, 10vw, 11.25rem);
}

.eh-navbar__links {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 0;
}

.eh-navbar__links .nav-item {
    align-items: center;
    display: flex;
    padding-inline: 0;
}

.eh-navbar__link {
    align-items: center;
    border-radius: 0.5rem;
    color: var(--eh-header-text);
    display: inline-flex;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    gap: 0.625rem;
    line-height: 1.25;
    min-height: 3.125rem;
    padding: 0.9375rem 2.1875rem;
    position: relative;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.eh-navbar__link:hover,
.eh-navbar__link:focus-visible {
    background: rgba(234, 234, 234, 0.08);
    color: var(--eh-header-text);
    transform: translateY(-1px);
}

.eh-navbar__link:active {
    transform: translateY(0) scale(0.98);
}

.eh-navbar__link.active,
.eh-navbar__link[aria-current="page"] {
    background: var(--eh-header-active);
    color: var(--eh-header-active-text);
    box-shadow: inset 0 0 0 1px var(--eh-header-active-border);
}

.eh-navbar__links .eh-navbar__link.active,
.eh-navbar__links .eh-navbar__link[aria-current="page"],
.eh-navbar__links .eh-navbar__link.active:hover,
.eh-navbar__links .eh-navbar__link.active:focus-visible {
    color: var(--eh-header-active-text);
}

.eh-navbar__links .nav-link.show,
.eh-navbar__links .nav-link.show:hover,
.eh-navbar__links .nav-link.show:focus-visible {
    background: var(--eh-header-active);
    box-shadow: inset 0 0 0 1px var(--eh-header-active-border);
    color: var(--eh-header-text);
}

.eh-navbar__link.dropdown-toggle::after {
    background: url("/images/sektioner/uploads/eh-dropdown-chevron.svg") center / contain no-repeat;
    border: 0;
    content: "";
    flex: 0 0 auto;
    height: 0.4375rem;
    margin-left: 0;
    transition: transform 180ms ease;
    width: 0.75rem;
}

.eh-navbar__link.dropdown-toggle.show::after,
.eh-navbar__link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.eh-navbar__dropdown {
    background: #071016;
    border: 1px solid var(--eh-header-line);
    border-radius: 0.75rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 4, 6, 0.36);
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.75rem;
    min-width: 100%;
    padding: 0.5rem;
}

.eh-navbar__dropdown.show {
    display: flex;
}

.eh-navbar__desktop .dropdown {
    position: relative;
}

.eh-navbar__desktop .dropdown-menu {
    left: auto;
    position: absolute;
    right: auto;
    top: 100%;
    z-index: 1050;
}

.eh-navbar__dropdown-link {
    border-radius: 0.5rem;
    color: var(--eh-header-text);
    font-weight: 600;
    padding: 0.8125rem 0.875rem;
}

.eh-navbar__dropdown-link:hover,
.eh-navbar__dropdown-link:focus {
    background: var(--eh-header-blue-soft);
    color: var(--eh-header-text);
}

.eh-navbar__dropdown-link.active,
.eh-navbar__dropdown-link[aria-current="page"],
.eh-navbar__dropdown-link.active:hover,
.eh-navbar__dropdown-link.active:focus {
    background: var(--eh-header-blue-soft);
    box-shadow: inset 0.1875rem 0 0 var(--eh-header-blue);
    color: var(--eh-header-text);
}

.eh-navbar__toggle {
    background: transparent;
    border: 1px solid var(--eh-header-line);
    border-radius: 0.75rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.3125rem;
    height: 3rem;
    justify-content: center;
    padding: 0 0.875rem;
    width: 3rem;
}

.eh-navbar__toggle:focus {
    box-shadow: 0 0 0 0.25rem var(--eh-header-blue-soft);
}

.eh-navbar__toggle-line {
    background: var(--eh-header-text);
    border-radius: 999px;
    display: block;
    height: 0.125rem;
    width: 1.125rem;
}

.eh-offcanvas {
    background: var(--eh-header-bg);
    border-left: 1px solid var(--eh-header-line);
    color: var(--eh-header-text);
    max-width: min(26rem, 100vw);
}

.eh-offcanvas__header {
    border-bottom: 1px solid var(--eh-header-line);
    min-height: 6.25rem;
    padding: 1.5rem;
}

.eh-offcanvas__logo {
    display: block;
    height: auto;
    max-height: 2.25rem;
    width: 10.75rem;
}

.eh-offcanvas__close {
    border-radius: 999px;
    opacity: 1;
}

.eh-offcanvas__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 1.5rem 1.5rem;
}

.eh-offcanvas__links {
    gap: 0.25rem;
}

.eh-offcanvas__link {
    align-items: center;
    border-bottom: 1px solid var(--eh-header-line);
    color: var(--eh-header-text);
    display: flex;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    justify-content: space-between;
    line-height: 1.2;
    padding: 1.125rem 0;
    transition: color 180ms ease, padding-left 180ms ease;
    width: 100%;
}

.eh-offcanvas__link::after {
    border: solid var(--eh-header-blue);
    border-width: 0 0.125rem 0.125rem 0;
    content: "";
    display: inline-block;
    height: 0.5rem;
    transform: rotate(-45deg);
    width: 0.5rem;
}

.eh-offcanvas__dropdown-toggle {
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    text-align: left;
}

.eh-offcanvas__dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.eh-offcanvas__submenu {
    border-bottom: 1px solid var(--eh-header-line);
    padding: 0.25rem 0 0.875rem;
}

.eh-offcanvas__submenu-link {
    align-items: center;
    color: var(--eh-header-muted);
    display: flex;
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    justify-content: space-between;
    padding: 0.625rem 0 0.625rem 1rem;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
}

.eh-offcanvas__submenu-link::after {
    border: solid var(--eh-header-blue);
    border-width: 0 0.1rem 0.1rem 0;
    content: "";
    display: inline-block;
    height: 0.4rem;
    transform: rotate(-45deg);
    width: 0.4rem;
}

.eh-offcanvas__submenu-link:hover,
.eh-offcanvas__submenu-link:focus-visible {
    color: var(--eh-header-text);
    padding-left: 1.25rem;
}

.eh-offcanvas__submenu-link.active,
.eh-offcanvas__submenu-link[aria-current="page"] {
    color: var(--eh-header-text);
    padding-left: 1.25rem;
}

.eh-offcanvas__link:hover,
.eh-offcanvas__link:focus-visible,
.eh-offcanvas__link.active {
    color: var(--eh-header-text);
    padding-left: 0.5rem;
}

.eh-offcanvas__dropdown-toggle:hover,
.eh-offcanvas__dropdown-toggle:focus-visible,
.eh-offcanvas__dropdown-toggle.active {
    padding-left: 0;
}

.eh-offcanvas__contact {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
}

.eh-offcanvas__contact-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--eh-header-line);
    border-radius: 0.75rem;
    color: var(--eh-header-text);
    display: flex;
    font-family: "Inter", sans-serif;
    gap: 0.875rem;
    justify-content: space-between;
    min-height: 4.25rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.eh-offcanvas__contact-btn::before {
    background: center / contain no-repeat;
    content: "";
    flex: 0 0 1.5rem;
    height: 1.5rem;
    width: 1.5rem;
}

.eh-offcanvas__contact-btn.gettelefonurl::before {
    background-image: url("/images/sektioner/uploads/eh-footer-phone.svg");
}

.eh-offcanvas__contact-btn.geteposturl::before {
    background-image: url("/images/sektioner/uploads/eh-footer-mail.svg");
}

.eh-offcanvas__contact-btn.getgooglemapslink::before {
    background-image: url("/images/sektioner/uploads/eh-footer-location.svg");
}

.eh-offcanvas__contact-btn:hover,
.eh-offcanvas__contact-btn:focus-visible {
    background: var(--eh-header-blue-soft);
    border-color: rgba(39, 150, 255, 0.4);
    color: var(--eh-header-text);
    transform: translateY(-1px);
}

.eh-offcanvas__contact-label {
    margin-right: auto;
    color: var(--eh-header-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.eh-offcanvas__contact-value {
    font-size: 0.9375rem;
    font-weight: 700;
    max-width: 11rem;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1439.98px) {
    .eh-navbar {
        min-height: 5.5rem;
        padding: 1.25rem clamp(1rem, 5vw, 2rem);
    }

    .eh-navbar__logo {
        width: 10rem;
    }
}

@media (min-width: 1440px) {
    .eh-navbar__desktop {
        display: flex;
    }

    .eh-navbar__toggle {
        display: none;
    }
}


/* ----------------------------------
   Topbar Announcement
---------------------------------- */

.eh-topbar {
    --eh-topbar-accent: #4ba0cb;
    --eh-topbar-bg: #071016;
    --eh-topbar-border: rgba(255, 255, 255, 0.12);
    --eh-topbar-padding-y: 0.625rem;
    --eh-topbar-speed: 30s;
    --eh-topbar-text: #ffffff;

    background: #071016;
    background: linear-gradient(90deg, #000406, var(--eh-topbar-bg), #000406);
    border-bottom: 0.0625rem solid var(--eh-topbar-border);
    color: var(--eh-topbar-text);
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    overflow: hidden;
    width: 100%;
}

.eh-topbar.is-disabled {
    display: none;
}

.eh-topbar__track {
    overflow: hidden;
    width: 100%;
}

.eh-topbar__track span {
    align-items: center;
    display: inline-flex;
    padding-bottom: var(--eh-topbar-padding-y);
    padding-left: 100%;
    padding-top: var(--eh-topbar-padding-y);
    white-space: nowrap;
    animation: eh-topbar-scroll var(--eh-topbar-speed) linear infinite;
}

.eh-topbar__track span::before {
    background: var(--eh-topbar-accent);
    border-radius: 999px;
    box-shadow: 0 0 0.875rem rgba(75, 160, 203, 0.5);
    content: "";
    flex: 0 0 auto;
    height: 0.5rem;
    margin-right: 0.75rem;
    width: 0.5rem;
}

.eh-topbar:hover .eh-topbar__track span,
.eh-topbar:focus-within .eh-topbar__track span {
    animation-play-state: paused;
}

.eh-topbar__track a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.1875rem;
    margin-left: 0.25rem;
}

.eh-topbar__track a:hover,
.eh-topbar__track a:focus-visible {
    color: #ffffff;
    text-decoration: none;
}

@keyframes eh-topbar-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 991.98px) {
    .eh-topbar {
        --eh-topbar-padding-y: 0.5625rem;
        --eh-topbar-speed: 14s;

        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eh-topbar__track {
        display: flex;
        justify-content: center;
    }

    .eh-topbar__track span {
        animation: none;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

