.grid {
	position: relative;
	max-width: 2000px;
	list-style: none;
	text-align: center;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;	
	padding-right: 0;
	padding-bottom: 80%;
	padding-left: 0;
}
.mini {
	font-size: 0.5em;
}

.fondomorado1{
	background-image: url(../imagenes/fondo-morado.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}

.fondorojo1{
	background-image: url(../imagenes/fondo-rojo.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}

.fondoamarillo1{
	background-image: url(../imagenes/fondo-amarillo.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}

.fondoazul1{
	background-image: url(../imagenes/fondo-azul.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}

.fondoverde1{
	background-image: url(../imagenes/fondo-verde.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}

.fondorecursos1{
	background-image: url(../imagenes/fondo-recursos.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000109;
	background-position: -20px 0px;
}
.gris {
	background-color: #657275;
	border-radius:10px;
}
.img-titulo {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 20px;	
}

/* Common style */
.grid figure {
	float: left;
	overflow: hidden;
	min-width: 350px;
	text-align: left;
	cursor: pointer;
	margin-top: 0px;
	margin-right: 2%;
	margin-bottom: 0px;
	margin-left: 0%;
	position: relative;
	/*background-color: #FF0000;*/
	background-repeat: no-repeat;
	padding-bottom: 25px;
	padding-top:10px;
	padding-right: 0px;
}



.grid figure img {
	position: relative;
	display: block;
	min-height: 40%;
	max-width: 10%;	
	/*opacity: 0.9;*/
}

.grid figure figcaption {
	padding: 0em;
	color: #fff;
	/*text-transform: uppercase;*/
	font-size: 1.4em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	margin: 0px;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;


}




.grid figure h2 {
	font-size: 1.3em;
	margin: 0px;
	padding: 0px;
	line-height: 30px;
	/*font-family: 'Barlow', sans-serif;*/
	text-shadow: -1px 3px 2px rgba(0, 0, 0, 0.3);
	font-weight: 200;
}

.grid figure h2 span {
	font-weight: 800;
	font-size: 1.4em;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

/*.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}*/

/*---------------*/
/***** Marley *****/
/*---------------*/

figure.effect-marley figcaption {
	text-align: right;
}

figure.effect-marley h2,
figure.effect-marley p {
	position: absolute;
	right: 40px;
	left: 40px;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	color: #FFF;
}



figure.effect-marley p {
	bottom: -30px;
	/*line-height: 1.5;*/
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-marley h2 {
	top: 0px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,15px,0);
	
}

figure.effect-marley:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-marley h2::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #ffff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-marley h2::after,
figure.effect-marley p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-marley:hover h2::after,
figure.effect-marley:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.icon-eye::before {
	content: '\e000';
}

.icon-paper-clip::before {
	content: '\e001';
}

.icon-heart::before {
	content: '\e024';
}

@media screen and (max-width: 50em) {
	.content {
	text-align: center;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
	}
	.img-gif {	
	display: none;
}
	.grid figure {
	display: block;
	width: 100%;
	max-width: 300px;
	max-height: 100px;
	margin-top: 5px;
	margin-bottom: 5px;
	left: 40px;
	border-radius: 0px;
	margin-right: 5px;
	}
	
	.grid figure h2 {
	word-spacing: none;
	font-weight: 300;
	font-size: 0.7em;
	margin-top: -10px;
	line-height: 20px;
}

.grid {
	max-width: 350px;
}	
}
