/* Common style */
.grid figure {
  position: relative;
  overflow: hidden;
  /* min-width: 100% */
  max-width: 100%;
  background: transparent;
  text-align: center;
  cursor: pointer;
  display: block;
  
border-style: solid;
border-width: 2px;
border-radius: 15px;
box-shadow: 0 0 5px #0001a8;
padding-bottom: 0;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;

}
.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  /*opacity: 0.8;*/
}
.grid figure figcaption {
  padding: 0px 30px;
  color: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Anchor will cover the whole item by default */
.grid figure figcaption > a {
  z-index: 98;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
  
}
.grid figure h2,
.grid figure p {
  margin: 0;
}
.grid figure p {
  letter-spacing: 1px;
}
figure.effect-smart {
  background: #00284f;
}
figure.effect-smart img {
  max-width: none;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
}
figure.effect-smart:hover img {
  opacity: 0.3;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.effect-smart figcaption {
  text-align: left;
}
figure.effect-smart h2 {
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  padding: 30px 0px 20px 0px;
  font-size: 24px;
}
figure.effect-smart h2 a:link,
figure.effect-smart h2 a:visited {
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  font-size: 28px;
}
figure.effect-smart h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 1px;
  background: #fff;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}
figure.effect-smart:hover h2::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  
}
figure.effect-smart p {
  padding: 50px 0;
  opacity: 0;
  font-size: 18px;
  text-shadow: 2px 2px 1px #000;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
figure.effect-smart p a:link,
figure.effect-smart p a:visited {
  color: #fff;
}
figure.effect-smart:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}




























