
/* inica efecto salir */


.demo-1 {
    position:relative;
    width:330px; 
   height:200px;
    overflow:hidden;
    float:left;
    margin-right:20px;
    background-color: white;
}
.demo-1 p,.demo-1 h2 {
    color:black;
    padding:10px;
    left:-20px;
    top:20px;
    position:relative;
}
.demo-1 p {
    font-family:"open sans", sans serif;
    font-size:14px;
    line-height:20px;
    margin:0;
}
.demo-1 h2 {
    font-family:"Oswald", sans serif;
    font-size:20px;
    line-height:24px;
    margin:0;
}
.effect img {
    position:absolute;
    margin:-15px 0;
    right:0;
    top:0;
    cursor:pointer;
    -webkit-transition:top .4s ease-in-out,right .4s ease-in-out;
    -moz-transition:top .4s ease-in-out,right .4s ease-in-out;
    -o-transition:top .4s ease-in-out,right .4s ease-in-out;
    transition:top .4s ease-in-out,right .4s ease-in-out
}
.effect img.top:hover {
    top:-230px;
    right:-330px;
    padding-bottom:200px;
    padding-left:300px
}

			


/* termina efecto salir */




/* inica efecto voltearse */


.demo-3 {
    position:relative;
    width:300px;
    height:200px;
    overflow:hidden;
    float:left;
    margin-right:20px
}
.demo-3 figure {
    margin:0;
    padding:0;
    position:relative;
    cursor:pointer;
    margin-left:-50px
}
.demo-3 figure img {
    display:block;
    position:relative;
    z-index:10;
    margin:-15px 0
}
.demo-3 figure figcaption {
    display:block;
    position:absolute;
    z-index:5;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box
}
.demo-3 figure h2 {
    font-family:'Lato';
    color:#fff;
    font-size:20px;
    text-align:left
}
.demo-3 figure p {
    display:block;
    font-family:'Lato';
    font-size:12px;
    line-height:18px;
    margin:0;
    color:#fff;
    text-align:left
}
.demo-3 figure figcaption {
    top:0;
    left:0;
    width:100%;
    height:100%;
    padding:29px 44px;
    background-color:rgba(26,76,110,0.5);
    text-align:center;
    backface-visibility:hidden;
    -webkit-transform:rotateY(-180deg);
    -moz-transform:rotateY(-180deg);
    transform:rotateY(-180deg);
    -webkit-transition:all .5s;
    -moz-transition:all .5s;
    transition:all .5s
}
.demo-3 figure img {
    backface-visibility:hidden;
    -webkit-transition:all .5s;
    -moz-transition:all .5s;
    transition:all .5s
}
.demo-3 figure:hover img,figure.hover img {
    -webkit-transform:rotateY(180deg);
    -moz-transform:rotateY(180deg);
    transform:rotateY(180deg)
}
.demo-3 figure:hover figcaption,figure.hover figcaption {
    -webkit-transform:rotateY(0);
    -moz-transform:rotateY(0);
    transform:rotateY(0)
}

			


/* termina efecto voltearse */



.grid {
	max-width: 1300px;
	margin: 1em auto;
	list-style: none;
	text-align: center;
}
.grid figure {
	margin: 0;
	position: relative;
}

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

.grid figcaption {
	position: relative;
	top: 0;
	left: 0;
	padding: 10px;
	background: #2556a1;
	
	color: #F19800;
	
	
}

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

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











.gridcs3 {
	max-width: 1300px;
	margin: 1em auto;
	list-style: none;
	text-align: center;
}
.gridcs3 figure {
	margin: 0;
	position: relative;
}

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

.gridcs3 figcaption {
	position: relative;
	background: #2556a1;
	
	color: #F19800;
	
	
}

.gridcs3 figcaption h3 {
	margin: 0;
	padding: 0;
	color: #999;
}

.gridcs3 figcaption h4 {
	margin: 0;
	padding: 0;
	color: #999;
}




/* 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;
	-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-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(15px, 15px);
	-moz-transform: translate(15px, 15px);
	-ms-transform: translate(15px, 15px);
	transform: translate(15px, 15px);
}

.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 */

/* AnimaciÃ³n no requerida por el momento, sÃ³lo quitar el ".1" */

.cs-style-2 figure img {
	float: left;
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
	width:auto;
}

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


.cs-style-2 figcaption {
	height: 75px;
	width: 100%;
	top: auto;
	bottom: 0px;
	border-radius: 15px 15px 0 0 ;
	position:absolute;
}

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







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

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

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

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

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: fixed;
	bottom: 0px;

	
}


.cs-style-3 figcaption h3 {
	
	color:#2e85c7;
}






/* Caption Style 4 */
.cs-style-4 li {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	perspective: 1700px;
	-webkit-perspective-origin: 0 50%;
	-moz-perspective-origin: 0 50%;
	perspective-origin: 0 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 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}







