/* Contact Form 7 integration for the Spitzbart theme. */
.sb-forms-slot,
.sb-forms-slot .wpcf7,
.sb-cf7-form {
  width: 100%;
}

.sb-cf7-form {
  position: relative;
}


/* Contact Form 7 may insert paragraphs and line breaks around editor markup.
 * Neutralise those formatting nodes inside the structured form layout so they
 * cannot add unintended vertical space. */
.sb-cf7-form p {
  margin: 0 !important;
  padding: 0;
}

.sb-cf7-form p:empty,
.sb-cf7-form .sb-form-layout > br,
.sb-cf7-form .textbox-div > br,
.sb-cf7-form .left-order > br,
.sb-cf7-form .right-order > br,
.sb-cf7-form .textbox > br,
.sb-cf7-form .radio-btn-div > br,
.sb-cf7-form .checkbox-div > br,
.sb-cf7-form .sb-file-field > br {
  display: none !important;
}

.sb-cf7-form *,
.sb-cf7-form *::before,
.sb-cf7-form *::after {
  box-sizing: border-box;
}

.sb-cf7-form .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sb-cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.sb-cf7-form .textbox,
.sb-cf7-form .small-box,
.sb-cf7-form .medium-box,
.sb-cf7-form .full-width {
  box-sizing: border-box;
}

/* Replace legacy fixed pixel widths inside combined address rows with stable proportions. */
.sb-cf7-form .textbox .small-box {
  width: 22% !important;
  max-width: none !important;
}

.sb-cf7-form .textbox .medium-box {
  width: 74% !important;
  max-width: none !important;
}

.sb-cf7-form .textbox .small-box input,
.sb-cf7-form .textbox .medium-box input {
  width: 100% !important;
  max-width: 100% !important;
}

.sb-cf7-form input[type="text"],
.sb-cf7-form input[type="email"],
.sb-cf7-form input[type="tel"],
.sb-cf7-form input[type="number"],
.sb-cf7-form select,
.sb-cf7-form textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Keep the new select visually identical to the existing text inputs. */
.sb-cf7-form select {
  height: 46px;
  min-height: 46px;
  padding: 7px 44px 7px 13px;
  border: 2px solid #0090d7;
  border-radius: 0;
  background-color: transparent;
  color: #000;
  font-family: "PromptLightItalic", Arial, sans-serif;
  font-size: 18px;
  line-height: normal;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0090d7 50%), linear-gradient(135deg, #0090d7 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sb-cf7-form textarea {
  min-height: 145px;
  resize: none;
}

/* The legacy theme already thickens the border on focus. Avoid a second outline. */
.sb-cf7-form input[type="text"]:focus,
.sb-cf7-form input[type="email"]:focus,
.sb-cf7-form input[type="tel"]:focus,
.sb-cf7-form input[type="number"]:focus,
.sb-cf7-form select:focus,
.sb-cf7-form textarea:focus {
  border-width: 3px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.sb-cf7-form .sb-field-label {
  display: block;
  margin-bottom: 12px;
  font-family: inherit;
}

.sb-cf7-form .sb-field-label > span {
  font-size: 0.85em;
}

/* CF7 adds several nested spans. Reset legacy rules that style every span in a choice group as a heading. */
.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-form-control-wrap,
.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-form-control,
.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-list-item,
.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-list-item-label {
  margin-bottom: 0;
}

.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-list-item-label {
  font-family: "catamaranmedium", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: 2px;
}

.sb-cf7-form .wpcf7-list-item {
  margin: 0;
}

.sb-cf7-form .wpcf7-list-item > label {
  cursor: pointer;
}

/* Radio buttons and checkbox groups: reproduce the original blue square controls. */
.sb-cf7-form .sb-choice-group .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
}

.sb-cf7-form .sb-choice-group .wpcf7-list-item {
  display: block;
  position: relative;
  margin: 0 28px 12px 0;
}

.sb-cf7-form .sb-choice-group .wpcf7-list-item > label {
  position: relative;
  display: block;
  min-height: 20px;
}

.sb-cf7-form .sb-choice-group input[type="radio"],
.sb-cf7-form .sb-choice-group input[type="checkbox"] {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.sb-cf7-form .sb-choice-group .wpcf7-list-item-label {
  display: block;
  position: relative;
  min-height: 20px;
  padding-left: 36px;
  color: #000;
  font-family: "catamaranmedium", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: 2px;
  cursor: pointer;
}

.sb-cf7-form .sb-choice-group .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #0090d7;
  background: transparent;
}

.sb-cf7-form .sb-choice-group input[type="radio"]:checked + .wpcf7-list-item-label::before,
.sb-cf7-form .sb-choice-group input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: #0090d7;
}

