
.caja_principal {
	min-height: 110vh;
}

.cabeza_seccion {
	font-size: 3em;
	color: #322e79;
	font-weight: bold;
	margin-left: 10px;
}

#jubilados, #in_memoriam {
	display: none;
}

#backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#backgrounds > img {
  position: absolute;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  transition: visibility 0.5s, opacity 0.5s;
  visibility: hidden;
  opacity: 0;
}
/*
#backgrounds[data-show = "0"] > img:nth-child(1),
#backgrounds[data-show = "1"] > img:nth-child(2),
#backgrounds[data-show = "2"] > img:nth-child(3),
#backgrounds[data-show = "3"] > img:nth-child(4),
#backgrounds[data-show = "4"] > img:nth-child(5) {
  visibility: visible;
  opacity: 1;
}*/


#lessons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  transition: visibility 0.8s, opacity 0.8s;
  visibility: visible;
  opacity: 1;
  z-index: 3;
  /*background: rgba(0, 0, 0, 0.8);*/
}

#lessons:hover {
	/*background: rgba(0, 0, 0, 0.6);*/
}

@media (min-width: 1026px) {
  #lessons {
    display: table;
    overflow: hidden;
  }
  
}

#lessons[aria-hidden = "true"] {
  /*visibility: hidden;
  opacity: 0;*/
}

#lessons .primera {
  position: relative;
  /*padding: 60px 0;*/
  /*cursor: pointer;*/
  height: 100%;
  transition: width 0.5s, background 0.5s, opacity 0.5s;
  opacity: 1.0;
  margin: 0;
  padding: 0;
}

/*#lessons .primera a {
	height: 100%;
	margin: 0;
}*/

#lessons .primera a .text-center {
	color: #fff;
	text-decoration: none;
	display: block;
	border: 1px solid #fff;
	border-radius: 22px;
	text-shadow: 1px 1px 1px #AAAAAA;
	background: rgba(255,255,255,.4);
	position: absolute;
	bottom: 20px;
	left: 0; 
	right: 0;
	width: 120px;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.9em;
	padding: 5px 20px;
	opacity: 0;
	filter:alpha(opacity=0);
	margin-top: 30px;
}
#lessons .primera a .text-center:hover {
	background: #fff;
	text-shadow: none;
	text-decoration: none;
	color: #102360;
}

#lessons .primera:hover .text-center {
	opacity: 1;
	filter:alpha(opacity=100);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

#lessons .primera:hover a p span:nth-child(3) {
	opacity: 1;
	filter:alpha(opacity=100);
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
    background: none;
}

#lessons .primera:hover a p span:nth-child(1),
#lessons .primera:hover a p span:nth-child(2),
#lessons .primera:hover a p span:nth-child(3) {
	background: none;
}

/*#lessons .primera:nth-child(2) { background-image: url('imgs/bg2.png'); }*/
/*#lessons .primera:nth-child(3) { background-image: url('imgs/bg3.png'); }
#lessons .primera:nth-child(4) { background-image: url('imgs/bg4.jpg'); }
#lessons .primera:nth-child(5) { background-image: url('imgs/bg5.png'); }
#lessons .primera:first-child { background-image: url('imgs/bg1.png'); }*/

#lessons .primera:nth-child(1):hover + #lessons .primera:nth-child(1)::after {
	opacity: 1.0;
}
#lessons .primera:nth-child(1)::after {
	background-image: url('imgs/bg1.png');
	background-size: cover;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	/*opacity: 0.6;*/
	opacity: 1;
}

.grid-item:hover div {
		opacity: 1;
	}
#lessons .primera:nth-child(2)::after {
	background-image: url('imgs/bg2.png');
	background-size: cover;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 1;
}
#lessons .primera:nth-child(3)::after {
	background-image: url('imgs/bg3.png');
	background-size: cover;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 1;
}
#lessons .primera:nth-child(4)::after {
	background-image: url('imgs/bg4.jpg');
	background-size: cover;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 1;
}
#lessons .primera:nth-child(5)::after {
	background-image: url('imgs/bg5.png');
	background-size: cover;
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 1;
}

@media (min-width: 1026px) {
	#lessons > .primera {
		display: table-cell;
		vertical-align: middle;
		width: 20%;
		height: 100%;
		padding: 18px 0;
		padding-bottom: 0;
	}
}

#lessons > .primera:hover {
  background: rgba(0, 0, 0, 0.8);
  /*opacity: 1;*/
  opacity: 1;
	filter:alpha(opacity=100);/*position where      
    enlarged image should offset horizontally */
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

