@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Roboto:100,300);
figure {
    margin: 0;
    position: relative;
}
figure img {
    display: block;
    z-index: 10;
    max-width: 100%;
	border:#0F0 0px solid;
}
figure figcaption {
    display: block;
    position: absolute;
    z-index: 5;
}
figure h3 {
    color: white;
    font-size: 22px;
    line-height: 1.2;
	font-weight:bold;
    margin-bottom: 0px;
    font-family: 'Oswald', sans-serif;
	text-transform:uppercase;/*
	border-style: solid;
border-width: 25px 0px;
-moz-border-image: url(img/linea-ondulada.png) 25 0 round;
-webkit-border-image: url(img/linea-ondulada.png) 25 0 round;
-o-border-image: url(img/linea-ondulada.png) 25 0 round;
border-image: url(img/linea-ondulada.png) 25 0 fill round;*/

}
figure h4 {
    color: #71e8b8;
    font-size: 18px;
    line-height: 1.2;
	font-weight:normal;
    margin-bottom: 0px;
    font-family: 'Oswald', sans-serif;
}
figure span {
    color: #71e8b8;
    font-size: 14px;
    line-height: 1.2;
	font-weight:normal;
    margin-bottom: 0px;
    font-family: 'roboto',arial, sans-serif;
    display: block;
    line-height: 1.2;
}
figure a.close-caption {
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    font-size: 24px;
    font-weight: 700;
    color: #315a7d;
}
figure a.close-caption.hidden {
    display: none
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 1
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-1 a.close-caption {
    bottom: 10px;
    right: 10px;
}
#effect-1 figure {
    background-color: steelblue
}
#effect-1 figcaption {
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}
#effect-1 figure img {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.no-touch #effect-1 figure:hover img,
#effect-1 figure.hover img {
    -webkit-transform: translateY(-90px);
    -moz-transform: translateY(-90px);
    -ms-transform: translateY(-90px);
    -o-transform: translateY(-90px);
    transform: translateY(-90px);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 2
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-2 a.close-caption {
    top: 10px;
    right: 10px;
}
#effect-2 figure figcaption {
 top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  background: linear-gradient(135deg, rgb(255, 0, 208) 0%, rgb(83, 159, 225) 42%, rgb(0, 16, 244) 100%);
  transition: 1s;
  -webkit-transition: 1s;
}
#effect-2 figure figcaption h3 {
    margin-top: 100px
}
#effect-2 figure img {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.no-touch #effect-2 figure:hover img,
#effect-2 figure.hover img {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.no-touch #effect-2 figure:hover figcaption,
#effect-2 figure.hover figcaption {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    -ms-transform: rotateY(0);
    -o-transform: rotateY(0);
    transform: rotateY(0);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 3
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-3 a.close-caption {
    bottom: 10px;
    right: 10px;
}
#effect-3 figure {
    background-color: steelblue
}
#effect-3 figure figcaption {
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
}
#effect-3 figure img {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.no-touch #effect-3 figure:hover img,
#effect-3 figure.hover img {
    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 4
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-4 figure {
    overflow: hidden
}
#effect-4 figure a.close-caption {
    bottom: 0px;
    left: 0px;
}
#effect-4 figure figcaption {
    background-color:#71e8b8;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 20px;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
#effect-4 figure img {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.no-touch #effect-4 figure:hover img,
#effect-4 figure.hover img {
    -webkit-transform: translateX(50%);
    -moz-transform: translateX(50%);
    -ms-transform: translateX(50%);
    -o-transform: translateX(50%);
    transform: translateX(50%);
}
.no-touch #effect-4 figure:hover figcaption,
#effect-4 figure.hover figcaption {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Effect 5
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#effect-5 figure a.close-caption {
    bottom: 10px;
    left: 10px;
}
#effect-5 figure figcaption {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: steelblue;
    padding: 20px;
}
#effect-5 figure img {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.no-touch #effect-5 figure:hover img,
#effect-5 figure.hover img {
    -webkit-transform: rotate(-360deg) scale(0);
    -moz-transform: rotate(-360deg) scale(0);
    -ms-transform: rotate(-360deg) scale(0);
    -o-transform: rotate(-360deg) scale(0);
    transform: rotate(-360deg) scale(0);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media all and (max-width: 1200px) { 
    .col {
        float: none
    }
    .two-col {
        padding-left: 0
    }
    .two-col .col {
        margin-bottom: 60px
    }
    .two-col .col:last-child {
        margin-bottom: 0
    }
    .col-1-2 {
        margin: 0 auto
    }
    .col-2-2 {
        margin: 0 auto
    }
}
@media all and (max-width: 920px) {
	figure {
    margin: 0;
	width:100%;
	display:block;
}
figure img {
    display: block;
    z-index: 10;
}
}
@media all and (max-width: 615px) { 
    figure h3 {
        font-size: 18px
    }
    figure span {
        font-size: 12px
    }
	figure{
		width:100%;}
}
@media all and (max-width: 480px) { 
    #effect-2 figure figcaption h3 {
        margin-top: 100px
    }
}
@media all and (max-width: 360px) { 
    #effect-2 figure figcaption h3 {
        margin-top: 80px
    }
}


/*Responsive galeria nav*/
@media screen and (max-width:540px){

    #effect-2 figure figcaption h3 {
  margin-top: 9px; 
}
    
    figure h4 {
  color: #71e8b8;
  font-size: 13px;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 0px;
  font-family: 'Oswald', sans-serif;
}
}





