/*
 * The newsletter (footer) and Join the Pre-Posal Directory forms on Contact Form 7 (Dec 2026, replaced WPForms).
 * Plain CSS, loaded after child-theme.min.css by custom-functions/forms.php. Matches the WPForms look:
 * gold #e0c28a, navy #142645, Proxima Nova labels.
 */

/* reCAPTCHA: Google's wording under each form instead of the floating badge. */
.grecaptcha-badge { visibility: hidden; }
.preposal-recaptcha-notice { margin: 10px 0 0; font-size: 11px; line-height: 1.5; opacity: .75; }
.preposal-recaptcha-notice a { color: inherit; text-decoration: underline; }

/* Both forms */
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 14px; color: #d63637; }
.wpcf7-spinner { display: none; }
.wpcf7-form.submitting .wpcf7-spinner { display: inline-block; vertical-align: middle; margin: 0 0 0 10px; }
.wpcf7 form .wpcf7-response-output { margin: 15px 0 0; padding: 10px 15px; border: 1px solid #142645; font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #142645; background-color: #142645; color: #fff; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { border-color: #d63637; color: #142645; background: #fff; }

/* Footer newsletter: email box and gold button side by side, notice and messages underneath. */
.footer-subscribe-form-col { flex-wrap: wrap; }
.footer-subscribe-form-col .wpcf7 { flex: 0 0 100%; max-width: 324px; margin: 0; }
.footer-subscribe-form-col .preposal-recaptcha-notice { text-align: inherit; }
.pp-newsletter { display: flex; flex-wrap: nowrap; }
.pp-newsletter .wpcf7-form-control-wrap { flex: 0 0 65%; }
.pp-newsletter input[type=email] {
	display: block; width: 100%; height: 39px; padding: 6px 10px; margin: 0;
	border: 1px solid #e0c28a; border-radius: 0; background: #fff; color: #333; font-size: 14px;
}
.pp-newsletter input[type=email]::placeholder { font-size: 14px; }
.pp-newsletter input[type=submit] {
	flex: 0 0 35%; height: 39px; padding: 9px; margin: 0;
	border: none; border-radius: 0; background-color: #e0c28a; color: #fff;
	font-family: Raleway, sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .24s ease-in-out;
}
.pp-newsletter input[type=submit]:hover { background-color: #d5ab5e; }
.footer-subscribe-form-col .wpcf7-not-valid-tip { font-size: 13px; }
.footer-subscribe-form-col .wpcf7 form .wpcf7-response-output { font-size: 13px; }

/* Join the Pre-Posal Directory */
.join-preposal-form-container .pp-field { padding: 10px 0; }
.join-preposal-form-container .pp-field > label,
.join-preposal-form-container .pp-label {
	display: block; margin: 0 0 4px; font-family: "Proxima Nova", sans-serif; font-size: 16px; font-weight: 700;
	line-height: 1.3; color: #142645;
}
.join-preposal-form-container .pp-required { color: #ff0000; font-weight: 400; }
.join-preposal-form-container input[type=text],
.join-preposal-form-container input[type=email] {
	display: block; width: 100%; height: 38px; padding: 6px 10px;
	border: 1px solid #ccc; border-radius: 2px; background: #fff; color: #333; font-size: 16px;
}
.join-preposal-form-container input[type=text]:focus,
.join-preposal-form-container input[type=email]:focus { border-color: #999; outline: none; }
.join-preposal-form-container .wpcf7-checkbox { display: flex; flex-wrap: wrap; margin-top: 8px; }
.join-preposal-form-container .wpcf7-list-item { margin: 0 15px 0 0; }
.join-preposal-form-container .wpcf7-list-item label { display: inline-flex; align-items: center; font-size: 16px; font-weight: 400; color: #142645; cursor: pointer; }
.join-preposal-form-container .wpcf7-list-item input { margin: 0 6px 0 0; }
.join-preposal-form-container .pp-submit { padding-top: 10px; }
.join-preposal-form-container input[type=submit] {
	display: inline-block; width: auto; height: auto; padding: 10px 38px; line-height: 1;
	border: 1px solid #142645; border-radius: 0; background-color: #142645; color: #fff;
	font-family: "Proxima Nova", sans-serif; font-size: 14px; font-weight: 600; text-align: center;
	cursor: pointer; transition: all .2s ease-in-out;
}
.join-preposal-form-container input[type=submit]:hover { background: #fff; color: #142645; }
