/* ============================================
   GRAVITY FORMS – MENOKIND (PF-CONTAINER)
   Desktop + Mobile

=========================================== */

/* ---------- 0. Anchors / stabil scroll ved sticky header ---------- */

#mk-screening-intro,
#mk-screening{scroll-margin-top: calc(var(--mk-header-h, 0px) + 16px);
}

/* ---------- 1. Tokens (lokale defaults til GF-UI) ---------- */

#content .pf-container{
  --mk-gf-green: #112B26;
  --mk-gf-ink:   #102b25;
  --mk-gf-bg:    #FFFAF7;
  --mk-gf-card:  #cabfff4a;
  --mk-gf-focus: var(--e-global-color-7c812e6);

  /* Menokind chevron (bruges både af vores CSS og GF framework) */
  --mk-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' stroke='%23112B26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* Override Gravity Forms framework icon pipeline */
  --gf-ctrl-select-icon: var(--mk-select-chevron);
}

/* ---------- 2. Helpers / base ---------- */

/* Progressbar synlig (kan overstyres pr. form) */
#content .pf-container .gf_progressbar_wrapper{
  display:block;
}

/* Skjul “* obligatorisk”-legend */
#content .pf-container .gform_heading .gform_required_legend{
  display:none;
}

/* Skjul stjerne efter labels (globalt i pf-container) */
#content .pf-container .gfield_label .gfield_required,
#content .pf-container .gfield--input-type-phone .gfield_label .gfield_required,
#content .pf-container .gfield--input-type-email .gfield_label .gfield_required{
  display:none;
}

/* Skjul GF loader */
#content .pf-container .gform-loader{
  display:none !important;
}

/* iOS input-zoom fix (inputs/textarea) */
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){
  #content .pf-container .gform-theme--foundation .gfield input,
  #content .pf-container .gform-theme--foundation .gfield textarea,
  #content .pf-container .gform-theme--foundation textarea{
    font-size:16px !important;
    font-size-adjust:0.35 !important;
  }
}

/* Choice grids spacing */
#content .pf-container .gform-theme--framework .gfield--type-choice .gfield_checkbox,
#content .pf-container .gform-theme--framework .gfield--type-choice .gfield_radio{
  gap:14px;
}

/* ---------- 3. Inputs & textareas (baseline) ---------- */
/* NB: selects styles live ONLY in 3.1 */

#content .pf-container .gform-theme--foundation .gfield .ginput_password,
#content .pf-container .gform-theme--foundation .gfield input{
  border-radius:4px;
  font-family:"nunito-sans", Sans-serif;
  font-size:12.6px;
  font-weight:400;
  letter-spacing:0.056em;
  line-height:1.4;
  height:40px;
}

/* Fokus-states (inputs/textareas) */
#content .pf-container input:focus,
#content .pf-container textarea:focus{
  border-color: var(--mk-gf-focus);
  background-color: transparent;
}

/* Fokus-states (selects) – må ikke være transparent */
#content .pf-container select:focus{
  border-color: var(--mk-gf-focus);
  background-color: var(--mk-gf-bg);
}

/* Autofill inde i pf-container */
#content .pf-container input:-webkit-autofill,
#content .pf-container input:-webkit-autofill:hover,
#content .pf-container input:-webkit-autofill:active,
#content .pf-container input:-webkit-autofill:focus,
#content .pf-container textarea:-webkit-autofill,
#content .pf-container textarea:-webkit-autofill:hover,
#content .pf-container textarea:-webkit-autofill:active,
#content .pf-container textarea:-webkit-autofill:focus,
#content .pf-container textarea.small:-webkit-autofill,
#content .pf-container textarea.small:-webkit-autofill:hover,
#content .pf-container textarea.small:-webkit-autofill:active,
#content .pf-container textarea.small:-webkit-autofill:focus{
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px var(--mk-gf-bg) inset !important;
  -webkit-text-fill-color: var(--mk-gf-green) !important;
  border: 1px var(--mk-gf-green) solid;
}
/* ---------- 3.x Focus reset (fjern blå browser-outline) ---------- */
#content .pf-container .gform_wrapper .gfield
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  textarea,
  select
):focus{
  outline:none;
  box-shadow:none;
}