.cs-style-4 figcaption {
	
	top: 0px;
	height: 100%;
	width: 100%;
	opacity: 0.5;
	-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(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s 0.3s;
	transition: transform 0.4s, opacity 0.4s 0.3s;
}

.no-touch .cs-style-4 figure:hover figcaption,
.cs-style-4 figure.cs-hover figcaption {
	opacity: .8;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-4 figcaption a {
	
	position: relative;
	top: 0px;
	right: 0px;
}

/* Caption Style 5 */
.cs-style-5 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-5 figure:hover img,
.cs-style-5 figure.cs-hover img {
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	-ms-transform: scale(0.4);
	transform: scale(0.4);
}

.cs-style-5 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

.no-touch .cs-style-5 figure:hover figcaption,
.cs-style-5 figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.cs-style-5 figure a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 6 */
.cs-style-6 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
	
}

.no-touch .cs-style-6 figure:hover img,
.cs-style-6 figure.cs-hover img {
	-webkit-transform: translateY(-30px) scale(0.8);
	-moz-transform: translateY(-30px) scale(0.8);
	-ms-transform: translateY(-30px) scale(0.8);
	transform: translateY(-30px) scale(0.8);
	
	
}

.cs-style-6 figcaption {
	height: 100%;
	width: 100%;
}

.cs-style-6 figcaption h3 {
	margin-top: 60%;
	font-size: medium;
}

.figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}


/* Caption Style 6b */
.cs-style-6b figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
	
}

.no-touch .cs-style-6b figure:hover img,
.cs-style-6b figure.cs-hoverb img {
	-webkit-transform: translateY(-30px) scale(0.5);
	-moz-transform: translateY(-30px) scale(0.5);
	-ms-transform: translateY(-30px) scale(0.5);
	transform: translateY(-30px) scale(0.5);
	opacity: .7;
    -moz-opacity: .7;
    filter:alpha(opacity=7);
	
	
}

.cs-style-6b figcaption {
	
	width: 100%;
	font-size: 22px;
	min-height:210px;
	margin-bottom:auto;
	margin-top:auto;
}

.cs-style-6b figcaption h3 {
	margin-top: 60%;
	font-size: 22px;
	margin-bottom:auto;
	margin-top:auto;
	
}

.figcaptionb a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}




/* Caption Style 7 */
.cs-style-7 li:first-child { z-index: 6; }
.cs-style-7 li:nth-child(2) { z-index: 5; }
.cs-style-7 li:nth-child(3) { z-index: 4; }
.cs-style-7 li:nth-child(4) { z-index: 3; }
.cs-style-7 li:nth-child(5) { z-index: 2; }
.cs-style-7 li:nth-child(6) { z-index: 1; }

.cs-style-7 figure img {
	z-index: 10;
	border-radius: 50%;
}

.cs-style-7 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 #2c3f52;
	border-radius: 50%;
}

.no-touch .cs-style-7 figure:hover figcaption,
.cs-style-7 figure.cs-hover figcaption {
	opacity: 1;
	height: 100%;
	
	border-radius: 50%;
}

.cs-style-7 figcaption h3 {
	margin-top: 30%;
	border-radius: 50%;
}

.cs-style-7 figcaption h3,
.cs-style-7 figcaption span,
.cs-style-7 figcaption a {
	opacity: 0;
	-webkit-transition: opacity 0s;
	-moz-transition: opacity 0s;
	transition: opacity 0s;
	border-radius: 50%;
}

.cs-style-7 figcaption a {
	position: absolute;
	bottom: 0px;
	right: 20px;
	left: 20px;
	border-radius: 50%;
	
}

.no-touch .cs-style-7 figure:hover figcaption h3,
.no-touch .cs-style-7 figure:hover figcaption span,
.no-touch .cs-style-7 figure:hover figcaption a,
.cs-style-7 figure.cs-hover figcaption h3,
.cs-style-7 figure.cs-hover figcaption span,
.cs-style-7 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;
	border-radius: 50%;
}

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



@media (min-width: 768px) and (max-width: 1200px) {

/* Caption Style 6 */
.cs-style-6 figure img {
	width:auto;
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-6 figure:hover img,
.cs-style-6 figure.cs-hover img {
	-webkit-transform: translateY(-30px) scale(0.8) ;
	-moz-transform: translateY(-30px) scale(0.8);
	-ms-transform: translateY(-30px) scale(0.8);
	transform: translateY(-30px) scale(0.8);
	
}

.cs-style-6 figcaption {
	height: 100%;
	width: 100%;
}

.cs-style-6 figcaption h3 {
	margin-top: 60%;
	font-size: medium;
}

.figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}




/* Caption Style 6b */
.cs-style-6b figure img {
	width:auto;
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-6b figure:hover img,
.cs-style-6b figure.cs-hover img {
	-webkit-transform: translateY(-30px) scale(0.5) ;
	-moz-transform: translateY(-30px) scale(0.5);
	-ms-transform: translateY(-30px) scale(0.5);
	transform: translateY(-30px) scale(0.5);
	
}

.cs-style-6b figcaption {
	
	width: 100%;
	min-height:210 px;
	margin-bottom:auto;
	margin-top:auto;
}
}

.cs-style-6b figcaption h3 {
	margin-top: 60%;
	font-size: medium;
	margin-bottom:auto;
	margin-top:auto;
}

.figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}









@media (max-width: 767px) {
	.cs-style-6 figcaption h3 {
	margin-top: 60%;
	font-size: medium;
	
	
}

.cs-style-6b figcaption h3 {
	margin-top: 60%;
	font-size: medium;
	height:110px;

	
	
	
}



	}
	
	
	
	
	
	