/* TGV:S09.09 - Pivot-owned layout rules for remaining Bootstrap 4 markup under Bootstrap 5. */
.form-group { margin-bottom: 1rem; }
.form-group > label { margin-bottom: .5rem; }
.navbar { padding-left: 1rem; padding-right: 1rem; }
.form-inline { display: flex; flex-flow: row wrap; align-items: center; }
.btn-block { display: block; width: 100%; }
.btn-block + .btn-block { margin-top: .5rem; }
.input-group-prepend, .input-group-append { display: contents; }
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-prepend > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-append > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.close { float: right; padding: 0; font-size: 1.5rem; font-weight: 700; line-height: 1;
  color: inherit; opacity: .6; background: transparent; border: 0; }
.close:hover, .close:focus { opacity: 1; }
.close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.modal-header .close { margin: -1rem -1rem -1rem auto; padding: 1rem; }
.alert-dismissible .close { position: absolute; top: 0; right: 0; padding: 1.25rem 1rem; }
.custom-file { position: relative; display: inline-block; width: 100%; }
.custom-file-input { width: 100%; }
.custom-file-label { display: block; margin-top: .25rem; }
.list-inline { padding-left: 0; list-style: none; }
@media (min-width: 576px) {
  .form-inline .form-control, .form-inline .form-select { display: inline-block; width: auto; vertical-align: middle; }
  .form-inline .form-group { display: flex; flex: 0 0 auto; flex-flow: row wrap; align-items: center; margin-bottom: 0; }
}

/* Keep native radio/checkbox keyboard semantics for legacy nested button labels. */
.btn-group-toggle > .btn > input[type="radio"],
.btn-group-toggle > .btn > input[type="checkbox"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.btn-group-toggle > .btn:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
