/* Hog Heaven round 1: the contact area. Loaded after hh-theme.css (includes/header.php).
   The old page (public/contact.php on www.hogheaven.net): a 1000 px white panel holding the green band (white-top.png),
   the title, and a white card (890 px, padding 20, 4 px radius, 1 px border) with a label column (col-2 offset-1) and a
   field column (col-9) from 768 px up. Below 768 px the old form broke (labels one letter per line), so there the
   labels sit above full-width fields. */
.hh-contact-panel { padding: 0; }
.hh-contact-band { position: relative; background: #23634e url("../img/hh/contact/white-top.png") repeat-x top; padding: 0 15px 20px; }
@media (min-width: 992px) { .hh-contact-band { padding-left: 40px; padding-right: 40px; } }
.hh-contact-band h1 { margin: 0 0 8px; }
.hh-contact-card { color: #333333; padding: 20px; }
.hh-contact-card .hh-contact-row { margin-top: 10px; margin-bottom: 10px; }
.hh-contact-label { display: block; margin: 0; }
.hh-contact-card .form-control { color: #495057; height: 38px; }
.hh-contact-card textarea.hh-contact-message { height: 150px; }
.hh-contact-submit { text-align: center; margin-top: 10px; }
.hh-captcha .h-captcha { display: block; line-height: 0; }
@media (max-width: 767.98px) {
  .hh-contact-card .hh-contact-row { display: block; margin-left: 0; margin-right: 0; }
  .hh-contact-card .hh-contact-row > * { width: 100%; max-width: 100%; margin-left: 0; padding-left: 0; padding-right: 0; }
  .hh-contact-label { padding-bottom: 2px; }
}
/* the old site's Bootstrap 4 look: 15 px gutters, 4 px radius, the old border colours */
.hh-contact-card { border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.125); }
.hh-contact-card .form-control { border: 1px solid #ced4da; border-radius: 4px; }
.hh-contact-wrap { --bs-gutter-x: 30px; }
.hh-contact-wrap > .col-12 { padding-left: 15px; padding-right: 15px; }
.hh-contact-card .row { --bs-gutter-x: 30px; margin-left: -15px; margin-right: -15px; }
.hh-contact-card .row > * { padding-left: 15px; padding-right: 15px; }
@media (max-width: 767.98px) {
  .hh-contact-card .row { margin-left: 0; margin-right: 0; }
  .hh-contact-card .row > * { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767.98px) {
  .hh-contact-band { padding-left: 4px; padding-right: 4px; }
  .hh-contact-wrap { margin-left: 0; margin-right: 0; width: 100%; }
  .hh-contact-wrap > .col-12 { padding-left: 0; padding-right: 0; }
  .hh-contact-card { padding: 8px; }
}
@media (max-width: 767.98px) { .hh-captcha { overflow-x: auto; } }

/* The spam trap field (includes/contact_guard.php): off-screen, not display:none, because bots skip display:none. */
.hh-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