#content .pf-container .gform_wrapper .gfield
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  textarea,
  select
):focus-visible{
  outline:none;
  box-shadow:0 0 0 1px var(--mk-gf-focus);
}

/* ---------- 3.1 Dropdowns (select) – Menokind UI (single source of truth) ---------- */

#content .pf-container .gform_wrapper .gfield select,
#content .pf-container .gform-theme--foundation .gfield select,
#content .pf-container .gform-theme--framework .gfield select{
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    min-height: 46px;
    border-radius: 4px;
    border: 1px solid var(--mk-gf-green);
    background-color: #f5f5f5;
    color: var(--mk-gf-green);
    padding: 0 44px 0 12px;
    font-family: "nunito-sans", Sans-serif;
    font-size: 13.6px;
    font-weight: 400;
    letter-spacing: 0.056em;
    line-height: 3.1;
    -webkit-appearance: none;
    appearance: none;
   background-image: var(--gf-ctrl-select-icon);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* Placeholder-look (typisk første option = tom værdi) */
#content .pf-container .gform_wrapper select:required:invalid{
  color: rgba(17, 43, 38, 0.55);
}

/* Fokus: fjern ring ved klik (keyboard ring håndteres separat) */
#content .pf-container .gform_wrapper select:focus{
  outline:none;
  box-shadow:none;
  border-color: var(--mk-gf-focus);
  background-color: var(--mk-gf-bg);
}

/* Fokus-ring kun ved tastatur */
body.mk-using-keyboard #content .pf-container .gform_wrapper select:focus{
  box-shadow:0 0 0 2px var(--mk-gf-focus);
}

/* Disabled */
#content .pf-container .gform_wrapper select:disabled{
  opacity:.6;
  cursor:not-allowed;
  background-color:rgba(17, 43, 38, 0.06);
}

/* Multi-select: ingen chevron, fri højde */
#content .pf-container .gform_wrapper select[multiple]{
  height:auto;
  min-height:120px;
  padding-right:12px;
  background-image:none;
}

/* iOS Safari: undgå auto-zoom på selects */
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){
  #content .pf-container .gform_wrapper select{
    font-size:16px;
  }
}

/* Mobil: touch target + lidt strammere ikon spacing */
@media (max-width: 600px){
  #content .pf-container .gform_wrapper select{
    height:44px;
    min-height:44px;
    padding-right:40px;
    background-position:right 10px center;
  }
}

/* ---------- 3.2 Date dropdowns (Dag/Måned/År) = 3 kolonner á 33% ---------- */

#content .pf-container .gfield--type-date .ginput_container.ginput_complex.gform-grid-row{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  width:100%;
  max-width:100%;
}

#content .pf-container .gfield--type-date .ginput_container.ginput_complex.gform-grid-row > .gform-grid-col{
  width:100%;
  min-width:0;
  margin:0;
}

/* Mobil: hvis det bliver for smalt, så stack */
@media (max-width: 480px){
  #content .pf-container .gfield--type-date .ginput_container.ginput_complex.gform-grid-row{
    grid-template-columns:1fr;
  }
}

/* ---------- 3.2a Spacing under fieldset + edge-to-edge date selects ---------- */

#content .pf-container .gfield--type-date{
  margin-bottom: 22px; /* justér: 16–28px */
}

/* Nulstil evt. indvendige offsets fra GF grid-kolonner */
#content .pf-container .gfield--type-date
.ginput_container.ginput_complex.gform-grid-row{
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Sørg for at kolonner ikke har egen padding der “skubber” ind */
#content .pf-container .gfield--type-date
.ginput_container.ginput_complex.gform-grid-row > .gform-grid-col{
  padding-left: 0;
  padding-right: 0;
}

/* Vores gap styrer “luften” mellem selects (venstre/højre går til kant) */
#content .pf-container .gfield--type-date
.ginput_container.ginput_complex.gform-grid-row{
  gap: 12px; /* justér */
}

/* ---------- 4. Validation (scoped) ---------- */

#content .pf-container .gform-theme--framework{
  --gf-form-validation-border-color:#CAAEFF;
  --gf-form-validation-shadow:none;
}

