.grid {
	padding: 0px 0px 20px 0px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: left;
}

.grid li {
	display: inline-block;
	width: 200px;
    height: auto;
	margin:  0px 20px 0px 0px;
	padding: 0;
	text-align: center;
	position: relative;
     border-style: solid;
    border-width: 1px;
    border-color: #dddddd;
    border-bottom-color: #3cab35;
	/*  display: block;  */
  max-width: 100%;
  height: auto;
}

.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: 5px;
	background: #3cab35;
	color: #ffffff;
}

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


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


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

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

.cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform:  scale(1.5);
	-moz-transform:  scale(1.5);
	-ms-transform:  scale(1.5);
	transform: scale(1.5);
}

.cs-style-3 figcaption {
	height: 100px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 1;
	-webkit-transform: translateY(70%);
	-moz-transform: translateY(70%);
	-ms-transform: translateY(70%);
	transform: translateY(70%);
	//-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;
}

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

@media screen and (max-width: 31.5em) {
	.grid {
		padding: 10px 10px 100px 10px;
	}
	.grid li {
		margin-bottom:15px;
	
	
	}
}
