.grid {
	padding: 0px 0px 10px 0px;
	width: 100%;
	margin: 0px 0px 0px 0px;
	list-style: none;
	text-align: right;
	align-items:stretch;
}

.grid li {
	display: inline-table;
	width: auto;
	margin: 10px 10px 10px 10px;
	text-align: left;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
	min-width:25%;
	max-width: 250px;
	max-height: 250px;
}

.grid figure img {
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0px !important;
	padding-left: 10px;
	background: #f3f3f3;
	color: #000000;
	max-width:230px;
	max-height:210px;
}

.grid figcaption h3 {
	font-weight: 600;
	font-size: 120%;
	color: #ae1819;
	margin:0;
}

.grid figcaption h2 {
	color:#666666;
	font-size:105%;
	font-weight:400;
	font-style:italic;
	margin-top:2px;
}

.grid figcaption p {
	font-size:105%;
	line-height:120%;
	color:#000;
}

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

/* Individual Caption Styles */

/* Caption Style 4 */
.cs-style-4 li {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	perspective: 1700px;
	-webkit-perspective-origin: 50% 50%;
	-moz-perspective-origin: 50% 50%;
	perspective-origin: 50% 50%;
}

.cs-style-4 figure {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.cs-style-4 figure > div {
	overflow: hidden;
}

.cs-style-4 figure img {
	-webkit-transition: -webkit-transform .2s;
	-moz-transition: -moz-transform .2s;
	transition: transform .2s;
}

.no-touch .cs-style-4 figure:hover img,
.cs-style-4 figure.cs-hover img {
	-webkit-transform: translateX(0%);
	-moz-transform: translateX(0%);
	-ms-transform: translateX(0%);
	transform: translateX(0%);
}

.cs-style-4 figcaption {
	max-height: 30%;
	width: 100%;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	transform: rotateY(180deg);
-webkit-transition: -webkit-transform 1s, opacity .2s .1s;
	-moz-transition: -moz-transform 1s, opacity .2s .1s;
	transition: transform 1s, opacity .2s .1s;}

.no-touch .cs-style-4 figure:hover figcaption,
.cs-style-4 figure.cs-hover figcaption {
	opacity: .9;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transition: -webkit-transform .1s, opacity .1s;
	-moz-transition: -moz-transform .1s, opacity .1s;
	transition: transform .1s, opacity .1s;
}

.cs-style-4 figcaption a {
	position: relative;
	bottom: 20px;
	right: 20px;
}


@media screen and (max-width: 31.5em) {
	.grid {
		padding: 10px 10px 10px 10px;
	}
	.grid li {
		width: 100%;
		min-width: 300px;
	}
}
