/* Deliberate departures from the original design. custom.css stays exactly as it came
   from the Laravel version; every change goes here, and this file loads last. */

/* The lessons alternate: photo left, then photo right. This stood as a <style> block
   in the old template of the page. */
.fit_ness_prnt .fit_ness:nth-child(even) .row { flex-direction: row-reverse; }

@media (max-width: 575px) {
    .fit_ness_prnt .fit_ness .row { flex-direction: column-reverse; }
    .fit_ness_prnt .fit_ness:nth-child(even) .row { flex-direction: column-reverse; }
}

/* The text of the thank-you page and of the page-not-found message. */
.title_box .thanks_text { margin: 1rem 0 1.5rem; }

/* A block the menu jumps to (/fitness#BIOCIRCUIT, /group-lesson#zumba) stops under the
   fixed header instead of behind it. */
.fit_ness .row[id],
.fit_ness_prnt .fit_ness[id] { scroll-margin-top: 110px; }

/* The thin line under the testimonials points at a picture (line-img.png) that was
   never delivered with the design; without this every page view asks for it in vain. */
.testimonial:after { background-image: none; }
