body, html { font-size: 14px; padding: 0; margin: 0;}

#coner {
	height: 250px;
	width: 150px;

	margin-top: 0px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
}

.grid {
	max-width: 1300px;
	list-style: none;
	height: 250px;
	width: 150px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: -8px;


}

.grid li {
	margin-left: auto;
	display: inline-block;
	width: 150px;
	text-align: center;
	position: relative;
	height: 250px;
	border: 1px solid #999;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	border-top:#999 solid 2PX;
	top: 0;
	left: 0;
	background: #EEE;
	color: #ed4e6e;
}

.grid figcaption h3 {
	line-height: 25px;
	font-size: 14px;
	margin: auto;
	padding-top: 3px;;
	color: #000;
}

.grid figcaption span:before {
	content: 'by ';
}

.grid figcaption a {
	margin-right: 32px;
	font-size: 12px;
	letter-spacing:2px;
    padding: 3px 15px 3px 15px;
	border-radius: 10px;
	display: inline-block;
	background:#333;
	color:#fff;
}

.grid figcaption a:hover {
	display: inline-block;
	background: #fff;
	color:#960;
	text-align: center;
}

/* Caption Style 3 */
.cs-style-3 figure {
	overflow: hidden;
	margin: auto;
	height: 250px;
	width: 150px;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
	height: 250px;
	width: 150px;
}
.cs-style-3 figcaption {
	height: 65px;
	width: 150px;
	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;
	margin: 0 auto;
	text-align: center;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-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: 10px;
	right: 0px;
}
