@import url(https://fonts.googleapis.com/css?family=Open+Sans|Roboto|Roboto+Condensed|PT+Sans|Source+Sans+Pro);

html, body{
	width:100%;
	margin: 0 auto;
	padding: 0;
	font-family: "Roboto";
	font-size:15px;
}

a{
	color:black;
	text-decoration: none;
}

hr{
	width:600px;
	border-color: #ebebeb;
	line-height: 0;
	background-color: #ebebeb;
}

h1{
	margin-top:50px;
	display:inline-block;
}

#header{
	padding:10px;
	height:90px;
	overflow-y:hidden;
}

.fullWidth{
	width:100%;
	/*overflow-x:hidden;*/
}

#headLine{
	height:8px;
	background-color: #d79d51;
}

.wrap{
	width:1200px;
	margin: 0 auto;
	padding: 1px 40px;
	/*background-color: red;*/
}

#language{
	text-align: right;
	height:20px;
	width:800px;
	margin:0 auto;
	margin-top:-10px;
}

#language img{
	width:25px;
	vertical-align: middle;
	margin-right:15px;
}

#language h4{
	display: inline;
}

#brand{
	width:250px;
	/*background-color: green;*/
	float:left;
	height:95%;
}

#brand img{
	width:150px;
}

#dataLogoHeader{
	/*background-color: blue;*/
	width:950px;
	float:left;
	line-height: 0.1;
	height:95%;
}

#data{
	width:85%;
	margin-right:1%;
	margin-top:15px;
	/*background-color: yellow;*/
	float:left;
	text-align: right;
	padding-right: 5px;
	height:100%;
}

#logo{
	/*background-color: purple;*/
	width:8%;
	float:left;
	height:100%;
}

#logo img{
	height:100%;
}

#menuHeader{
	background-color: #510714;
	height:40px;
	margin-top:-5px;
	margin-bottom:15px;
}

#menuHeader h4{
	line-height: 0;
}

.menuOption{
	list-style: none;
	display:inline-block;
	margin-left: 30px;
	color:white;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}

.menuOption:hover{
	color: #d79d51;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}

#selected{
	color:#d79d51;
}

.menuOptions{
	height:100%;
	width:800px;
	margin:0 auto;
	margin-top:10px;
}

#slideshow{
	overflow:hidden;
	height:445px;
	margin:10px 0;
}

#slideshow img{
	width: 100%;
}

.slider{
	position:relative;
	display:none;		
}

.visible{
	display:block;
}

/*footer{
	height:220px;
	padding:15px 0;
	background-color: #2f050c;
	color:#cacaca;
	border-top: solid 2px #d79d51;
}*/

footer{
    height:220px;
	padding:15px 0;
	background-color: #2f050c;
	color:#cacaca;
	border-top: solid 2px #ffda09;
	clear:both;
}

#dataDoctor{
	/*background-color: red;*/
	float:left;
}

#dataLab{
	/*background-color: blue;*/
	float:left;
	margin-bottom:40px;
	margin-left:50px;
}

.fb{
	/*background-color: green;*/
	width:50px;
	float:left;
}

.fb img{
	width:30px;
	display: block;
	margin:10px auto;
}

.info{
	/*background-color: yellow;*/
	width:250px;
	float:left;
}

#copyright{
	clear:both;
}

.publication{
	margin-bottom:20px;
}

.publicationImg{
	/*background-color: red;*/
	display: inline-block;
	width: 20%;
	text-align: center;
	padding:2px;
}

.publicationImg img{
	max-height: 100%;
	object-fit: contain;
	display: flex;
	margin: auto;
	object-fit: contain;
}

.publicationContent{
	/*background-color: green;*/
	width:900px;
	display: inline-block;
}

.publication h3{
	line-height: 1;
	margin-top:30px;
}

.publication h5{
	line-height: 0;
	color:gray;
}

.abstract{
	text-align: justify;
	font-size: 14px;
}

.publication a{
	color:#560055;
}

.hiddenAbstract{
	display:block;
}

.hiddenAbstract img{ 
	display: block;
	margin:0 auto;
	height:200px;
}

.foot{
	text-align: center;
	font-size: 10px;
	color:gray;
}

.hideAbstract{
	margin-left:20px;
}

#yearsList{
	width:600px;
	margin:0 auto;
	margin-top:50px;
}

#yearsList li{
	list-style: none;
	display:inline-block;
	font-size: 20px;
	margin-left:10px;
	color: #510714;
	cursor:pointer;
}

#yearsList li:hover{
	color: #d79d51;
}

.up{
	margin-left:10px;
	height:22px;
	cursor:pointer;
}

#danielsan{
	display: block;
	margin:20px auto;
	border-radius: 80px;
}

#cv{
	display: block;
	margin:20px auto;
	width:64px;
}

#cv + h3{
	display:block;
	background: red;
	width:110px;
	line-height: 0;
	margin:0 auto;
	margin-bottom:50px;
	text-decoration: none;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}