#content .pf-container .gform-theme--framework .gform_validation_errors .gform-icon,
#content .pf-container .gform-theme--framework .gform_validation_errors .gform-icon:before{
  display:none;
}

#content .pf-container .gform-theme--framework .gform_validation_errors{
  color:#F74B0A;
  border-color:#CAAEFF !important;
  background-color:#cabfff4a;
  padding:22px;
  box-shadow:none !important;
  outline:none !important;
}
#content .pf-container .gform-theme--framework  .gform_validation_errors ol{
	list-style:none;
	padding: 0;
}

#content .pf-container .gform-theme--framework .gform_validation_errors:focus,
#content .pf-container .gform-theme--framework .gform_validation_errors:focus-visible,
#content .pf-container .gform-theme--framework .gform_validation_errors[tabindex="-1"]:focus{
  box-shadow:none !important;
  outline:none !important;
}

#content .pf-container .gform-theme--framework [data-js="gform-focus-validation-error"]:focus,
#content .pf-container .gform-theme--framework [data-js="gform-focus-validation-error"]:focus-visible{
  box-shadow:none !important;
  outline:none !important;
}

#content .pf-container .gform-theme--framework .gform_validation_errors .gform_submission_error{
  color:#F74B0A;
  font-size:10px;
  letter-spacing:0.04em;
  font-family:"nunito-sans", Sans-serif;
}

#content .pf-container .gform-theme--framework .gform_validation_errors ol,
#content .pf-container .gform-theme--framework .gform_validation_errors ol a{
  color:#F74B0A;
  font-weight:400;
  font-family:"nunito-sans", Sans-serif;
  letter-spacing:0.05em;
  font-size:11.4px;
  text-transform:none;
  text-decoration:none;
}

/* Inline validation – default (kan skjules selektivt længere nede) */
#content .pf-container .validation_message{
  color:#F74B0A;
  font-weight:400;
  font-family:"nunito-sans", Sans-serif;
  letter-spacing:0.4px;
  font-size:inherit;
  margin-top:4px;
}

/* Rød kant ved .gfield_error (SCOPE’D til pf-container) */
#content .pf-container .gform-theme--framework .gfield_error .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#content .pf-container .gform-theme--framework .gfield_error input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#content .pf-container .gform-theme--framework .gfield_error select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#content .pf-container .gform-theme--framework .gfield_error select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#content .pf-container .gform-theme--framework .gfield_error textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
  border-color:#112B26;
}

/* Neutralisér choice-kort border ved fejl */
#content .pf-container .gform-theme--framework .gfield_error .gchoice input.gfield-choice-input{
  border-color:#102b25 !important;
  box-shadow:none !important;
}

/* Validation: mobil justering */
@media (max-width: 600px){
  #content .pf-container .gform-theme--framework .gform_validation_errors{
    padding:22px;
    gap:9px;
    margin-bottom:22px;
  }

  #content .pf-container .gform-theme--framework .gform_validation_errors .gform_submission_error{
    font-size:11px;
    letter-spacing:0.04em;
    text-align:left;
  }

  #content .pf-container .gform-theme--framework .gform_validation_errors ol,
  #content .pf-container .gform-theme--framework .gform_validation_errors ol a{
    letter-spacing:0.05em;
    font-size:11.4px;
    text-align:left;
  }
}

/* ---------- 5. Choice UI (DEFAULT cards + opt-out native) ---------- */

/* Legends */
body #content .pf-container .gform_wrapper .gform-body .gfield .gfield_label.gform-field-label{
  font-family:"ivyora-display", Sans-serif;
  font-size:20px;
  font-weight:400;
  line-height:1.45;
  letter-spacing:0.036em;
  color:#112B26;
  margin:0 0 24px;
}

