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

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0;
	width: 100%;
	height: auto;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	height: auto;
	width: 100%;
}
.grid img {
	height: auto;	
}

.grid figure figcaption {
	padding: 2em;
	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;
}
.grid2 figure figcaption,
.grid2 figure figcaption > a {
	position: absolute;
	top: 70px!important;
	right: 0!important;
	width: 10%!important;
	height: 10%!important;
    left: 82%!important;
}
.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 h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

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

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

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

/* Individual effects */

/*---------------*/
/***** Lily *****/
/*---------------*/

figure.effect-lily img {
	max-width: none;
	width: -webkit-calc(100% + 50px);
	width: calc(100% + 50px);
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);
}

figure.effect-lily figcaption {
    width: 100%;
    height: 140px;
    text-align: right;
    position: absolute;
    right: 0!important;
}

figure.effect-lily figcaption > div {
	position: absolute;
	bottom:-50%;
	left: 0;
	padding: 2em;
	width: 400px;
	height: 50%;
}

figure.effect-lily h2,
figure.effect-lily p {
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
    
    color: #fff;
    width: 100%;
    bottom: 140px;
    padding: 12px;
    right: 0!important;
    text-align: right;
    position: relative;
}

figure.effect-lily h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
    font-size: 24px;
    background: #00b669;
    width: auto;
    float: right;

}

figure.effect-lily p {
	color: rgba(255,255,255,0.8);
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
    float: right;
    margin: 0;
    
    
}
figure.effect-lily:hover p {
	opacity: 2;
    text-shadow: 0 0 2px #000;
    color: #fff;
}

figure.effect-lily:hover img {
	opacity: 0.7;
}

figure.effect-lily:hover img,
figure.effect-lily:hover h2,
figure.effect-lily:hover p {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-lily:hover p {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}



/*---------------*/
/***** Zoe *****/
/*---------------*/

figure.effect-zoe figcaption {
	top: auto;
	bottom: 0;
	padding: 10px;
	height: 2.3em;
	background: #fff;
	color: #333!important;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-zoe h2 {
	float: left;
    color: #333!important;
    font-family: arial;
    font-size: 14px;
}
figure.effect-zoe h2:hover {
    color: #222;
}

figure.effect-zoe p.icon-links a {
	float: right;
	color: #3c4a50;
	font-size: 1.4em;
}

figure.effect-zoe:hover p.icon-links a:hover,
figure.effect-zoe:hover p.icon-links a:focus {
	color: #252d31;
}

figure.effect-zoe p.description {
	position: absolute;
	bottom: 8em;
	padding: 2em;
	color: #fff;
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	-webkit-backface-visibility: hidden; /* Fix for Chrome 37.0.2062.120 (Mac) */
}

figure.effect-zoe h2,
figure.effect-zoe p.icon-links a {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,200%,0);
	transform: translate3d(0,200%,0);
}

figure.effect-zoe p.icon-links a span::before {
	display: inline-block;
	padding: 8px 10px;
	font-family: 'feathericons';
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-eye::before {
	content: '\e000';
}

.icon-paper-clip::before {
	content: '\e001';
}

.icon-heart::before {
	content: '\e024';
}

figure.effect-zoe h2 {
	display: inline-block;
}

figure.effect-zoe:hover p.description {
	opacity: 1;
}

figure.effect-zoe:hover figcaption,
figure.effect-zoe:hover h2,
figure.effect-zoe:hover p.icon-links a {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-zoe:hover h2 {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-zoe img,
figure.effect-zoe h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-zoe img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
figure.effect-zoe:hover img {
	-webkit-transform: translate3d(0,-40px,0);
	transform: translate3d(0,-40px,0);
}

figure.effect-zoe:hover p.icon-links a:nth-child(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-zoe:hover p.icon-links a:nth-child(2) {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

figure.effect-zoe:hover p.icon-links a:first-child {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/*---------------*/
/***** Roxy *****/
/*---------------*/

figure.effect-roxy {
    max-height: 211px;
    background: #000;
	opacity: 1;
}
.icon-links{
   float: left;
bottom: 0px;
left: 0px;
font-size: 26px;
position: absolute;
width: 40px;
}
figure.effect-roxy img {
	max-width: none;
    opacity: .7;
	width: calc(100% + 60px);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0px,0,0);
	transform: translate3d(0px,0,0);
}

figure.effect-roxy figcaption::before {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 20px;
    left: 20px;
    content: "";
    opacity: 0;
    transition: opacity 0.35s ease 0s, transform 0.35s ease 0s;
    transform: translate3d(-50px, 0px, 0px);
}

figure.effect-roxy figcaption {
	padding: 1em;
	text-align: right;
}

figure.effect-roxy h2 {
	padding:10px 0 0px 0;
    color: #fff;
    font-size: 18px;
    z-index: 999;
}


figure.effect-roxy p {
    text-align: right;
    direction: rtl;
    color: #fff;
    font-size: 12px;
	opacity: 0;
    width: 70%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-10px,0,0);
	transform: translate3d(-10px,0,0);
    z-index: 999;
}

figure.effect-roxy:hover img {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(50px,0,0);
}
figure.effect-roxy:hover figcaption {
    background: url("../img/Package-bg.png") no-repeat right;
    background-position: right;
    opacity: 0.9;

}


figure.effect-roxy:hover figcaption::before,
figure.effect-roxy:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
   
    
}


@media screen and (max-width: 50em) {
	.content {
		padding: 0;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 0 auto;
		width: 100%;
	}
}