/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

/* Gælder for WebKit browsere (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent; /* transparent baggrund */
}

::-webkit-scrollbar-thumb {
  background-color: #ccc; /* lys grå */
  border-radius: 4px;
}

/* Optional: hover effekt */
::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.hero {
    margin-bottom: 105px!important;
}

.e-font-icon-svg-symbols {
    display: none!important;
    height: 0px!important;
}

.follow_linkedin svg {
    height: 22px;
    vertical-align: sub;
}


/**************************************************************************
    # BUTTON
**************************************************************************/
button:not(.CookiebotWidget-logo), .e-button-base, .btn, .button-one, .tf-button, .elementor-button {
    border-width: 5px!important;
    border-style: solid;
    padding: 15px 30px!important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-accent-font-size)!important;
    font-weight: var(--e-global-typography-accent-font-weight)!important;
    text-transform: var(--e-global-typography-accent-text-transform)!important;
    min-width: 200px;
    max-width: 100%;
}

.elementor-field-type-submit .elementor-button:not(:hover) {
    color: var(--e-global-color-primary)!important;
}


.elementor-field-type-submit {
    margin: 0 auto;
}

.btn.blue {
    background: var(--e-global-color-9316a17)!important;
    border-color: var(--e-global-color-9316a17)!important;
    color: #ffffff!important;
    height: 54px;
    line-height: 34px;
}

header .btn.blue {
    height: auto;
    line-height: 24px;
}

.btn-nav {
    margin-top: 0;
    margin-bottom: 30px;
    height: 44px;
    text-align: center;
    line-height: 34px!important;
    width: calc(100% - 120px);
}

.e-button-base, .btn-nav .jet-menu-label {
    padding: 5px 30px!important;
}

.item-slide .button-one  {
    padding: 20px 30px!important;
}

.item-slide .button-group li a {
    margin-right: 40px;
}

.item-slide .button-group li:last-child a {
    margin-right: 0;
}

.jet-mobile-menu__container-inner {
    height: 100vh;
}

.jet-mobile-menu__body {
    height: 100%;
    overflow-y: scroll;
}

/**************************************************************************
    # FORM
**************************************************************************/
.elementor-element .elementor-field-group .elementor-field:not(.elementor-select-wrapper),
.form-field {
    padding: 22px 20px 22px 39px!important;
    margin: 0px 0px 0px 0px!important;
    border-radius: 0px!important;
    border: none!important;
    background-color: var(--e-global-color-cd258f5)!important;
    font-family: var(--e-global-typography-text-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-text-font-size)!important;
    font-weight: var(--e-global-typography-text-font-weight)!important;
    text-transform: var(--e-global-typography-text-text-transform)!important;
    line-height: var(--e-global-typography-text-line-height)!important;
}

.elementor-element .elementor-field-group .elementor-field:not(.elementor-select-wrapper)::placeholder {
    font-family: var(--e-global-typography-text-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-text-font-size)!important;
    font-weight: var(--e-global-typography-text-font-weight)!important;
    text-transform: var(--e-global-typography-text-text-transform)!important;
    line-height: var(--e-global-typography-text-line-height)!important;
    opacity: 0.5;
}

.form-field {
    width: 100%;
}

select.form-field {
    height: 72px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::after {
    content: "";
    position: absolute;

    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);

    pointer-events: none;

    border-left: 3px solid;
    border-bottom: 3px solid;
    width: 12px;
    height: 12px;
}


