/*
 * Joomla 4/5/6 compatibility for the firmadat template.
 * The template CSS is based on Bootstrap 2; core layouts in Joomla 4+ use a few
 * Bootstrap 5 utility classes that it does not define.
 */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* mod_languages: keep the flags side by side as in Joomla 3 */
div.mod-languages ul.lang-inline {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
div.mod-languages ul.lang-inline li {
    display: inline-block;
    margin: 0 1px;
}
