/**
 * - Styling der Formulare
 * - wird nur auf Seiten, die auch ein Formular besitzen, eingebunden
 */



/*SONDERREGEL*/
.brxe-popup-3016 .brx-popup-content {
    background: transparent;
}



/* Variablen */
:root {
  --theme-farbe: var(--bricks-color-ojyfvt);
  --theme-farbe-hell: var(--bricks-color-zcnkjr);
  --text-color: var(--bricks-color-ovmvis);
}

/* Styling & Farben generell */
/* Texte linksbündig */
div.gform_wrapper {
  text-align: left !important;
}


.mew-form_wrapper legend.gfield_label.gform-field-label {
  font-size: inherit !important;
  font-weight: 500 !important;
}
.mew-form_wrapper  .gfield--type-choice .gfield_radio {
  margin: 0px 0 !important;
 }
 .mew-form_wrapper input[type=radio]:before {
    height: 20px !important;
    width: 20px !important;
 }
 .gform-footer.gform_footer.top_label {
    margin-top: 40px;
 }

.mew-form_wrapper .gfield_consent_label a,
.mewigo-leadstrecken_wrapper .gfield_consent_label a {
    text-decoration: underline;
}

/* Farben */
.gform_wrapper {
  --gf-ctrl-outline-color-focus: var(--theme-farbe) !important;
  --gf-ctrl-border-color-focus: hsl(from var(--theme-farbe) h s calc(l * .70)) !important;
  --gf-ctrl-choice-check-color: hsl(from var(--theme-farbe) h s calc(l * .70)) !important;
  --gf-ctrl-color-focus: var(--text-color) !important;
  --gf-ctrl-radius: 0 !important;
  --gf-ctrl-outline-color: var(--theme-farbe) !important;
  --gf-ctrl-transition: none !important;
}

/* Buttons */
/* Button-Style zurücksetzen, da später von Bricks-Klassen übernommen */
.gform_button.button {
  all: unset !important;
}

/* Pflichtfeld-Markierung */
span.gfield_required {
  color: var(--theme-farbe-hell) !important;
  font-size: 1.2rem !important;
  margin-top: -30px;
}

/* Pflichtfeldhinweis entfernen */
p.gform_required_legend {
  display: none;
}

/* Zustimmungsfeld */
label.gfield_consent_label {
  text-wrap: balance;
}

/* Zustimmungsfeld-Button vertikal zentrieren */
.ginput_container_consent {
  display: flex !important;
  align-items: center !important;
}

/* Zustimmungsfeld-Button quadratisch */
.gform_wrapper input[type="checkbox"] {
  aspect-ratio: 1;
}

/* Leadstrecken KLARK */



.mewigo-leadstrecken_wrapper .gform_validation_errors {
    background-color: transparent !important;
    border:none !important;
 	box-shadow: none !important;
	outline: none !important;
    padding: 5px !important;
}

.mewigo-leadstrecken_wrapper span.gfield_required {
  display: none;
}
.mewigo-leadstrecken_wrapper h2.gform_title {
  text-align: center;
  margin-bottom: 0;
  margin-top: 0px;
}

.mewigo-leadstrecken_wrapper .gform_page_fields {
   /* border: 1px solid #ccc;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;*/
}
@media only screen and (max-width: 768px) {
  .mewigo-leadstrecken_wrapper .gform_page_fields {
    padding: 0 0 40px;
  }


  .gform_submission_error {
    display: block !important;
  }
   .gform_validation_errors .gform-icon {
    margin-right: 5px;
   }
}

.gform-theme--framework.mewigo-leadstrecken_wrapper .gform-field-label--type-inline {
    width: 100%;
    padding: 15px 10px 15px 40px;
    margin-left: -10px;
}

