/*
 * Modal close buttons.
 *
 * Bootstrap's .close is dark, which disappears against a coloured modal
 * header. Three pages solved that with style="color:white" on the button
 * itself; this project keeps colour in the stylesheet, so the two cases are
 * named here instead.
 *
 * The glyph inside these buttons carries aria-hidden, so what a screen reader
 * announces is the button's aria-label ("Close") and not the multiplication
 * sign -- the sign is an icon, drawn with a character.
 */
.close.close--on-dark,
.close.close--on-dark:hover,
.close.close--on-dark:focus {
    color: #fff;
    opacity: .9;
}

.close.close--on-light,
.close.close--on-light:hover,
.close.close--on-light:focus {
    color: #000;
    opacity: .7;
}

/* A close button is a control, so it has to show keyboard focus. */
.close.close--on-dark:focus-visible,
.close.close--on-light:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
