/* Font Awesome behaviours that Bootstrap Icons does not ship, so icons keep their layout when
   fa-* classes are swapped for bi-* (docs/BOOTSTRAP_ICONS_MIGRATION.md). Sizes and timings
   copy Font Awesome 5's own rules. Load after bootstrap-icons.min.css. */

/* fa-fw: fixed width so icons in lists and menus line up. */
.bi-fw {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

/* fa-lg / fa-Nx */
.bi-lg {
    font-size: 1.3333em;
    line-height: .75em;
    vertical-align: -.0667em;
}
.bi-2x { font-size: 2em; }
.bi-3x { font-size: 3em; }
.bi-4x { font-size: 4em; }
.bi-5x { font-size: 5em; }

/* fa-spin: used on loading indicators (bi-arrow-repeat). */
.bi-spin {
    display: inline-block;
    animation: bi-spin 2s linear infinite;
}
@keyframes bi-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Someone who has asked for less motion gets a still icon (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
    .bi-spin { animation: none; }
}