body #content .pf-container .gform_wrapper .gform-body
.gfield.mk-legend-main > legend.gfield_label.gform-field-label{
  font-size:18px;
  font-weight:400;
  letter-spacing:0.07em;
  margin-bottom:14px;
}

/* MOBIL legend tweaks */
@media (max-width: 600px){
  body #content .pf-container .gform_wrapper .gform-body .gfield legend.gfield_label.gform-field-label{
    font-size:19px;
    line-height:1.4;
    margin-bottom:30px;
    text-align:center;
  }

  body #content .pf-container .gform_wrapper .gform-body
  .gfield.mk-legend-main > legend.gfield_label.gform-field-label{
    font-size:16px;
    margin-bottom:10px;
  }

  /* På mobil: drop fixed gap hvis du vil have mere “naturlig” wrap */
  #content .pf-container .gform-theme--framework .gfield--type-choice .gfield_checkbox,
  #content .pf-container .gform-theme--framework .gfield--type-choice .gfield_radio{
    gap:inherit;
  }
}

/* DEFAULT cards – gælder choice-felter i pf-container, undtagen native + consent */
#content .pf-container .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent) .gchoice{
  position:relative;
  z-index:1;
  margin:0;
  padding:0;
  height:64px;
  width:100% !important;
}

/* Card input layer */
#content .pf-container .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent) input.gfield-choice-input{
  z-index:2;
  appearance:none;
  -webkit-appearance:none;
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  position:absolute;
  border-radius:4px;
  background:var(--mk-gf-card);
  border:1px solid var(--mk-gf-ink);
  transition:0.3s all ease-in-out;
}

/* Ingen GF ikon før pseudo-element */
#content .pf-container .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
input.gfield-choice-input:before{
  display:none;
}

/* Fokus: ingen ring ved klik */
#content .pf-container .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
.gchoice input.gfield-choice-input:focus{
  outline:none;
  box-shadow:none;
}

/* Tastatur-ring (kun når body har mk-using-keyboard) */
body.mk-using-keyboard #content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
.gchoice input.gfield-choice-input:focus{
  box-shadow: 0 0 0 2px var(--mk-gf-focus);
}

/* Label (klik-område) */
#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
.gchoice label{
  z-index:3;
  display:block;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:94%;
  padding-left:52px;
  overflow:visible;
  font-family:"nunito-sans", Sans-serif;
  font-size:12.4px;
  font-weight:400;
  letter-spacing:0.048em;
  line-height:1.28;
  color:var(--mk-gf-ink);
  cursor:pointer;
}

/* Box foran label */
#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
input.gfield-choice-input + label:after{
  content:'';
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:24px;
  height:24px;
  padding:0 6px;
  font-size:16px;
  border-radius:4px;
  border:1px solid var(--mk-gf-ink);
  vertical-align:middle;
  z-index:2;
  transition:0.3s all ease-in-out;
}

/* Checked state */
#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
input.gfield-choice-input:checked{
  background:var(--mk-gf-green);
  border:1px solid var(--mk-gf-green);
  box-shadow:5px 5px 5px 2px rgba(17, 43, 38, 0.15);
}

#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
input.gfield-choice-input:checked + label{
  color:#f5f5f5;
}

#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
input.gfield-choice-input:checked + label:after{
  content:'X';
  border:1px solid #f5f5f5;
  color:#f5f5f5;
}

/* Progressive enhancement: behold :has() (ikke nødvendig, men ok) */
#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
.gchoice:has(input.gfield-choice-input:checked){
  border-radius:4px;
}

/* Skjul inline validation kun for choice-cards (så vi ikke mister tekster for inputs) */
#content .pf-container
.gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
:not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
.validation_message{
  display:none;
}

/* Hover (desktop) */
@media (hover: hover) and (pointer: fine){
  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  input.gfield-choice-input:hover,
  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  .gchoice label:hover{
    cursor:pointer;
  }

  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  .gchoice:hover input.gfield-choice-input:not(:checked){
    background:#cabfff;
    border-color:#cabfff;
    box-shadow:5px 5px 5px 2px rgba(17, 43, 38, 0.15);
  }
}

