.grid h1,.grid h2,.grid h3,.grid h4,.grid h5,.grid h6,.grid img{
        margin:0;
      }
.grid {
    font-family:'Yanone Kaffeesatz', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}
.grid li {
	display: inline-block;
	/* width: 200px; */
	width:350px;
	margin: 0;
	padding: 30px 40px;
	text-align: left;
	position: relative;
}
.grid a
{
	text-decoration: none;
}

.grid figure {
	margin: 0;
	position: relative;
}

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

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: #ed4e6e;
}

.grid figcaption
{
    font-family:'Yanone Kaffeesatz', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	background: rgba(0,112,184,.7);
	color: #fff;
	font-size:24px;
	height:40px;
	text-align: center;
	border-radius: 10px;
}


		
		
		



.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	border-color: #2c3f52;
	color: #2c3f52;
}

/* Caption Style 3 */



.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure h2
{
	position: absolute;
	top: 0;
	right:0;
	-webkit-transition: -webkit-transform 0.8s;
	-moz-transition: -moz-transform 0.8s;
	transition: transform 0.8s;
}

.cs-style-3 figure:hover h2
{
	-webkit-transform: translateY(15px);
	-moz-transform: translateY(15px);
	-ms-transform: translateY(15px);
	transform: translateY(15px);
}


.cs-style-3 figure h3
{
	margin-top: 0px;
	padding: 10px;
	background: #4eb3e1;
	color: #fff;
	font-size:20px;
	text-align:center;
	-webkit-transition: -webkit-transform 1s;
	-moz-transition: -moz-transform 1s;
	transition: transform 1s;
}

.cs-style-3 figure h3 a
{
}



.cs-style-3 figure:hover h3
{
	-webkit-transform: translateY(50px);
	-moz-transform: translateY(50px);
	-ms-transform: translateY(50px);
	transform: translateY(50px);
}


.cs-style-3 figure img {
	
	-webkit-transition: -webkit-transform .8s;
	-moz-transition: -moz-transform .8s;
	transition: transform .8s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(50px);
	-moz-transform: translateY(50px);
	-ms-transform: translateY(50px);
	transform: translateY(50px);
}

.cs-style-3 figcaption {
	height: 20px;
	width: 160px;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}