@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Crimson+Text&display=swap');


body,
html {
	background-color: rgb(252, 252, 252);
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Helvetica', sans-serif;
}

.banner {

    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(18, 66, 101), rgb(143, 97, 231), rgb(20, 136, 136));
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 2em;
}


.banner h1 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #eeeeee;
	white-space: nowrap;
    overflow: hidden;
}

.banner h1:nth-child(1) {
    width: 27em;
    -webkit-animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


@keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}

p {
	font-size: 12px;
	font-weight: lighter;
	color: #333333;
}

span a {
	font-size: 18px;
	color: #cccccc;
	text-decoration: none;
	margin: 0 10px;
	transition: all 0.4s ease-in-out;
	&:hover {
		color: #ffffff;
	}
}

@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173,0.6);
		transform: translatey(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(66,123,173,0.2);
		transform: translatey(-20px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173, 0.6);
		transform: translatey(0px);
	}
}

.container {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    justify-content: center;
    align-items: center; /* Centra verticalmente */
}

.avatar {
    width: 350px;
    height: 350px;
    box-sizing: border-box;
    border: 5px white solid;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;
    display: flex; /* Agregamos flex para centrar la imagen */
    justify-content: center; /* Centramos horizontalmente */
    align-items: center; /* Centramos verticalmente */
}

.avatar
{
	margin:  0 auto;
}


#secc_financieros
{
	background-color: rgb(252, 252, 252);
	max-width: 60%;
}

.service-item
{
	background-color: rgb(252, 252, 252);
}

#secc_financieros, .container
{
	display: inline-block;
	vertical-align: top; /* Esto alinea verticalmente al centro */
}

#imagen
{
	height: 160px;
	width: 30%;
}

.service-content
{
	/*background-color: orange;*/
	width: 96%;
}

.service-content p
{
	text-align: justify;
	font-family: 'Crimson Text', serif;
	font-size: 20px;
	padding: 1em 1em;
}

.service-content h2
{
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
}

.service-title
{
	color: rgb(18,66,101);
	font-weight: bold;
}

#secc_financieros_qs, .container {
    height: auto; /* Cambia el valor a la altura deseada */
}

@keyframes fadeInUpH2 {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpP {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


#p-sst
{
	padding: 1em 1em;
	text-align: justify;
	animation: fadeInUpH2 1s ease both;
    animation-delay: 1s; /* No hay retardo en el título */
}

#service-title-sp
{
	animation: fadeInUpH2 1s ease both;
    animation-delay: 1.33s; /* No hay retardo en el título */
}

#p-ppaciente
{
	padding: 1em 1em;
}

#p-ppaciente
{
	text-align: justify;
	animation: fadeInUpH2 1s ease both;
    animation-delay: 1.5s; /* No hay retardo en el título */
}

#link_paciente
{
	padding: 0;
	text-align: center;
	animation: fadeInUpH2 1s ease both;
    animation-delay: 1.65s; /* No hay retardo en el título */
}

#link_paciente a
{
	font-family: 'Crimson Text', serif;
	font-size: 24px;
}

/**************SECCION DE MODULOS *******************/ 
#c_modulos
{
	width: 100%;
}

.row_modulos
{
    margin: 0 auto;
    width: 95%;
}

.modulo_productivos
{
	display: inline-block;
	border: 2px #ccc solid;
	border-radius: 9px;
    margin: 0;
    height: auto;
    width: 90%;
}

.row_modulos
{
	width: 100%;
}

.modulo .contenido {
    display: none;
}

.modulo.abierto .contenido {
    display: block;
}
/*******acordeon*/

.accordion-container {
	
	height: auto;
	width: 100%;
	margin: 0 0 0 0;
	padding: 0em;
}

.accordion-container:hover {
	box-shadow: inset 0 0 10px 0 rgba(66,123,173, 0.5);
	height: auto;
	width: 100%;
	margin: 0 0 0 0;
	clear:both;
}

.accordion-titulo {
	position: relative;
	display: block;
	padding: 20px 2em;
	text-decoration: none;
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: bold;
	color: rgb(18,66,101);
	width: 50%;
}
.accordion-titulo.open {
	color: rgb(7,7,7);
	text-decoration: none;
}
.accordion-titulo:hover {
	color: rgb(80,80,80);
	text-decoration: none;
}
.accordion-titulo:before {
	background: none;
	color: rgb(7,7,7);
	text-decoration: none;
}
.accordion-content {
	display: none;
	padding: 0px;
	overflow: auto;
}
.accordion-content p{
	margin:0;
	text-align: left;
}
.accordion-content img {
	display: block;
	float: left;
	margin: 0 15px 10px 0;
	width: 25%;
	height: auto;
}

/******contenido de imagen al lado de la acordeon**/
#img_modulo_productivo
{
	height: 80px;
	width: 20%;
}

#img_modulo_productivo img 
{
	margin: 0.6em 0 0 0;
	height: 60px;
	max-width: 40%;
}

.accordion-container a
{
	width: 40%;
	text-align: left;
	font-size: 30px;
	font-weight: bold;
	color: rgb(18,66,101);

}

#img_modulo_productivo, .accordion-titulo
{
	display: inline-block;
	vertical-align: middle;
}



/***********contenido dentro del acordeon*******/
#link_ef
{
	padding: 0;
	margin: 0 auto;
	text-align: center;
	animation: fadeInUpH2 1s ease both;
    animation-delay: 1.2s; /* No hay retardo en el título */
}
#link_ef a
{
	font-family: 'Crimson Text', serif;
	font-size: 24px;
}

@media (min-width: 300px) and (max-width: 359px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}

	.banner h1{
		font-size: 28px;
	}

	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_financieros
	{
		max-width: 100%;
	}

	#secc_financieros, .container
	{
		display: block;
	}

	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 30px;
		padding: 0.5em 0.6em;
	}


	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_financieros_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}

	.modulo_productivos
	{
		display: inline-block;
		border: 2px #ccc solid;
		border-radius: 9px;
	    margin: 0;
	    height: auto;
	    width: 90%;
	}

	.accordion-titulo {
	position: relative;
	padding: 1px 0em;
	text-decoration: none;
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: bold;
	color: rgb(18,66,101);
	width: 20%;
	}
	
	#img_modulo_productivo
	{
		width: 30%;
	}

	#img_modulo_productivo img 
	{
		height: 50px;
		width: 100%;
	}

	#link_ef a
	{
		font-family: 'Crimson Text', serif;
		font-size: 18px;
	}


}