.sb-cf7-form .sb-choice-group input[type="radio"]:checked + .wpcf7-list-item-label::after,
.sb-cf7-form .sb-choice-group input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: none;
}

.sb-cf7-form .sb-choice-group input[type="radio"]:focus-visible + .wpcf7-list-item-label::before,
.sb-cf7-form .sb-choice-group input[type="checkbox"]:focus-visible + .wpcf7-list-item-label::before {
  outline: 1px solid #0090d7;
  outline-offset: 3px;
}

.sb-cf7-form .sb-choice-group input.wpcf7-not-valid + .wpcf7-list-item-label::before {
  border-color: #b42318;
}

/* Recreate the original contact-form columns for Anrede and multi-choice groups. */
 .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item {
  flex: 0 0 38.8%;
  max-width: 38.8%;
  margin-right: 0;
  padding-right: 28px;
  margin-bottom: 26px;
}

/* The three-item salutation row keeps the original 38.8 / 38.8 / 22 percent layout. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item:last-child:nth-child(3) {
  flex-basis: 22%;
  max-width: 22%;
}

/* Four-option groups run down two columns, matching the legacy form order. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-form-control:has(.wpcf7-list-item:nth-child(4)) {
  display: grid;
  grid-template-columns: 38.8% 38.8%;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-form-control:has(.wpcf7-list-item:nth-child(4)) .wpcf7-list-item {
  width: auto;
  max-width: 100%;
}

/* Digital/Print stays compact in the existing overlay forms. */
.magazine-overlay-section .sb-cf7-form .sb-choice-group .wpcf7-list-item {
  flex: 0 0 auto;
  max-width: none;
  margin: 0 28px 0 0;
  padding: 0;
}

/* Privacy and newsletter checkboxes use smaller body copy like the legacy forms. */
.contact-form-sec form.sb-cf7-form .checkbox-div,
.magazine-overlay-section form.sb-cf7-form .checkbox-div,
.product-detail-form form.sb-cf7-form .checkbox-div,
.sb-cf7-form .checkbox-div {
  position: relative;
  top: auto;
  clear: both;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sb-cf7-form .checkbox-div .wpcf7-form-control-wrap,
.sb-cf7-form .checkbox-div .wpcf7-form-control,
.sb-cf7-form .checkbox-div .wpcf7-list-item {
  display: block;
  width: 100%;
}

.sb-cf7-form .checkbox-div .wpcf7-list-item {
  position: relative;
  margin: 0;
}

.sb-cf7-form .checkbox-div .wpcf7-list-item > label {
  position: relative;
  display: block;
  min-height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.sb-cf7-form .checkbox-div input[type="checkbox"] {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.sb-cf7-form .checkbox-div .wpcf7-list-item-label {
  position: relative;
  display: block;
  min-height: 20px;
  padding: 0 0 0 36px;
  color: #000;
  font-family: "promptlight", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: 0.0029em;
  cursor: pointer;
}

.sb-cf7-form .checkbox-div .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #0090d7;
  background: transparent;
}

.sb-cf7-form .checkbox-div input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: #0090d7;
}

.sb-cf7-form .checkbox-div input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: none;
}

.sb-cf7-form .checkbox-div input[type="checkbox"]:focus-visible + .wpcf7-list-item-label::before {
  outline: 1px solid #0090d7;
  outline-offset: 3px;
}

.sb-cf7-form .checkbox-div input.wpcf7-not-valid + .wpcf7-list-item-label::before {
  border-color: #b42318;
}

.sb-cf7-form .sb-privacy-field a,
.sb-cf7-form .checkbox-div a {
  border-bottom: 1px solid #0090d7;
  text-decoration: none;
}

/* Keep the contact fields at the original compact vertical rhythm. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .textbox {
  display: block;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .textbox.full-width {
  padding-bottom: 28px;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .textbox.full-width + .radio-btn-div {
  margin-top: 30px;
}

/* Upload: only the native button is styled; the filename area has no surrounding border. */
.sb-cf7-form .sb-file-field {
  clear: both;
  margin: 0;
  padding-top: 0;
  padding-bottom: 28px;
}

