@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'feathericons';
	src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
	src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
		url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
		url('../fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'),
		url('../fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}

.wrap-grid-width {
    margin: 0 auto;
    padding: 0px 0px 0 100px;
    max-width: 1100px;
}

.wrapper-grid-center {
    margin: 0 auto;
}

.grid {
	position: relative;
	margin: 0 auto;
	padding: 0px;
	max-width: 100%;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px;
        
	min-width: 320px;
	max-width: 480px;
	max-height: 260px;
	width: 48%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

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

.grid figure figcaption {
	
	color: #fff;
	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%;
}







/* Individual effects */


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

figure.effect-ruby {
	background-color: #1b315a;
}

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

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

figure.effect-ruby h2 {
font-weight:700;font-size:1.5em;line-height:1.2;
text-shadow:0 0 20px #1b315a;padding:30px;margin:50px 50px 30px 50px;
background:rgba(0, 0, 0, 0.2);
border:solid #3e97d1 5px;
	-webkit-transition: -webkit-transform 0.15s;
	transition: transform 0s;
	-webkit-transform: translate3d(0,0px,0);
	transform: translate3d(0,0px,0);
}

figure.effect-ruby p {
	margin: 0;
	background:rgba(0, 0, 0, 0.6);
	
	opacity: 0;
text-transform:none;
line-height:1.2;

	-webkit-transition: opacity 0.15s, -webkit-transform 0.45s;
	transition: opacity 0.45s, transform 0.45s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
} 

figure.effect-ruby:hover h2 {
font-size:1.5em;
font-weight:700;
padd ing:50px;
border-bottom:solid #fff 0px;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0) scale(0);
}

figure.effect-ruby:hover p {text-align:left;font-size:0.9em;
margin:-220px 0px 60px 0px;padding:30px 60px 60px 60px;
	opacity: 1;border-top:solid #3e97d1 7px;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1.2);
}

figure.effect-ruby:hover p span{text-align:left;
font-weight:700;font-size:1.2em;line-height:1;
}




/*---------------*/




@media screen and (max-width: 768px) {

.wrap-grid-width {
    margin: 0 auto;
    padding: 0px 0px 0 0px;
    max-width: 100%;
}


/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 0px;
        
	min-width: 320px;
	max-width: 480px;
	max-height: 260px;
	width: 100%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}


figure.effect-ruby h2 {
font-weight:700;font-size:1em;line-height:1.2;
text-shadow:0 0 20px #1b315a;padding:30px;margin:60px 30px 30px 30px;
background:rgba(0, 0, 0, 0.2);
border:solid #3e97d1 5px;
	-webkit-transition: -webkit-transform 0.15s;
	transition: transform 0s;
	-webkit-transform: translate3d(0,0px,0);
	transform: translate3d(0,0px,0);
}




figure.effect-ruby:hover p {text-align:left;
margin:-250px 0px 60px 0px;padding:30px 40px 60px 40px;
	opacity: 1;font-size:0.7em;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1.2);
}

figure.effect-ruby:hover p span{text-align:left;
font-weight:700;font-size:1.2em;line-height:1;
}



}