
#hola {
	background: #eaeaea;
}

#espacio_galeria {
	margin-top: 120px;
	margin-bottom: 0px;
	height: 0;
	background-color: #eaeaea;
}
#espacio_galeria .espacio {
	background-color: #fff;
	height: 50px;
}

/* Inicia INSTALACIONES */

#instalaciones {
	margin-top: 160px;
	padding: 0;
	margin: 0;
	background-color: #cd4b36;
	height: 300px;
}

#instalaciones .contenedor {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#instalaciones .contenedor #titulo {
	width: 100%;
	height: auto;
	margin: 0px;
}

#instalaciones .contenedor #titulo p {
	padding-top: 10.5%;
	padding-left: 5%;
	color: #fff;
	text-align: justify;
	font-size: 1.5em;
}
#instalaciones .contenedor #chico {
	width: 100%;
	height: auto;
	margin: 0px;
}

#instalaciones .contenedor #chico img {
	width: 100%;
	max-width: 596px;
	margin: auto;
}

/* INICIA GALERIA */
.galeria {
	width: 100%;
	margin: auto;
	list-style: none;
	padding: 20px;
	box-sizing: border-box;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li {
	margin: 5px;
}

.galeria img {
	width: 300px;
	height: auto;

	/*border-radius: 4px;*/
}

/* ESTILOS MODAL */

.modal {
	display: none;
}

.modal:target {
	display: block;
	margin-top: 220px;
	position: fixed;
	background: rgba(0, 0, 0, 0.8);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal h3 {
	color: #fff;
	font-size: 20px;
	text-align: center;
	margin: 15px 0;
}

.imagen {
	width: 100%;
	height: auto;

	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen a {
	color: #fff;
	font-size: 30px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen a:nth-child(2) {
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img {
	width: 750px;
	height: auto;
	max-width: 100%;
	border: 4px solid #fff;
	box-sizing: border-box;
}

.cerrar {
	display: block;
	background: #fff;
	width: 18px;
	height: 18px;
	margin: 5px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 8px;
	border-radius: 50%;
	line-height: 25px;
}

/* Media Querys INSTRUCTORES*/

@media (min-width: 480px) {

	#espacio_galeria {
		height: 30px;
	}

	.galeria {
		width: 100%;
		margin: auto;
		background-color: #fff;
	}

	.galeria img {
		width: 280px;
		height: auto;
	}

}

@media (min-width: 600px) {

	.modal:target {
		margin-top: 160px;
	}
}

@media (min-width: 1024px) {
	

	.galeria {
		width: 100%;
		margin: auto;
	}

	

}