/* Container */
.elementor-field-type-radio .elementor-field-subgroup {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

/* Hver option = 50% */
.elementor-field-type-radio .elementor-field-option {
  flex: 1;
  position: relative;
}

/* Skjul den originale radio */
.elementor-field-type-radio .elementor-field-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

/* Style label som boks */
.elementor-field-type-radio .elementor-field-option label {
    display: block!important;
    width: 100%;
    padding: 22px 20px 22px 20px !important;
    text-align: center;
    background-color: var(--e-global-color-cd258f5) !important;
    border-radius: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: var(--e-global-typography-text-font-weight) !important;
    text-transform: var(--e-global-typography-text-text-transform) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
}

/* Hover effekt */
.elementor-field-type-radio .elementor-field-option label:hover {
    background-color: var(--e-global-color-cd258f5) !important;
}

/* Når valgt */
.elementor-field-type-radio .elementor-field-option input[type="radio"]:checked + label {
    background: var(--e-global-color-9316a17) !important;
    color: #fff;
}

/**************************************************************************
    # OVERLAY
**************************************************************************/



/**************************************************************************
    # HEADER
**************************************************************************/
header {
    z-index: 100!important;
    position: relative;
}

.header-top {
    z-index: 1!important;
}

header .sticky {
    border-bottom: 3px solid #CCCCCC;
    position: relative;
    z-index: 1;
}

.header-mega-menu .jet-mega-menu-item--top-level {
    width: 120px;
    height: 70px;
    display: flex;
}

.header-mega-menu .jet-mega-menu-item--top-level:after {
    content: '';
    display: block;
    border-bottom: 14px solid rgba(0,0,0,0);
    width: 100%;
    position: absolute;
    bottom: -9px;
    z-index: 999;
}

.header-mega-menu .jet-mega-menu-item--top-level:hover:after {
    border-color: var(--e-global-color-9316a17);
}

.header-mega-menu .jet-mega-menu-item--top-level > div > .jet-mega-menu-item__dropdown {
    display: none;
}

.header-container {
    max-width: 100%;
}

.jet-mega-menu-item, .jet-mega-menu, .jet-mega-menu-list, .elementor-widget-jet-mega-menu {
}

.jet-mega-menu-sub-menu {
    position: fixed !important;
    top: 112px !important;
    background: #ffffff !important;
    width: 100%;
    padding: 20px 0;
}

.admin-bar .jet-mega-menu-sub-menu {
    top: 145px !important;
}



.jet-mega-menu-sub-menu>.jet-mega-menu-sub-menu__list {
    flex-direction: row!important;
    width: 100%;
    gap: 40px;
    width: 1400px;
    max-width: 100%;
    margin: 0 auto!important;
}

.jet-mega-menu-item__link.jet-mega-menu-item__link--sub-level, .jet-mega-menu-mega-container a {
    font-family: var(--e-global-typography-88fed4f-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-88fed4f-font-size)!important;
    font-weight: var(--e-global-typography-88fed4f-font-weight)!important;
    text-transform: var(--e-global-typography-88fed4f-text-transform)!important;
    line-height: var(--e-global-typography-88fed4f-line-height)!important;
}

.jet-mobile-menu__controls {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 40px;
    top: 80px;
    border: 3px solid #000000;
    z-index: 10;
}

.jet-mobile-menu__back {
    padding: 6px;
}

.jet-mobile-menu__after-template {
    position: absolute;
    bottom: 60px;
}

.jet-mega-menu-mega-container {
    position: fixed!important;
    top: 179px!important;
    width: 100%!important;
    background: rgba(255,255,255,0.9);
    overflow: hidden;
    /*border-top: 3px solid #CCCCCC!important;*/
}

.admin-bar .jet-mega-menu-mega-container {
    top: 212px !important;
}


.jet-mega-menu-mega-container__inner {
    padding: 0 10px!important;
    background: none!important;
}

body .sticky {
    transition: 0.5s;
    width: 100%!important;
}

body.is-sticky .sticky {
    position: fixed!important;
    /*top: 0!important;*/
    left: 0!important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1)!important;
    background: #ffffff;
    z-index: 9999;
}


.jet-mega-menu-mega-container__inner ul {
    display: flex;
    flex-direction: row;
    gap: 50px;
    list-style: unset;
    padding: 20px 0;
}

/**************************************************************************
    # HOME
**************************************************************************/

body:not(.home) .sticky,
.home.is-sticky .sticky  {
    background: #ffffff;
}

.home:not(.is-sticky) header .sticky,
.home:not(.is-sticky) .jet-mega-menu-mega-container {
    border-color: rgba(255,255,255,0.15)!important;
}

.home:not(.is-sticky) .jet-mega-menu-mega-container {
   background: rgba(255,255,255,0.2)!important;
}

.home #content {
    margin-top: -177px;
}

.home:not(.is-sticky) .jet-mega-menu-sub-menu,
.home:not(.is-sticky) .jet-mega-menu-sub-menu>.jet-mega-menu-sub-menu__list {
    background: none!important;
}

.home:not(.is-sticky) header  .jet-mega-menu-item__label,
.home:not(.is-sticky) header  .elementor-icon-list-text,
.home:not(.is-sticky) .jet-mega-menu-item__dropdown .icon.icon-plus,
.home:not(.is-sticky) .icon.icon-burger-menu {
    color: #ffffff!important;
}

