/* adjust *star of required legal fields behind the text */
.legal-consent-container .hs-form-booleancheckbox-display>span {
    width: 100% ;
}

/* get rid of the wrong 10% width */
.width100 form {
    padding: 0 !important;
    max-width: 100%;
    width: 100% !important;
}

/* space between input fields and legal part */
.legal-consent-container {
    margin: 1rem 0 0 0;
}

/* space between captcha badge, fields and submitbutton */
.grecaptcha-badge {
    margin: 1rem 0;
}

/* compact modus for campaigns */

/* new bgrd color */
.blue {
    background-color: #326d9d;
}

.blue p,
.blue a,
.blue .hs-form-required {
    color: #fff;
}

.blue a {
    text-decoration: underline;
}

.blue a.btn{
    text-decoration: none;
}

.blue .hs-error-msg {
    color: #f2545b;
}

.blue img {
    margin-bottom: 15px;
}

.blue .hs-custom-form input[type=checkbox]:checked {
    background-color: #f18b45;
}


/* new campaign modus overwrithes */
.campaign .hs-richtext p {
  font-size: 0.7rem;
  line-height: 1rem;
  margin-bottom: 5px;
}

.campaign .hs_submit.hs-submit {
    margin-top: 15px;
}

.campaign .hs-form-booleancheckbox-display span {
  color: #fff;
}

@media screen and (max-width: 767px) {
  
  .campaign .form-columns-3,
  .campaign .form-columns-2{
      display: flex !important;
  }
  
  .campaign .form-columns-3>div {
     width: 32% !important;
  }
  
  .campaign .form-columns-2>div {
     width: 49% !important;
  }
  
  .campaign .hs-custom-form fieldset.form-columns-1 .field,
  .campaign .hs-custom-form fieldset.form-columns-2 .field,
  .campaign .hs-custom-form fieldset.form-columns-3 .field {
     margin: 0 0 0px;
  }
}

// div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom { position: relative !important }


/* special fixes for SPS trade fair 2023 page only */
div#formular {
    margin-top: -3vH;
}

.hs-custom-form label input[type=radio] {
  width: 1.25em !important;
}

.hs-form-radio-display {
  margin: 10px 10px 0 0 !important;
}


@media screen and (min-width: 767px) {
  .hs-dependent-field .hs_themenbereich_expertentermin,
  .hs-dependent-field .hs_terminvereinbarung,
  .hs-dependent-field .hs_betriebsdauer___tag,
  .hs-dependent-field .hs_betriebsdauer___jahr,
  .hs-dependent-field .hs_kosten,
  .hs-dependent-field .hs_anzahl_antriebe,
  .hs-dependent-field .hs_frequenz,
  .hs-dependent-field .hs_motorleistung,
  .hs-dependent-field .hs_installierte_effizienzklasse,
  .hs-dependent-field .hs_vergleich_mit_effizienzklasse {
    display: inline-block;
    margin-bottom: 12px;
    width: 48%;
  }
  
  .hs-dependent-field .hs_themenbereich_expertentermin,
  .hs-dependent-field .hs_betriebsdauer___tag,
  .hs-dependent-field .hs_kosten,
  .hs-dependent-field .hs_frequenz,
  .hs-dependent-field .hs_installierte_effizienzklasse {
    margin-right: 4%;
  }
}