@media (min-width: 360px) and (max-width: 500px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}

	.banner h1{
		font-size: 28px;
	}

	
	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_financieros
	{
		max-width: 100%;
	}


	#secc_financieros, .container
	{
		display: block;
	}

	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 30px;
		padding: 0.5em 0.6em;
	}


	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_financieros_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}

	.modulo_productivos
	{
		display: inline-block;
		border: 2px #ccc solid;
		border-radius: 9px;
	    margin: 0;
	    height: auto;
	    width: 90%;
	}

	.accordion-titulo {
	position: relative;
	padding: 1px 0em;
	text-decoration: none;
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: bold;
	color: rgb(18,66,101);
	width: 10%;
	}

	#img_modulo_productivo
	{
		width: 30%;
	}

	#img_modulo_productivo img 
	{
		height: 50px;
		width: 100%;
	}	

	#link_ef a
	{
		font-family: 'Crimson Text', serif;
		font-size: 18px;
	}


}


@media (min-width: 501px) and (max-width: 620px){

	/*---------------------------------------------HEADER*/
	#headertop {
		background: rgb(164,199,53);
		color: #FFF;
		padding: 1px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: 'Cormorant Garamond', serif;
		font-size: 18px;
	}

	#acceder_cel
	{
	border: 2px solid rgb(164,199,53); 
	color: rgb(50,50,50);
	margin: 1em 0 0 0;
	}

	#acceder
	{
		display: none;
	}
	#acceder:hover
	{
	background-color: rgb(164,199,53);
	color: #fff;
	box-shadow: 0 5px 15px 7px rgba(252,225,245, 0.6);
	}

	.banner {
		margin-bottom: 0.3em;
	}

	.banner h1{
		font-size: 28px;
	}

	
	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_financieros
	{
		max-width: 100%;
	}

	#secc_financieros, .container
	{
		display: block;
	}

	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 30px;
		padding: 0.5em 0.6em;
	}


	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_financieros_qs, .container {
		height: auto; 
	}

	.modulo_productivos
	{
		display: inline-block;
		border: 2px #ccc solid;
		border-radius: 9px;
	    margin: 0;
	    height: auto;
	    width: 90%;
	}

	.accordion-titulo {
	position: relative;
	padding: 1px 0em;
	text-decoration: none;
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: bold;
	color: rgb(18,66,101);
	width: 10%;
	}

	#img_modulo_productivo
	{
		width: 30%;
	}

	#img_modulo_productivo img 
	{
		height: 50px;
		width: 100%;
	}	

	#link_ef a
	{
		font-family: 'Crimson Text', serif;
		font-size: 18px;
	}


}


@media (min-width: 770px) and (max-width: 870px){

	.avatar {
		width: 280px;
		height: 280px;
		box-sizing: border-box;
		border: 5px white solid;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
		transform: translatey(0px);
		animation: float 6s ease-in-out infinite;
		display: flex; /* Agregamos flex para centrar la imagen */
		justify-content: center; /* Centramos horizontalmente */
		align-items: center; /* Centramos verticalmente */
	}

	.avatar
	{
		margin:  0 auto;
	}
	
	#secc_financieros
	{
		max-width: 100%;
	}


	#secc_financieros, .container
	{
		display: block;
	}


	.service-content
	{
		width: 100%;
	}

	.service-content p
	{
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
	}

	.service-content h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
	}

	.service-title
	{
		color: rgb(18,66,101);
		font-weight: bold;
	}

	.container
	{
		width: 100%;
		margin-bottom: 2em;
	}

	#secc_financieros_qs, .container {
		height: auto; /* Cambia el valor a la altura deseada */
	}


}