@charset "utf-8";
/* CSS Document */

:root {
	--color-corporativo: #002B4C;
	--color-corporativo-translucido: rgba(0, 43, 76, 0.8);
}

html, body {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	margin: 0px;
	padding: 0px;
	/*letter-spacing: 1px;
	word-spacing: 2px;*/
	line-height: 1.5;
	
}
li, p {
    margin-block-end: 1rem;
}

div {
	box-sizing: border-box;
}
.ancho {
	max-width: 1280px;
	margin: 0 auto;
}
nav {
	border-bottom: 1px solid var(--color-corporativo-translucido);
	width: 100%;
	background-color: #F5F5F5;
	position: sticky;
	top: 0px;
	transition: margin 1s;
	z-index: 5;
}
nav .ancho {
	padding: 30px 0;
	display: flex;
	justify-content: space-between;
	transition: padding 1s;
}
nav .ancho .logo {
	display: flex;
	align-items: center;
}
nav .ancho .logo img {
	max-width: 100%;
	transition: height 1s;
	display: block;
    object-fit: contain;
    object-position: left;
}
nav .ancho .der {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: right;
}
nav .ancho .der .enlaces {
	text-wrap: nowrap;
}
nav .ancho .der .enlaces a {
	color: var(--color-corporativo);
	font-size: 14px;
	text-decoration: none;
	margin-left: 20px;
}
nav .ancho .der .enlaces a.lng img {
	max-height: 75%;
	margin-left: 5px;
}
nav .ancho .der .enlaces span.espacio {
	margin: 0 5px 0 10px;
	color: #DDDDDD;
}
nav .ancho .der #menu {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}
nav .ancho .der .menu1 {
	display: flex;
	justify-content: flex-end;
}
nav .ancho .der .menu1 a {
	display: inline-block;
	padding: 10px 15px;
	text-decoration: none;
	color: var(--color-corporativo);
}
nav .ancho .der .menu1 a:last-of-type {
	padding-right: 0px;
	margin-right: 0px !important;
}
nav .ancho .der .menu1 a.seleccionado {
	background-color: var(--color-corporativo);
	color: #F5F5F5;
	font-weight: bold;
	padding: 10px 30px;
	margin: 0 15px;
}
nav .ancho .der #menu i {
	display: none;
}
body.withScroll nav {
	margin-bottom: 70px;
}
body.withScroll nav .ancho {
	padding: 15px 0;
}
body.withScroll nav .ancho .logo img {
	height: 70px;
}
body.withScroll nav .ancho .der #menu {
	margin-top: 8px;
}
:root {
	--opacidad-negro2: 0.4;
}
#cabecera {
	min-height: 600px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	--opacidad-negro1: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro1)), rgba(0, 0, 0, var(--opacidad-negro2)));
	background-position: top center;
	background-size: cover;
	color: #F5F5F5;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
#cabecera>div {
	margin-bottom: 40px;
	max-width: 460px;
}
#cabecera p {
	font-size: 24px;
	font-style: italic;
	margin-block-end:0px;
}
#cabecera h1 {
	font-size: 40px;
	margin: 0px -75px 0px -75px;
    margin-block: 0px;
}
#cabecera h2 {
	font-size: inherit;
}
#cabecera:not(.fotos) a {
	display: block;
	padding: 15px 50px;
	border-radius: 10px;
	background-color: var(--color-corporativo);
	font-size: 18pt;
	margin-top: 40px;
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
	color: #F5F5F5;
	text-decoration: none;
}
#cabecera.fotos {
    position: relative;
    align-items:normal;
    max-height:600px;
    min-height:400px;
    height:50vh;
    justify-content: space-between;
}
#cabecera.fotos .cargando {
    align-self: center;
    margin: 0 auto;
    font-weight: 400;
}
#cabecera.fotos .cargando i {
    font-size: 96px;
    display: block;
    margin-bottom: 14px;
}
#cabecera.fotos .boxnfoto {
    position: absolute;
    bottom: 10px;
    left: 0px;
    right: 0px;
    width: 100%;
    margin: 0 auto;
    z-index: 4;
}
#cabecera.fotos .nfoto {
    font-size: 14px;
    font-weight: 100;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    width: fit-content;
    margin: 0 auto;
    letter-spacing: 1px;
}
#cabecera.fotos .boton {
    margin: 0px;
    background-color: rgba(255,255,255,0.5);
    padding: 40px 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
}
#cabecera.fotos .boton i {
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
}
#cabecera.fotos .boton.fotoCabeceraPosterior {
    order: 999;
}
#cabecera.fotos .fotoCabecera {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: left 0.5s linear;
}
#contenido .ancho {
	display: flex;
	justify-content: space-between;
	gap: 60px;
	margin-top: 40px;
}
#contenido .ancho .izq .sup {
	background-color: var(--color-corporativo-translucido);
	font-family: 'Roboto Condensed', 'Roboto', sans-serif;
	font-size: 24pt;
	margin-bottom: 40px;
	padding: 10px 20px;
	color: #F5F5F5;
	font-weight: bold;
	text-align: right;
}
#contenido .ancho .izq .inf.Horizontal {
	display: flex;
	gap: 40px;
}
#contenido .ancho .izq .inf.Horizontal .texto {
	flex-grow: 1;
}
#contenido .ancho .imagen {
	min-width: 30%;
	background-image: url("/imagenes/DSC_0903-1280px.jpg");
	background-size: cover;
	background-position: center;
}