/* Mobile card layout */
@media (max-width: 600px){
  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  .gchoice{
    height:auto;
    min-height:80px;
    margin-bottom:10px;
  }

  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  .gchoice label{
    position:relative;
    top:auto;
    transform:none;
    padding:16px 10px 16px 52px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    font-size:12px;
    line-height:1.5;  
    white-space: pre-wrap;
    width: 98%;
    margin: 0 0 0 5px;
        
  }

  #content .pf-container
  .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio)
  :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent)
  input.gfield-choice-input + label:after{
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    font-size:15px;
    margin-right:0;
    flex:0 0 24px;
  }
}

/* Opt-out: standard/native checkbox/radio (understøtter begge klassetyper) */
#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) .gchoice{
  position:static;
  height:auto;
  width:auto;
  margin:0 0 10px;
  padding:0;
}

#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) input.gfield-choice-input{
  position:static;
  width:auto;
  height:auto;
  margin:0 10px 0 0;
  padding:0;
  border:initial;
  background:initial;
  box-shadow:none;
  appearance:auto;
  -webkit-appearance:auto;
}

#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) input[type="checkbox"].gfield-choice-input{
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) input[type="radio"].gfield-choice-input{
  -webkit-appearance: radio;
  appearance: radio;
}

#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) .gchoice label{
  position:static;
  transform:none;
  width:auto;
  padding:0;
  display:inline;
  color:inherit;
  font-family:inherit;
  font-size:inherit;
  letter-spacing:inherit;
  line-height:inherit;
}

#content .pf-container .gfield:is(.mk-choice-native, .mk-native-choice) input.gfield-choice-input + label:after{
  content:none !important;
}

/* ---------- 6. GF buttons (scoped) ---------- */

#content .pf-container .gform_wrapper :is(input.button, .button, input[type="submit"], input[type="button"], button){
  background-color:var(--mk-gf-green);
  border:1px solid var(--mk-gf-green);
  color:#FFFFFB;
  transition:0.2s ease-in-out;
  font-family:"Montserrat", Sans-serif;
  font-size:11.6px;
  font-weight:400;
  letter-spacing:0.24em;
  border-radius:0;
  padding:18px;
  text-transform:uppercase;
  line-height:2;
  min-height:44px;
  -webkit-tap-highlight-color: transparent;
}

#content .pf-container .gform_wrapper :is(input.button, .button, input[type="submit"], input[type="button"], button):hover{
  background-color:transparent;
  border-color:var(--mk-gf-green);
  color:var(--mk-gf-green);
}

/* Ingen ring ved klik */
#content .pf-container .gform_wrapper :is(input.button, .button, input[type="submit"], input[type="button"], button):focus{
  outline:none !important;
  box-shadow:none !important;
}

/* Ring kun ved tastatur */
body.mk-using-keyboard #content .pf-container .gform_wrapper :is(input.button, .button, input[type="submit"], input[type="button"], button):focus{
  outline:none !important;
  box-shadow:0 0 0 2px var(--mk-gf-focus) !important;
}

/* Secondary-knap */
#content .pf-container .gform_wrapper input.button.gform-theme-button--secondary{
  background-color: var(--e-global-color-38c620a);
  color: var(--e-global-color-secondary);
  border-color: var(--e-global-color-secondary);
}
#content .pf-container .gform_wrapper input.button.gform-theme-button--secondary:hover{
  background: var(--e-global-color-4082d04);
  color:#fff;
  border-color: var(--e-global-color-4082d04);
}

/* Layout: page footer / footer knapper (1 eller flere) */
#content .pf-container .gform_wrapper :is(.gform_page_footer, .gform_footer){
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:stretch;
  justify-content:space-between;
  margin-top:21px;
}

/* Default: alle knapper fuld bredde på mobile */
#content .pf-container .gform_wrapper :is(.gform_page_footer, .gform_footer)
:is(input.button, .button, input[type="submit"], input[type="button"], button){
  width:100%;
}

