/* Oceanside round 1: styles for Whale Watch, Science, FAQ, Directions and Links. Loaded after os-theme.css. Measured on the
   old site (styles.txt, 1366 and 390 px); everything is scoped to .os-info so no other page changes. */

/* The old pages sit in a Bootstrap row (flex), so the last paragraph's bottom margin stays inside the content box and adds to the gap above the footer. */
.os-info { display: flow-root; }

/* FAQ and Links: the old page's narrow centred column (col-12, then md 10/12, lg 8/12, xl 6/12 of a row that runs 15 px past
   each side of the page, with 15 px of padding), which at a phone's width is the whole screen. */
.os-info .os-narrow { margin: 0 auto; width: 100%; }
@media (min-width: 768px)  { .os-info .os-narrow { width: calc((100% + 30px) * 0.8333333 - 30px); } }
@media (min-width: 992px)  { .os-info .os-narrow { width: calc((100% + 30px) * 0.6666667 - 30px); } }
@media (min-width: 1200px) { .os-info .os-narrow { width: calc((100% + 30px) * 0.5 - 30px); } }
.os-info-faq h3, .os-info-links h3, .os-info-directions h3 { font-size: 28px; line-height: 33.6px; font-weight: 400; margin: 0 0 8px; color: #333333; }
.os-info-faq h3.text-center, .os-info-links h3.text-center { text-align: center; }
.os-info-faq p, .os-info-directions p { font-size: 18px; line-height: 22.5px; margin: 0 0 20px; }
.os-info-faq .os-narrow > div p:last-child { margin-bottom: 20px; }
.os-info-faq a, .os-info-directions a, .os-info-whale a:not(.btn-os-navy), .os-info-links a { color: #00396e; text-decoration: none; }
.os-info-faq a:hover, .os-info-directions a:hover, .os-info-whale a:not(.btn-os-navy):hover, .os-info-links a:hover { color: #001122; text-decoration: underline; }

/* Links: 20 px light navy, one per line, under the heading, in a column a third narrower than the heading's. */
.os-info-links .os-links-wrap { padding: 0 40px; }
.os-info-links .os-links-inner { margin: 0 auto; width: 100%; }
@media (min-width: 768px) { .os-info-links .os-links-inner { width: calc((100% + 30px) * 0.8333333 - 30px); } }
@media (min-width: 992px) { .os-info-links .os-links-inner { width: calc((100% + 30px) * 0.6666667 - 30px); } }
.os-info-links ul.os-links { font-size: 20px; line-height: 30px; font-weight: 300; margin: 0 0 16px; padding: 0 0 0 40px; text-align: left; }
.os-info-links ul.os-links a { font-weight: 300; }

/* Whale Watch: a Bootstrap 4 page (display-4 56 px light, lead 20 px light, list-group lead items, rounded photos). */
.os-info-whale .os-whale { width: 100%; max-width: 1240px; padding-left: 40px; padding-right: 40px; margin-left: auto; margin-right: auto; margin-top: 3rem; }
.os-info-whale h1.display-4 { font-size: 56px; line-height: 67.2px; font-weight: 300; text-align: center; color: #333333; margin: 0 0 8px; }
.os-info-whale .lead { font-size: 20px; line-height: 25px; font-weight: 300; margin: 0 0 20px; color: #333333; }
.os-info-whale p.lead { text-align: center; }
.os-info-whale h2.h4 { font-size: 24px; line-height: 28.8px; font-weight: 400; margin: 0 0 8px; color: #333333; }
.os-info-whale h2.h4.mb-4 { margin-bottom: 1.5rem; text-align: center; }
.os-info-whale .row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; --bs-gutter-x: 30px; }
.os-info-whale .row > [class*="col-"] { padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px) { .os-info-whale .row > .col-md-6 { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 767.98px) { .os-info-whale .row > .col-md-6 { flex: 0 0 100%; max-width: 100%; } }
.os-info-whale img.rounded { border-radius: .25rem !important; max-width: 100%; height: auto; }
.os-info-whale .list-group { display: block; margin: 0; padding: 0; list-style: none; border-radius: 0; }
.os-info-whale .list-group-item { display: block; position: relative; font-size: 20px; line-height: 30px; font-weight: 300; padding: 12px 20px; margin-bottom: -1px; color: #333333; background-color: #ffffff; border: 0; border-top: 1px solid rgba(0, 0, 0, .125); border-bottom: 1px solid rgba(0, 0, 0, .125); border-radius: 0; }
.os-info-whale .list-group > .list-group-item:last-child { margin-bottom: 0; border-bottom-width: 1px; }
.os-info-whale .list-group:last-child > .list-group-item:last-child { border-bottom-width: 0; }
.os-info-whale p.mt-3 { margin-top: 1rem; }
.os-info-whale .text-center.mt-4 { margin-top: 47px !important; }
.os-info-whale .btn-os-navy { margin-top: 0; white-space: nowrap; max-width: none; }

/* Science: the old page's bold paragraphs, the photo at 624 x 273 (never wider than the page: the old page overflowed a phone). */
.os-info-science .os-col { width: 100%; }
.os-info-science b { font-weight: 700; }
.os-info-science img.os-science-photo { max-width: 100%; height: auto; aspect-ratio: 624 / 273; }
@media (min-width: 768px) { .os-info-science img.os-science-photo { max-width: none; } }

/* Directions: the text block, the 600 x 450 parking map (shrinks to the page on a phone) and the 400 px address map. */
.os-info-directions .os-content { width: 100%; }
.os-info-directions h3 { text-align: left; }
.os-info-directions .os-parking-map { border: 0; max-width: 100%; }
.os-info-directions .os-map-canvas { width: 100%; height: 400px; }
.os-info-directions #map-canvas { width: 100%; height: 400px; }
.os-info-directions .os-map-canvas iframe { display: block; width: 100%; height: 400px; border: 0; }
