/* Pardot Form Styles */
#pardot-form {
  max-width: 800px;
  margin: 0 auto;
  --color: #fff;
  color: var(--color);
}

#pardot-form p.form-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
}
form.form p {
  font-size: 18px !important;
}
div:has(>iframe[src*="www.google.com/recaptch"]) {
  max-height: 100%;
}
#pardot-form p.form-field label.field-label {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  padding-right: 10px;
  color: var(--color);
  text-align: left;
  width: auto;
  padding-right: 30px;
}
.sf-style-white #pardot-form p.form-field label.field-label{
  --color: #fff
}
.sf-style-black #pardot-form p.form-field label.field-label{
  --color: #112232;
}
form[action*="dsvgyq"]#pardot-form p.form-field{ 
  --color: #112232;
}
form[action*="dsvgyq"]#pardot-form p.submit input[type="submit"]:hover {
  background-color: #112232;
  border-color: #112232;
  color: #fff;
}

.errors,
.error.no-label  {
  display: none !important;
}

#pardot-form p.form-field input.text,
#pardot-form input.date,
#pardot-form p.form-field textarea.standard {
  flex: 1;
  border: 2px solid var(--color);
  border-radius: 12px;
  background: #fff;
  padding: 12px 16px;
  height: 48px;
  color: #4D4D4D;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}
.form-field.error input.text,
.form-field.error textarea.standard,
.form-field.error input.date {
  border-color: #dc3232 !important;
}
#pardot-form p.form-field textarea.standard {
  height: 180px;
  resize: vertical;
}

#pardot-form p.form-field input.text:focus,
#pardot-form p.form-field textarea.standard:focus {
  outline: none;
  border-color: var(--e-global-color-primary, #4798D1);
}

#pardot-form p.submit {
  margin: 30px 0 0 0;
  text-align: center;
}

#pardot-form p.submit input[type="submit"] {
  background-color: var(--e-global-color-primary, #4798D1);
  color: #fff;
  border: 2px solid var(--e-global-color-primary, #4798D1);
  border-radius: 150px;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
}

#pardot-form p.submit input[type="submit"]:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* State and Zip Code side by side */
#pardot-form p.form-field-primary,
#pardot-form p.form-field-secondary {
  display: inline-flex;
  width: calc(50% - 12px);
}

#pardot-form p.form-field-primary {
  margin-right: 24px;
}

/* reCAPTCHA styling */
#pardot-form .g-recaptcha {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Error styling */
#pardot-form div[id^="error_for_"] {
  color: #dc3232;
  font-size: 14px;
  margin-top: -20px;
  margin-bottom: 20px;
  padding-left: 180px;
}

/* Responsive */
@media screen and (max-width: 767px) {
  #pardot-form p.form-field {
    flex-direction: column;
    align-items: flex-start;
  }

  #pardot-form p.form-field label.field-label {
    flex: none;
    margin-bottom: 8px;
  }

  #pardot-form p.form-field input.text,
  #pardot-form p.form-field textarea.standard {
    width: 100%;
  }

  #pardot-form p.form-field-primary,
  #pardot-form p.form-field-secondary {
    width: 100%;
    display: flex;
  }

  #pardot-form p.form-field-primary {
    margin-right: 0;
  }

  #pardot-form div[id^="error_for_"] {
    padding-left: 0;
  }

}
