/* Hog Heaven round 1: the header area (header band, green menu bar, footer blue menu bar, navy footer block).
   Loaded after hh-theme.css (includes/header.php). The old site's #header / #footer, from www.hogheaven.net
   (main: public/includes/header.php, nav.php, footer.php; public/css/main.css + bootstrap.css), measured live at 1366
   and 390 by ~/kiki-tools/ui-check/hogheaven/p1-header-test.mjs. Own classes, not Bootstrap's navbar: the old site
   was Bootstrap 4 and this one is 5, so each rule below is the old computed value. */

#header { background-color: #dee1ea; }
#header .row, #footer .row { --bs-gutter-x: 30px; }

/* header.top: logo left, city line above a navy Book Now on the right; stacked and centred under 768 px. */
.hh-top { padding: 20px 15px 10px; }
#header .logo { width: 250px; margin: 0 auto; position: relative; }
#header .logo img { max-width: 100%; height: auto; display: inline; vertical-align: middle; }
#header address.address { display: block; margin: 0 0 10px; padding: 10px 0 0; font-style: normal; font-family: Arial, Helvetica, sans-serif;
  font-size: 20px; font-weight: 300; line-height: 24px; letter-spacing: 0; text-transform: uppercase; text-align: center; color: #13639c; }
.hh-book { text-align: center; }
@media (min-width: 576px) { #header .logo { width: auto; } }
@media (min-width: 768px) {
  #header .logo { margin: 0 -30px 0 30px; }
  #header address.address { text-align: right; }
  .hh-book { text-align: right; }
}
@media (min-width: 1060px) { #header address.address { font-size: 24px; line-height: 1.32; letter-spacing: -1.5px; } }

/* header.menu and footer.menu: the bar, the toggler, the list, the Facebook link. */
.menu { position: relative; z-index: 9; box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .5); }
.menu .menu-holder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 10px 0; }
.hh-navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; padding: 0; }
.hh-toggler { padding: 0; font-size: 22px; line-height: 1; color: #ffffff; background-color: transparent; border: 1px solid transparent; border-radius: 0; cursor: pointer; }
.hh-toggler:focus { outline: none; }
.hh-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle; background: no-repeat center center; background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.hh-collapse { display: none; flex-basis: 100%; flex-grow: 1; align-items: center; }
.hh-collapse.show { display: block; }
.hh-nav-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; font-family: "Roboto", Arial, Helvetica, sans-serif; font-weight: 700; line-height: 16px; text-transform: uppercase; }
.hh-nav-item { position: relative; }
.menu .hh-menu-link { transition: color .4s ease; }
.menu .hh-menu-link.dropdown-toggle::after { display: inline-block; margin-left: .855em; vertical-align: .155em; content: ""; border-top: .45em solid; border-right: .45em solid transparent; border-bottom: 0; border-left: .45em solid transparent; }
.menu .hh-nav-item.show > .hh-menu-link { color: #cccccc; }

.menu .dropdown-menu { position: static; z-index: 1000; display: none; float: none; min-width: 10rem; margin: 0; padding: 0; font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: .75rem; line-height: 1.25rem; font-weight: 700; color: #333333; text-align: left; text-transform: uppercase; list-style: none;
  background-color: #137661; background-clip: padding-box; border: 0 solid transparent; border-radius: 0; box-shadow: none; }
.menu .dropdown-menu.show { display: block; }
.menu .dropdown-list { margin: 0; padding: 0; list-style: none; }
.menu .hh-dropdown-link { display: block; width: 100%; padding: 5px 15px; font-weight: 400; color: #ffffff; text-align: inherit; white-space: nowrap; background-color: transparent; border: 0; text-decoration: none; }
.menu .dropdown-list li:first-child .hh-dropdown-link { border-top-left-radius: 3px; border-top-right-radius: 3px; }
.menu .dropdown-list li:last-child .hh-dropdown-link { border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.menu .hh-dropdown-link:hover, .menu .hh-dropdown-link:focus { color: #cccccc; text-decoration: none; }

.menu .facebook { position: absolute; right: 0; top: 20px; margin: 0 20px; font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; }
.menu .facebook a { color: #ffffff; text-decoration: none; }
.menu .facebook a:hover, .menu .facebook a:focus { color: #cccccc; }
.menu .facebook .icon-facebook { display: inline-block; vertical-align: middle; margin: 0 .25rem .1875rem 0; font-size: .625rem; line-height: .625rem; }

@media (min-width: 992px) {
  .menu .menu-holder { justify-content: center; padding: 0; }
  .hh-navbar { flex-flow: row nowrap; justify-content: flex-start; width: auto; }
  .hh-toggler { display: none; }
  .hh-collapse, .hh-collapse.show { display: flex; flex-basis: auto; }
  .hh-nav-list { flex-direction: row; }
  .menu .dropdown-menu { position: absolute; top: 100%; left: 0; float: left; margin: 0; padding: .5rem 0; font-size: .875rem; }
  .menu .hh-dropdown-link { padding: .625rem .9375rem; }
  .menu .facebook { position: static; }
}

/* footer.content: the navy block. */
.footer-content { background-color: #0c1b3c; padding: 40px 0 30px; }
.footer-content img { max-width: 100%; height: auto; }
.hh-info-col { padding-top: 20px; padding-bottom: 20px; }
.footer-info { position: relative; z-index: 1; font-size: .875rem; line-height: 1.125rem; text-align: center; }
.footer-info h3 { margin: 0 0 .5rem; font-family: "Roboto", Arial, Helvetica, sans-serif; font-weight: 700; color: #13639c; }
.footer-info address { display: block; margin: 0; font-style: normal; font-size: inherit; line-height: inherit; }
.footer-info a, .copyrights a { color: #ffffff; text-decoration: none; transition: color .4s ease; }
.footer-info a:hover, .copyrights a:hover { color: #cccccc; }
.copyrights { position: relative; display: block; color: #ffffff; text-align: center; font-size: 12px; line-height: 24px; }
.copyrights a.footlink, .copyrights a[href*="teck.net"] { color: #50bfae; }
.copyrights a.footlink:hover, .copyrights a[href*="teck.net"]:hover { color: #cccccc; }
@media (min-width: 768px) {
  .footer-content { padding-bottom: 50px; }
  .hh-info-col { display: flex; justify-content: flex-end; flex-wrap: wrap; padding-top: 0; padding-bottom: 0; }
  .footer-info { margin-top: -10px; padding: 0 2rem 0 0; text-align: left; }
  .copyrights { text-align: left; }
}
@media (min-width: 1060px) { .copyrights { line-height: 1.32; } }

/* The old menu (Bootstrap 4) let a dropdown toggle wrap; Bootstrap 5's .dropdown-toggle is nowrap (look sweep). */
.hh-menu-link.dropdown-toggle { white-space: normal; }