/* DESKTOP – 2 knapper ~ 50/50, 1 knap = 100% (praktisk via flex-basis) */
@media (min-width: 600px){
  #content .pf-container .gform_wrapper :is(.gform_page_footer, .gform_footer)
  :is(input.button, .button, input[type="submit"], input[type="button"], button){
    flex:1 1 calc(50% - 6px);
    width:auto;
  }

  /* Hvis der kun er én knap i footeren: lad den gå full width */
  #content .pf-container .gform_wrapper :is(.gform_page_footer, .gform_footer)
  :is(input.button, .button, input[type="submit"], input[type="button"], button):only-child{
    flex-basis:100%;
  }
}


/* Screening custom styles */

#content .wrap-screening .sc-left-img{
	    align-self: baseline;
	padding:2%;
}
#content .wrap-screening .sc-left-img > div{
	min-height:400px;
}

#content .wrap-screening .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#content .wrap-screening .gform-theme--framework .gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body #content .pf-container.sf-container .gform-body .repeat-block .gform-field-label

{
	 color: var(--gf-local-color);
    display: var(--gf-local-display);
    font-family: var(--gf-local-font-family);
    font-size: var(--gf-local-font-size);
    font-style: var(--gf-local-font-style);
    font-weight: var(--gf-local-font-weight);
    letter-spacing: var(--gf-local-letter-spacing);
    line-height: var(--gf-local-line-height);
}
body #content .pf-container.sf-container .gform-body .gform-field-label,
body #content .pf-container.sf-container .gform-body .gfield .gfield_description:not(.validation_message),
body #content .pf-container.sf-container .gform-body .gform-field-label{
	font-size:13px;
	line-height:18.5px;
	color:#585e6a;
}
#content .wrap-screening .sf-container form input, 
#content .wrap-screening .sf-container form textarea{
	font-size:12px;
	background: var(--mk-gf-card);
	border-color:var(--mk-gf-card);
}
#content .wrap-screening .sf-container form .gform-body select{
	background: var(--mk-gf-card);
	border-color:var(--mk-gf-card);
}

#content .wrap-screening .sf-container #gform_fields_26_31 {
	row-gap: 15px;
}
#content .wrap-screening .sf-container .gform_validation_errors ol{
	    list-style: none;
    padding-left: 0;
}

body #content .pf-container.sf-container .gform_wrapper .gform-body #gform_fields_26 .gfield legend.gfield_label.gform-field-label{
	margin-bottom:2px;
}

body #content .pf-container.sf-container .gform_wrapper .gform-body #gform_fields_26,
body #content .pf-container.sf-container .gform_wrapper .gform-body #gform_fields_26_3,
body #content .pf-container.sf-container .gform_wrapper .gform-body #gform_fields_26_2,
body #content .pf-container.sf-container .gform_wrapper .gform-body #gform_fields_26_5{
	row-gap: 20px;
}
body #content .pf-container.sf-container .gform_wrapper .gform-body .textarea.small{
	min-block-size: 12rem;
}

body #content .pf-container.sf-container .f-head{
	    font-family: "ivyora-display", Sans-serif;
    font-size: 1.39rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.026em;
    margin: 0;
}

body #content .mk-firstfold .hero-screen{
	width:93%;
	min-height:0;
}

body #content .pf-container.sf-container .gform-body select {
  -webkit-tap-highlight-color: transparent;
	background-clip: padding-box;
}
body #content .pf-container.sf-container .gform-body select:focus {
  outline: none;
  box-shadow: none;
}

body #content .pf-container.sf-container .gform-body select {
  -webkit-appearance: none;
  appearance: none;
}
body #content .pf-container.sf-container .gform-body #input_26_146{
	margin-top:10px;
}
body #content .pf-container.sf-container .gform-body .gfield_description + .ginput_container{
	margin-top:10px;
}