.home:not(.is-sticky) .jet-mobile-menu__instance.fill-svg-icon .jet-mobile-menu__toggle {
    border-color: #ffffff;
}

.home:not(.is-sticky) .jet-mobile-menu__instance.fill-svg-icon .jet-mobile-menu__toggle svg,
.home:not(.is-sticky) .jet-mobile-menu__instance.fill-svg-icon .jet-mobile-menu__toggle svg path {
    fill: #ffffff!important;
}

.home:not(.is-sticky) .logo img, footer .logo img, .logo.logo-white {
  filter: brightness(0) invert(1);
}

.home:not(.is-sticky) .cpel-switcher--layout-dropdown .cpel-switcher__lang a,
.home:not(.is-sticky) .cpel-switcher__list .cpel-switcher__lang a {
    color: #ffffff!important;
}

.home:not(.is-sticky) .jet-mobile-menu__container .cpel-switcher--layout-dropdown .cpel-switcher__lang a {
    color: #000000!important;
}

.home:not(.is-sticky) .jet-mega-menu-mega-container__inner {
    background: none!important;
}

.home:not(.is-sticky) .jet-mega-menu-mega-container__inner a {
    color: #ffffff!important;
}


.elementor-widget-tfimagebox,
.elementor-widget-tfimagebox > .elementor-widget-container,
.tf-imagebox {
    height: 100%;
}

.tf-imagebox > .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px!important;
}

.tf-button-container {
    margin-top: auto!important;
}

.how-it-works > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
}

.how-it-works > .elementor-widget-wrap,
.display-flex > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
}

.flex-center > .elementor-widget-wrap {
    justify-content: center;
}

.flex-row > .elementor-widget-wrap {
    flex-direction: row;
    flex-wrap: nowrap;
}

.how-it-works-text {
    flex: 1!important;
}

.how-it-works .types,
.margin-top-auto {
    margin-top: auto;
}

.no-with-icon.elementor-element  {
    width: auto!important;
}


.button-bottom-spacer {
    padding-bottom: 40px;
    padding-top: 40px;
}

.button-bottom-spacer .elementor-widget-button {
    position: absolute!important;
    bottom: -40px;
}

.transform-origin-top-left {
    transform-origin: top left!important;
}

.transform-rotate-translate {
    transform: rotateZ(-90deg) translateX(-100%)!important;
}

.latest-projects-width-padding .transform-rotate-translate {
    padding: 15px;
}

.latest-projects .elementor-column .transform-rotate-translate {
    transition: 0.5s;
}

.latest-projects .elementor-column:hover .transform-rotate-translate {
    top: 50px;
}

.transform-rotate-translate-top {
    transform: rotateZ(-90deg) translateY(0%) translateX(0%) !important;
    position: absolute !important;
    top: 160px !important;
    left: -106px;
    margin: 0 !important;
    text-align: right;
    width: 400px !important;
    display: block;
    max-width: 270px !important;
}

.transform-rotate-translate-top {
    transition: 0.5s!important;
}

.transform-rotate-translate-top-container:hover .transform-rotate-translate-top {
    top: 180px!important;
}

.latest-projects .elementor-column .transform-rotate-translate a {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-accent-font-size)!important;
    font-weight: var(--e-global-typography-accent-font-weight)!important;
    text-transform: var(--e-global-typography-accent-text-transform)!important;
    letter-spacing: var(--e-global-typography-accent-letter-spacing)!important;
}


