/* Loading indicator */
.loading-indicator {
    display: none;
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #555;
}
.loading-indicator .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a5276;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Grid */
.gridprincipal {
    margin-top: 10px;
}
.dataTables_paginate { display: none; }

/* Filtro filas/botones */
.filtro-campos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.filtro-fila {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}
.filtro-fila > div {
    flex: 1;
}
.filtro-fila select,
.filtro-fila input[type="text"] {
    width: 100%;
}
.filtro-botones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* Chart */
#chartdiv {
    width: 100%;
    height: 450px;
}
#lblTotal {
    display: block;
    margin: 10px 0;
    color: #1a5276;
    font-weight: bold;
    font-size: 16px;
}

/* ====== Compartidos: filtros, botones, tabla y paginacion ====== */

/* Filtros */
#contenedor-campos {
	background: #fff;
	padding:10px 10px 20px 10px;
	border-radius: 3px;
}

.fila-campos {
	display: flex;
	display: -webkit-flex;
	-webkit-flex-flow: row wrap;
}

.fila-campos .tema-input {
	flex: 1;
	-webkit-flex: 1;
	min-width: 220px;
}

.conten-input {
	display: flex;
	display: -webkit-flex;
	-webkit-flex-direction: column;
	margin: 5px 0px 10px 0px;
}

.tema-input {
	margin-right: 10px;
}

.etiqueta {
	margin: 0 auto 0 0;
	width: auto;
	font-size: 11px;
	line-height: 11px;
	color: #005eb8;
	font-family: "Poppins-Bold";
	text-align: left;
	padding: 20px 10px 2px 10px;
	white-space: nowrap;
}

.input-lista {
	flex: 1;
	width: 100%;
	padding: 0px;
	height: 38px;
	border-bottom: 1px solid #ccc;
	margin: 0;
}

.input-lista select {
	margin: 0 auto;
	background: transparent;
	width: 98%;
	height: 50px;
	color: #888;
	font-size: 16px;
	font-family: "Poppins-Light";
	border: 0px;
}

.input-filtro {
	flex: 1;
	width: 100%;
	height: 40px;
	padding: 0px;
	background: transparent;
	color: #888;
	font-size: 16px;
	font-family: "Poppins-Light";
	border: 0px;
	border-bottom: 1px solid #ccc;
	margin: 0;}

.input-filtro::placeholder {
	color: #888;
	font-size: 16px;
}

.input-f-acuerdo {
	flex: 1;
	width: 100%;
	height: 40px;
	padding: 0px;
	background: transparent;
	color: #888;
	font-size: 16px;
	font-family: "Poppins-Light";
	border: 0px;
	border-bottom: 1px solid #ccc;
	margin: 0;}

.input-f-acuerdo::placeholder {
	color: #888;
	font-size: 16px;}

/* Botones */
.centrar-buscar {
	margin: 0 auto;
	padding: 20px 10px;
	width: 260px;
}

.boton-enviar {
	width: 170px;
	height: 50px;
	border: 0px;
	border-radius: 3px;
	background: #77c2f9;
	font-size: 16px;
	font-family: "Poppins-Bold";
	font-weight: 900;
	color: #fff;
	margin-top: 10px;
}

.boton-enviar:hover {
	cursor: pointer;
}

a.borrar {
	float: right;
	width: 50px;
	height: 50px;
	line-height: 45px;
	display: block;
	text-decoration: none;
	background: #005eb8 url("../img/borrar.svg") no-repeat center;
	background-size: 30px;
	border-radius: 5px;
	margin: 10px 10px 0px 0px;
}

a:hover.borrar {
	background-position: -50px 0;
	text-decoration: none;
	background: #dee0e2 url("../img/borrar-roll.svg") no-repeat center;
	background-size: 30px;
}

/* Tabla */
.t-acuerdos{
	margin: 0 auto;
	width: 85%;
	padding: 15px;
}

.total-registros {
	float: left;
	width: 180px;
	height: 45px;
	line-height: 45px;
	background: #005eb8;
	color: #fff;
	text-align: center;
	font-weight: 900;
	font-size: 16px;
}

.numero-registros {
	float: left;
	width: 90px;
	height: 45px;
	line-height: 45px;
	background: #dee0e2;
	color: #005eb8;
	text-align: center;
	font-family: "Poppins-Bold";
	font-size: 16px;
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
}

#paginacionTop {
	clear: both;
	margin: 0 auto;
	width: 100%;
	padding: 15px 5px 15px 5px;
}

#paginacion.vacio {
	height: 0;
	padding: 0;
	overflow: hidden;
}

.tabla-acuerdo{
	margin: 0 auto;
	width: 100%;
	font-size: 13px;
	line-height: 15px;
}

.tabla-acuerdo thead td {
	height: auto;
	background: #214083;
	color: #fff;
	border-radius: 3px;
	font-weight: 900;
	text-align: center;
	font-family: "Poppins-Bold";
	padding: 10px 5px;
}

.tabla-acuerdo tbody tr {
	height: auto;
	padding: 5px 10px;
}

.tabla-acuerdo tbody td {
	height: auto;
	background: #e8ebed;
	border-radius: 3px;
	padding: 10px 5px;
}

.img-tabla {
	text-align: center;
}

.espacio {
    clear: both;
    padding: 20px;
    height: 60px;
}

/* Contenedor de la lista */
.notificaciones-lista,
.emision-lista,
.resoluciones-lista {
	width: 100%;
	padding: 30px 20px;
	background: #F5F4F4;
	border-radius: 5px;
	margin: 20px 0px;
}

/* Responsive compartido */
@media screen and (max-width: 667px) {

	#contenedor-campos {
		-webkit-flex-direction: column;
    }

    .fila-campos {
		-webkit-flex-direction: column;
	}

    .input-lista {
		width: 98%;
	}

    .t-acuerdos thead {
		display: none;
	}

	.t-acuerdos tr {
		border-bottom: 1px solid #015c9a
	}

	.t-acuerdos tbody td {
		display: block;
		height: auto;
		padding: 10px 0px 5px 10px;
	}

	.t-acuerdos tbody td {
		border-right: 0px;
	}

}

@media screen and (max-width: 950px) {

    .t-acuerdos{
        width:98%;
    }

    h1 {
        font-size: 20px !important;
        line-height: 22px;
    }

    .notificaciones-lista,
    .emision-lista,
    .resoluciones-lista {
		padding: 30px 10px;
	}

}