body #content .pf-container.sf-container .gform-body #field_26_222{
	line-height: 1.5;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_group_item,
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gform-field-label{
	width: 35%;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_header_item{
	width: 50%;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list  .gfield_header_item--icons{
	width:30%;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row input{
	padding-left:10px;
	padding-right:10px;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_header_item{
	font-size: 13px;
    line-height: 18.5px;
    color: #585e6a;
}
body #content .pf-container.sf-container .gform-body input[type="text"]{
	padding-left:10px;
	padding-right:10px;
	border: 1px solid var(--mk-gf-ink);
}
body #content .pf-container.sf-container .gform-body input[type="text"]:focus
/*,
body #content .pf-container.sf-container .gform-body input[type="text"]:hover*/
{
        background: #cabfff;
        border-color: #cabfff;
}
body #content .pf-container.sf-container .gform-body input[type="checkbox"],
#content .pf-container .gform-theme--foundation .gfield input[type="checkbox"]{
	height:20px;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons{
	width: 35%;
	    gap: 4%;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons button{
	width:48%;
	height:40px;
	min-height:40px;
	padding:10px;
}

body #content .pf-container.sf-container .gform-body .repeat-block .gfield_list_icons button:before{
	width:18px;
}
body #content .pf-container.sf-container .gform-body .repeat-block .gfield_list_icons button:hover:before{
	color:var(--e-global-color-secondary);
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons .delete_list_item:hover{
	background-color: var(--mk-gf-green);
    border: 1px solid var(--mk-gf-green);
    color: #FFFFFB;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons .delete_list_item:hover:before{
  color: #FFFFFB;
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons .delete_list_item{
	background-color: var(--e-global-color-38c620a);
    color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}
body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons .delete_list_item:before{
	color: var(--e-global-color-secondary);
}

body #content .pf-container.sf-container .gform-body .gfield_consent_description{
	border:none;
	outline:none;
}
body #content .pf-container.sf-container .gform-body #field_26_79 .gfield_label{
	margin-bottom:10px;
}
body #content .pf-container.sf-container .gform-body #gform_fields_26_15{
	margin-bottom: 25px;
}

body #content .pf-container .gform-body .gf-tip-link{ 
    font-size: 13px;
    line-height: 18.5px;
	display:block;
}
body #content .pf-container .gform-body .gfield--type-html + .gfield--type-html .gf-tip-link{
	margin-top: -15px;
}
body .gf-slideout{
	/*border:15px solid var(--e-global-color-25c6d97);*/
	    background-color: var(--e-global-color-4082d04);
	padding:80px 40px;
	 transition: transform 0.65s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.65s ease;
}
body .gf-slideout .gf-slideout__content *,
body .gf-slideout .gf-slideout__content{
	color:#fff;
}
body .gf-slideout .gf-slideout__close{    
	position: absolute;
    right: 20px;
    padding: 0;
    top: 20px;
    font-size: 34px;
    border: none;
    color: #fff;
}
body .gf-slideout .gf-slideout__close:hover{
	background:transparent;
	color:var(--e-global-color-25c6d97);
}
body .gf-slideout .gf-slideout__content h3{
	margin-bottom:15px;
}
body .gf-slideout .gf-slideout__content p{
	margin: 10px 0 15px;
}
body #content .pf-container.sf-container .gform-body .gfield_consent_description{
	padding:0;
}
body #content .pf-container.sf-container .gform-body .gfield_consent_description ul{
	padding-left:0px;
}
body #content .pf-container.sf-container .gform-body .gfield_consent_description ul li{
	display:inline-block;
}
body #content .pf-container.sf-container .gform-body .gfield_consent_description ul li:before{
	display:inline-block;
	font-family: "Happy Icons" !important;
	content: "\e90f";
	font-size:14px;
	color: #CBBEFE;
	margin-right:8px;
}


body #content .pf-container.sf-container .gform-body .ginput_container_consent input[type="checkbox"], 
#content .pf-container .gform-theme--foundation .ginput_container_consent input[type="checkbox"]{
	    width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--mk-gf-ink);
	background: var(--mk-gf-card);
	outline:none!important;
}

