/* Tradewinds boats area (Fleet, Charter Services, Fishing, Whale Watching Info, Charter Rates). Loaded after tw-theme.css.
   The old site is a Bootstrap 4 build; this theme runs Bootstrap 5, so the grid gutter is set back to the old 30 px and the
   container to the old 1140 px with its 40 px gutter (columns pad 20 px, rows pull back 20 px: measured live, 1366 and 390). */
.tw-boats .row, .tw-boats .container { --bs-gutter-x: 40px; }
.tw-boats .container { max-width: 1140px; }

/* Fleet: one white card per boat, 8 px padding, the photo framed (img-thumbnail) at its own width up to 308 px. */
.tw-white.tw-boat-card { padding: 8px; }
.tw-boats-fleet .tw-fleet-photo { margin: 0; }
.tw-boats-fleet .tw-fleet-photo img { width: 100%; height: auto; }

/* Photos and carousels (Fishing, Whale Watching Info): 500 px tall at most, centred, the caption under the photo, the
   indicator dashes under the caption (white at half strength, 30 x 3 px; grey on the Whale Watching Info card). */
.tw-boats .tw-boats-img { max-height: 500px; max-width: 100%; height: auto; width: auto; margin: auto; }
.tw-boats .img-thumbnail.tw-boats-img { max-height: none; }
.tw-boats .carousel-indicators { margin: 0 15% 16px; padding: 0; list-style: none; justify-content: center; }
.tw-boats .carousel-indicators [data-bs-target] { width: 30px; flex: 0 0 auto; list-style: none; height: 3px; margin: 0 3px; padding: 0; border: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; background-color: #ffffff; background-clip: padding-box; opacity: .5; }
.tw-boats .carousel-indicators .active { opacity: 1; }
.tw-boats-whale .carousel-indicators [data-bs-target] { background-color: #666666; }
/* The old Bootstrap 4 headings: h4 20 px (21 from 768 px), h5 18 px, line 1.2, a half-em margin under; the page heading h3 is 22 px under 768 px. */
.tw-boats h4:not(.h5), .tw-boats .h4 { font-size: 20px; line-height: 1.2; margin: 0 0 .5em; }
.tw-boats h5, .tw-boats .h5 { line-height: 1.2; margin: 0 0 .5em; }
@media (min-width: 768px) { .tw-boats h4:not(.h5), .tw-boats .h4 { font-size: 21px; } }
@media (max-width: 767.98px) { .tw-boats h3, .tw-boats .h3 { font-size: 22px; line-height: 1.2; margin-bottom: 11px; } }
.tw-boats .tw-bold-line { text-align: center; }

/* Charter Rates: the old Bootstrap 4 table cells (12 px padding, a line above each row, top-aligned), the old column widths. */
.tw-boats-rates .table { width: 100%; margin-bottom: 16px; }
/* Bootstrap 4 striping: the odd ROW carries the grey (5% black over the white table), the cells carry nothing. */
.tw-boats-rates .table.table-striped > tbody > tr > * { background-color: transparent; box-shadow: none; }
.tw-boats-rates .table.table-striped > tbody > tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, .05); }
.tw-boats-rates .table td, .tw-boats-rates .table th { padding: 12px; vertical-align: top; border-top: 1px solid #dee2e6; border-bottom-width: 0; }
.tw-boats-rates .table .tw-rate-name { width: 400px; }
.tw-boats-rates .table .tw-rate-blank { width: 200px; }
.tw-boats-rates .table .tw-rate-other { width: 450px; }
@media (max-width: 767.98px) { .tw-boats-rates .table .tw-rate-name, .tw-boats-rates .table .tw-rate-blank { width: auto; } }
.tw-boats-rates ul { padding-left: 40px; }
/* A table wider than the phone scrolls inside its own box, never the page (the old page cut it off). */
.tw-boats-rates .tw-table-scroll { overflow-x: auto; max-width: 100%; }

/* Fleet photo frame as the old img-thumbnail: 4 px padding, a 2 px light border, 8 px corners; columns keep their old (unlimited) max-width. */
.tw-boats-fleet .img-thumbnail { padding: 4px; border: 2px solid #f1f1f1; border-radius: 8px; }
.tw-boats-fleet .row > * { max-width: none; }
