/*.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: 0;
	width: 100%;
	height: auto;
	background: #dff8fb;
	text-align: left;
	cursor: pointer;
}

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

.grid figure img#img02 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.grid figure img#img03 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

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





/*---------------*/
/***** Lily *****/
/*---------------*/
.grid figure {border-radius:25px;}


figure.effect-lily img {
	border-radius:25px;
	max-width: none;
	opacity: 1;
	
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-lily:hover img {opacity: 1;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);}


figure.effect-lily figcaption {
	text-align: left;
}

figure.effect-lily figcaption > div {
	
	position: absolute;
	bottom: 0;
	left: 0;
	
	width: 530px;
	height: 39%;
}

figure.effect-lily h2 {
	background: url("../images/happenings_btn_bg.png") center center repeat ;
	font:600 1.4em/1.15em 'Noto Sans TC', sans-serif;;
	width:480px; height:60px;
	color:#fff;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
	padding: 10px 25px 10px 25px;
	}

figure.effect-lily h3{
	background: url("../images/happenings_btn_bg.png") center center repeat ;
	font:400 0.85em/1.75em 'Noto Sans TC', sans-serif;;
	color: #fff;
	width:480px;
	
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,50px,0);
	padding: 0 25px 30px 25px;
	}

figure.effect-lily p {
	font:400 0.85em/1em 'Noto Sans TC', sans-serif;;
	background: url("../images/happenings_btn_bg.png") center center repeat ;
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,50px,0);
	padding: 0 25px 50px 25px;
}

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

figure.effect-lily p {
	color: rgba(255,255,255,1);
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

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


figure.effect-lily:hover h2,
figure.effect-lily:hover h3,
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.00s;
	transition-delay: 0.00s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}

/*---------------*/
/***** effect-indexbtn *****/
/*---------------*/
figure.effect-indexbtn {border-radius:0px;}


figure.effect-indexbtn img {opacity: 1}
figure.effect-indexbtn img#img02{opacity: 1}
figure.effect-indexbtn img#img03{opacity: 0}

figure.effect-indexbtn figcaption::after,
figure.effect-indexbtn img#img02,
figure.effect-indexbtn img#img03,
figure.effect-indexbtn img,
figure.effect-indexbtn p {
	-webkit-transition: opacity 0.55s, -webkit-transform 0.55s;
	transition: opacity 0.55s, transform 0.55s;
}


figure.effect-indexbtn h2,
figure.effect-indexbtn p {
	opacity: 1;
	color: #4d4d4d;
}

figure.effect-indexbtn h2 {
	margin: 345px 0 0 38px;
	font:500 1.3em/1em 'Noto Sans TC', sans-serif;;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-indexbtn:hover img {
	opacity: 1;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}
figure.effect-indexbtn:hover img#img02 {opacity: 0}
figure.effect-indexbtn:hover img#img03 {opacity:1}

figure.effect-indexbtn:hover h2,
figure.effect-indexbtn:hover p {
	opacity: 1;transition:0.5s ease;transition-property:all;
	color: #ffe986;
}


/********** MEDIA QUERIES ***********************/
/* for webkit only */
@media screen and (-webkit-min-device-pixel-ratio:0) {  

} 

/* for 1280px or less */
@media screen and (max-width: 1280px) {

}


/* for 1024px or less */
@media screen and (max-width: 1024px) {

figure.effect-indexbtn:hover img {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}
figure.effect-indexbtn:hover img#img02 {opacity: 1}
figure.effect-indexbtn:hover img#img03 {opacity:0}	

figure.effect-indexbtn h2 {
	margin: 95% 0 0 10%;
	font:500 1.1em/1em 'Noto Sans TC', sans-serif;
}


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

figure.effect-lily:hover img {opacity: 1;-webkit-transform: scale3d(1,1,1);	transform: scale3d(1,1,1);}
figure.effect-lily figcaption > div {position: absolute;bottom: 0;left: 0;width: 100%;height: 38.9%;}

figure.effect-lily h2 {
	font:500 1.4em/1.15em 'Noto Sans TC', sans-serif;
	width:90%; height:90px;
	color:#fff;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	padding: 8px 5% 8px 5% ;
	}
	
figure.effect-lily h3{
	font:400 0.85em/1.75em 'Noto Sans TC', sans-serif;
	color: #fff;
	width:90%;
	
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	padding: 0 5% 8px 5%;
	}
figure.effect-lily p {
	font:400 0.85em/1em 'Noto Sans TC', sans-serif;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	padding: 0 5% 15px 5%;
	width:90%;border-radius:0 0 25px 25px;
}

}

/* for 768px or less */
@media screen and (max-width: 768px) {

figure.effect-indexbtn h2 {
	margin: 92% 0 0 8%;
	font:500 1em/1em 'Noto Sans TC', sans-serif;

}
	
}

/* for 480px or less */
@media screen and (max-width: 500px) {
	figure.effect-lily figcaption > div {position: absolute;bottom: 0;left: 0;width: 101%;height: 38.9%;}
	figure.effect-indexbtn h2 {
	margin: 92% 0 0 8%;
	font:500 1.3em/1em 'Noto Sans TC', sans-serif;}
}