:root {
	--color-primario: #4C565F;
	--color-secundario: #E85344;
	--texto-primario: white;
	--texto-secundario: white;
	--color-claro: #DED3B5;
	--verdes-4: #024A59;
	--verdes-3: #037E8D;
	--verdes-2: #4FA5AF;
	--verdes-1: #CDDBDE;
	--azules-1: #353944;
}

.bc-primario {
    background-color: var(--color-primario);
    color: var(--texto-primario);
}
.bc-secundario {
    background-color: var(--color-secundario);
    color: var(--texto-secundario);
}

.azules-bc-1 {
    background-color: var(--azules-1);
    color: var(--texto-primario);
}

.verdes-bc-4 {
    background-color: var(--verdes-4);
    color: var(--texto-primario);
}
.verdes-bc-3 {
    background-color: var(--verdes-3);
    color: var(--texto-primario);
}
.verdes-bc-2 {
    background-color: var(--verdes-2);
    color: var(--texto-primario);
}
.verdes-bc-1 {
    background-color: var(--verdes-1);
    color: var(--texto-primario);
}

.texto-enfasis {
	color: var(--color-secundario);
}

.v-select .dropdown-menu li {
	color: black !important;
}

.btn.btn-primary {
	background-color: var(--color-primario);
	color: var(--texto-primario);
}
.btn.btn-secundary {
	background-color: var(--color-secundario);
	color: var(--texto-secundario);
}

.navigation {
	z-index: 10;
	background-color: var(--color-primario);
	color: var(--texto-primario);
	border-bottom: 6px solid var(--color-secundario);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.navigation.fixed-navbar {
	position: fixed;
	animation-name: navigationFadeIn;
	animation-duration: 0.6s;
}

@keyframes navigationFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.tabla-100 {
	width: 100%;
}

navbar {
	padding: 0;
	margin: 20px 0;
	user-select: none;
}

.dropdown-menu {
	color: var(--texto-primario);
	background-color: var(--color-primario);
}
.dropdown-menu .dropdown-item {
	color: var(--texto-primario);
}

.dropdown-menu .dropdown-item:hover {
	background-color: var(--color-primario);
}

.intro-section {
	padding: 66px 0 0 0;
	background-image: url(../images/banner_studbook.jpg);
	/* background-image: none; */
	background-color: green;
	background-position: left top;
	background-size: cover;
	background-repeat: no-repeat;
	height: 580px;
}

@media screen and (min-width: 1200px) {
	.intro-section {
		background-position: center top;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

#contenedor-buscador {
	position: relative;
	padding-top: 20px;
	position: absolute;
	width: 100vw;
	top: 100%;
	left: 0;
	background-image: url(../images/banner_studbook.jpg);
	z-index: 10;
}
#contenedor-buscador .cerrar {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 48px;
	height: 48px;
	cursor: pointer;
}

.fixed-navbar #contenedor-buscador {
	top: calc(100% + 5px);
}

.fixed-navbar .navbar-inverse .navbar-nav .nav-link {
	color: var(--texto-primario);
}
.fixed-navbar .navbar-inverse .navbar-brand, .fixed-navbar .navbar-inverse .navbar-toggler {
	color: var(--texto-primario);
}

.btn-secundary {
	background-color: var(--color-secundario);
	color: var(--texto-secundario);
	cursor: pointer;
}

.btn-busqueda-contenedor {
	background-color: var(--color-secundario);
	position: relative;
	width: 60px;
	max-width: 60px;
	max-height: 50px;
}

.btn-busqueda {
	cursor: pointer;
	width: 100%;
	background-color: var(--color-secundario);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	color: var(--texto-secundario);
	border-radius: 0;
	height: 100%;
}

.form .input-group-btn .btn.btn-secundary {
	background-color: var(--color-secundario);
	color: var(--texto-secundario);
}

.cuadro-busqueda {
	background-color: rgba(197, 201, 144, 0.7);;
}

.cuadro-busqueda form {
	background-color: transparent;
}

.busqueda-ingreso-texto-contenedor {
	box-shadow: 0px 0px 0px 5px rgba(219,219,219,0.24);
	padding: 3px;
	background-color: white;
}

.novisible {
	display: none;
}

.buscador-animado {
	animation-name: aparecer-buscador;
	animation-duration: 0.7s;
}




@keyframes aparecer-buscador {
	from {
		transform: translateY(-60px) scaleY(0);
		opacity: 0;
	}
	to {
		transform: translateY(0) scaleY(1);
		opacity: 1;
	}
}

@keyframes esconder-buscador {
	from {
		transform: translateY(0) scaleY(1);
		opacity: 1;
	}
	to {
		transform: translateY(-60px) scaleY(0);
		opacity: 0;
	}
}

/* -------------------------------------- */
/* Campana */
/* -------------------------------------- */
.campana {
}

.campana thead, .campana-ext thead {
    font-weight: bold;
}

.campana thead tr th, .campana-ext thead th {
    border-top: none;
    border-bottom: none;
    font-size: 0.9em;
}
.campana tbody tr:nth-child(1) td, .campana-ext tbody tr:nth-child(1) td {
    border-top: none;
    font-size: 0.9em;
}
.campana thead tr th, .campana-ext thead th, .campana tbody tr td, .campana-ext tbody tr td  {
    padding: .3em;
    font-size: 0.9em;
}

