/**
 * Css dedicado a los estilos generales de la aplicación
 */

/**
 * GENERALES
 */

.separaBotonDerecha {
	margin-right: 5px;
}

/**
Preloader
 */
#page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	background: #fff none repeat scroll 0% 0%;
	opacity: 50%;
	z-index: 99999;
}
#page-loader .preloader-interior {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #dbdde0;

	-webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
	animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
#page-loader .preloader-interior:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #343a40;

	-webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
	animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#page-loader .preloader-interior:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #32538F;

	-webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
	animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg); /* IE 9 */
		transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
	}
	100% {
		-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg); /* IE 9 */
		transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
	}
}
@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg); /* IE 9 */
		transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
	}
	100% {
		-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg); /* IE 9 */
		transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
	}
}

/* Ajustes para datatables.js */
table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > th:first-child:before {
	top: 50% !important;
}

/* Ajuste admin LTE */
@media (max-width: 576px) {
	.login-box,
	.register-box {
		margin-top: 0 !important;
		width: 100% !important;
	}
}

/* Ajuste para fullcalendar */
.fc .fc-timegrid-col.fc-day-today {
	background-color: transparent !important;
}

.card-title-btn-right {
	margin: -0.3em;
	float: right !important;
	position: relative;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	vertical-align: middle;
}

/* listas ordenadas encadenadas */
.concatenatedList ol {
	counter-reset: item;
}
.concatenatedList li {
	display: block;
}
.concatenatedList li:before {
	content: counters(item, ".") ". ";
	counter-increment: item;
}

/** Text-Area Limpio */

.textarea-clean {
	border: none;
	background-color: transparent;
	overflow: hidden;
	min-height: 31px !important;
	/*resize: none;*/
}

.textarea-clean:after {
	border: none;
}

.textarea-bgw {
	border: none;
	overflow: hidden;
	/*min-height: 31px;*/
}

.color-blanco {
	color: #ffffff !important;
}
.fondo-burdeos {
	background-color: #be0f2e !important;
}

.filtroTabla {
	border: 2px solid #eee;
	padding: 5px 10px 15px 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.columna-ancho-90 {
	width: 90px;
}
.columna-ancho-100 {
	width: 100px;
}
.columna-ancho-minimo {
	width: 14px;
}

/* Override */
.select2-selection__rendered {
	line-height: 1.8rem !important;
} /* assets/js/select2-bootstrap4-theme/select2-bootstrap4.min.css */

.label-autor-seleccionado,
.label-grupo-seleccionado {
	width: 50%;
	background-color: #31708f;
	padding-left: 2px;
	color: white;
	height: 30px;
	border-radius: 4px;
	font-weight: normal !important;
}

.labelAutorEliminado,
.labelGrupoEliminado {
	background-color: #ccc;
	text-decoration: line-through;
}

/*.labelTituloVariosCampos{
    background-color: #CCC;
    display: block;
    border-radius: 4px;
    padding-left: 2px;
}*/

.mensajeErrorFormulario {
	background-color: #b97a78;
	color: #ffffff;
	padding: 3px 3px 3px 10px;
	margin-top: 5px;
	visibility: visible;
	display: block;
	margin-bottom: 10px;
	border-radius: 4px;
	float: left;
	clear: both;
	width: 100%;
	margin-right: 15px;
}

.oculto {
	display: none !important;
}
.campoAno {
	width: 70px !important;
	text-align: center;
}

.card-header-agrupador-campos {
	line-height: 1;
}

._lbl {
	/*font-size:.875rem!important;*/
	font-size: 80%;
	font-weight: 400;
	margin: -0.25rem 0 !important;
}

.textarea-clean {
	border: none;
	background-color: transparent;
	overflow: hidden;
	min-height: 31px !important;
	/*resize: none;*/
}

.textarea-clean:after {
	border: none;
}

.textarea-bgw {
	border: none;
	overflow: hidden;
	/*min-height: 31px;*/
}

/** custom widths */
.w-5 {
	width: 5% !important;
}
.w-10 {
	width: 10% !important;
}
.w-15 {
	width: 15% !important;
}
.w-20 {
	width: 20% !important;
}
.w-25 {
	width: 25% !important;
}
.w-30 {
	width: 30% !important;
}
.w-35 {
	width: 35% !important;
}
.w-40 {
	width: 40% !important;
}
.w-45 {
	width: 45% !important;
}
.w-50 {
	width: 50% !important;
}
.w-55 {
	width: 55% !important;
}
.w-60 {
	width: 60% !important;
}
.w-65 {
	width: 65% !important;
}
.w-70 {
	width: 70% !important;
}
.w-75 {
	width: 75% !important;
}
.w-80 {
	width: 80% !important;
}
.w-85 {
	width: 85% !important;
}
.w-90 {
	width: 90% !important;
}
.w-95 {
	width: 95% !important;
}
.w-100 {
	width: 100% !important;
}

/* ocultar app Vue pre-render */
[v-cloak] {
	display: none;
}

.opacity25 {
	opacity: 0.25;
}
.opacity50 {
	opacity: 0.5;
}
.opacity75 {
	opacity: 0.75;
}

/* Formulario */

:root {
	--azul: #002a75;
	--oro: #b6975f;
}

body.login-page {
	justify-content: space-between;
	height: 100vh;
}

body.login-page,
body.register-page {
	background: white;
	background: url(../images/fondo.jpg) white center / cover no-repeat;
}

body.login-page header,
body.register-page header {
	background: var(--azul);
	background: url(../images/bg-header.jpg) var(--azul) center / cover no-repeat;
	padding: 2em 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

body.login-page #logo,
body.register-page #logo {
	width: auto;
	height: 100px;
	background: white;
	padding: 1em;
}

body.login-page #logo img,
body.register-page #logo img {
	width: auto;
	height: 100%;
}

