/* Sole-Man round 1: the contact area's styles (its slice owns this file). Uses the theme's classes (sm-theme.css).
   The grid, form and honeypot are written out here (Bootstrap 4's measurements: 15 px gutters, 38 px fields) so the page
   matches the old Contact Us whatever Bootstrap version the frame loads. */

/* ---- the old Bootstrap 4 grid: row / col, 12 columns, 15 px gutters, 768 px breakpoint ---- */
.sm-c-row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.sm-c-center { align-items: center; }
.sm-c-col { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.sm-c-col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .sm-c-col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .sm-c-col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .sm-c-col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
.sm-head h1 { margin-bottom: 8px; }
.sm-head .sm-crumb { margin-bottom: 0; }

/* ---- the map: 400 px, full width; with no key in Site Settings it stays an empty grey box (Google's own grey) ---- */
.sm-contact-map { width: 100%; height: 400px; background-color: #e5e3df; }

/* ---- the form (Bootstrap 4 .form-group, .form-control, validation states) ---- */
.sm-contact-form .sm-form-group { margin-bottom: 16px; }
.sm-contact-form label { display: inline-block; margin-bottom: 8px; }
.sm-contact-form .sm-form-control {
  display: block; width: 100%; height: 38px; padding: 6px 12px;
  font-family: inherit; font-size: 16px; font-weight: 400; line-height: 24px; color: #495057;
  background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: 4px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.sm-contact-form textarea.sm-form-control { height: auto; resize: vertical; }
.sm-contact-form .sm-form-control::placeholder { color: #6c757d; opacity: 1; }
.sm-contact-form .sm-form-control:focus { color: #495057; background-color: #fff; border-color: #80bdff; outline: 0; box-shadow: 0 0 0 3.2px rgba(0, 123, 255, .25); }
.sm-contact-form .sm-form-control.is-invalid { border-color: #dc3545; }
.sm-contact-form .sm-form-control.is-invalid:focus { border-color: #dc3545; box-shadow: 0 0 0 3.2px rgba(220, 53, 69, .25); }
.sm-contact-form .sm-form-control.is-valid { border-color: #28a745; }
.sm-contact-form .sm-form-control.is-valid:focus { border-color: #28a745; box-shadow: 0 0 0 3.2px rgba(40, 167, 69, .25); }
.sm-contact-form .sm-form-error { color: #dc3545; }
.sm-contact-form .small, .sm-contact-details .small { font-size: 12.8px; line-height: 19.2px; }
.sm-contact-form .sm-captcha { margin-bottom: 15px; }
.sm-contact-form button.btn-sm-red { cursor: pointer; }

/* ---- the details beside it ---- */
.sm-contact-details p { margin-top: 0; margin-bottom: 16px; }
.sm-contact-details p.mb-4 { margin-bottom: 24px; }
.sm-contact-details strong { font-weight: 700; text-transform: uppercase; }

/* ---- the honeypot: off screen (not display:none, which bots skip), never read aloud, never reached by Tab ---- */
.sm-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- the page the form answers with ---- */
.sm-contact-answer { text-align: center; padding-top: 24px; padding-bottom: 24px; }
