.grid {
	position: relative;
	margin: 0 auto;
	/*margin-bottom: 30px;*/
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	/*float: left;*/
	overflow: hidden;
	/*margin-bottom: 30px;*/
	/*min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%;*/
	background: rgb(255,255,255);
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	/*min-height: 100%;
	max-width: 100%;*/
	opacity: 0.8;
	width: 100%;
	height: auto;
}

.grid figure figcaption {
	/*padding: 2em;*/
	color: rgb(255,255,255);
	/*text-transform: uppercase;*/
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.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%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h1 {
	/*word-spacing: -0.15em;*/
	font-weight: 300;
}

.grid figure h1 span {
	font-weight: 800;
}

.grid figure h1,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}



/* Individual effects */

/*---------------*/
/***** Ruby *****/
/*---------------*/

figure.effect-ruby {
	background-color: rgb(255,255,255);
}

figure.effect-ruby img {
	opacity: 0.8;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-ruby:hover img {
	opacity: 0.9;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

figure.effect-ruby h1 {
	margin-top: 20%;
	color: rgb(47,47,47);
	font-weight: 700;
	-webkit-transition: color 0.25s ease-out;
  	-moz-transition: color 0.25s ease-out;
  	-ms-transition: color 0.25s ease-out;
  	-o-transition: color 0.25s ease-out;
  	transition: color 0.25s ease-out;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	/*-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);*/
}

/*figure.effect-ruby h1:hover {
	margin-top: 20%;
	color: rgb(253,59,59);
}

figure.effect-ruby p {
	margin: 1em 0 0;
	padding: 3em;
	border: 1px solid #fff;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
}*/

figure.effect-ruby:hover h1 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*figure.effect-ruby:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}
figure.effect-ruby figcaption i {
	opacity: 0;
	-webkit-transition: opacity 0.55s, -webkit-transform 0.35s;
	transition: opacity 0.55s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	position: absolute;
    font-size: 30pt;
    top: 50%;
    margin-top: -15pt;
    left: 50%;
    margin-left: -10pt;
}

figure.effect-ruby:hover figcaption i {
	opacity: 0.8;
	-webkit-transform: scale(1);
	transform: scale(1);
}/*





/* Individual effects */

/*-------------------*/
/***** Grayscale *****/
/*-------------------*/

figure.effect-ruby {
	background-color: rgb(255,255,255);
}

figure.effect-grayscale img {
	filter: url('#grayscale'); /* Versión SVG para IE10, Chrome 17, FF3.5, Safari 5.2 and Opera 11.6 */
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%); /* Para cuando es estándar funcione en todos */
	filter: Gray(); /* IE4-8 and 9 */
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	opacity: 0.5;
	cursor: default;
}

figure.effect-grayscale:hover img {
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-ms-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	filter: none;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	opacity: 1;
}






/* ---------- MEDIAs ---------- */
@media (max-width: 599px) {
}

@media (min-width: 600px) and (max-width: 991px){
}

@media (min-width: 992px) and (max-width: 1199px){
}

@media (min-width: 1200px){

}