/* ------------------------------------------------------------------------------
*
*  	# Colores
*	
*	AZUL 1
*  	RGBA (0,0,71,1)
*	HEX #000047
*	
*	AZUL 2
*  	RGBA (10,55,180,1)
*	HEX #0A37B4
*	
*	AZUL 3
*  	RGBA (0,110,190,1)
*	HEX #006EBE
*
* ---------------------------------------------------------------------------- */

/* Corrigue el error de por que el select2 no se valida con el JavaScrip para validar formularios 02/Jun/2020*/
.was-validated .custom-select:invalid + .select2 .select2-selection {
	border-color: #dc3545 !important;
}

.was-validated .custom-select:valid + .select2 .select2-selection {
	border-color: #28a745 !important;
}

*:focus {
	outline: 0px;
}

.select2-container--classic
	.select2-results__options
	.select2-results__option[aria-selected="true"],
.select2-container--default
	.select2-results__options
	.select2-results__option[aria-selected="true"] {
	background-color: #006ebe !important;
	color: #ffffff !important;
}

.hidden {
	display: none;
}

html body {
	height: 100%;
	/*background-color: rgba(255,255,255,1);*/
	direction: ltr;
}

html {
	scroll-behavior: smooth;
	cursor: default;
}

.custom-file-label::after {
	content: "Buscar" !important;
}

.required-field::after {
	content: " *";
	color: red;
}

.full-width-img {
	width: 100%;
}

/* QUITAR FLECHAS DE INPUT NUMBER Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/*  QUITAR FLECHAS DE INPUT NUMBER Firefox */
input[type="number"] {
	-moz-appearance: textfield;
}

.editable-cell:hover {
	background-color: rgba(0, 0, 0, 0.07);
}

.editable-cell input {
	min-width: 160px;
}

.editable-cell select {
	min-width: 160px;
}

.table-hover tbody tr {
	transition: all ease 50ms;
}

.table-hover tbody tr:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.table tbody tr {
	transition: all ease 50ms;
}

.table tbody tr:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.contrato-variable {
	text-transform: uppercase;
	font-weight: bold;
}

@media print {
	.card-contrato {
		background-color: white;
		height: 100%;
		width: 100%;
		top: 0;
		left: 0;
		margin: 0;
		padding: 15px;
		font-size: 14px;
		line-height: 18px;
	}
}

/* Estilo para la fila editada */
.fila-editada {
	background-color: #2583c283; /* Cambia el color de fondo según tus preferencias */
	transition: background-color 0s ease; /* Agrega una transición suave */
}

.no-modificable {
	background-color: rgba(
		252,
		0,
		0,
		0.396
	); /* Cambia el color de fondo según tus preferencias */
	/* transition: background-color 0.5s ease; Agrega una transición suave */
	animation: parpadeo 1.5s infinite; /* Duración de la animación: 1 segundo, repetir infinitamente */
}

@keyframes parpadeo {
	0%,
	50%,
	100% {
		opacity: 1;
	}
	25%,
	75% {
		opacity: 0.2;
	}
}

.custom-button {
	background-color: #ffffff00; /* Color de fondo rojo */
	color: #000000; /* Color de texto blanco */
	/* Otros estilos que desees aplicar */
}

.horizontal-menu .navbar-horizontal .dropdown-menu .dropdown-item.active,
.horizontal-menu .navbar-horizontal .dropdown-menu .dropdown-item.active:focus,
.horizontal-menu .navbar-horizontal .dropdown-menu .dropdown-item.active:hover {
	background-color: #0a37b4 !important;
	color: #ffffff !important;
	font-weight: 600;
}

.horizontal-menu .navbar-horizontal .dropdown-menu .dropdown-item.active {
	border-left: 4px solid #006ebe;
	padding-left: calc(1.25rem - 4px);
}

.compact-index-page {
	--compact-navy: #0b2545;
	--compact-blue: #2374e1;
	--compact-cyan: #19a7b8;
	--compact-green: #28c76f;
	--compact-orange: #ff9f43;
	--compact-red: #ea5455;
	--compact-slate: #6b7c93;
}

.compact-index-page .compact-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1rem;
}

.compact-index-page .compact-summary-card,
.compact-index-page .compact-table-card {
	border: 0;
	border-radius: 1.2rem;
	box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.compact-index-page .compact-summary-card .card-body {
	padding: 1.05rem 1.1rem;
}

.compact-index-page .compact-summary-card__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #7b8794;
}

.compact-index-page .compact-summary-card__value {
	margin-top: 0.55rem;
	font-size: 1.85rem;
	line-height: 1.05;
	font-weight: 700;
	color: var(--compact-navy);
}

.compact-index-page .compact-summary-card__hint {
	margin-top: 0.4rem;
	margin-bottom: 0;
	color: var(--compact-slate);
	line-height: 1.55;
}

.compact-index-page .compact-table-card .card-header {
	background: transparent;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	padding: 1.05rem 1.2rem 0.95rem;
}

.compact-index-page .compact-table-card .card-title {
	color: var(--compact-navy);
	font-weight: 700;
	margin-bottom: 0.3rem;
}

.compact-index-page .compact-table-card .card-subtitle {
	color: #7b8794;
	line-height: 1.55;
}

.compact-index-page .compact-table-card .card-dashboard {
	padding: 1rem 1.15rem 1.2rem;
}

.compact-index-page .compact-table-card .table thead th {
	border-bottom: 0;
	color: #fff;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.compact-index-page .compact-table-card .table td,
.compact-index-page .compact-table-card .table th {
	vertical-align: middle;
}

.compact-index-page .compact-table-cell__title {
	font-weight: 700;
	color: var(--compact-navy);
}

.compact-index-page .compact-table-cell__meta {
	display: block;
	margin-top: 0.2rem;
	color: var(--compact-slate);
	font-size: 0.83rem;
	white-space: normal;
}

.compact-index-page .compact-table-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.25rem;
	padding: 0.38rem 0.7rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.compact-index-page .compact-table-pill--blue {
	background: rgba(35, 116, 225, 0.12);
	color: var(--compact-blue);
}

.compact-index-page .compact-table-pill--cyan {
	background: rgba(25, 167, 184, 0.14);
	color: var(--compact-cyan);
}

.compact-index-page .compact-table-pill--green {
	background: rgba(40, 199, 111, 0.14);
	color: var(--compact-green);
}

.compact-index-page .compact-table-pill--orange {
	background: rgba(255, 159, 67, 0.16);
	color: var(--compact-orange);
}

.compact-index-page .compact-table-pill--red {
	background: rgba(234, 84, 85, 0.14);
	color: var(--compact-red);
}

.compact-index-page .compact-table-pill--slate {
	background: rgba(107, 124, 147, 0.12);
	color: var(--compact-slate);
}

.compact-index-page .dataTables_wrapper .dataTables_filter label,
.compact-index-page .dataTables_wrapper .dataTables_info {
	color: var(--compact-slate);
	font-weight: 600;
}