@media (min-width: 1026px) {
  #lessons > .primera {
    width: 19%;
  }

  #lessons > .primera:hover {
    width: 24%;
    z-index: 2;
  }
}

@media (max-width: 1025px) {
  #lessons > .primera:after {
    position: absolute;
    width: 100%;
    height: 1px;
    right: 0;
    bottom: 0;
    content: '';
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

@media (min-width: 1026px) {
  #lessons > .primera:before {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 50%;
    left: 0;
    content: '';
    transform: translateY(-50%);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  #lessons > .primera:after {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 50%;
    right: 0;
    content: '';
    transform: translateY(-50%);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

#lessons .inner {
	width: 100%;
	height: 100%;
	margin: 0!important;
	padding: 0!important;
	text-align: center;
	transition: transform 0.5s;
	position: relative;
}

#lessons .inner p {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#lessons .title {
  font-size: 18px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
}

#lessons .primera .inner a {
	display: block;
	width: 100%;
	height: 106%;
	/*line-height: 270px;*/
	margin: 0!important;
	padding: 15px;
	color: #fff;
	text-decoration: none;
	background: transparent;
	transition: background 0.5s;
	font-size: 14px;
	position: absolute;
	top: -20px;
}

#lessons .primera a span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
	font-weight: normal;
	width: 100%;
}

#lessons .primera a p span:first-child {
	padding-top: 30px;
	font-size: 0.8em;
	background: rgba( 0, 0, 0, 0.4 );
}
#lessons .primera a p span:nth-child(2) {
	font-size: 1.3em!important;
	padding-bottom: 20px;
	background: rgba( 0, 0, 0, 0.4 );
}
#lessons .primera a p span:nth-child(3) {
	font-size: 1em;
	color: #fff;
	opacity:0;
	/*background: rgba( 0, 0, 0, 0.4 );*/
	padding: 10px;
	padding-bottom: 20px;
}

#lessons .primera a:focus {
  /*border: 1px solid #00d200;*/
  box-shadow: 0 0 15px #007700;
}

#lessons .primera a:hover {
	/*background: rgba(8, 100, 4, 0.6);*/
	background: rgba(0, 0, 0, 0.5);
	/*opacity: 1;*/
	opacity: 1;
	filter:alpha(opacity=100);/*position where      
    enlarged image should offset horizontally */
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
/*
#lessons img {
  display: block;
  max-width: 140px;
  width: 100%;
  margin: 0 auto;
}*/

@media (min-width: 1026px) {
  #lessons img {
    width: 90%;
    padding: 40px 0;
  }
}

.caja_proyectos h2 {
	font-size: 2em;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}

.caja_proyectos h2 strong {
	font-size: 1.5em;
	color: #2280a0;
}

.caja_proyectos h3 {
	font-size: 1.5em;
	text-align: center;
	margin: 0 9%;
}

	.caja_sticky {
		top: 40px;
		padding-top: 108px;
	}

	.filtros {
		background-image: url('/images/textura.png');
		background-size: cover;
		padding: 4%;
		padding-bottom: 1%;
		color: #fff;
	}
	
	.filtros .form-group {
		margin-bottom: 25px;
	}

	.caja_fondo {
		background-image: linear-gradient(to bottom, #302a7d, #3a5ca5);
		margin-bottom: 40px;
	}
	
	.quitar_filtro {
		vertical-align: middle;
		background: #dddddd;
		border-color: #ccc;
	}
	
	.quitar_filtro:hover {
		background: #f6f6f6;
		border-color: #ccc;
	}
	
	.quitar_filtro span {
		vertical-align: middle;
		font-size: 0.65em;
	}
	
	.quitar_filtro i:first-child {
		color:#322e79;
		vertical-align: middle;
	}
	
	.quitar_filtro i:last-child {
		color:Tomato;
	}
	
	.m_arriba {
		position: fixed;
		top: 150px;
    	-webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,.3);
		-moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,.3);
		box-shadow: 0px 1px 3px 0px rgba(0,0,0,.3);
		width: 25%;
		margin-top: 0px
    }


.animado {
	position: relative;
	height: 700px;
	width: 100%;
}

