/**
 * @package     Joomla.Site
 * @subpackage  Templates.modellmarine6
 *
 * Small additions to the Bootstrap 2 based template.css for markup
 * that Joomla 4 and later produce in their own layouts (Bootstrap 5 class names).
 * Loaded after template.css.
 */

/* Screen-reader-only text (Bootstrap 5 name of .element-invisible) */
.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;
}

/* Elements hidden with the HTML attribute, e.g. collapsed subcategories in core layouts */
[hidden] {
	display: none !important;
}

/* Bootstrap 5 float helpers */
.float-start {
	float: left;
}

.float-end {
	float: right;
}

/* Bootstrap 5 badge colours used by core layouts */
.badge.bg-info {
	background-color: #3a87ad;
}

.badge.bg-secondary {
	background-color: #999;
}

/* The close button of system messages is a <button> now */
.alert button.close {
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
