/*
 * /contact-us form (#gform_3) — hand-maintained, matches https://dycomind.com/contact-us/.
 * The error design (banner, field messages, red labels, red control borders in error) comes from
 * `FormSubmit gravityErrors` and the site's own captured Gravity CSS; this file only holds what that
 * does not provide. Scoped to this form's wrapper. Values measured on the live site.
 */

/* Controls at rest draw a 2px transparent border on their tinted background (no visible outline).
   Invalid controls are left out so Gravity's own 1px red error border applies to them. */
#gform_wrapper_3 input[type='text']:not([aria-invalid='true']),
#gform_wrapper_3 input[type='email']:not([aria-invalid='true']),
#gform_wrapper_3 input[type='tel']:not([aria-invalid='true']),
#gform_wrapper_3 select:not([aria-invalid='true']),
#gform_wrapper_3 textarea:not([aria-invalid='true']) {
  border: 2px solid transparent;
}

/* The theme's `body h2 { letter-spacing: -2px }` (meant for 48px page headings) is inherited by the
   error banner's <h2> and squeezes its 13px text until the words run together. */
#gform_wrapper_3 .gform_validation_errors .gform_submission_error {
  letter-spacing: normal;
}