.sb-cf7-form .sb-file-field .sb-field-label {
  margin: 0 0 4px;
  color: #000;
  font-family: "promptmedium", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

.sb-cf7-form .sb-file-field .sb-field-label > span {
  font-family: "promptlight", Arial, sans-serif;
  font-size: 14px;
}

.sb-cf7-form .sb-file-field .wpcf7-form-control-wrap {
  line-height: 1;
}

.sb-cf7-form input[type="file"] {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000;
  font-family: "promptlight", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
}

.sb-cf7-form input[type="file"]::file-selector-button,
.sb-cf7-form input[type="file"]::-webkit-file-upload-button {
  margin: 0 14px 0 0;
  padding: 8px 18px;
  border: 2px solid #0090d7;
  border-radius: 0;
  background: #0090d7;
  color: #fff;
  font-family: "catamaranmedium", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.sb-cf7-form input[type="file"]::file-selector-button:hover,
.sb-cf7-form input[type="file"]::file-selector-button:focus,
.sb-cf7-form input[type="file"]::-webkit-file-upload-button:hover,
.sb-cf7-form input[type="file"]::-webkit-file-upload-button:focus {
  background: transparent;
  color: #000;
}

/* Friendly Captcha must fit inside narrow columns and overlays. */
.sb-cf7-form .frc-captcha,
.sb-cf7-form frc-captcha,
.sb-cf7-form .friendly-captcha {
  display: block;
  clear: both;
  width: 100% !important;
  max-width: 300px !important;
  min-width: 0 !important;
  margin: 24px 0 !important;
  box-sizing: border-box !important;
}

.sb-cf7-form .frc-captcha > *,
.sb-cf7-form frc-captcha > *,
.sb-cf7-form .friendly-captcha > *,
.sb-cf7-form .frc-captcha iframe,
.sb-cf7-form frc-captcha iframe,
.sb-cf7-form .friendly-captcha iframe {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.sb-cf7-form .frc-captcha iframe,
.sb-cf7-form frc-captcha iframe,
.sb-cf7-form .friendly-captcha iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

.sb-cf7-form .wpcf7-not-valid:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  border-color: #b42318 !important;
}

.sb-cf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-family: "promptlight", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.sb-cf7-form .wpcf7-response-output {
  clear: both;
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border: 2px solid #0090d7 !important;
  background: rgba(0, 144, 215, 0.08);
  color: #1d1d1b;
  font-size: 16px;
  line-height: 1.45;
}

.sb-cf7-form.invalid .wpcf7-response-output,
.sb-cf7-form.unaccepted .wpcf7-response-output,
.sb-cf7-form.spam .wpcf7-response-output,
.sb-cf7-form.failed .wpcf7-response-output,
.sb-cf7-form.aborted .wpcf7-response-output {
  border-color: #b42318 !important;
  background: rgba(180, 35, 24, 0.08);
}

.sb-cf7-form .wpcf7-spinner {
  margin: 0 0 0 14px;
  vertical-align: middle;
}

.sb-cf7-form [data-sb-conditional-required].is-conditionally-required {
  position: relative;
}

.sb-forms-admin-warning {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #b42318;
  background: rgba(180, 35, 24, 0.08);
  color: #1d1d1b;
}

/* Keep CF7 status messages inside the same content column as the overlay form fields.
 * The overlay uses a custom scrollbar beside the 816px form column; an unconstrained
 * response box would otherwise extend underneath that scrollbar. */
.magazine-overlay-section .sb-cf7-form .wpcf7-response-output {
  width: 100%;
  max-width: 816px;
  min-width: 0;
  margin-right: auto !important;
  margin-bottom: 20px !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1399px) and (min-width: 1024px) {
  .magazine-overlay-section .sb-cf7-form .wpcf7-response-output {
    width: calc(100% - 20px);
    max-width: none;
  }
}

@media (max-width: 1023px) {
  .magazine-overlay-section .sb-cf7-form .wpcf7-response-output {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 1023px) {
  .sb-cf7-form select {
    height: 40px;
    min-height: 40px;
    padding: 7px 38px 7px 7px;
    background-position: calc(100% - 17px) 16px, calc(100% - 11px) 16px;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item,
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item:last-child:nth-child(3) {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-form-control:has(.wpcf7-list-item:nth-child(4)) {
    grid-template-columns: 33.3333% 33.3333%;
  }

  .sb-cf7-form .checkbox-div .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 767px) {
  .sb-cf7-form .left-order,
  .sb-cf7-form .right-order,
  .sb-cf7-form .small-box,
  .sb-cf7-form .medium-box {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  .sb-cf7-form .textbox.right {
    display: block;
  }

  .sb-cf7-form .textbox.right .small-box,
  .sb-cf7-form .textbox.right .medium-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .sb-cf7-form select {
    height: 50px;
    min-height: 50px;
    background-position: calc(100% - 17px) 21px, calc(100% - 11px) 21px;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item,
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-list-item:last-child:nth-child(3) {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 14px;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-choice-group .wpcf7-form-control:has(.wpcf7-list-item:nth-child(4)) {
    grid-template-columns: 50% 50%;
  }

  .magazine-overlay-section .sb-cf7-form .sb-choice-group .wpcf7-form-control {
    display: flex;
  }

  .magazine-overlay-section .sb-cf7-form .sb-choice-group .wpcf7-list-item {
    width: auto;
    margin-right: 22px;
  }

  .sb-cf7-form .sb-choice-group .wpcf7-list-item-label {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .contact-form-sec .sb-form-layout--contact .textbox.full-width + .radio-btn-div {
    margin-top: 18px;
  }

  .sb-cf7-form .sb-file-field .wpcf7-form-control-wrap {
  line-height: 1;
}

.sb-cf7-form input[type="file"] {
    font-size: 14px;
  }

  .sb-cf7-form input[type="file"]::file-selector-button,
  .sb-cf7-form input[type="file"]::-webkit-file-upload-button {
    margin-right: 10px;
    padding: 8px 12px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  .sb-cf7-form .frc-captcha,
  .sb-cf7-form frc-captcha,
  .sb-cf7-form .friendly-captcha {
    max-width: 100% !important;
  }

  .sb-cf7-form .wpcf7-response-output {
    padding: 12px 14px !important;
  }
}

/* Contact form spacing corrections (V4).
 * CF7 can insert additional line-break elements inside block-based form markup.
 * These must not influence the legacy theme's compact two-column layout. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .radio-btn-div br,
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .textbox br,
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field br {
  display: none !important;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .radio-btn-div > p,
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .textbox > p,
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field > p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Salutation: remove the additional bottom margin introduced by CF7's flex items. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact > .radio-btn-div:first-child {
  padding-bottom: 26px !important;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact > .radio-btn-div:first-child .sb-field-label {
  margin-bottom: 16px !important;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact > .radio-btn-div:first-child .wpcf7-list-item {
  margin-bottom: 0 !important;
}

/* Text fields: preserve a compact, even row gap instead of stacking legacy
 * padding with CF7-generated line breaks. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .left-order > .textbox,
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .right-order > .textbox {
  padding-bottom: 20px !important;
}

/* File field: keep the label close to the button and move the visual breathing
 * room below the file control, before the privacy checkbox. */
.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field {
  padding-bottom: 36px !important;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field .sb-field-label {
  margin-bottom: 8px !important;
}

.contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field .wpcf7-form-control-wrap {
  margin-top: 0 !important;
}

@media (max-width: 1023px) {
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .left-order > .textbox,
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .right-order > .textbox {
    padding-bottom: 16px !important;
  }
}

@media (max-width: 767px) {
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact > .radio-btn-div:first-child {
    padding-bottom: 22px !important;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .left-order > .textbox,
  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .right-order > .textbox {
    padding-bottom: 12px !important;
  }

  .contact-form-sec form.sb-cf7-form .sb-form-layout--contact .sb-file-field {
    padding-bottom: 30px !important;
  }
}

/* Acceptance submit state (V5).
 * CF7 disables the submit control until all required acceptance checkboxes
 * are selected. Overlay-specific legacy rules otherwise make a disabled
 * button look interactive. */
.sb-cf7-form .wpcf7-submit:disabled,
.sb-cf7-form .wpcf7-submit[disabled],
.sb-cf7-form .wpcf7-submit:disabled:hover,
.sb-cf7-form .wpcf7-submit[disabled]:hover,
.sb-cf7-form .wpcf7-submit:disabled:focus,
.sb-cf7-form .wpcf7-submit[disabled]:focus {
  background-color: #0090d7 !important;
  border-color: #0090d7 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.45;
  box-shadow: none !important;
}

/* Validation message below choice groups (V7).
 * The legacy contact-form stylesheet targets every span inside .radio-btn-div
 * as a section heading. CF7 also renders its validation tip as a span, so the
 * message needs a more specific reset to match all other field errors. */
.contact-form-sec form.sb-cf7-form .radio-btn-div .wpcf7-not-valid-tip {
  display: block !important;
  width: 100%;
  margin: 6px 0 0 !important;
  color: #b42318;
  font-family: "promptlight", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: normal !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
}

/* Success state (V8).
 * After a successful CF7 submission, hide the completed form controls and
 * present the confirmation as the sole visible content. Validation and mail
 * errors keep the form visible so users can correct or retry their entries. */
.wpcf7.sb-form-sent form.sb-cf7-form > :not(.wpcf7-response-output) {
  display: none !important;
}

.wpcf7.sb-form-sent form.sb-cf7-form .wpcf7-response-output {
  display: block !important;
  width: 100%;
  margin-top: 0 !important;
  opacity: 1;
}