@media (max-width: 768px) {
	.campana thead tr th, .campana-ext thead th {
		font-size: 8px;
	}
	.campana tbody tr:nth-child(1) td, .campana-ext tbody tr:nth-child(1) td {
		font-size: 8px;
	}
	.campana thead tr th, .campana-ext thead th, .campana tbody tr td, .campana-ext tbody tr td  {
		font-size: 8px;
	}
	.campana tfoot tr, .campana-ext tfoot tr {
		font-size: 10px !important;
	}
}

/* -------------------------------------- */
.pestanas {
    display: flex;
    background-color: var(--color-primario);
    color: white;
    border-bottom: 3px var(--color-secundario) solid;
    user-select: none;
}
.pestanas.pestanas-secundaria {
    border-bottom: 3px var(--verdes-2) solid;
}
.pestanas .pestana {
    padding: 0.7em 0;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.pestanas .pestana.activa {
    background-color: var(--color-secundario);
}

@media (max-width: 768px) {
	.pestanas .pestana {
	    font-size: 10px;
	}
}
/* ----------------------------- */
.pestanas-vertical {
    display: flex;
    flex-direction: column;
    color: white;
}
.pestanas-vertical .pestana {
    font-size: 13px;
    background-color: var(--azules-1);
    border-bottom: 3px var(--verdes-1) solid;
    padding: 0.4em;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.pestanas-vertical .pestana.activa {
    background-color: var(--verdes-3);
}

/* ----------------------------- */

.formularios h1 {
	font-size: 18px;
}

.navbar-brand:hover, .fixed-navbar .navbar-brand:hover {
	color: var(--color-secundario);
}
@media (max-width: 600px) {
.fixed-navbar #main-nav {
	    background-color: var(--color-primario);
	    border-top: 1px solid rgba(0,0,0,0.05);
    }
}

/* ----------------------------- */
/* Estilos para las estadisticas */
/* ----------------------------- */

.estadisticas table thead th {
    border-bottom: none;
    border-top: none;
}

.estadisticas header .v-select {
	max-width: 20rem;
}
@media (max-width:768px) {
.estadisticas header .v-select {
	max-width: 100%;
}
}

.estadisticas table td {
    font-size: 11px;
}

.estadisticas table.tabla-zebra tbody tr:nth-child(even) {
    background-color: var(--verdes-1);
}

.estadisticas table tbody tr:nth-child(10n+0) td {
    border-bottom: 1px var(--verdes-3) solid;
}

.estadisticas .borde-al-3 table tbody tr:nth-child(10n+0) td {
    border-bottom: none;
}
.estadisticas .borde-al-3 table tbody tr:nth-child(3n+0) td {
    border-bottom: 1px var(--verdes-3) solid;
}

.rotar-45 {
    transform: translate(30px) rotate(-45deg);
}

.rotar-90 {
    transform: translate(-1px, 35px) rotate(-90deg);
    width: 3rem;
    line-height: 11px;
    white-space: nowrap;
}

.estadisticas .tabla-total-premios {
    width: 100%;
}
.estadisticas .tabla-total-premios th, .tabla-total-premios td {
    padding-left: 1rem;
}
.contenedor-estadisticas {
	display: flex;
	flex-direction: row;
}

section.estadisticas aside {
	flex:0 0 15em;
}

.contenedor-estadisticas .estadisticas {
	padding-left: 2em;
	flex: 1;
}

section.estadisticas header {
	display: flex;
	align-items: center;
}

section.estadisticas header h1 {
	display: inline-block;
	margin-right: 1em;
}
section.estadisticas header .estadisticas-filtro-anio {
	margin: 1em;
	display: inline-flex;
}

.v-select .dropdown-toggle {
	min-height: 34px;
}
.v-select .dropdown-toggle [type=search] {
	position: absolute;
	left: 0;
	top: 0;
}


@media (max-width: 992px) {
	section.estadisticas aside {
		flex:0 0 5em;
	}
	section.estadisticas aside .pestana .pestana-texto {
		font-size: 10px;
	}
}

@media (max-width: 768px) {

	section.estadisticas header {
		display: block;
	}

	section.estadisticas header h1 {
		display: block;
		margin-right: 0;
	}

	section.estadisticas header .estadisticas-filtro-anio {
		margin-bottom: 1em;
		display: flex;
	}

	section.estadisticas aside .pestanas-vertical { 
		flex-direction: row;
		flex-wrap: wrap;
	}
	section.estadisticas aside .pestanas-vertical .pestana { 
		margin-bottom:0.2em;
		margin-right:0.2em;
		min-width: 10em;
		max-width: 15em;
	}
	.contenedor-estadisticas {
		display: flex;
		flex-direction: column;
	}
	.contenedor-estadisticas .estadisticas {
		padding-left: 0;
	}

	.estadisticas table td {
		font-size: 8px;
	}
	.estadisticas table th {
		font-size: 8px;
	}
}

