.bb {
  box-sizing: border-box;
}
.vertical-align {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(30%);
  -ms-transform: translateY(30%);
  transform: translateY(30%);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.full-width .gallery {
  margin: 0 0 1em;
}
.gallery {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  margin: 1em 0;
}
.gallery.hidden {
  opacity: 0;
}
.gallery figure {
  margin: 1px;
}
.gallery figure img {
  width: 100%;
  display: inline-block;
  max-width: none;
  vertical-align: middle;
  position: relative;
  background-color: #000000;
}
@media only screen and (min-width: 1025px) {
  .gallery figure img {
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
.gallery figure .caption {
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
}
.gallery figure .caption i {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-transform: translateY(150%);
  -ms-transform: translateY(150%);
  transform: translateY(150%);
  opacity: 0;
}
.gallery figure .caption i:before {
  font-size: 50px;
}
.gallery figure .caption h1 {
  font-size: 21px;
  font-size: 2.1rem;
  text-align: center;
  margin: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.gallery a {
  display: block;
}
@media only screen and (min-width: 1025px) {
  .gallery a:hover .caption {
    opacity: 1;
  }
  .gallery a:hover .caption i {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  .gallery a:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    opacity: .55;
  }
}
.gallery .item,
.gallery .sizer {
  width: 50%;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .gallery .item,
  .gallery .sizer {
    width: 33.33%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation : landscape), only screen and (min-width: 1025px) {
  .gallery .item,
  .gallery .sizer {
    width: 33.33%;
  }
}
.gallery .item--width2 {
  width: 40%;
}
.gallery .item--width3 {
  width: 60%;
}

/*# sourceMappingURL=style.css.map */
