/*Medida para tablets horizontal*/
@media screen and (max-width:1024px) {

}

/*Medida para tablets en vertical*/
@media screen and (max-width:960px) {
	#wrap {
		width: 100%;
	}
	.topnav a {
		line-height: 20px;
	}
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}

	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}
	.topnav.responsive a.minimo { 
		margin:0px;
	}
	.topnav.responsive a.oculto {
		display: none;
	}
}

@media screen and (max-width:800px) {
	.cerebro {
		width: 375px;
		height: 300px;
		background: url('images/cerebro.jpg') no-repeat center center;
	}

	.tres {
		grid-template-columns: repeat(2, 1fr);
	}
	.cinco {
		grid-template-columns: repeat(3, 1fr);
	}
	.galeria { grid-template-columns: repeat(3, 1fr); }

	img {
		max-width: 100%;
		background-size: cover;
		object-fit: cover;
	}
}

/*Medida para tablets en vertical*/
@media screen and (max-width:760px) {
	
@keyframes banner {
	0%{ background-image: url('images/slider-1.jpg'); }
	25%{ background-image: url('images/slider-1.jpg'); }

	26%{ background-image: url('images/slider-2.jpg'); }
	50%{ background-image: url('images/slider-2.jpg'); }

	51%{ background-image: url('images/slider-3.jpg'); }
	75%{ background-image: url('images/slider-3.jpg'); }

	76%{ background-image: url('images/slider-4.jpg'); }
	100%{ background-image: url('images/slider-4.jpg'); }
}

	.dos {
		grid-template-columns: repeat(1, 1fr);
	}
	.cinco {
		grid-template-columns: repeat(2, 1fr);
	}
	

	.justificado { text-align: left; }

	.filosofia-1, .filosofia-2 {
		height: 300px;
	}
	.filosofia-1 { background: url(images/filosofia-1.jpg) no-repeat center center; }
	.filosofia-2 { background: url(images/filosofia-2.jpg) no-repeat center center; }

	.about {
		width: 100%;
		height: 450px;
		background: url(images/about1.jpg) no-repeat top center;
		background-size: 100%;
	}

	.mapa {
		height: 350px;
	}

	#footer {
		padding: 5px;
	}

	#login {
		padding: 20px 10%;
	}
}

@media screen and (max-width:660px) {
	.tres, .cuatro {
		grid-template-columns: repeat(1, 1fr);
	}
	.galeria { grid-template-columns: repeat(2, 1fr); }
}

/*Medida smartphones*/
@media screen and (max-width:500px) {
	.derecha { float: left; }

	.cinco {
		grid-template-columns: repeat(1, 1fr);
	}
	.galeria { grid-template-columns: repeat(1, 1fr); grid-auto-rows: 250px; }

	.vertical { grid-row: span 2; }
	.horizontal { grid-column: span 1; }
	.cuadro {  grid-column: span 1; grid-row: span 1; }

	.filosofia-1, .filosofia-2 {
		height: 240px;
	}
	.filosofia-1 { background: url(images/filosofia-1.jpg) no-repeat center center; }
	.filosofia-2 { background: url(images/filosofia-2.jpg) no-repeat center center; }
	.about {
		height: 380px;
		background: url(images/about1.jpg) no-repeat top center;
	}
	.cerebro {
		width: 300px;
		height: 240px;
		background: url('images/cerebro.jpg') no-repeat center center;
	}
	.retrato {
		height: 200px;
	}
	.eq1 { background: url('images/eq-fernanda.jpg') no-repeat top center; }
	.eq2 { background: url('images/eq-sandra.jpg') no-repeat top center; }
	.eq3 { background: url('images/eq-jorge.jpg') no-repeat top center; }
	.eq4 { background: url('images/eq-monserrat.jpg') no-repeat top center; }
	.eq5 { background: url('images/eq-jazmin.jpg') no-repeat top center; }
}

/*Medida smartphones*/
@media screen and (max-width:400px) {
	.contacto {
		width: 95%;
		padding-bottom: 0px;
	}
	.redes { 
		float: left;
		width: 95%;
		margin-bottom: 30px;
	}
	.informacion, .informacion li {
		margin-bottom: 0;
	}
	.informacion li > i {
		font-size: 25px;
		line-height: 28px;
		width: 40px;
	}
}

/*Medida smartphones*/
@media screen and (max-width:300px) {
	
}

/*Medida smartphones*/
@media screen and (max-width:250px) {
	.topnav.responsive a.oculto {
		display: block;
	}
}