/*
 * Socle local de premier affichage.
 *
 * Il ne remplace pas Bootstrap : il garantit uniquement une page lisible,
 * une navigation mobile utilisable et des composants sensibles masqués tant
 * que la feuille Bootstrap distante n'est pas encore disponible.
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; vertical-align: middle; }
button, input, optgroup, select, textarea { margin: 0; font: inherit; }
a { color: inherit; }

.container { width: 100%; margin-right: auto; margin-left: auto; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-stretch { align-items: stretch !important; }
.min-vh-100 { min-height: 100vh !important; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.me-2 { margin-right: .5rem !important; }
.text-danger { color: #b02a37 !important; }

.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.navbar > .container { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }
.navbar-brand { display: inline-block; text-decoration: none; white-space: nowrap; }
.navbar-toggler { background-color: transparent; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin: 0; list-style: none; }
.nav-link { display: block; text-decoration: none; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.collapse:not(.show) { display: none; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; z-index: 1000; display: none; margin: 0; list-style: none; background: #fff; }
.dropdown-menu.show { display: block; }
.dropdown-menu-end { right: 0; left: auto; }
.dropdown-item { display: block; width: 100%; border: 0; background: transparent; text-align: inherit; white-space: nowrap; }
.dropdown-divider { height: 0; margin: .5rem 0; overflow: hidden; border: 0; border-top: 1px solid rgba(0, 0, 0, .12); }

.modal { position: fixed; inset: 0; z-index: 1055; display: none; overflow: hidden auto; outline: 0; }
.modal.show { display: block; }
.modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; }

.btn { display: inline-block; border: 1px solid transparent; background: transparent; text-align: center; text-decoration: none; cursor: pointer; }
.btn-close { width: 1em; height: 1em; padding: .25em; border: 0; background: transparent; }
.alert { position: relative; padding: 1rem; }

@media (min-width: 1200px) {
  .navbar-expand-xl { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-xl .navbar-toggler { display: none; }
  .navbar-expand-xl .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-xl .navbar-nav { flex-direction: row; }
  .flex-xl-row { flex-direction: row !important; }
  .align-items-xl-center { align-items: center !important; }
  .mx-xl-auto { margin-right: auto !important; margin-left: auto !important; }
}