#contenido .ancho .izq .inf {
	font-family: 'Roboto Condensed', 'Roboto', sans-serif;
	font-size: 15pt;
}
#contenido .ancho .izq .inf h3 {
	font-size: 20pt;
}
#contenido .ancho .izq .inf hr {
    margin-block-start: 1.5em;
}


	
	footer {
		margin-top: 40px;
	}
	footer #pie {
		background-color: #222;
		padding: 30px 0;
	}
	footer #pie .ancho {
		display: flex;
		justify-content: space-between;
		color: #F5F5F5;
		font-weight: bold;
		line-height: 30px;
		column-gap: 20px;
		white-space: nowrap;
	}
	footer #pie .ancho #logopie img {
		max-width: 100%;
		object-fit: contain;
	}
	footer #pie .ancho a {
		display: block;
		text-decoration: none;
		color: #F5F5F5;
		font-weight: normal;
	}
	footer #pie .ancho a i {
		width: 20px;
	}
	footer #kitdigital {
		margin: 0 auto;
		padding: 20px;
		max-width: 100%;
        text-align: center;
	}
	footer #kitdigital img {
		max-width: 100%;
	}
	footer #copy {
		background-color: #e8e6e6;
	}
	footer #copy .ancho {
		display: flex;
		justify-content: space-between;
		padding: 20px 0;
		font-size: 12px;
		color: #555555;
	}
	footer #copy .ancho #icons a {
		color: #0000ff;
		text-decoration: none;
		font-weight: bold;
	}
	
	
	
body main .ancho .izq .inf.Cuadros {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-around;
}
body main .ancho .izq .inf.Cuadros .tarjeta {
    height: 300px;
    width: 200px;
    background-size: cover;
    background-position-x: center;
    background-position-y: 20px;
    background-repeat: no-repeat;
    min-width: 200px;
	display: flex;
	flex-direction: column;
}
body main .ancho .izq .inf.Cuadros .tarjeta .titulo {
	background-color: var(--color-corporativo);
    color: #e8e6e6;
    padding: 5px 15px;
}
body main .ancho .izq .inf.Cuadros .tarjeta .hover {
	background-color: #e8e6e6;
	flex-grow: 1;
	padding: 10px;
	border: 1px solid var(--color-corporativo);
	font-size: 15px;
}
	
	



body.contacto #cabecera {
	--opacidad-negro1: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro1)), rgba(0, 0, 0, var(--opacidad-negro2))), url("/imagenes/contacto.jpg");
	background-position: top center;
}
body.contacto a, body.contacto a:hover, body.contacto a:visited {
	color: var(--color-corporativo);
}
body.contacto #contenido .ancho .imagen {
	background-image: url("/imagenes/contacto2.jpg");
}
body.contacto #contenido .sup {
	width: 100%;
	font-size: 23px !important;
}
body.contacto #contenido label {
	display: block;
	width: 100%;
	margin-bottom: 30px;
}
body.contacto #contenido input, body.contacto #contenido textarea {
	width: 100%;
	margin-top: 5px;
	padding: 5px 20px;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	box-sizing: border-box;
}
body.contacto #contenido input[type=submit] {
	margin-top: 40px;
	background-color: var(--color-corporativo);
	color: #e8e6e6;
	border-radius: 10px;
	border: 0px;
	padding: 10px 20px;
}
body.contacto #contenido input[type=checkbox] {
	width: auto;
}
body.contacto #contenido .ancho .izq .inf.Vertical {
	display: block;
}
body.contacto #contenido .ancho .izq .inf.Horizontal .latizq {
	width: 40%;
}
body.contacto #contenido .ancho .izq .inf.Horizontal .latizq .entrada {
	font-size: 25px;
	margin-top: 0px;
}
body.contacto #contenido .ancho .izq .inf.Horizontal .formulario {
	width: 60%;
}


