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

:root {
	--color-corporativo: #3A4C98;
	--color-corporativo-translucido: rgba(58, 76, 152, 0.6);
}

html, body {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	margin: 0px;
	padding: 0px;
	/*letter-spacing: 1px;
	word-spacing: 2px;
	line-height: 1.5;*/
	
}
	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;
}
nav .ancho {
	padding: 30px 0;
	display: flex;
	justify-content: space-between;
	transition: padding 1s;
}
nav .ancho .logo img {
	width: auto;
	height: 120px;
	transition: height 1s;
	display: block;
	max-width: 100%;
    object-fit: contain;
}
nav .ancho .der {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: right;
}
nav .ancho .der .enlaces {
	text-wrap: nowrap;
	margin-left: -37px;
}
nav .ancho .der .enlaces a {
	color: var(--color-corporativo);
	font-size: 14px;
	text-decoration: none;
}
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: 30px;
}
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: 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: 80px;
}
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))), url("/imagenes/DSC_0930-1920px.jpg");
	background-position: top center;
	background-size: cover;
	color: #FFFFFF;
	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 a {
	display: block;
	padding: 15px 50px;
	border-radius: 10px;
	background-color: var(--color-corporativo);
	font-size: 30px;
	margin-top: 40px;
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
	color: #FFFFFF;
	text-decoration: none;
}
#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: 48px;
	margin-bottom: 60px;
	padding: 20px;
	color: #FFFFFF;
	font-weight: bold;
	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: var(--color-corporativo);
		padding: 30px 0;
	}
	footer #pie .ancho {
		display: flex;
		justify-content: space-between;
		color: #FFFFFF;
		font-weight: bold;
		line-height: 30px;
	}
	footer #pie .ancho a {
		display: block;
		text-decoration: none;
		color: #FFFFFF;
		font-weight: normal;
	}
	footer #pie .ancho a i {
		width: 20px;
	}
	footer #kitdigital {
		display: block;
		margin: 20px auto;
		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.tratamientos #cabecera {
	--opacidad-negro1: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro1)), rgba(0, 0, 0, var(--opacidad-negro2))), url("/imagenes/tratamientos.jpg");
	background-position: top center;
}
body.tratamientos #contenido .ancho .inf img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
body.tratamientos #contenido .ancho .imagen {
	background-image: url("/imagenes/tratamientos2.jpg");
}





body.formacion #cabecera {
	--opacidad-negro1: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro1)), rgba(0, 0, 0, var(--opacidad-negro2))), url("/imagenes/formacion.jpg");
	background-position: top center;
}
body.formacion #contenido .ancho .imagen {
	background-image: url("/imagenes/formacion2.jpg");
}

	
body.nosotros #cabecera {
	--opacidad-negro1: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro1)), rgba(0, 0, 0, var(--opacidad-negro2))), url("/imagenes/nosotros.jpg");
	background-position: top center;
}
body.nosotros #contenido .ancho .imagen {
	background-image: url("/imagenes/nosotros2.jpg");
}
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;
}

.guzman {
	background-image:url("/imagenes/equipo/guzman.jpg");
}
.cirvida {
	background-image:url("/imagenes/equipo/cirvida.jpg");
}
.gonzalez {
	background-image:url("/imagenes/equipo/gonzalez.jpg");
}
.nizar {
	background-image:url("/imagenes/equipo/nizar.jpg");
}
.velasco {
	background-image:url("/imagenes/equipo/velasco.jpg");
}
	
	



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 #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: 'Poppins', 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 .ancho .izq .inf.Vertical {
	display: block;
}


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




	@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: 100px;
		}
		body.withScroll nav .ancho .logo img {
			height: 70px;
		}
		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;
		}
		
		
		
		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: 80px;
		}
		body.withScroll nav .ancho .logo img {
			height: 60px;
		}
		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.nosotros #contenido .ancho .imagen {
			display: none;
		}
		
		
		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>div {
			max-width: 360px;
		}
		#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: 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 {
			padding: 8px 25px;
			font-size: 21px;
			margin-top: 15px;
		}
		
		#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: 'Poppins', sans-serif;
			font-size: 15px;
		}
		body.contacto #contenido .ancho .izq .inf input[type=submit] {
			margin-top: 0px;
		}
	}
	@media screen and (max-width: 480px) {
		#contenido .ancho .izq .sup {
			font-size: 24px;
		}
		nav .ancho .logo img, body.withScroll nav .ancho .logo img {
			height: 60px;
		}
		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;
		}
		nav .ancho .der .enlaces a {
			font-size: 12px;
		}
		#cabecera {
			font-size: 14px;
			min-height: 270px;
		}
		#cabecera>div {
			padding: 0 10px;
		}
		
		
		body.tratamientos #contenido .ancho .izq .inf {
			margin: 0 -10px;
		}
		
		
		body.nosotros main .ancho {
			padding-left: 0px !important;
			padding-right: 0px !important;
			gap: 10px;
		}
		body.nosotros main .ancho .izq .inf.Cuadros .tarjeta {
			height: 225px;
			width: 150px;
			min-width: 150px;
		}
		body.nosotros main .ancho .izq .inf.Cuadros .tarjeta .titulo {
			padding: 3px 10px;
			font-size: 14px;
		}
		body.nosotros main .ancho .izq .inf.Cuadros .tarjeta .hover {
			line-height: 15px;
		}
	}
	@media screen and (max-width: 350px) {
		body.nosotros main .ancho .izq .inf.Cuadros .tarjeta {
			height: 225px;
			width: 140px;
			min-width: 140px;
		}
		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;
		}
	}