.latest-projects .elementor-column:hover .transform-rotate-translate a {
    color: var(--e-global-color-secondary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.tf-posts-wrap .tf-posts .blog-post .title a {
    font-family: var(--e-global-typography-7780d1d-font-family), Sans-serif;
    font-size: var(--e-global-typography-7780d1d-font-size);
    font-weight: var(--e-global-typography-7780d1d-font-weight);
    text-transform: var(--e-global-typography-7780d1d-text-transform);
    line-height: var(--e-global-typography-7780d1d-line-height);
}

.featured-post {
    height: 220px;
}

.featured-post img {
    height: 220px!important;
    object-fit: cover;
}

.entry.blog-post {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.entry.blog-post > .content {
    height: 100%;
    margin-bottom: 0;
}

.tf-posts-wrap.grid-styles-1.featured-post-top .box-time {
    z-index: 1!important;
}


.owl-carousel .owl-item img {
    height: 260px;
    object-fit: cover;
}

.half-width {
    width: 560px!important;
    max-width: calc(100% - 30px);
}

.forty-width {
    width: 464px!important;
}

.elementor-element:last-child .half-width {
    padding-right: 15px;
}

.elementor-element:first-child .half-width {
    padding-left: 15px;
}

.elementor-element:last-child .half-width {
    margin-left: 30px;
}

.elementor-element:first-child .half-width {
    margin-right: 30px;
}

.jet-mobile-menu__back {
    transform: rotate(45deg)!important;
}

.jet-mobile-menu__item, .jet-mobile-menu__item > div {
    min-height: 30px;
}

.elementor-widget-text-editor a {
    font-family: var(--e-global-typography-text-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-text-font-size)!important;
    font-weight: var(--e-global-typography-text-font-weight)!important;
    text-transform: var(--e-global-typography-text-text-transform)!important;
    line-height: var(--e-global-typography-text-line-height)!important;
}

.elementor-widget-text-editor > *:last-child {
    margin-bottom: 0;
}

/*.video-text-button .elementor-heading-title,
.tf-video-popup .video-icon {
    transition: color 0.5s, background-color 0.5s;
}

.video-text-button > div:hover {
    cursor:pointer;
}

.video-text-button > div:hover .elementor-heading-title {
    color: var(--e-global-color-721e657)!important;
}

.video-text-button > div:hover .tf-video-popup .video-icon {
    background-color: var(--e-global-color-721e657)!important;
}
*/

.small-play-button .video-content,
.small-play-button .ekit-video-popup.ekit-video-popup-btn {
    width: 100%;
}

.small-play-button .ekit-video-popup.ekit-video-popup-btn svg {
    font-size: 64px;
    max-width: 64px;
    width: 64px;
    margin-right: 25px;
}

.small-play-button .ekit-video-popup-title {
    font-family: var(--e-global-typography-7780d1d-font-family), Sans-serif;
    font-size: var(--e-global-typography-7780d1d-font-size);
    font-weight: var(--e-global-typography-7780d1d-font-weight);
    text-transform: var(--e-global-typography-7780d1d-text-transform);
    line-height: var(--e-global-typography-7780d1d-line-height);
}

.ekit_icon_button.ekit-video-popup.ekit-video-popup-btn {
    font-size: 40px;
}



button.mfp-close.ekit-popup-close {
    border: none!important;
    background: none!important;
}


.owl-stage {
    display: flex;
}

.owl-stage .column {
    height: 100%;
}

/**************************************************************************
    # INSTALLTION FORM
**************************************************************************/

input[value="Firkant"] + label,
input[value="Trekant"] + label,
input[value="Cirkel"] + label,
input[value="Rektanglet"] + label {
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    background: url('/wp-content/uploads/2026/05/square.svg') center/contain no-repeat;
    background-size: 40px;
}

input[value="Trekant"] + label {
    background: url('/wp-content/uploads/2026/05/polygon.svg') center/contain no-repeat;
    background-size: 70px;
}

input[value="Cirkel"] + label {
    background: url('/wp-content/uploads/2026/05/ellipse.svg') center/contain no-repeat;
    background-size: 42px;
}

input[value="Rektanglet"] + label {
    background: url('/wp-content/uploads/2026/05/rectangle.svg') center/contain no-repeat;
    background-size: 120px;
}

.installation-form label {
    margin-bottom: 5px;
}

.installation-form label[for="form-field-type_rist"],
.installation-form label[for="form-field-type_armatur"],
.installation-form label[for="form-field-billede"],
.installation-form label[for="form-field-navn"],
.installation-form label[for="form-field-telefon"],
.installation-form label[for="form-field-postnr"],
.installation-form label[for="form-field-email"],
.installation-form label[for="form-field-accept"] {
    display: none;
}

.installation-form .elementor-field-type-html {
    margin-bottom: 0!important;
}


/**************************************************************************
    # SKÆRM
**************************************************************************/
.video-nav-item {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-nav-item.active,
.video-nav-item:hover {
  opacity: 1;
}

#video-nav-element .elementor-custom-embed-play {
    background-color: rgba(255,255,255,0.65);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#video-nav-element .elementor-custom-embed-play svg {
    filter: none!important;
}

/* Sørg for at video-containeren holder aspect ratio 16:9 */
#video-nav-element .elementor-video-container,
#video-nav-element .elementor-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* jQuery sætter højden dynamisk – vi behøver kun dette */
#video-nav-element.video-injected .elementor-video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#video-nav-element.video-injected .elementor-video iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
}

/* Sørg for at Elementors overlay ikke dukker op igen */
#video-nav-element.video-injected .elementor-custom-embed-image-overlay {
  display: none !important;
}

#screen-bottom-back {
  position: fixed !important;
  bottom: 0;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

#screen-bottom-back.sbv-visible {
  transform: translateY(0%);
}


