/* Legacy Bootstrap 2 compatibility layer for the upgraded Bootstrap 5 build. */

.row-fluid {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.row-fluid:before,
.row-fluid:after {
	content: "";
	display: table;
}

.row-fluid:after {
	clear: both;
}

[class*="span"] {
	box-sizing: border-box;
}

.span1 { float: left; width: 8.333333%; }
.span2 { float: left; width: 16.666667%; }
.span3 { float: left; width: 25%; }
.span4 { float: left; width: 33.333333%; }
.span5 { float: left; width: 41.666667%; }
.span6 { float: left; width: 50%; }
.span7 { float: left; width: 58.333333%; }
.span8 { float: left; width: 66.666667%; }
.span9 { float: left; width: 75%; }
.span10 { float: left; width: 83.333333%; }
.span11 { float: left; width: 91.666667%; }
.span12 { float: left; width: 100%; }

.offset1 { margin-left: 8.333333%; }
.offset2 { margin-left: 16.666667%; }
.offset3 { margin-left: 25%; }
.offset4 { margin-left: 33.333333%; }
.offset5 { margin-left: 41.666667%; }
.offset6 { margin-left: 50%; }
.offset7 { margin-left: 58.333333%; }
.offset8 { margin-left: 66.666667%; }
.offset9 { margin-left: 75%; }
.offset10 { margin-left: 83.333333%; }
.offset11 { margin-left: 91.666667%; }

.input-prepend {
	display: inline-flex;
	align-items: stretch;
	vertical-align: middle;
	flex-wrap: nowrap;
	margin-bottom: .5rem;
}

.input-prepend .add-on {
	display: inline-flex;
	align-items: center;
	padding: .375rem .75rem;
	background: #e9ecef;
	border: 1px solid #ced4da;
	border-right: 0;
	border-radius: .25rem 0 0 .25rem;
	white-space: nowrap;
	line-height: 1.5;
	color: #495057;
}

.input-prepend > .form-control,
.input-prepend > select,
.input-prepend > input {
	border-radius: 0 .25rem .25rem 0;
	display: inline-block;
	vertical-align: middle;
}

.input-prepend > .form-control {
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
}

.input-medium { width: 220px !important; }
.input-small { width: 120px !important; }
.input-mini { width: 60px !important; }
.input-large { width: 320px !important; }
.input-xxlarge { width: 420px !important; max-width: 100%; }

.btn-small {
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .25rem;
}

.well {
	min-height: 20px;
	padding: 1rem;
	margin-bottom: 1rem;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: .375rem;
}

.label {
	display: inline-block;
	padding: .25em .6em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25rem;
}

.label-inverse { background-color: #212529; }
.label-important { background-color: #dc3545; }
.label-success { background-color: #198754; }
.label-warning { background-color: #ffc107; color: #212529; }
.label-info { background-color: #0dcaf0; color: #212529; }
.label-default { background-color: #6c757d; }

.progress {
	height: 1rem;
	overflow: hidden;
	background-color: #e9ecef;
	border-radius: .375rem;
	margin-bottom: 5px !important;
}

.progress .bar {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #fff;
	white-space: nowrap;
	background-color: #0d6efd;
}

.progress.progress-striped .bar,
.progress-striped .bar {
	background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
}

.progress-warning .bar { background-color: #ffc107; color: #212529; }
.progress-success .bar { background-color: #198754; }
.progress-danger .bar { background-color: #dc3545; }
.progress-info .bar { background-color: #0dcaf0; color: #212529; }

.alert-error {
	color: #842029;
	background-color: #f8d7da;
	border: 1px solid #f5c2c7;
}

.alert-success {
	color: #0f5132;
	background-color: #d1e7dd;
	border: 1px solid #badbcc;
}

.alert-important {
	color: #664d03;
	background-color: #fff3cd;
	border: 1px solid #ffecb5;
}

@media (max-width: 979px) {
	.span10,
	.offset1 {
		float: none;
		width: 100%;
		margin-left: 0;
	}
}