.animado div:first-child {
	background-image: linear-gradient(to bottom, #222F6E , #991F80);
	height: 658px;
	width: 334px;
	position: absolute;
	bottom: 10px;
	left: 90px;
}

.animado div:nth-child(2) {
	background-color:#2280a0;
	height: 382px;
	width: 734px;
	position: absolute;
	bottom: 0;
	left: 120px;
}

.animado div:last-child {
	background-color:#00748B;
	height: 480px;
	width: 370px;
	position: absolute;
	bottom: 10px;
	left: 120px;
	overflow: hidden;
	opacity: 0;
}

.animado img {
	width: 100%;
	heigth: auto;
}
/*
.animado div:first-child {
	background-image: linear-gradient(to bottom, #222F6E , #991F80);
	height: 658px;
	width: 334px;
	position: absolute;
	bottom: 10px;
	left: 90px;
}

.animado div:nth-child(2) {
	background-color:#2280a0;
	height: 382px;
	width: 734px;
	position: absolute;
	bottom: 0;
	left: 120px;
}

.animado div:last-child {
	background-color:#00748B;
	height: 480px;
	width: 370px;
	position: absolute;
	bottom: 10px;
	left: 120px;
	overflow: hidden;
	opacity: 0;
}*/



.animadob {
	position: relative;
	height: 700px;
	width: 100%;
}

.animadob div:first-child {
	background-image: linear-gradient(to bottom, #222F6E , #991F80);
	height: 84%;
	width: 43%;
	position: absolute;
	bottom: 10px;
	left: 12%;
}

.animadob div:nth-child(2) {
	background-color: #2280a0;
	/*background-image: linear-gradient(to right, #2280a0 , #222F6E);*/
	background-image: url('imgs/edificio_iisue.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 49%;
	width: 70%;
	position: absolute;
	bottom: 0;
	left: 15%;
}

.animadob div:last-child {
	background-color: #00748B;
	background-image: url('imgs/edificio_estructura.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 62%;
	width: 48%;
	position: absolute;
	bottom: 10px;
	left: 15%;
	/*overflow: hidden;
	/*opacity: 0;*/
}



/*.animadob img {
	width: 100%;
	heigth: auto;
}*/

.fulljustify {
  text-align: justify;
}
.fulljustify:after {
  content: "";
  display: inline-block;
  width: 100%;
}

.caja_areas {
	position: relative;
	height: 400px;
}


.caja_seminarios {
	background-image: linear-gradient(to right, #00748B , #102360);
}

.infinite-item {
	opacity: 0;
}

.grid_p, .grid_nap {
	float: left;
	width: 100%;
}

.element-item.transition { background: #0F8; background: hsl( 144, 100%, 50%); }

.quitar_filtro {
	display: none;
}

#no_activos {
	display:none;
}

.grid_p:after, .grid_nap:after {
	  content: '';
	  display: block;
	  clear: both;
	}

	.grid_ip, .grid_ipn {
		float: left;
		overflow: hidden;
		margin-bottom: 20px;
		position: relative;
		height: auto;
	}

	.grid_invest {
		width: 18%;
		margin-right: 2%;
		height: auto!important;
	}

	.grid_ip a, .grid_ipn a {
		display: block;
		width: 100%;
		height: 100%;
		float: left;
		position: relative;
		top: 0;
		left: 0;
		background: #fff;
		border: 1px solid transparent;
	}

	.grid_ip img, .grid_ipn img {
		width: 100%;
		height: 100%;
		-webkit-filter: grayscale(100%);
		filter: grayscale(100%);
	}

	.grid_ip a:hover img, .grid_ipn a:hover img {
		-webkit-filter: grayscale(0);
		filter: grayscale(0);
	}

	.grid_ip a p, .grid_ipn a p {
		font-size: 0.85em;
		color: #fff;
		margin: 3%;
		text-align: center;
		float: left;
		position: absolute;
		bottom: 0;
		left: 0;
		padding: 5px;
		width: 94%;
		background: rgba(35,125,162,.7);
		overflow: hidden;
		opacity:0;
	}

	.grid_ip a:hover p, .grid_ip a:hover, .grid_ipn a:hover p, .grid_ipn a:hover {
		opacity: 1;
		filter: alpha(opacity=100);
	    -webkit-transition: all 1s ease-in-out;
	    -moz-transition: all 1s ease-in-out;
	    -o-transition: all 1s ease-in-out;
	    transition: all 1s ease-in-out;
	}
	
	.grid_ip .nd, .grid_ipn .nd{
		padding: 30px 20px;
		height: 100%;
		display: block;
		background: #fff;
		border-color: #707070;
		-webkit-filter: grayscale(0);
		filter: grayscale(0);
	}

	.caja_investigadores {
		background-image: url('../images/seccion_investigadores.png');
		padding: 30px;
		background-size: cover;
	}
	
	.caja_investigadores h2 {
		color: #fff;
		font-family: 'Noto Sans', sans-serif;
        font-size: 2em;
        text-align: left;
        margin-bottom: 60px;
	}
	
	.banner_investigador {
        float: left;
        margin-bottom: 40px;
    }

    .banner_investigador a img {
        width: 40%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        /*border: 1px solid #ccc;
        -webkit-box-shadow: 0px 1px 1px 0px rgba(188, 188, 188, 0.75);
        -moz-box-shadow:    0px 1px 1px 0px rgba(188, 188, 188, 0.75);
        box-shadow:         0px 1px 1px 0px rgba(188, 188, 188, 0.75);*/
    }

    .banner_investigador a {
        font-size: 1em;
        text-decoration: none;
        color: #fff;
        padding: 20px!important;
        border: none;
        margin: 0;
        text-align: center;
        width: 100%;
        display: table;display: table;
        float: left;
        height: 100%;
        background:  rgba(255, 255, 255, 0.3);
        
        /*border: 1px solid transparent;*/
    }
    .banner_investigador a:hover {
        /*border-color: #fff;*/
        text-decoration: none;
        background:  rgba(255, 255, 255, 0.5);
    }
    
    .banner_investigador a > div {
		width: 100%;
		display: table-row;
	}
    
    .banner_investigador a span {
		display: block;
		font-size: 1em;
	}
	
    .banner_investigador a span:last-child {
		font-size: 0.8em;
		color: #f6f6f6;
	}
    .banner_investigador a p {
        width: 100%!important;
        margin: 0;
        padding: 0;
        text-align: center;
        color:#fff;
    }
    .banner_investigador a span {
        font-size: 0.9em;
        color:#fff;
    }

    .banner_investigador .swiper-slide {
        background: none;
        height: auto;
    }
    
	@media (max-width:1645px) {
		.grid_invest {
			width: 18%;
			margin-right: 2%;
		}

	}
	
	@media (max-width:1240px) {
		.grid_invest {
			width: 20%;
			margin-right: 5%;
		}
	}

	@media (max-width:992px) {
		.grid_invest {
			width: 30%;
			margin-right: 3.3%;
		}
		
		.grid_ip a p {
			-webkit-line-clamp: 3;
		}
		
		.grid_p .grid_ip:last-child {
			display: block;
		}
		
		.grid_nap .grid_ipn:last-child {
			display: block;
		}
		
		h1 {
			font-size: 2.6em;
		}
		
		h3 {
			font-size: 1.8em;
		}
		
		.caja_areas {
			height: 1400px;
		}
		
		#lessons .primera {
			height: 280px;
		}
		
		#lessons .primera:nth-child(1)::after,
		#lessons .primera:nth-child(2)::after,
		#lessons .primera:nth-child(3)::after,
		#lessons .primera:nth-child(4)::after,
		#lessons .primera:nth-child(5)::after {
			top: 0;
		}
		
		#lessons a p span:nth-child(3) {
			font-size: 0.9em;
			opacity:1;
		}
		
		#lessons .primera .inner a {
			height: 100%;
			top: 0;
		}
	}

@media (max-width: 767px) {
	.animadob {
		height: 310px
	}
	
	h1 {
		font-size: 2.3em;
	}
	h3 {
		font-size: 1.4em;
	}
	
	.caja_fondo {
		margin-top: 0;
	}
}

@media (max-width:576px) {
	.grid_invest {
		width: 45%;
		margin-right: 5%;
	}
	
	.grid_p .grid_ip:last-child {
		display: block;
	}
	
	.grid_ip a p {
		-webkit-line-clamp: 2;
	}
	
	.animadob {
		height: 250px;
	}
	h1 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.2em;
	}
}


.custom-control-lg .custom-control-label::before,
.custom-control-lg .custom-control-label::after {
    top: 0.1rem !important;
    left: -2rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.custom-control-lg .custom-control-label {
    margin-left: 0.5rem !important;
    font-size: 1rem !important;
}

.custom-control-lg {
	margin-bottom:20px;
}

.custom-control-lg:last-child {
	margin-bottom:0;
}

.lista li {
    font-size: 30px;
    color: #237da2;
    line-height: 30px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.lista li span {
    font-size: .55em;
    color: #000;
    vertical-align: top;
}