body #content .pf-container.sf-container .gform-body .ginput_container_consent input[type="checkbox"]:before, 
#content .pf-container .gform-theme--foundation .ginput_container_consent input[type="checkbox"]:before{
	content: 'X';
	color:var(--mk-gf-ink);
	    font-family: var(--gf-local-font-family)!important;
}
body #content .pf-container .gform_wrapper .gform-body .gfield .gfield_label.gform-field-label + .gfield_description .gf-tip-link{
	    margin-top: -20px;
    margin-bottom: 20px;
}
body #content .pf-container .gform_wrapper .gform-body .gfield_consent_description .gf-tip-link{
	    margin-top: -10px!important;
    margin-bottom: -5px!important;
}
#content .pf-container.sf-container .gform-body .gform_page .validation_message{
	color: #F74B0A;
    font-weight: 400;
    font-family: "nunito-sans", Sans-serif;
    letter-spacing: 0.4px;
    font-size: inherit;
}
#content .pf-container.sf-container .gfield_description.validation_message{
	    display: inline-flex;
    margin: 0 10px;
}
#content .pf-container.sf-container #field_26_297,
#content .pf-container.sf-container #field_26_307,
#content .pf-container.sf-container #field_26_309,
#content .pf-container.sf-container #field_26_311{
	    grid-column: span 6;
}

select option:hover {
  background-color: transparent !important;
}

select option:checked {
  background-color: transparent !important;
  color: inherit;
}
select {
  -webkit-tap-highlight-color: transparent;
}

/* Gravity Forms general rules */
#content .pf-container .gform-theme--framework {
    --gf-form-spinner-fg-color: #CAAEFF;
}
#content .pf-container #gform_wrapper_26[data-form-index="0"].gform-theme, 
#content .pf-container [data-parent-form="26_0"] {
	--gf-color-primary: #CAAEFF;
	--gf-color-primary-darker:#121142;
    --gf-color-primary-lighter: #cabfff4a;
	--gf-color-in-ctrl-primary: #CAAEFF;
	--gf-color-in-ctrl-primary-darker: #121142;
    --gf-color-in-ctrl-primary-lighter: #cabfff4a;
}

.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus, .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus{
	    --gf-local-outline-color: #CAAEFF;
}

@media (max-width: 780px){
    body #content .pf-container .gform_wrapper .gform-body .gfield legend.gfield_label.gform-field-label {
		text-align:left;
	}
	#mk-screening-intro > .elementor-element,
	.wrap-screening > .elementor-element {
		width:92%;
	}
	body #content .pf-container.sf-container .gform_validation_errors *{
		text-align:left;
	}
	body #content .pf-container.sf-container .validation_message{
		display:block;
		margin-top: -10px;
	}
	body #content .pf-container.sf-container #field_26_79 .validation_message{
		    margin: 0 0 0px;
	}
	body #content .pf-container.sf-container #field_26_147 .gfield_list_group {
		flex-direction:column;
	}
	body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_group_item, 
	body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gform-field-label{
		width:100%;
	}
	body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons {
    width: 100%;
		margin-top: 10px;
	}
	body #content .pf-container.sf-container  .gform-theme--foundation .ginput_container_list--columns .gfield_list_group_item::before{
		    margin-bottom: 7px;
    display: inline-block;
	}
	body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row input,
	body #content .pf-container.sf-container .gform-body .gfield--input-type-list .ginput_list .gfield_list_groups .gform-grid-row .gfield_list_icons button{
		height:61px;
	}
	#content .pf-container .gform_wrapper :is(.gform_page_footer, .gform_footer){
		margin-top: 20px;
	}
	#content .pf-container .gfield:is(.gfield--type-choice, .gfield--type-checkbox, .gfield--type-radio) :not(.mk-choice-native):not(.mk-native-choice):not(.gfield_consent):not(.gfield--type-consent) .gchoice:last-child{
		margin-bottom: 0;
	}
	#content .pf-container .gfield--type-date {
    margin-bottom: 10px;
}
	#content .pf-container.sf-container #field_26_297, #content .pf-container.sf-container #field_26_307, #content .pf-container.sf-container #field_26_309, #content .pf-container.sf-container #field_26_311 {
    grid-column: span 12;
}
	
}