body.login-page h1,
body.register-page h1 {
	color: var(--azul);
	text-align: center;
}

body.login-page main,
body.register-page main {
	width: 90%;
	max-width: 960px;
}

body.register-page main {
	padding: 3em 0;
}

body.login-page main {
	display: flex;
	justify-content: center;
}

body.login-page footer,
body.register-page footer {
	text-align: center;
	width: 100%;
	padding: 1em;
	background: var(--azul);
}

body.login-page footer p,
body.register-page footer p {
	font-size: 16px;
	color: white;
}

body.login-page p a,
body.register-page footer p a {
	color: var(--oro) !important;
}

.login-box .card,
.form-wrap {
	margin: 3em auto 0;
	padding: 1.5em;
	background: white;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
}

.login-box .card {
	margin-top: 0 !important;
	text-align: center;
}

.form-grid,
.form-item-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: 2em 1em;
}

.form-item {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.form-item-separate {
	padding: 0;
}

.form-item.span-2 {
	grid-column: span 2;
}

.form-item.span-3 {
	grid-column: span 3;
}

.form-item.span-4 {
	grid-column: span 4;
}

.form-item.span-5 {
	grid-column: span 5;
}

.form-item.span-6 {
	grid-column: span 6;
}

.form-item.span-7 {
	grid-column: span 7;
}

.form-item.span-8 {
	grid-column: span 8;
}

.form-item.span-9 {
	grid-column: span 9;
}

.form-item.span-10 {
	grid-column: span 10;
}

.form-item.span-11 {
	grid-column: span 11;
}

.form-item.span-12 {
	grid-column: span 12;
}

.form-item .select2-container--bootstrap4 .select2-selection,
.form-item input:not([type="checkbox"]),
.form-item select,
.form-item textarea {
	width: 100%;
	height: 40px !important;
	border-radius: 5px;
	border: 1px solid #efefef;
	margin: 0;
	padding: 0 10px;
	font-family: "Roboto", sans-serif;
	transition: all 0.2s;
}

.form-item .select2-container--bootstrap4 .select2-selection,
.form-item input {
	background: #f5f5f5;
}

.form-item input:focus,
.form-item input:focus-visible {
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
	border: 1px solid #f5f5f5 !important;
	outline: 1px solid var(--azul);
}

.form-item input[type="file"] {
	border: 0;
	padding: 0;
	height: auto;
	position: relative;
}

.login-box .select2-container {
	width: 100%;
}

.form-item .select2-container--bootstrap4 .select2-selection,
.form-item select {
	appearance: none;
	background-image: url(../images/icon-arrow-down.png);
	background-position: calc(100% - 15px) 15px;
	background-repeat: no-repeat;
	background-size: 18px;
	background-color: #f5f5f5;
}

.form-item .select2-container--bootstrap4 .select2-selection[aria-expanded="true"] {
	appearance: none;
	background-image: none;
	background-position: calc(100% - 15px) 15px;
	background-repeat: no-repeat;
	background-size: 18px;
	background-color: white;
}

.form-item .select2-container .select2-selection--single .select2-selection__rendered {
	height: 40px;
	padding: 0;
}

.select2-selection__rendered {
	line-height: 40px !important;
}

.form-item .select2-selection__arrow {
	display: none;
}

.form-item select:focus {
	background-image: none;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
	border: 1px solid #f5f5f5 !important;
	outline: 1px solid var(--azul);
}

.form-item .select-multiple {
	height: 150px;
	padding: 0.7em;
	background-image: none;
}

.form-item textarea {
	height: 100px;
	padding: 1em;
	border: 1px solid #efefef;
	background: #f5f5f5;
}

.form-item textarea:focus,
.form-item textarea:focus-visible {
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
	border: 1px solid #f5f5f5 !important;
	outline: 1px solid var(--azul);
}

.form-item label {
	font-weight: 500;
	min-height: 1em;
	margin-bottom: 0;
}

.checkbox-wrap,
.radio-wrap {
	display: flex;
	flex-direction: column;
	gap: 1em 0.5em;
	padding: 0.8em;
	background: #f5f5f5;
	border-radius: 5px;
	height: 100%;
	margin-top: 3px;
}

.checkbox-wrap .checkbox,
.radio-wrap .radio {
	display: grid;
	grid-template-columns: 14px auto;
	grid-gap: 0.5em;
	justify-content: start;
	align-items: center;
	position: relative;
}

.checkbox-wrap .checkbox label,
.radio-wrap .radio label {
	font-weight: 400;
}

.checkbox-wrap .checkbox input,
.radio-wrap .radio input {
	/* width: 14px;
    height: 14px; */
	opacity: 0;
	position: absolute;
	cursor: pointer;
}

.checkbox-wrap .checkbox input + label {
	cursor: pointer;
	display: grid;
	grid-template-columns: 14px auto;
	justify-content: start;
	align-items: start;
	grid-gap: 0.5em;
}

.checkbox-wrap .checkbox input + label::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 16px;
	border: 2px solid #ccc;
	background: #fff;
	transition: all 0.2s;
}

