
.grid {
  position: relative;
  overflow: hidden;
  list-style: none;
  text-align: center;
}

figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
@media screen and (max-width: 50em) {
  figure {
    display: inline-block;
    float: none;
    margin: 10px auto;
    width: 100%;
  }
}

figure img {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  opacity: 1;
}
figure figcaption {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
figure figcaption:after {
  pointer-events: none;
}
figure figcaption:before {
  pointer-events: none;
}
figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
figure p {
  margin: 0;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  text-align: center;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:3;
  
}



figure.effect-chico {
  background: #FFF;
  height: auto;
}
figure.effect-chico img{ height:auto !important;}
@media only screen and (max-width: 568px) {figure.effect-chico {height: auto;}}
figure.effect-chico img {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}
figure.effect-chico:hover img {
  opacity: 1;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
figure.effect-chico figcaption {
  padding: 3em;
  width: 100%;
  height: 100%;
}
figure.effect-chico figcaption:before, figure.effect-chico p {
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
figure.effect-chico p {
  margin: calc(50% - 40px) auto auto;
  color: #fff;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
    
  width:80px;
  height:80px;
  border-radius:50%;
  font-size: 3em;
  background-color:rgba(10, 158, 172, 0.8);
}
figure.effect-chico:hover figcaption::before, figure.effect-chico:hover p {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.grid figure.effect-chico figcaption:hover{ 
  background-color:rgba(194, 154, 103, 0.2);
 }
 
figure.effect-sadie figcaption:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(top, rgba(10, 158, 172, 0) 50%, rgba(10, 158, 172, 0.6) 100%);
  background: linear-gradient(to bottom, rgba(10, 158, 172, 0) 50%, rgba(10, 158, 172, 0.6) 100%);
  content: '';
  opacity: 0;
  -webkit-transform: translate3d(0, 50%, 0);
  transform: translate3d(0, 50%, 0);effect-sadie
}
figure.effect-sadie figcaption:before, figure.effect-sadie p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
figure.effect-sadie p {
  color: #fff;
  padding: 0 5% 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  text-align:center;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  font-size:3em;
}
figure.effect-sadie:hover figcaption::before, figure.effect-sadie:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
@media only screen and (max-width: 568px) {figure.effect-sadie p {font-size:2.2em;}}