/**
 * Compatibilidad BS3 → BS5: clases aún usadas en plantillas PHP existentes.
 */

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('../vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
		url('../vendor/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.glyphicon {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.glyphicon-th:before { content: "\e011"; }
.glyphicon-trash:before { content: "\e020"; }
.glyphicon-arrow-down:before { content: "\e094"; }
.glyphicon-pencil:before { content: "\270f"; }
.glyphicon-eye-open:before { content: "\e105"; }
.glyphicon-ok:before { content: "\e013"; }
.glyphicon-remove:before { content: "\e014"; }

.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

.control-label {
	padding-top: calc(0.375rem + 1px);
	padding-bottom: calc(0.375rem + 1px);
	margin-bottom: 0;
	font-weight: 500;
}

.form-horizontal .control-label {
	text-align: right;
}

.input-lg {
	min-height: calc(1.5em + 1rem + 2px);
	padding: 0.5rem 1rem;
	font-size: 1.25rem;
	border-radius: 0.5rem;
}

.pull-right { float: right !important; }
.pull-left { float: left !important; }

.col-sm-offset-2 { margin-left: 16.66666667%; }
.offset-sm-3 { margin-left: 25%; }
.col-sm-offset-6 { margin-left: 50%; }

.navbar-default {
	background-color: #f8f8f8;
	border-color: #e7e7e7;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-brand {
	color: #777;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	background-color: #e7e7e7;
	color: #555;
}

.navbar-toggle {
	display: none;
}

@media (max-width: 991.98px) {
	.navbar-toggle {
		display: block;
	}
}

.icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #888;
	margin-top: 4px;
}

.icon-bar:first-child {
	margin-top: 0;
}

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.modal.show {
	display: block;
}

.modal.show .modal-dialog {
	transform: none;
}

.modal-backdrop.show {
	opacity: 0.5;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1040;
	width: 100vw;
	height: 100vh;
	background-color: #000;
}

.modal.show {
	background-color: rgba(0, 0, 0, 0.5);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-bg-type: rgba(0, 0, 0, 0.05);
}

.img-rounded {
	border-radius: 6px;
}

.navbar-nav.navbar-right {
	margin-left: auto;
}

.dropdown-menu .divider,
.dropdown-menu .dropdown-divider {
	height: 0;
	margin: 0.5rem 0;
	overflow: hidden;
	border-top: 1px solid #e5e5e5;
}