.calculate-screen.step2 .screen-calculate-text,
.calculate-screen.step2 .shower-calculator-container.step2 > .container > .row:not(.button-row):not(.result-row) {
    display: none;
}





/**************************************************************************
    # RESPONSIVE
**************************************************************************/

@media (min-width: 1024px) {
    .hide-desktop {
        display: none!important;
    }

}

@media (max-width: 1330px) {
    .footer-social {
        margin-left: 10px!important;
    }
}

@media (max-width: 1320px) {
    .footer-social {
        margin-left: 20px!important;
    }
}

@media (max-width: 1310px) {
    .footer-social {
        margin-left: 30px!important;
    }
}

@media (max-width: 1300px) {
    .footer-social {
        margin-left: 40px!important;
    }
}

@media (max-width: 1290px) {
    .footer-social {
        margin-left: 50px!important;
    }
}

@media (max-width: 1280px) {
    .footer-social {
        margin-left: 60px!important;
    }
}

@media (max-width: 1024px) {

    .hero {
        margin-bottom: 100px!important;
    }


    .button-bottom-spacer .elementor-widget-button {
        position: relative!important;
        bottom: 0;
        margin-top: 40px;
    }

}

@media (max-width: 767px) {

    .hero {
        margin-bottom: 40px!important;
    }

    .item-slide .button-group li a {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .item-slide .button-group li:last-child a {
        margin-bottom: 0;
    }

    .half-width {
        width: 100%!important;
        max-width: 100%;
        padding-left: 15px!important;
        padding-right: 15px!important;
    }

    .elementor-element .half-width {
        padding-right: 0;
        padding-left: 0;
    }

    .elementor-element:last-child .half-width {
        margin-left: 0;
    }

    .elementor-element:first-child .half-width {
        margin-right: 0;
    }

    .home #content {
        margin-top: -202px;
    }

    input[value="Rektanglet"] + label {
        background-size: 80px;
    }
}



@media (max-width: 550px) {

    .jet-mobile-menu__container-inner {
        padding: 30px 20px 120px 20px!important;
    }

    .jet-mobile-menu__controls {
        top: 30px;
    }

    body.admin-bar[data-elementor-device-mode=mobile] .jet-mobile-menu__instance--slide-out-layout .jet-mobile-menu__container,
    body.admin-bar[data-elementor-device-mode=mobile] .jet-mobile-menu__instance--slide-out-layout .jet-mobile-menu__container .jet-mobile-menu__container-inner  {
        top:0!important;
        height: max(100dvh, 100svh, 100vh)!important;
        bottom: 0!important;
    }

    body.admin-bar[data-elementor-device-mode=mobile] .jet-mobile-menu__instance--slide-out-layout .jet-mobile-menu__container:after {
        /*content: '';
        display: block;
        background: red;
        top: 0;
        position: absolute;
        height: 100vh;
        width: 100%;*/
    }

    .jet-mobile-menu__body {
        max-height: calc(100svh - 180px);
    }

    .jet-mobile-menu-cover {
        min-height: max(100dvh, 100svh, 100vh)!important;
    }

    .jet-mobile-menu-visible  {
        height: max(100dvh, 100svh, 100vh)!important;
        overflow: hidden!important;
        position: fixed;
    }

    .jet-mobile-menu-visible #wpadminbar {
        display: none!important;
    }

    .jet-mobile-menu__after-template {
        bottom: auto;
        top: calc(100svh - 50px);
    }
}
















/**************************************************************************
    # SHOWER CALCULATOR
**************************************************************************/

.row {
    margin: 0 -20px;
    width: calc(100% + 40px);
    float: left;
}

.col-6 {
    width: 50%;
    float: left;
    padding: 0 20px;
}

.col-12 {
    width: 100%;
    float: left;
    padding: 0 20px;
}

form .row,
.results {
    margin: 0 -5px;
    width: 680px;
    max-width: calc(100% + 10px);
    margin: 0 auto;
    float: none;
}

form .row .col-6, form .row .col-12 {
    padding: 5px;
}

