.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor:  none;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.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;
}

.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: 68.5%;
}



/*---------------*/
/***** Ming *****/
/*---------------*/
figcaption{position: absolute; top: 0; left:0; text-align: left; width: 100%; height: 100%;}


figure.effect-ming {
	background: #000;
	position:relative;
}

figure.effect-ming img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid #fff;
	box-shadow: 0 0 0 15px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 10% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	text-align:center;
	font-size:20px;
    font-weight:500;
	padding:0px 40px;
    color:#cc0000;
}

figure.effect-ming h2 span{color:#fff; font-size:20px;}


figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);	
}


figure.effect-ming h3 {
	margin: 2% 0 0 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	text-align:center;
	font-size:14px;
    font-weight:300;
	padding:0px 10px;
    color:#fff;
}

figure.effect-ming h3 span{color:#fff; font-size:13px;}


figure.effect-ming:hover h3 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);	
}



figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming img {
	opacity: 0.2;
}

figure.effect-ming:hover img {
	opacity: 1;
}


/*-----------------*/
/***** Goliath *****/
/*-----------------*/

figure.effect-goliath figcaption{ position: absolute;  bottom: 0; left: 0; text-align: left;  width: 100%;  height: 100%; background-color: rgba(0, 0, 0, 0.3);}


figure.effect-goliath {
	background: #cc0000;
}

figure.effect-goliath img,
figure.effect-goliath h4 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}


figure.effect-goliath img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath h4,
figure.effect-goliath p {
	position: absolute;	
	left: 0;	
    text-align:left;    
}

figure.effect-goliath h4 {
	width:100%;
    padding: 10px;
    bottom: 0px;
    background-color:rgba(0, 0, 0, 0.5);
    color:#cc0000;
}

figure.effect-goliath p {
	text-transform: none;
	font-size: 90%;
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
    background-color:rgba(0, 0, 0, 0.5);
    padding: 10px;
    bottom: 50px;
    color:#fff;
    line-height:20px;
}

figure.effect-goliath:hover img {
	-webkit-transform: translate3d(0,-80px,0);
	transform: translate3d(0,-80px,0);
}

figure.effect-goliath:hover h4 {
	-webkit-transform: translate3d(0,-24px,0);
	transform: translate3d(0,-24px,0);
    color:#000;
    background:none;
}

figure.effect-goliath:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
    background:none;
}

figure.effect-goliath:hover figcaption {
     background-color: rgba(0, 0, 0, 0);
}


/*---------------*/
/***** Press *****/
/*---------------*/

figure.effect-press {
	background: #000;
	position:relative;
}

figure.effect-press img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-press figcaption::before {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-press:hover figcaption::before{
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-press:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-press img {
	opacity: 0.5;
}

figure.effect-press:hover img {
	opacity: 1;
}



/*---------------*/
/***** Lily *****/
/*---------------*/
.menu li figure.effect-lily {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 150px;
    text-align: left;
    cursor: none;
    padding: 10px 20px;
}

figure.effect-lily figcaption {
	text-align: left;
}

figure.effect-lily figcaption > div {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 2em;
	width: 100%;
	height: 90%;
	line-height:24px;
}

figure.effect-lily h2,
figure.effect-lily p {
	-webkit-transform: translate3d(0,100px,0);
	transform: translate3d(0,100px,0);
	text-align:left;
}

figure.effect-lily h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	color:#fff;
	font-size:20px;
}

figure.effect-lily p {
	color: rgba(255,255,255,1);
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
	margin-left:10px;
}

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 
{
    opacity: 1;
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}


figure.effect-lily:hover h2{color:#000;}
figure.effect-lily .fa{margin-right:10px;}
figure.effect-lily a{padding:0 !important; font-size:16px !important; color:#fff;}





/*---------------*/
/***** Lexi *****/
/*---------------*/

.product-list li .product-pic figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: auto;
    text-align: center;
    cursor: none;
}

figure.effect-lexi img {
	margin: -10px 0 0 -10px;
	max-width: none;
	width: -webkit-calc(100% + 10px);
	width: calc(100% + 10px);
	opacity: 0.9;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(10px,10px,0);
	transform: translate3d(10px,10px,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-lexi figcaption::before,
figure.effect-lexi p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-lexi figcaption::before {
	position: absolute;
	right: 27%;
	top: 18%;
	width: 100px;
	height: 100px;
	border: 1px solid #000;
	border-radius: 50%;
	box-shadow: 0 0 0 900px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transform: scale3d(0.5,0.5,1);
	transform: scale3d(0.5,0.5,1);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

figure.effect-lexi:hover img {
	opacity: 0.6;
}

figure.effect-lexi p {
	position: absolute;
	right: 15%;
	top: 38%;
	padding: 0 1.5em 1.5em 0;
	width: 100px;
	text-align: right;
	opacity: 0;
	-webkit-transform: translate3d(0px,0px,0);
	transform: translate3d(0px,0px,0);
	font-size:2.5em;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

figure.effect-lexi:hover figcaption::before {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-lexi:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	color:#000;
}

figure.effect-lexi p a:hover {
	color:#ccc;
}





/* Media queries */
@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
	
	

}



@media screen and (max-width: 768px) {
figure.effect-lexi figcaption::before{right: 37%; top: 28%;}
figure.effect-lexi p {right: 28%; top: 42%;}

    figure.effect-ming h2{font-size: 2vw;  margin: 3% 0 6px 0;  padding: 0px 10px;}
	 figure.effect-ming h2 span{font-size: 2vw;}

     figure.effect-ming h3{margin:0; font-size: 8px;}
}


@media screen and (max-width: 480px) {
figure.effect-lexi figcaption::before{width: 50px; height: 50px; right: 30%; top: 26%;}
figure.effect-lexi p {right: -14%; top: 33%;}
}


@media screen and (max-width: 375px) {
 figure.effect-ming h2{font-size: 5vw;  margin: 6% 0 10px 0;}
 figure.effect-ming h2 span{font-size: 2vw;}
}


