
.grid {
	padding: 20px 20px 100px 20px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	width: 290px;
	margin: 0;
	padding: 20px;
	text-align: left;
	position: relative;
}

.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: 20px;
	background: #227F85;
	color: #fff;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid figcaption span:before {
	content: '';
}

.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #0B2D48;
	color: #fff;
}


.grid1{
	padding: 20px 10px 20px 10px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid1 li {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 5px;
	text-align: left;
	position: relative;
}

.grid1 figure {
	margin: 0;
	position: relative;
}

.grid1 figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid1 figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #227F85;
	color: #fff;
}

.grid1 figcaption h3 {
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid1 figcaption span:before {
	content: '';
}

.grid1 figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #0B2D48;
	color: #fff;
}


/* Individual Caption Styles */

/* Clientes */
/* Nuevos Style 1a */
.cs-style-1a {
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.cs-style-1a li {
	display: inline-block;
	width: 400px;
	margin: 0;
	padding: 20px 5px 5px 5px;
	text-align: left;
	position: relative;
}
.cs-style-1a figcaption {
	height: 100%;
	width: 390px;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}
.no-touch .cs-style-1a figure:hover figcaption,
.cs-style-1a figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(10px, 10px);
	-moz-transform: translate(10px, 10px);
	-ms-transform: translate(10px, 10px);
	transform: translate(10px, 10px);
}
.cs-style-1a figcaption h3 {
	margin-top: 70px;
}
.cs-style-1a figcaption span {
	display: block;
}
.cs-style-1a figcaption a {
	margin-top: 5px;
}


/* 1 Aņo Style 7b */
.cs-style-7b {
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.cs-style-7b li:first-child { z-index: 6; }
.cs-style-7b li:nth-child(2) { z-index: 5; }
.cs-style-7b li:nth-child(3) { z-index: 4; }
.cs-style-7b li:nth-child(4) { z-index: 3; }
.cs-style-7b li:nth-child(5) { z-index: 2; }
.cs-style-7b li:nth-child(6) { z-index: 1; }

.cs-style-7b li { 
	width: 45%;
	display:inline-block;
	position:relative;
	}
.cs-style-7b figure img {
	z-index: 10;
}
.cs-style-7b figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	-moz-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	box-shadow: 0 0 0 0px #1a6068;
}
.no-touch .cs-style-7b figure:hover figcaption,
.cs-style-7b figure.cs-hover figcaption {
	opacity: 1;
	height: 130%;
	box-shadow: 0 0 0 10px #1a6068;
}
.cs-style-7b figcaption h3 {
	margin-top: 86%;
}
.cs-style-7b figcaption h3,
.cs-style-7b figcaption span,
.cs-style-7b figcaption a {
	opacity: 0;
	-webkit-transition: opacity 0s;
	-moz-transition: opacity 0s;
	transition: opacity 0s;
}
.cs-style-7b figcaption span {
	position: absolute;
	bottom: 10px;
}
.cs-style-7b figcaption a {
	position: absolute;
	bottom: 10px;
	right: 20px;
}
.no-touch .cs-style-7b figure:hover figcaption h3,
.no-touch .cs-style-7b figure:hover figcaption span,
.no-touch .cs-style-7b figure:hover figcaption a,
.cs-style-7b figure.cs-hover figcaption h3,
.cs-style-7b figure.cs-hover figcaption span,
.cs-style-7b figure.cs-hover figcaption a {
	-webkit-transition: opacity 0.3s 0.2s;
	-moz-transition: opacity 0.3s 0.2s;
	transition: opacity 0.3s 0.2s;
	opacity: 1;
}

/* 3Aņos Style 2 */
.cs-style-2 {
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
}
.cs-style-2 li {
	display: inline-block;
	width: 240px;
	margin: 0;
	padding: 50px 5px 5px 5px;
	text-align: left;
	position: relative;
}
.cs-style-2 figure img {
	width: 240px;
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}
.no-touch .cs-style-2 figure:hover img,
.cs-style-2 figure.cs-hover img {
	-webkit-transform: translateY(-60px);
	-moz-transform: translateY(-60px);
	-ms-transform: translateY(-60px);
	transform: translateY(-60px);
}
.cs-style-2 figcaption {
	font-size:0.8em;
	height: 60px;
	width: 100%;
	top: auto;
	bottom: 0;
}
.cs-style-2 figcaption a {
	position: absolute;
	right: 20px;
	top: 20px;
}

/* 6Aņos Style 2a */
.cs-style-2a {
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 3px 0px rgba(0, 0, 0, 0.1); 
}
.cs-style-2a li {
	display: inline-block;
	width:45%;
	margin: 1em;
	padding: 20px;
	text-align: left;
	position: relative;
	background:#3e9899;
}
.cs-style-2a p {
	color:#FFF;
}
.cs-style-2a figcaption {
	height: 100%;
	width: 100%;
	background:#3e9899;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}
.no-touch .cs-style-2a figure:hover figcaption,
.cs-style-2a figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(0px, 0px);
	-moz-transform: translate(0px, 0px);
	-ms-transform: translate(0px, 0px);
	transform: translate(0px, 0px);
}
.cs-style-2a figcaption h3 {
	margin-top: 70px;
}
.cs-style-2a figcaption span {
	display: block;
}
.cs-style-2a figcaption a {
	margin-top: 5px;
}

/* Anteriores Style 1c */
.cs-style-1c  {
	margin-bottom: 0em;
}
.cs-style-1c li {
	box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
	display: inline-block;
	width: 600px;
	margin: 0;
	padding: 20px;
	text-align: left;
	position: relative;
}
.cs-style-1c figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}
.no-touch .cs-style-1c figure:hover figcaption,
.cs-style-1c figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(10px, 10px);
	-moz-transform: translate(10px, 10px);
	-ms-transform: translate(10px, 10px);
	transform: translate(10px, 10px);
}
.cs-style-1c figcaption h3 {
	margin-top: 70px;
}
.cs-style-1c figcaption span {
	display: block;
}
.cs-style-1c figcaption a {
	margin-top: 5px;
}


/* Servicios 8 */
.cs-style-8 {
}

.cs-style-8 li { 
	width: 48%;
	display:inline-block;
	position:relative;
	}
.cs-style-8 figure img {
	z-index: 10;
}


@media screen and (max-width: 45.5em) {
	.grid {
		padding: 10px 10px 100px 10px;
}
	.grid li {
		width: 100%;
		min-width: 300px;
}
.cs-style-1a figcaption {
	width: 390px;
}
	.cs-style-2 figcaption {
	width: 240px;
}
	.cs-style-7b li { 
	width: 100%;
	display:block;
	position:relative;
}
	.cs-style-8 li { 
	width: 100%;
	display:block;
	position:relative;
}

	.cs-style-2a li { 
	width: 95%;
	display:block;
	position:relative;
}

}
