/**
 * Gravity Forms: ensure typed text and placeholders stay readable when Avada
 * form CSS variables resolve to white-on-white (or WebKit autofill hides text).
 */
.gform_wrapper .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.gform_wrapper .gfield select,
.gform_wrapper .gfield textarea,
.gform_wrapper .gfield_select[multiple="multiple"] {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	background-color: #ffffff !important;
}

.gform_wrapper .gfield input::placeholder,
.gform_wrapper .gfield textarea::placeholder {
	color: #666666 !important;
	opacity: 1 !important;
}

.gform_wrapper .gfield input:-webkit-autofill,
.gform_wrapper .gfield input:-webkit-autofill:hover,
.gform_wrapper .gfield input:-webkit-autofill:focus,
.gform_wrapper .gfield textarea:-webkit-autofill,
.gform_wrapper .gfield textarea:-webkit-autofill:hover,
.gform_wrapper .gfield textarea:-webkit-autofill:focus {
	-webkit-text-fill-color: #1a1a1a !important;
	box-shadow: 0 0 0 1000px #ffffff inset !important;
}

/*
 * Success / error messages after submit (often inherit white from Avada dark sections).
 */
.gform_confirmation_message,
.gform_confirmation_wrapper,
.gform_confirmation_wrapper *,
[class*="gform_confirmation"],
[id*="gform_confirmation_message"],
[id*="gform_confirmation_wrapper"],
.gform_wrapper .gform_confirmation_message,
.gform_wrapper .gform_confirmation_wrapper,
.gform_wrapper .gform_confirmation_wrapper *,
#wrapper .gform_confirmation_message,
#wrapper .gform_confirmation_wrapper,
#wrapper .gform_confirmation_wrapper *,
.fusion-body .gform_confirmation_message,
.fusion-body .gform_confirmation_wrapper,
.fusion-body .gform_confirmation_wrapper *,
.gform_submission_error,
.gform_wrapper .gform_submission_error,
.validation_error,
.gform_wrapper .validation_error,
.gfield_validation_message,
.gform_wrapper .gfield_validation_message {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Force the post-submit response box to remain readable. */
.gform_confirmation_wrapper,
.gform_wrapper .gform_confirmation_wrapper,
#wrapper .gform_confirmation_wrapper,
.fusion-body .gform_confirmation_wrapper {
	background: #ffffff !important;
	border: 1px solid #d9d9d9 !important;
	padding: 16px !important;
}

.gform_confirmation_wrapper .gform_confirmation_message,
.gform_wrapper .gform_confirmation_wrapper .gform_confirmation_message,
#wrapper .gform_confirmation_wrapper .gform_confirmation_message,
.fusion-body .gform_confirmation_wrapper .gform_confirmation_message {
	display: block !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Avada Fusion Builder form notice (fusion_form_notice shortcode). */
.fusion-form-response,
.fusion-form-response-success,
.fusion-form-response.fusion-form-response-success,
.fusion-alert.fusion-form-response,
.fusion-alert.fusion-form-response-success,
.fusion-alert.fusion-form-response-success *,
.fusion-form-response-success .fusion-alert-content,
.fusion-form-response-success p {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

/* Contact Form 7 response messages (this site's live contact form). */
.wpcf7 form .wpcf7-response-output,
.wpcf7 .wpcf7-response-output,
#wrapper .wpcf7 .wpcf7-response-output,
.fusion-body .wpcf7 .wpcf7-response-output {
	display: block !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	background: #ffffff !important;
	border: 1px solid #d9d9d9 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}
