/*
 * Hello Elementor Child – tilpasninger
 *
 */



 a:not(.btn) {
  color: #97D700;
  text-decoration: underline;
}
a.green {
  color: #97D700 !important;
  font-weight: bold !important;
}
/* ----- Sticky header ----- */
/* Header-Footer Elementor plugin – headeren med logo/tlf/mail */
/* Virker på alle skærme: desktop, tablet og mobil */
header#masthead {
  position: -webkit-sticky !important; /* Safari / iOS tablet */
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 100%;
}
 .menu-item a.hfe-sub-menu-item {
  padding-left: 20px !important;
  padding-right: 20px !important
}
.hfe-nav-menu .sub-menu {
  min-width: auto;
  margin-left: auto;
  margin-right: auto;
}
.elementor-image-gallery .gallery-item img {
  margin: inherit !important;
}
.col-4 .gallery-columns-4 .gallery-item {
  max-width: 250px;
  }

@media (max-width: 1024px) {
  .hfe-nav-menu .menu-item {
    border-bottom: none !important;
  }
  /* Gør linket til "holder" for linjen */
  .hfe-nav-menu .menu-item > a.hfe-menu-item {
    position: relative;
    display: block;
  }
  /* Ny grøn linje lige under titlen */
  .hfe-nav-menu .menu-item > a.hfe-menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;                  /* justér evt. til -1px / -2px */
    border-bottom: 2px solid #90c52a;  /* samme grønne farve */
    pointer-events: none;
  }
	
	
	
	
ul.sub-menu.sub-menu-open li {
    padding-left: 20px;
	border: none !important;
}
ul.sub-menu.sub-menu-open li a {
    font-size: 17px !important;
    line-height: 100% !important;
    padding: 8px !important;
}
  .hfe-flyout-wrapper .hfe-flyout-close {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    margin: 0.75rem !important;
    z-index: 1000001;
  }
  header#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  /* Undgå at indhold glider under headeren – juster evt. 70px efter headerhøjde */
  body.elementor-page {
    padding-top: 70px !important;
  }

  @media (max-width: 767px) {
 .hfe-nav-menu__toggle {
      margin: 0 !important;
      text-align: right;
  }
  .hfe-nav-menu-icon {
    padding:0px;
  }
    body.elementor-page {
      padding-top: 60px !important; /* ofte lavere header på mobil */
    }
    /* Flyout: X-knappen fast øverst til højre på mobil (stærkere regel) */
    body .hfe-flyout-wrapper .hfe-flyout-close,
    body .hfe-flyout-wrapper .hfe-flyout-content .hfe-flyout-close {
      position: fixed !important;
      top: 0 !important;
      right: 0 !important;
      left: auto !important;
      bottom: auto !important;
      margin: 0.75rem !important;
      z-index: 1000001 !important;
    }
  }
}

/* ----- Responsivt indhold under headeren ----- */
.responsive-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Contact Form 7 – René Munck stil ----- */
.wpcf7 form.wpcf7-form {
  display: grid;
  gap: 0.75rem;
}

.wpcf7 form.wpcf7-form p {
  margin: 0;
}

.wpcf7 form.wpcf7-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Open Sans", Sans-serif;
  color: #282828;
  margin-bottom: 0.25rem;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 2px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: "Open Sans", Sans-serif;
  color: #484544;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wpcf7-form-control.wpcf7-text::placeholder,
.wpcf7-form-control.wpcf7-email::placeholder,
.wpcf7-form-control.wpcf7-textarea::placeholder {
  color: #999;
  font-style: italic;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #97D700;
  box-shadow: 0 0 0 1px rgba(151, 215, 0, 0.5);
  background-color: #F7F9E9;
}

.wpcf7-form-control.wpcf7-textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-submit {
  /* Matcher Elementor-knap: .elementor-button.elementor-button-link.elementor-size-sm */
  display: inline-block;
  border: none;
  border-radius: 2px;
  padding: 10px 20px;
  line-height: 1em;
  background-color: var(--e-global-color-accent, #97D700);
  color: #fff;
  font-family: "Saira Extra Condensed", Sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  word-spacing: 0em !important;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease !important;
}

/* Fjern active/pressed state - knappen skal se ens ud altid */
.wpcf7-submit:active,
.wpcf7-submit:focus,
.wpcf7-submit:focus-visible {
  background-color: var(--e-global-color-accent, #97D700);
  color: #fff;
  outline: none;
  transform: none;
  box-shadow: none;
}

.wpcf7-submit:hover { 
  background-color: white !important;
  color: var(--e-global-color-9182bce);
}
.wpcf7-not-valid {
  border-color: #cf2e2e;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
  margin-top: 0.75rem;
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.wpcf7-form.sent .wpcf7-response-output {
  border-color: #5B8100;
  background-color: #F7F9E9;
  color: #282828;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  border-color: #cf2e2e;
  background-color: #fff5f5;
  color: #cf2e2e;
}

.contact-form-headline {
  font-family: "Open Sans", Sans-serif;
  font-size: 42px;
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  line-height: 1.1em;
  letter-spacing: 5px;
  word-spacing: 0em;
  margin:0;
  padding-bottom: 25px;
}
.max-width-666 {
  max-width: 666px;
}
.elementor-image-gallery .gallery-item img {
  width: 250px;
  height: 250px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .wpcf7 form.wpcf7-form {
    gap: 0.9rem;
  }
}

@media (min-width: 1980px) {
  .elementor-214 .elementor-element.elementor-element-6cbba62 a.hfe-menu-item {
    font-size: 30px;
  }
}
@media (min-width: 2440px) {
  .elementor-214 .elementor-element.elementor-element-6cbba62 a.hfe-menu-item {
    font-size: 35px;
  }
}

@media (min-width: 1024px) and (max-width: 1520px) { 
  .big-resp h3 {
    font-size: 23px !important;
  }
}