@charset "utf-8";
/* CSS Document */

:root {
	--color-corporativo: #1B355D;
	--color-corporativo-translucido: rgba(27, 53, 93, 0.8);
}

html, body {
	font-family: sans-serif;
    font-optical-sizing: auto;
	font-size: 18px;
	margin: 0px;
	padding: 0px;
	/*letter-spacing: 1px;
	word-spacing: 2px;*/
	line-height: 1.5;
}
html.fonts-loaded, .fonts-loaded body {
	font-family: 'Montserrat', sans-serif;
}
li, p {
    margin-block-end: 1rem;
}
body strong, body main h2, body main h3 {
    font-weight: 600;
}
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: rgba(255, 255, 255, 0.98);
	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: flex-end;
}
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: #FFFFFF;
	font-weight: 500;
	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: flex-start;
	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: #FFFFFF;
	font-size: 20px;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
#cabecera>div {
	margin-bottom: 60px;
	width: 100%;
}
#cabecera p {
	font-size: 24px;
	font-style: italic;
	margin-block-end:30px;
}
#cabecera h1 {
    font-family: serif;
	font-size: 64px;
	font-weight: 400;
    line-height: 1;
    margin-block: 0px;
}
#cabecera h2 {
    margin-block: 0px;
    margin-top: 30px;
	font-size: inherit;
    font-weight: 400;
}
#cabecera h2 hr {
    border-color: #b79a5e;
    width: 150px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-width: 1px;
    border-style: solid;
}
#cabecera:not(.fotos) a {
	display: block;
    width: fit-content;
	padding: 10px 30px;
	border-radius: 6px;
	font-size: 21px;
    font-weight: 600;
	margin-top: 40px;
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.4);
	text-decoration: none;
    background-color: #B79A5E;
    color: #000;
}
#cabecera:not(.fotos) a:hover {
    text-decoration: underline;
	box-shadow: 4px 4px 6px 3px rgba(255, 255, 255, 0.4);
}
#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-size: 24px;
	margin-bottom: 40px;
	padding: 7px 21px;
	color: #FFFFFF;
	font-weight: 500;
	text-align: right;
}
#contenido .ancho .izq .inf.Horizontal {
	display: flex;
	gap: 58px;
}
#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;
}
	
	
	footer {
		margin-top: 40px;
	}
	footer #pie {
		background-color: #0F1726;
		padding: 30px 0;
	}
	footer #pie .ancho {
		display: flex;
		justify-content: space-between;
		color: #FFFFFF;
		font-weight: 500;
		line-height: 30px;
	}
	footer #pie .ancho #logopie img {
		max-width: 100%;
		object-fit: contain;
	}
	footer #pie .ancho a {
		display: block;
		text-decoration: none;
		color: #FFFFFF;
		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: #EEEEEE;
	}
	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.servicios-juridicos #contenido .inf li {
    margin-block-end: 0.5rem;
}




	
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: #FFFFFF;
    padding: 5px 15px;
}
body main .ancho .izq .inf.Cuadros .tarjeta .hover {
	background-color: rgba(255, 255, 255, 0.8);
	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)));
	background-position: top center;
}
body.contacto a, body.contacto a:hover, body.contacto a:visited {
	color: var(--color-corporativo);
}
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: #FFFFFF;
	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: #EEEEEE;
	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;
}





.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: 850px) {
		nav .ancho .logo img {
			height: 60px;
		}
		body.withScroll nav .ancho .logo img {
			height: 60px;
		}
		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 {
			height: 60px;
		}
		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 .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 p {
			font-size: 18px;
		}
		#cabecera h1 {
			font-size: 30px;
			margin: 0px;
		}
		#cabecera a {
			padding: 10px 30px;
			font-size: 25px;
			margin-top: 30px;
		}
		
		footer .ancho #logopie {
			display: none;
		}
	}

	@media screen and (max-width: 600px) {
        nav .ancho .der .enlaces a {
            display: inline-block;
            width: 24px;
            overflow: hidden;
            font-size: 0.75rem;
            line-height: 1;
        }
    }

	@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 {
            margin-top: 20px;
			font-size: 15px;
		}
		#cabecera h2 hr {
            margin-bottom: 20px;
		}
		#cabecera:not(.fotos) a {
			padding: 5px 15px;
			font-size: 0.75rem;
			margin-top: 20px;
		}
		
		#contenido .ancho {
			margin-top: 20px;
		}
		#contenido .ancho .izq .sup {
			font-size: 30px;
			margin-bottom: 15px;
		}
		#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) {
        #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: 0.75rem;
		}
        nav .ancho .der .enlaces {
            line-height: 1;
        }
		nav .ancho .der #menu {
			margin-top: 10px;
		}
		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;
		}
		
		
		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 {
			padding: 10px 0;
		}
		body.withScroll nav .ancho {
			padding: 10px 0;
		}
		#cabecera {
			font-size: 14px;
			min-height: 270px;
		}
		#cabecera>div {
			padding: 0 10px;
		}
	}



	@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;
		}
	}
