/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 26 2025 | 10:08:06 */
/* Globale Stile für HubSpot Formulare */
.is-hubspot-form {
  padding-bottom: 0;
}

.is-hubspot-form .hbspt-form form {
  padding-bottom: 4rem;
  max-width: 50rem;
  display: flex;
  flex-flow: row wrap;
  overflow: hidden;
  flex-direction: column;
}

.is-hubspot-form figure {
  margin-bottom: 0;
}

.hbspt-form form fieldset {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.hbspt-form form .input {
  margin-right: 0 !important;
  width: 100%;
}

/* Spalten Layout */
.hbspt-form form fieldset.form-columns-1,
.hbspt-form form fieldset.form-columns-2,
.hbspt-form form fieldset.form-columns-3 {
  width: 100%;
  display: flex;
  gap: 1rem;
}

.hbspt-form form fieldset.form-columns-1 .hs-input,
.hbspt-form form fieldset.form-columns-2 .hs-input,
.hbspt-form form fieldset.form-columns-3 .hs-input,
.hbspt-form form .hs-form-field,
.hbspt-form form .hs-input {
  width: 100%;
}

/* Media Query für kleine Bildschirme */
@media (max-width: 480px) {
  .hbspt-form form fieldset.form-columns-1 .hs-input,
  .hbspt-form form fieldset.form-columns-2 .hs-input,
  .hbspt-form form fieldset.form-columns-3 .hs-input,
  .hbspt-form form .hs-form-field,
  .hbspt-form form .hs-input {
    width: 100% !important;
  }
}


.hbspt-form form .hs-form-field,
.hbspt-form form .hs_error_rollup {
  margin-bottom: 1rem;
}

.hbspt-form form .hs-form-required {
  color: red;
  padding-left: 0.25rem;
}

/* Input Felder */
.hbspt-form form input.hs-input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]),
.hbspt-form form select.hs-input,
.hbspt-form form textarea.hs-input {
  font-family: inherit;
  line-height: inherit;
  display: block;
  width: 100%;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: #565655;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #cfcfcf;
  appearance: none;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hbspt-form form select.hs-input {
  padding: 0.5rem 2.3rem 0.5rem 0.7rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c1ab12' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbspt-form form textarea.hs-input {
  resize: vertical;
  min-height: 8rem;
}

/* Stile für Browser, die field-sizing: content unterstützen (z.B. Chrome) */
@supports (field-sizing: content) {
  .hbspt-form form textarea.hs-input {
	min-height: 4.5rem;
    field-sizing: content;
    resize: none; /* Deaktiviere die manuelle Größenänderung, da field-sizing dies übernimmt */
  }
}

/* Hover und Fokus */
.hbspt-form form input.hs-input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"], :disabled):hover,
.hbspt-form form input.hs-input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"], :disabled):focus-visible,
.hbspt-form form select.hs-input:hover,
.hbspt-form form select.hs-input:focus-visible,
.hbspt-form form textarea.hs-input:hover,
.hbspt-form form textarea.hs-input:focus-visible {
  border-color: #565655;
  outline: none;
}

.hbspt-form form .invalid {
  border-color: red !important;
}

/* Checkbox und Radio Buttons */
.hs-form-checkbox-display,
.hs-form-booleancheckbox-display {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.hbspt-form form ul.inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hbspt-form form ul.multi-container {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.hbspt-form form input[type="checkbox"],
.hbspt-form form input[type="radio"] {
  height: 1.25rem !important;
  width: 1.25rem !important;
  border-color: #cfcfcf;
  accent-color: var(--lms-primary-color);
}

/* Button */
.hbspt-form form .hs-button {
  display: inline-block;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--lms-accent-color);
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  color: #fff;
  background-color: var(--lms-accent-color);
  font-family: inherit;
}

.hbspt-form form .hs-button:hover {
  border-color: #aa9610;
  background-color: #aa9610;
}

/* Fehlermeldungen */
.hbspt-form form .hs_error_rollup {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  padding: 0.7rem;
}

.hbspt-form form .hs-error-msg,
.hbspt-form form .hs_error_rollup {
  color: red;
}

/* Telefonnummer Feld */
.hbspt-form form .hs-fieldtype-intl-phone.hs-input {
  display: flex;
}

.hbspt-form form .hs-fieldtype-intl-phone.hs-input select {
	width: 50%!important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right-width: 0 !important;
}

.hbspt-form form .hs-fieldtype-intl-phone.hs-input input {
    width: 100% !important;
    float: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}


/* Custom padding for CTA Buttons*/
.btn, .lms-features-slider .swiper-pagination-bullet, .wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link, body.search .lms-block[data-type="intro"] .search-form .search-submit{
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