#cv + h3:hover{
	color:#510714;
	text-decoration: none;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
}

#researchTeam{
	width:85%;
	margin:25px auto;
	margin-bottom:60px;
}

#researchTeam td{
	padding-top:10px;
	padding-bottom:10px;
}

.teamImg{
	width:80px;
	border-radius: 40px;
}

#researchTeam h4{
	line-height: 0;
}

.secondaryText{
	color:gray;
}

#goTop{
	position:fixed;
	right:0;
	bottom:50px;
	width:50px;
	height:50px;
	background-color: #d79d51;
	cursor:pointer;
}

#goTop img{
	width:70%;
	margin-top:10px;
	margin-left:7px;
}

#infoResearch{
	width:500px;
	/*background-color: red;*/
	height:100px;
	float: left;
	margin-top:100px;
}

#homeSlideshow{
	margin-top:50px;
	width:650px;
	background-color: blue;
	height:265px;
	float: left;
}

#homeSlideshow img{
	width:650px;
}

#homeImages{
	/*background-color: green;*/
	width:1200px;
	clear:both;
	margin:50px 0;
}

#homeImages img{
	width:380px;
	margin-right:5px;
}

.researchInfo{
	width:95%;
}

.white{
	background-color:white;
}

.lightBlue{
	color: #1e9bd8;
}

.purple{
	color: #560055;
}

.red{
	color: #510714;
}


.event{
	width:750px;
	height:120px;
	border:solid 1px #D9D9D9;
	margin-right:20px;
	margin-bottom:20px;
	margin-top:10px;
	float:left;
}

.eventImg{
	height:120px;
	float:left;
	margin-right:20px;
}

.eventImg img{
	height:120px;
	width: 212.55px;
}


.event p{
	text-align: justify;
	margin:0 10px;
	font-size:13px;
}


.event a{
	display: inline-block;
	margin-top:30px;
	margin-left:120px;
	text-align: right;
	font-size:13px;
	font-weight: bold;
	color:#560055;
} 
#upcoming{
	width:350px;
	min-height:100px;
	float:left;
	margin-top:20px;
}

#upcoming img{
	width:80%;
	height:150px;
}

#recent{
	width:800px;
	min-height:100px;
	float:left;
	margin-bottom:20px;
	margin-top:20px;
}

.smallLine{
	width:40%;
}

.lightboxBG{
	display:none;
	width:100%;
	height:100%;
	background-color: black;
	opacity:.5;
	position:fixed;
	top:0;
	left:0;
	z-index:1000;
}

/* .lightboxContent{
	display:none;
	width:700px;
	background-color: white;
	border:solid 1px #d9d9d9;
	border-radius:5px;
	z-index:2000;
	position:fixed;
	top:120px;
	left:27%;
	padding:10px;
	text-align: center;
} */

.lightboxContent {
    /* 1. POSICIONAMIENTO (Centrado perfecto) */
    position: fixed;
    z-index: 2000;
    
    /* Esta combinación centra el elemento en toda la pantalla */
    inset: 0;         /* Es igual a poner top:0, right:0, bottom:0, left:0 */
    margin: auto;     /* El navegador distribuye el espacio sobrante equitativamente */
    
    /* 2. DIMENSIONES */
    width: 750px;           /* Ancho deseado */
    max-width: 90%;         /* Para que no se salga en celulares */
    height: fit-content;    /* La altura se ajusta al contenido */
    max-height: 75vh;       /* Límite de altura (90% de la pantalla) por si el texto es muy largo */
    overflow-y: auto;       /* Scroll interno si el contenido excede la pantalla */

    /* 3. ESTILO VISUAL */
    background-color: white;
    border: solid 1px #d9d9d9;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Sombra para que resalte más */

    /* 4. GRID INTERNO (Para foto y texto) */
    display: none; /* Oculto inicialmente */
    grid-template-columns: 240px 1fr; /* Columna 1 fija, Columna 2 flexible */
    grid-template-rows: auto 1fr;
    gap: 20px;
    align-items: start;
}
.lightboxContent[style*="display: block"] 
{
    display: grid !important;
}

.lightboxContent h4 {
    grid-column: 1 / 4; /* Se expande de la primera a la última columna */
    grid-row: 1;
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}


.leftImage {
    grid-column: 1/4;
    grid-row: 2/3;
    margin: 0; /* Quitamos los márgenes y floats antiguos */
	align-self: center;
	text-align: center;
}

.leftImage img {
    width: auto; /* Se ajusta al ancho de la columna (240px) */
    height: auto;

	max-width: 100%;
	max-height: 400px	;
    border-radius: 3px;
	filter: drop-shadow(2px 4px 6px black);

	object-fit: contain;
}
.rightText {
    grid-column: 1/4;
    grid-row: 3/4;
    text-align: justify;
    padding: 0;
    margin: 0;
}