#scl-form .row .col-6, #scl-form  .row .col-12 {
    padding: 10px;
}


form .consent {
    margin-top: 15px;
}

.results .row,
.charts-container.row {
    width: 100%;
    padding: 30px 5px;
    margin: 0;
}

.results .row .col-6 {
    padding: 0 5px;
}

body .shower-calculator-container {
    margin: 0;
    background-color: white;
    min-height: auto;
    float: left;
    width: 100%;
    /*overflow: hidden;*/
}

.navbar a i, .icon, .menu-icon, .material-icons {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "FontAwesome", "Material Icons", sans-serif !important;
    font-size: 20px;
    color: #000 !important;
}

.jet-mega-menu-item__dropdown .icon.icon-plus,
.jet-dropdown-arrow .icon.icon-plus {
    font-size: 14px!important;
}

.jet-mega-menu-item__dropdown {
    height: 16px;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: inline-block !important;
}

.shower-calculator-container .container {
    width: 100%;
    margin: 0 auto;
    float: left;
}

.shower-calculator-container .input-group {
    margin: 1.5rem 0;
}

.shower-calculator-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    position:relative;
}

.shower-calculator-container h4 {
    font-family: var(--e-global-typography-7780d1d-font-family), Sans-serif;
    font-size: var(--e-global-typography-7780d1d-font-size);
    font-weight: var(--e-global-typography-7780d1d-font-weight);
    text-transform: var(--e-global-typography-7780d1d-text-transform);
    line-height: var(--e-global-typography-7780d1d-line-height);
    color: var(--e-global-color-primary);
}

/*.shower-calculator-container input[type="number"],
.shower-calculator-container input[type="range"],
.shower-calculator-container select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-top: 0.25rem;
    font-family: 'Poppins', sans-serif;
}*/

.shower-calculator-container input[type="range"] {
    -webkit-appearance: none;
    height: 12px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    padding: 0!important;
}

.shower-calculator-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: var(--e-global-color-9316a17);
    border-radius: 50%;
    cursor: pointer;
}

.shower-calculator-container button {
    background-color: var(--e-global-color-9316a17);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.shower-calculator-container button:hover {
    background-color: var(--e-global-color-secondary);
}

.row.result-row {
    position: relative;
    background: transparent;
}

.row.result-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: var(--e-global-color-secondary);
  opacity: 0.1;
  z-index: 1;
}

.calculate_results  {
    padding: 50px 10px;
    z-index: 2;
    position: relative;
}

.calculate_results > h5,
.shower-calculator-container .highlight-box > h6,
.shower-calculator-container .results h3
 {
    font-size: var(--e-global-typography-7780d1d-font-size)!important;
    line-height: var(--e-global-typography-7780d1d-line-height)!important;
    font-family: var(--e-global-typography-7780d1d-font-family), Sans-serif!important;
    font-weight: var(--e-global-typography-7780d1d-font-weight)!important;
    text-transform: var(--e-global-typography-7780d1d-text-transform)!important;
    color: var(--e-global-color-9316a17)!important;
}

.shower-calculator-container .highlight-box > h6 {
    color: #000000!important;
    line-height: 1.2!important;
    width: 180px!important;
    margin: 0 auto 20px;
}

.calculate_results > h2,
.highlight-box > div:not(.comparison-dropdown) {
    font-size: var(--e-global-typography-1c4c10c-font-size)!important;
    line-height: var(--e-global-typography-1c4c10c-line-height)!important;
    font-family: var(--e-global-typography-1c4c10c-font-family), Sans-serif!important;
    font-weight: var(--e-global-typography-1c4c10c-font-weight)!important;
    text-transform: var(--e-global-typography-1c4c10c-text-transform)!important;
    font-style: var(--e-global-typography-1c4c10c-font-style)!important;
    text-decoration: var(--e-global-typography-1c4c10c-text-decoration)!important;
    color: var(--e-global-color-accent)!important;
    width: 460px;
    margin: 0 auto 15px;
    max-width: 100%;
}

.highlight-box > div:not(.comparison-dropdown) {
    width: 100%;
    color: var(--e-global-color-9316a17)!important;
    font-weight: 700!important;
    font-size: 36px!important;
    white-space: nowrap;
}

.shower-calculator-container .results {
    margin-top: 2rem;
    /*float: left;
    width: 100%;*/
}


.shower-calculator-container .results h3 {
    margin-bottom: 20px;
}

