/* ─────────────────────────────────────────────────────────────────────────────
   bs3-compat.css

   Bootstrap 3 used to load underneath Bootstrap 5 on every page. A handful of
   its rules were more specific than Bootstrap 5's and so decided how parts of
   the site look. These are exactly those rules (from Bootstrap 3.3.7), so the
   site looks the same now that Bootstrap 3 itself is gone.

   Loaded where Bootstrap 3 used to load (before page styles, Bootstrap 5 and
   landing-stylesheet.css), so the cascade is unchanged. Rules can be deleted
   one at a time when a page is redesigned for Bootstrap 5.
   ───────────────────────────────────────────────────────────────────────────── */

/* Navbars: 20px gap below, rounded corners, taller links */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.navbar-nav > li > a { line-height: 20px; }
.navbar-brand {
    height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
}
.navbar-brand > img { display: block; }
/* Dropdowns hang flush under the navbar (square top corners) */
.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.dropdown-menu > li > a { line-height: 1.42857143; }
@media (min-width: 768px) {
    .navbar { border-radius: 4px; }
    .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
}

/* Form labels were bold */
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Table cells: 8px padding, top-aligned, light row separators */
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th,
.table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
    border-top: 0;
}
