.grid-hover {
	position: relative;
	margin: 0 auto;
	padding: 0 20px !important;
	width: 100%;
	list-style: none;
	text-align: center;
}
.grid-hover.push-col {
	margin-left:25%;
}

/* Common style */
.grid-hover figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	width: 23%;
	background: #000;
	text-align: center;
	cursor: pointer;
	border-radius: 30px 0px 30px 0px;
	-moz-border-radius: 30px 0px 30px 0px;
	-webkit-border-radius: 30px 0px 30px 0px;
}

.grid-hover figure img {
	position: relative;
	display: block;
	width: 100%;
	opacity: 1;
}

.grid-hover figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid-hover figure figcaption::before,
.grid-hover figure figcaption::after {
	pointer-events: none;
}

.grid-hover figure figcaption,
.grid-hover 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-hover figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid-hover figure h2 {
	font-size:18px;
	line-height:20px;
	font-weight: 600;
	color:#fff;
        border:none;
}

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

.grid-hover figure p {
	font-size:12px;
	line-height:30px;
	font-weight:600;
}

/* Individual effects */

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

figure.effect-lily img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

figure.effect-lily figcaption {
	text-align: left;
	border-radius: 30px 0px 30px 0px;
	-moz-border-radius: 30px 0px 30px 0px;
	-webkit-border-radius: 30px 0px 30px 0px;
	border: 0px solid rgb(198, 33, 39);
    border: 0px solid rgba(198, 33, 39, 0);
	-webkit-transition: border 0.2s ease;
	transition: border 0.2s ease;
}

figure.effect-lily figcaption.green {
	border: 0px solid rgb(133, 191, 0);
        border: 0px solid rgba(133, 191, 0, 0);
}

figure.effect-lily figcaption > div {
	position: absolute;
	bottom: 0;
	left: -10px;
	padding:0px 30px;
	width: -webkit-calc(100% + 20px);
	width: calc(100% + 20px);
	height: 100px;
	background-color:#c62127;
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-lily figcaption.green > div {
	background-color:#85bf00;
}

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

figure.effect-lily h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

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

figure.effect-lily:hover figcaption {
	border: 5px solid rgba(198, 33, 39, 1);
}

figure.effect-lily:hover figcaption.green {
	border: 5px solid rgba(133, 191, 0, 1);
}

figure.effect-lily:hover figcaption > div {
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

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

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

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

figure.effect-lily:hover p {
	-webkit-transform: translate3d(0,0px,0);
	transform: translate3d(0,0px,0);
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}


@media screen and (max-width: 960px) {
	.grid-hover figure h2 {
		font-size:16px;
	}
}
@media screen and (max-width: 768px) {
	.grid-hover.push-col {
		margin-left:0%;
	}
	.grid-hover figure {
		margin: 10px 1%;
		width: 48%;
	}
	figure.effect-lily figcaption > div {
		height: 110px;
		-webkit-transform: translate3d(0,50px,0);
		transform: translate3d(0,50px,0);
	}
}
@media screen and (max-width: 480px) {
	.grid-hover {
		padding: 0 40px !important;
	}
	.grid-hover figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
	figure.effect-lily figcaption > div {
		height: 140px;
		-webkit-transform: translate3d(0,50px,0);
		transform: translate3d(0,50px,0);
	}
}
@media screen and (max-width: 360px) {
	figure.effect-lily figcaption > div {
		height: 120px;
		-webkit-transform: translate3d(0,60px,0);
		transform: translate3d(0,60px,0);
	}
}