.mewigo-leadstrecken_wrapper legend.gform-field-label {
  font-size: 24px !important;
  font-weight: 700 !important;
}
.mewigo-leadstrecken_wrapper .smaller-headings legend.gform-field-label {
  font-size: 20px !important;
  font-weight: 400 !important;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper  {

  --gf-field-pg-prog-bar-bg-color-blue: var(--bricks-color-vapspv) !important;
  --gf-ctrl-btn-bg-color-primary: var(--bricks-color-vapspv) !important;
  --gf-color-in-ctrl-primary: var(--bricks-color-vapspv) !important;
  --gf-color-in-ctrl-primary-darker: var(--bricks-color-vapspv) !important;
  --gf-color-in-ctrl-primary-lighter: var(--bricks-color-vapspv) !important;
  --gf-color-primary: var(--bricks-color-vapspv) !important;
  --gf-color-primary-darker: var(--bricks-color-vapspv) !important;
  --gf-color-primary-lighter: var(--bricks-color-vapspv) !important;
  /*--gf-ctrl-radio-check-radius: 0 !important;*/
}

.gform-theme--framework.mewigo-leadstrecken_wrapper .gfield--type-choice .gfield_checkbox, 
.gform-theme--framework.mewigo-leadstrecken_wrapper .gfield--type-choice .gfield_radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
}
@media only screen and (max-width: 768px) {
    .gform-theme--framework.mewigo-leadstrecken_wrapper .gfield--type-choice .gfield_checkbox, 
    .gform-theme--framework.mewigo-leadstrecken_wrapper .gfield--type-choice .gfield_radio {
      grid-template-columns: 1fr ;

    }
}
.gform-theme--framework.mewigo-leadstrecken_wrapper input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before,
.gform-theme--framework.mewigo-leadstrecken_wrapper input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before
{
    opacity: 1;
    color: #fff !important;
    padding: 3px 0 0 3px;
    background: var(--bricks-color-vapspv) !important;
    height: 20px;
    width: 20px;

}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gfield-choice-input {

    margin-top: 15px;
    margin-right: -35px;
    margin-left: 10px;
}
 .mewigo-leadstrecken_wrapper input[type=radio]:before {
    height: 20px !important;
    width: 20px !important;
 }

.mewigo-leadstrecken_wrapper.gform-theme--foundation .gform_fields {
    row-gap: 10px;
}

.mewigo-leadstrecken_wrapper .gform-theme--framework input[type=radio]::before {
    font-family: var(--gf-icon-font-family) !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    speak: never;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--gf-ctrl-choice-check-color);
    content: var(--gf-icon-ctrl-checkbox);
    font-size: var(--gf-ctrl-checkbox-check-size);
}
.mewigo-leadstrecken_wrapper input[type="text"], .mewigo-leadstrecken_wrapper textarea {
    border-radius: 10px !important;
    border-color: #ccc !important;
    min-height: 38px;
    box-shadow: none !important;
}

.gform-theme--framework.mewigo-leadstrecken_wrapper .gfield--type-choice .gchoice {
    display: inline-flex;
    /*flex-direction: row-reverse;*/
    justify-content: space-between;
    /*padding: 15px 10px;*/
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    cursor: pointer;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gchoice:has(> input[type="checkbox"]:checked),
.gform-theme--framework.mewigo-leadstrecken_wrapper .gchoice:has(> input[type="radio"]:checked) 
{
    background: #ff000014;
    border-color: var(--bricks-color-vapspv);
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gfield input.large, .gform-theme--foundation .gfield select.large {
    inline-size: 100%;
    border-radius: 10px;
    border-color: #ccc;
    box-shadow: none;
    padding: 0 10px;
    min-height: 38px;
}

.mewigo-leadstrecken_wrapper .ginput_container.ginput_container_consent {
    margin-top: -15px;
}

.gform-theme--framework.mewigo-leadstrecken_wrapper .gform_page_footer {
  justify-content: end !important;
  flex-direction: row-reverse;
  position: relative;
  /*position: absolute;
  width: 100%;
  bottom: 0;*/
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gform_page_footer input[type="button"] {
    border-width: 1px;
    border-radius: var(--button-border-radius);
    padding-top: 0.55em;
    padding-right: 1.2em;
    padding-bottom: 0.55em;
    padding-left: 1.2em;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gform_page_footer input[type="button"].gform_next_button:hover {
    border-color: var(--bricks-color-xsaqrp);
    background-color: var(--bricks-color-xsaqrp);
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gform_page_footer input[type="button"].gform_next_button:focus {
    outline: 2px solid #000;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper .gform_page_footer input.gform_previous_button {
    position: absolute;
    top: 0;
    left: 0;
    border: none !important;
    box-shadow: none !important;
    color: var(--bricks-color-vapspv) !important;
}

.gform-theme--framework.mewigo-leadstrecken_wrapper tbody tbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px 0 ;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper tbody tbody tr {
  background: #fff !important;
  padding: 10px 0 20px;
  border-bottom: 0px solid #ccc;
  border: none;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper tbody font {
    font-size: 16px !important;
    font-family: 'open sans' !important;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper table ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.gform-theme--framework.mewigo-leadstrecken_wrapper table {
   background: #fff;
}