/* Additions for the static site (everything else is the original theme CSS). */

/* Contact page map embed (replaces the Google Maps JS widget). */
.db-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Quote form: Turnstile, honeypot, result message. */
#quote-form .db-turnstile { min-height: 65px; }
#quote-form .db-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#quote-form button.db-submitting { opacity: 0.7; cursor: wait; }
.dhvc-form-message.db-msg-ok,
.dhvc-form-message.db-msg-error {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 2px solid;
  border-radius: 3px;
  font-weight: 700;
}
.dhvc-form-message.db-msg-ok { border-color: #46b450; background: #ecf7ed; color: #1e5e24; }
.dhvc-form-message.db-msg-error { border-color: #dc3232; background: #fbeaea; color: #8a1f1f; }

/* /thank-you/ and 404 */
.db-sent { max-width: 760px; margin: 40px auto; padding: 24px; border: 2px solid #46b450; background: #ecf7ed; color: #1e5e24; font-size: 1.15em; text-align: center; }
.db-sent.db-404 { border-color: #4e5983; background: #f4f5f9; color: #333; }
.db-sent h1 { margin-top: 0; }

/* DHVC's spinner is visible permanently on the live site too (a theme rule overrides display:none);
   show it only while submitting. */
#quote-form .dhvc-form-submit .dhvc-form-submit-spinner { display: none !important; }
#quote-form .dhvc-form-submit.db-submitting .dhvc-form-submit-spinner { display: block !important; }
#quote-form .dhvc-form-submit.db-submitting .dhvc-form-submit-label { visibility: hidden; }

/* Footer credit is text now (was the JIT logo image); keep it readable on the blue bar. */
a[href*="jitoutsource.com"] { color: #fff !important; text-decoration: underline; }

/* WPBakery rows use negative side margins and stick out ~5px on phones (live site too). */
body { overflow-x: hidden; }
