.grid {
	list-style: none;
	text-align: center;
	padding-left: 0px;
}

.grid li {
	margin: 0;
	text-align: left;
}

.grid figure, div figure {
	position: relative;
	cursor: pointer;
	-webkit-border-radius: 300px;
		   -moz-border-radius: 300px;
		     -o-border-radius: 300px;
		        border-radius: 300px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
		overflow: hidden;
		text-align: center;
}

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

.grid figcaption {
	position: absolute;
	overflow: visible;
	top: 0;
	left: 0;
	padding: 20px;
	background: rgba(38, 192, 208, 0.8);
	color: #fff;
	font-weight: 400;
	-webkit-border-radius: 300px;
	   -moz-border-radius: 300px;
	     -o-border-radius: 300px;
	        border-radius: 300px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.grid figcaption h3 {
	margin: 33% 0 10px 0 !important;
	padding: 0;
	color: #fff;
	font-weight: 300;
	font-size: 37px;
}

/* Individual Caption Styles */

/* Caption Style 1 */
.cs-style-1 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 1;
}

.no-touch .cs-style-1 figure .secondary-animate { 
	position: absolute;
	overflow: visible;
	top: 0;
	left: 0;
	padding: 0px;
	width: 100%;
	height: 100%;
}

@keyframes FadeIn { 
  0% {
    opacity: 0;
		z-index: 0;
  }
  100% {
		opacity: 1;
		display: block !important;
  }
}
@keyframes FadeOut {
	0% {
		opacity: 1;
		z-index: 0;
		display: block !important;
	}

	100% {
		opacity: 0;
		
	}
}
figure figcaption.primary{
	z-index: 249;

}
.no-touch .cs-style-1 figure:hover .secondary-animate {

	z-index: 99;
}

.no-touch .cs-style-1 figure:hover .primary-animate {
	opacity: 1;
}


.no-touch .cs-style-1 figure .secondary-animate {
	opacity: 0;
	padding: 0;
}

.cs-style-1 figcaption h3 {
	margin-top: 70px;
}

.cs-style-1 figcaption span {
	display: block;
}

.cs-style-1 figcaption a {
	margin-top: 30px;
}

/* Caption Style 2 */
.cs-style-2 figure img {
	z-index: 10;
}

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

.cs-style-2 figcaption {
	height: 90px;
	width: 100%;
	top: auto;
	bottom: 0;
}

.cs-style-2 figcaption a {
	position: absolute;
	right: 20px;
	top: 30px;
}

/* Caption Style 3 */
.cs-style-3 figure {
	overflow: hidden;
}

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

@media (max-width:768px) {
	.about-grouping {
		margin-top: 30px !important;
	}
	.service-row {
		margin-top: 0px;
	}
	.grid {
		margin-bottom: 0px;
	}
	.grid li {
		margin-bottom: 60px !important;
	}
}
