.grid li {
	background: #FFFFFF;
	display: inline-block;
	text-align: left;
	padding: 5px;
	position: relative;
	box-sizing: border-box;
}

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

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

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 5px;
	background: #2c3f52;
	color: #ed4e6e;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid figcaption span:before {
	content: 'by ';
}

.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #ed4e6e;
	color: #fff;
}

/* Individual Caption Styles */

/* Caption Style 3 */

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

.cs-style-3 figure img {
	/*z-index: 10;*/
	-webkit-transition: -webkit-transform 0.5s;
	-moz-transition: -moz-transform 0.5s;
	transition: transform 0.5s;
}

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

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

/*.cs-style-3 figcaption h3 {
	margin-top: 60%;
}*/
.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-moz-transition: transform 0.4s, opacity 0.1s;
	-ms-transition: transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}


.cs-style-3 figcaption a {
	/*display: inline-block;
	margin-left: 100px;*/
	position: absolute;
	bottom: 20px;
	right: 20px;
}