body.legal header h1 {
	margin-top: 50px;
	font-size: 24px;
	color: var(--color-corporativo);
}
body.legal #contenido .ancho {
	display: block;
	min-height: 35vh;
	line-height: 1.6em;
}
body.legal #contenido .ancho li {
	margin-bottom: 5px;
}
body.legal #contenido .ancho table {
	border-collapse: collapse;
	border: 1px solid #CCCCCC;
	margin-bottom: 30px;
}
body.legal #contenido .ancho table tr th {
	background-color: #e8e6e6;
	white-space: nowrap;
}
body.legal #contenido .ancho table tr th, body.legal #contenido .ancho table tr td {
	font-size: 12px;
	padding: 10px;
	line-height: 1.5em;
	border: 1px solid #CCCCCC;
}
body.politica-de-cookies #contenido .ancho a {
	display: block;
}






body .articulos .articulo {
	padding: 40px 0 50px 0;
}
body .articulos .articulo:nth-of-type(2n) {
	/*background-color: #F7F7F7;*/
	background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.03));
}
body .articulos .categoria {
	position: relative;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-corporativo-translucido);
	padding-left: 20px;
}
body #contenido .articulos .articulo .ancho {
	display: block;
	max-width: 1280px;
	margin: 0 auto;
}
body .articulos .categoria:after{
	content :'';
	position: absolute;
	height:2px;
	background: var(--color-corporativo-translucido);
	top:50%;
	left: -9999px;
	right: 100%;
	z-index:1;
}
body .articulos .titulo {
	text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 32px;
	color: var(--color-corporativo);
}
body .articulos .entrada {
	display: flex;
}
body .articulos .articulo:nth-child(2n) .entrada {
    flex-direction: row-reverse;
}
body .articulos .entrada img {
	width: 40%;
    margin-right: 10%;
	object-fit: cover;
}
body .articulos .articulo:nth-child(2n) .entrada img {
    margin-left: 10%;
    margin-right: 0;
}
body .articulos .entrada .resumen {
	line-height: 1.5rem;
}
body .articulos .entrada .resumen button {
	background-color: #e8e6e6;
    border: 1px solid var(--color-corporativo);
    border-radius: 5px;
    padding: 10px 20px;
    color: var(--color-corporativo);
	cursor: pointer;
}
body .articulos .entrada .resumen button:hover {
	background-color: var(--color-corporativo);
	color: #FFF;
}






