/* hb-charters.css: the CHARTERS pages (Fishing, Birding, Private Charters, Memorials), loaded after hb-theme.css.
   Measured on the old site at 1366 and 390 px. Only the page frame, the two tables and the Birding carousel live here;
   the fonts, colours, water photo and card are the theme's. */

.hbc-page { padding-top: .625rem; overflow-x: clip; }

/* The old row / column: a row 30 px wider than the container, one column of 10 of 12 from 768 px up, 15 px gutters. */
.hbc-row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.hbc-col { flex: 0 0 100%; max-width: 100%; width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 768px) { .hbc-col { flex: 0 0 83.3333%; max-width: 83.3333%; margin: 0 auto; } }

.hbc-text { margin-bottom: 1.875rem; line-height: 1.5; letter-spacing: 1.27px; }
.hbc-text h1 { margin-bottom: 0; }
.hbc-text p { margin-bottom: 1rem; }
.hbc-text strong { text-transform: uppercase; line-height: 1.76; }

/* Phones: a light grey panel behind the text (the old site put black text straight on the dark water photo). The box
   runs edge to edge and the text keeps its old 15 px gutters (Birding's old text touched the screen edge; it gets the same
   gutters). The page does not scroll sideways (the old Birding row did, by 15 px). */
@media (max-width: 767.98px) {
  .hbc-text { background-color: #d3d3d3; padding: 15px; margin-right: -15px; margin-left: -15px; margin-bottom: 0; }   /* the buffer below the box is the theme's 45 px */
  .hbc-panel .hbc-text { margin-right: 0; margin-left: 0; }
}

/* Fishing: the price table sits in the white card with no body padding (the table touches the card's border). */
.hbc-card { overflow: hidden; }
.hbc-prices, .hbc-schedule { width: 100%; border-collapse: collapse; color: #212529; margin-bottom: 1rem; }
.hbc-prices th, .hbc-prices td { padding: .75rem; vertical-align: top; text-align: left; border-top: 1px solid #dee2e6; }
.hbc-prices th { font-weight: 700; }

/* Birding: the grey panel holds the carousel and the text. The carousel column is 10 of 12 (from 768 px up) with 15 px
   gutters; the text column is the old row's, which sat inside the panel (width 5/6 of the panel plus 25 px). */
.hbc-panel { padding-top: 15px; }
.hbc-carcol { padding: 0 15px; }
.hbc-panel .hbc-row { margin-right: 0; margin-left: 0; }
.hbc-panel .hbc-col { padding-right: 0; padding-left: 0; }
@media (min-width: 768px) {
  .hbc-carcol { max-width: 83.3333%; margin: 0 auto; }
  .hbc-panel .hbc-col { flex: 0 0 calc(83.3333% + 25px); max-width: calc(83.3333% + 25px); padding-right: 15px; padding-left: 15px; }
}
.hbc-carousel { position: relative; margin-bottom: 15px; }
.hbc-carousel .carousel-item img { display: block; max-height: 460px; max-width: 100%; width: auto; height: auto; margin: auto; }
.hbc-caption { right: 15%; left: 15%; bottom: 20px; padding-top: 20px; padding-bottom: 20px !important; text-align: left; }
.hbc-caption-title { font-family: var(--script-font); font-weight: 400; font-size: 1.9375rem; line-height: 1.3; margin: 0 0 .5rem; letter-spacing: 1.27px; }
.hbc-caption-title .text { display: block; text-transform: capitalize; }

/* The schedule: the old table-bordered, striped, small table with a dark head. */
.hbc-schedule { border: 1px solid #dee2e6; }
.hbc-schedule th, .hbc-schedule td { padding: .3rem; vertical-align: top; text-align: left; border: 1px solid #dee2e6; }
.hbc-schedule thead th { color: #ffffff; background-color: #343a40; border-color: #454d55; border-bottom-width: 2px; vertical-align: bottom; font-weight: 700; }
.hbc-schedule tbody tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, .05); }
.hbc-schedule small { font-size: 80%; font-weight: 400; }

/* The old .intro-section has no bottom padding (main.css's section rule adds 60 px). */
section.hbc-page { padding-bottom: 0; }