.shower-calculator-container .results .col-6 > .item {
    background: #ffffff!important;
    padding: 10px 20px;
}

.shower-calculator-container .savings-highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    width: 1220px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.shower-calculator-container .highlight-box {
    text-align: center;
    padding: 70px 10px;
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.shower-calculator-container .highlight-box:hover {
    transform: scale(1.05);
}

.shower-calculator-container .highlight-box.good-roi {
    background-color: #e8f5e9;
}

.shower-calculator-container .comparison-dropdown {
    display: none;
    background: white;
    padding: 1rem;
    margin-top: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
    font-family: 'Poppins', sans-serif;
    position: absolute;
    width: calc(100% - 50px);
    font-size: 90%;
    line-height: 1.2;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; }
}

.shower-calculator-container .footnote {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1;
}

.shower-calculator-container h3 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

#duration-value, #flow-rate-value {
    font-weight: 900;
    text-decoration: underline;
}

.charts-container {
    margin-top: 50px;
}

#calculateCost,
#calculateContact,
#screen-contact {
    margin-top: 20px;
    margin-bottom: 60px;
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
    color: #ffffff!important;
}

#screen-contact > .elementor-button-content-wrapper {
    height: 25px;
    line-height: 25px;
}

#scl-submit {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
    color: #ffffff;
}

.calculate-screen .shower-calculator-container.step2 #calculateCost {
    margin-top:-20px;
}

.calculate-screen #scl-form {
    display: none;
}

#calculateContact {
    display: none;
}

.calculate-screen.step3 .calculate_results h5,
.calculate-screen.step3 .calculate_results h2,
.calculate-screen.step3 .calculate_results .charts-container,
.calculate-screen.step3 .calculate_results .contact-button,
.calculate-screen.step3 .calculate_results .results {
    display: none;
}

.calculate-screen.step3 .calculate_results #scl-form {
    display: block;
    margin-top: 0;
}

.calculate-screen #calculateContact {
    display: block;
    margin-bottom: 30px;
}

#scl-form {
    margin-top: 80px;
    float:left;
    width: 100%;
}

#scl-form input {
    background: #ffffff!important;
}

.item {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.item .name {
  white-space: nowrap;
}

.item .dots {
  flex: 1;
  margin: 0 8px;
  transform: translateY(-3px);
}

.item .price {
  white-space: nowrap;
}

.success-message,
.elementor-message.elementor-message-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    margin-top: 1rem;
}


.info-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* I-ikon */
.info-icon {
    width: 25px;
    height: 25px;
    border: 2px solid #333;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    margin-left: 10px;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    padding-left: 8px;
    padding-right: 10px;
    position: absolute;
    top: -18px;
}

.info-icon:hover {
    background-color: #333;
    color: #ffffff;

}

/* Tooltip tekst */
.info-tooltip {
    position: absolute;
    left: 50px;
    top: -6px;
    transform: translateY(-50%);
    background-color: var(--e-global-color-721e657);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1;
    /* Skjult som standard */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-tooltip a {
    color: var(--e-global-color-9316a17)!important;
}


/* Pil til venstre på tooltip */
.info-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--e-global-color-721e657);
}

/* Synlig tilstand */
.info-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 960px) {
    .shower-calculator-container .savings-highlights {
        flex-wrap: nowrap;
    }

    .shower-calculator-container .highlight-box {
        width: 220px;
        height: 220px;
    }

    .shower-calculator-container .highlight-box > h6 {
        font-size: 20px!important;
        width: 170px !important;
    }

    .highlight-box > div:not(.comparison-dropdown) {
        font-size: 32px!important;
    }
}


@media (max-width: 960px) and (min-width: 600px) {

    .info-tooltip {
        position: absolute;
        left: -80px;
        top: -46px;
        padding: 5px 10px;
    }

    .info-tooltip, .info-tooltip a {
        font-size: 14px!important;
    }

    .info-tooltip::before {
        content: '';
        position: absolute;
        right: auto;
        left: 97px;
        top: calc(100% + 5px);
        border: 6px solid transparent;
        border-top-color: var(--e-global-color-721e657);
    }
}



@media (max-width: 767px) {

    .results .row .col-6 {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .row .col-6 {
        width: 100%;
    }

    .info-tooltip {
        padding: 5px 10px;
    }

    .info-tooltip, .info-tooltip a {
        font-size: 12px!important;
    }


}