.triangulod, .trianguloi {
    aspect-ratio: 2 / 5;
    min-width: 10px;
    background-image: linear-gradient(to top right, transparent 50%, white 0), linear-gradient(to bottom right, transparent 50%, white 0);
    background-repeat: no-repeat;
    /*background-size: 105% 52%;
    background-position: top, bottom;*/
    background-size: 200% 100%;
    background-position: top left, bottom left;
}
.trianguloi {
    background-image: linear-gradient(to top left, transparent 50%, white 0), linear-gradient(to bottom left, transparent 50%, white 0);
    background-position: top right, bottom right;
}
sup, sub {
    font-size: 67%;
}





	@media screen and (max-width: 1320px) {
		.ancho {
			padding-left: 20px !important;
			padding-right: 20px !important;
		}
		nav .ancho {
			padding: 20px 0;
		}
		body.contacto #contenido .sup {
			font-size: 20px !important;
		}
	}
	@media screen and (max-width: 900px) {
		nav .ancho .logo {
			margin-right: 20px;
		}
		nav .ancho .logo img, body.withScroll nav .ancho .logo img {
			height: 60px;
		}
	}
	@media screen and (max-width: 850px) {
		nav .ancho .der .menu1 a {
			padding: 7px 10px;
		}
		nav .ancho .der .menu1 a.seleccionado {
			padding: 7px 20px;
			margin: 0 10px;
		}
		
		
		
		#cabecera {
    		min-height: 500px;
		}
		
		
		
		#contenido .ancho {
			gap: 40px;
		}
		#contenido .ancho .izq .sup {
			font-size: 36px;
			margin-bottom: 40px;
			padding: 15px 20px;
		}
		#contenido .ancho .izq .inf.Horizontal {
			gap: 35px;
		}


        body.contacto #contenido .ancho .izq .inf.Horizontal .latizq, body.contacto #contenido .ancho .izq .inf.Horizontal .formulario {
            width: 100%;
        }
		
		
		footer #pie .ancho {
			line-height: 25px;
			font-size: 14px;
		}
		footer #pie .ancho #logopie img {
			height: 100px;
		}
		
		footer #copy .ancho {
			padding: 15px 0;
		}
	}



	@media screen and (max-width: 750px) {
		
		nav .ancho {
			font-size: 14px;
		}
		nav .ancho .logo img, body.withScroll nav .ancho .logo img {
			height: 55px;
		}
		nav .ancho .der .menu1 a {
			padding: 5px 7px;
		}
		nav .ancho .der .menu1 a.seleccionado {
			padding: 5px 14px;
			margin: 0 7px;
		}
		
		#contenido .ancho {
			gap: 25px;
		}
		#contenido .ancho .izq .sup {
			margin-bottom: 25px;
		}
		#contenido .ancho .izq .inf.Horizontal {
			flex-direction: column;
			gap: 25px;
		}
		
		footer #pie #siguenos span {
			display: none;
		}
		footer #copy .ancho {
			padding: 12px 0;
		}


		body.contacto #contenido .sup {
			font-size: 18px !important;
		}
		
		
		body.legal {
			font-size: 14px;
		}
		body.legal header h1 {
			margin-top: 40px;
			font-size: 20px;
		}
		body.legal #contenido .ancho {
			line-height: 1.5em;
		}
		body.legal #contenido .ancho table tr th {
			white-space: normal;
		}
}
	@media screen and (max-width: 640px) {
		nav .ancho .logo {
			margin-right: 15px;
			align-items: flex-end;
		}
		nav .ancho .logo img {
			height: auto;
			width: auto;
			max-height: 55px;
		}
		nav .ancho .der .menu1 {
			flex-direction: column;
		}
		nav .ancho .der .menu1 a {
			padding: 0px;
			height: 0px;
			overflow: hidden;
			transition: 1s;
		}
		nav .ancho .der #menu.abierto .menu1 a {
			padding: 5px 14px;
			height: 21px;
		}
		nav .ancho .der .menu1 a:last-of-type {
			padding-right: 10px;
		}
		nav .ancho .der .menu1 a.seleccionado {
			padding: 5px 14px;
			height: 21px;
		}
		nav .ancho .der #menu i {
			display: inline-block;
			font-size: 31px;
			padding-left: 15px;
		}
		
		#cabecera {
			font-size: 15px;
			min-height: 400px;
		}
		#cabecera>div {
			max-width: 360px;
		}
		#cabecera p {
			font-size: 18px;
		}
		#cabecera h1 {
			font-size: 30px;
			margin: 0px;
		}
		#cabecera a, #cabecera:not(.fotos) a {
			padding: 10px 30px;
			font-size: 25px;
			margin: 30px auto 0 auto;
			max-width: 66%;
		}
		
		footer .ancho #logopie {
			display: none;
		}
	}

	@media screen and (max-width: 600px) {
		nav .ancho {
			padding: 15px 0;
		}
		nav .ancho .der .enlaces a {
            display: inline-block;
            width: 25px;
            overflow: hidden;
            font-size: 22px;
            line-height: 1;
        }
		nav .ancho .der #menu {
			margin-top: 5px;
		}
    }

	@media screen and (max-width: 560px) {
		#cabecera {
			font-size: 16px;
			min-height: 300px;
		}
		#cabecera>div {
			margin-bottom: 20px;
		}
		#cabecera div p {
			margin: 10px 0;
		}
		#cabecera h1 {
			font-size: 24px;
		}
		#cabecera h2 {
			font-size: 15px;
		}
		#cabecera a, #cabecera:not(.fotos) a {
			padding: 8px 25px;
			font-size: 14pt;
			margin: 20px auto 0 auto;
			max-width: 66%;
		}
		
		#contenido .ancho {
			margin-top: 20px;
		}
		#contenido .ancho .izq .sup {
			font-size: 20pt;
			padding: 10px 20px;
			margin: 0 -20px 15px -20px;
		}
		#contenido .ancho .imagen {
			display: none;
		}
		
		footer #pie {
			padding: 20px 0;
		}
		footer #pie .ancho {
			font-size: 13px;
		}
		footer #pie .ancho a i {
			width: 15px;
		}
		
		
		body.contacto #contenido .ancho .izq .inf label {
			margin-bottom: 20px;
		}
		body.contacto #contenido input, body.contacto #contenido textarea {
			margin-top: 3px;
			padding: 3px 10px;
			font-family: 'Roboto', sans-serif;
			font-size: 15px;
		}
		body.contacto #contenido .ancho .izq .inf input[type=submit] {
			margin-top: 0px;
		}
	}
	@media screen and (max-width: 480px) {
		nav .ancho {
			padding: 10px !important;
		}
		nav .ancho .der .enlaces {
			line-height: 1;
		}
		nav .ancho .der #menu {
			margin-top: 8px;
		}
        #cabecera.fotos {
            overflow: hidden;
            min-height:300px;
        }
        #cabecera.fotos .boton {
            align-self: center;
            border-radius: 50%;
            padding: 20px 18px 20px 42px;
            margin-left: -33px;
            background-color: rgba(255, 255, 255, 0.7);
        }
        #cabecera.fotos .boton.fotoCabeceraPosterior {
            padding: 20px 42px 20px 18px;
            margin-right: -33px;
        }
        
		#contenido .ancho .izq .sup {
			font-size: 24px;
		}
		footer #pie {
			padding: 10px 0;
		}
		footer #pie .ancho {
			font-size: 12px;
			flex-wrap: wrap;
		}
		footer #pie .ancho #siguenos {
			order: 3;
			width: 100%;
			margin-top: 20px;
		}
		footer #pie .ancho #siguenos span {
			display: inline;
		}
		footer #pie .ancho #siguenos a {
			display: inline-block;
			margin-right: 20px;
		}
		footer #pie .ancho #legales {
			order: 2;
		}
		footer #copy .ancho {
			font-size: 11px;
		}
		
		
		#contenido .ancho .izq .sup {
			font-size: 17pt;
			padding: 7px 10px;
		}
		#contenido .ancho .izq .inf {
			font-size: 13pt;
			line-height: 1.4;
		}
		#contenido .ancho .izq .inf h3 {
			font-size: 16pt;
			margin: 0.5em 0;
		}
		#contenido .ancho .izq .inf ul {
			padding-inline-start: 25px;
		}
		body main .ancho .izq .inf.Cuadros .tarjeta {
			height: 240px;
			width: 160px;
			min-width: 160px;
		}
		body main .ancho .izq .inf.Cuadros .tarjeta .hover {
			font-size: 12px;
			padding: 6px 7px;
		}
	}
	@media screen and (max-width: 399px) {
		.ancho {
			padding-left: 10px !important;
			padding-right: 10px !important;
		}
		nav .ancho .logo {
			margin-right: 10px;
			padding: 5px 0;
		}
		nav .ancho .logo img {
			max-height: 50px;
		}
		body.withScroll nav .ancho {
			padding: 10px 0;
		}
		nav .ancho .der .enlaces a {
			width: 22px;
			font-size: 20px;
		}
		nav .ancho .der #menu {
			margin-top: 5px;
		}
		nav .ancho .der #menu i {
			font-size: 27px;
			padding-left: 4px;
		}
		nav .ancho .der .menu1 a.seleccionado {
			padding: 3px 9px;
			height: 21px;
		}
		#cabecera {
			font-size: 14px;
			min-height: 270px;
		}
		#cabecera>div {
			padding: 0 10px;
		}
		#cabecera a, #cabecera:not(.fotos) a {
			padding: 7px 25px;
			font-size: 12pt;
			width: fit-content;
			max-width: 90%;
		}	
		
		#contenido .ancho .izq .sup {
			margin: 0 -10px 15px -10px;
			font-size: 14pt;
		}
		#contenido .ancho .izq .inf {
			font-size: 12pt;
        	line-height: 1.3;
		}
		#contenido .ancho .izq .inf h3 {
			font-size: 14pt;
		}
		
	}
	/*@media screen and (max-width: 350px) {
		footer #pie .ancho #siguenos {
			order: 1;
			width: 100%;
			margin-top: 0px;
		}
		footer #pie .ancho #direccion {
			order: 2;
			width: 100%;
			margin-top: 20px;
		}
		footer #pie .ancho #legales {
			order: 3;
			width: 100%;
			margin-top: 20px;
		}
	}*/