.checkbox-wrap .checkbox input[type="checkbox"]:hover + label::before {
	/*border-color: #000;*/
}

.checkbox-wrap .checkbox input[type="checkbox"]:checked + label::before {
	border-color: var(--azul);
	background: var(--azul);
}

.checkbox-wrap-horizontal {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.form-item input[type="checkbox"] {
	/*height: 20px!important;*/
	/*width: 20px!important;*/
}

._cb_label {

}

.form-wrap .actions {
	display: flex;
	justify-content: center;
	flex-direction: row;
}

.login-page .btn-primary,
.btn-azul {
	border-color: var(--azul) !important;
	background: var(--azul) !important;
	width: max-content !important;
	color: white;
	min-width: 150px;
}

.login-page .btn-primary {
	width: 100% !important;
}

.btn-azul:hover {
	border-color: var(--oro) !important;
	background: var(--oro) !important;
	color: white;
}

.login-page-actions {
	display: flex;
	justify-content: center;
	flex-direction: row;
	margin-top: 1em;
}

.login-page-actions a {
	background: var(--oro);
	color: white !important;
	padding: 0.5em 1em;
	border-radius: 5px;
	transition: all 0.2s;
}

.login-page-actions a:hover {
	background: var(--azul);
	color: white !important;
}

@media (max-width: 780px) {
	.form-grid,
	.form-item-grid {
		grid-template-columns: 1fr;
	}
	.form-item.span-2,
	.form-item.span-3,
	.form-item.span-4,
	.form-item.span-5,
	.form-item.span-6,
	.form-item.span-7,
	.form-item.span-8,
	.form-item.span-8,
	.form-item.span-10,
	.form-item.span-11,
	.form-item.span-12 {
		grid-column: span 1;
	}
	.login-box .card {
		margin: 3em 0 !important;
	}
}

@media (max-height: 800px) and (orientation: landscape) {
	body.login-page {
		height: auto !important;
	}
	.login-box .card {
		margin: 3em 0 !important;
	}
}

.vh-5 {
	height: 5% !important;
}
.vh-10 {
	height: 10% !important;
}
.vh-15 {
	height: 15% !important;
}
.vh-20 {
	height: 20% !important;
}
.vh-25 {
	height: 25% !important;
}
.vh-30 {
	height: 30% !important;
}
.vh-35 {
	height: 35% !important;
}
.vh-40 {
	height: 40% !important;
}
.vh-45 {
	height: 45% !important;
}
.vh-50 {
	height: 50% !important;
}
.vh-55 {
	height: 55% !important;
}
.vh-60 {
	height: 60% !important;
}
.vh-65 {
	height: 65% !important;
}
.vh-70 {
	height: 70% !important;
}
.vh-75 {
	height: 75% !important;
}
.vh-80 {
	height: 80% !important;
}
.vh-85 {
	height: 85% !important;
}
.vh-90 {
	height: 90% !important;
}
.vh-95 {
	height: 95% !important;
}

:disabled._disabled,
[readonly]._disabled {
	/*background-color: #ececec !important;*/
	background-color: transparent !important;
	font-style: italic!important;
}
.h5, h5 {
	font-size: 1.25rem !important;
	color: #32538F !important;
}
.brand-link {
	display: flex !important;
	font-size: 1.25rem;
	line-height: 1.5;
	padding: .2rem .5rem !important;
	transition: width .3s ease-in-out;
	white-space: nowrap;
	justify-content: center !important;
}

.brand-link .brand-image {
	line-height: .8 !important;
	margin: 0  !important;
	max-height: 60px !important;
	width: auto !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	float: none !important;

}

.os-content {
	direction: inherit;
	box-sizing: border-box !important;
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
	height: 100%;
	width: 100%;
	visibility: visible;
	background: #32538F;
	color: white !important;
}

.accent-cyan [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) {
	color: white !important;
}

[class*="sidebar-light-"] .sidebar a {
	color: white !important;
}

[class*="sidebar-light-"] .sidebar a:hover {
	color: #C3AA7D;
}
.h5, h5 {
	font-size: 1.25rem !important;
	color: #32538F !important;
}
.brand-link {
	display: flex !important;
	font-size: 1.25rem;
	line-height: 1.5;
	padding: .8125rem .5rem;
	transition: width .3s ease-in-out;
	white-space: nowrap;
	justify-content: center !important;
}

.brand-link .brand-image {
	line-height: .8 !important;
	margin: 0  !important;
	max-height: 50px !important;
	width: auto !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	float: none !important;

}

.os-content {
	direction: inherit;
	box-sizing: border-box !important;
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
	height: 100%;
	width: 100%;
	visibility: visible;
	background: #32538F;
	color: white !important;
}

.accent-cyan [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) {
	color: white !important;
}

[class*="sidebar-light-"] .sidebar a {
	color: white !important;
}

[class*="sidebar-light-"] .sidebar a:hover {
	color: #C3AA7D;
}

[class*="sidebar-light-"] .nav-header {
	background-color: inherit;
	color: white !important;
}

.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
	background-color: #32538F !important;
	color: #C3AA7D !important;
	box-shadow: none !important;
}

.btn-info {
	color: #fff !important;
	background-color: #32538F !important;
	border-color: #32538F !important;
	box-shadow: none !important;
}

.sidebar-mini .nav-sidebar, .sidebar-mini .nav-sidebar .nav-link, .sidebar-mini .nav-sidebar > .nav-header {
	white-space: nowrap;
	background: #32538F !important;
}

.bg-info {
	background-color: #32538F !important;
}

.card-app:not(.card-outline) {
	background-color: #32538F !important;
	color: white !important;
}

.card-app.card-outline {
	border-top: 3px solid #32538F !important;
}



/* VUE MULTISELECT */

[class*="sidebar-light-"] .nav-header {
	background-color: inherit;
	color: white !important;
}

.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
	background-color: #32538F !important;
	color: #C3AA7D !important;
	box-shadow: none !important;
}

.btn-info {
	color: #fff !important;
	background-color: #32538F !important;
	border-color: #32538F !important;
	box-shadow: none !important;
}

.sidebar-mini .nav-sidebar, .sidebar-mini .nav-sidebar .nav-link, .sidebar-mini .nav-sidebar > .nav-header {
	white-space: nowrap;
	background: #32538F !important;
}

.bg-info {
	background-color: #32538F !important;
}
/* Cambiar color del dropdown cuando está abierto */
.multiselect--active {
	border-color: #3d528a !important; /* Verde */
}

/* Cambiar el color de las opciones */
.multiselect__option {
	background-color: white;
	color: black;
}

.multiselect__option--highlight {
	background-color: #3d528a !important;
	color: white !important;
}

.multiselect__tag{
	background-color: #3d528a !important;
	color: white !important;
}

.multiselect__tag-icon{
	background-color: #3d528a !important;
	color: white !important;
}