
/*==================   Lazy Img    ======================*/
.lazy-img {
  display: block;
  position: relative;
  height: 0;
  overflow: hidden;
  background: #ffffff url(../images/lazy-loader.gif) no-repeat center center;
}
.lazy-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  //height: 100%;
  z-index: 0;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
  opacity: 0;
}
.lt-ie9 .lazy-img img {
  //filter: alpha(opacity=0);
}
.lazy-img .lazy-loaded {
  opacity: 1;
}
.lt-ie9 .lazy-img .lazy-loaded {
  filter: alpha(opacity=100);
}
/*================== Gallery ======================*/
.gallery {
  width: 100%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .gallery {
    width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 479px) {
  .gallery {
    width: 300px;
  }
}
.gallery em {
  font-size: 36px;
  line-height: 44px;
  color: #823f3f;
}
.gallery_col-1 {
  float: left;
  width: 30.3347280334728%;
}
@media (max-width: 767px) {
  .gallery_col-1 {
    width: 100%;
  }
}
.gallery_col-2 {
  float: left;
  width: 38.96443514644351%;
}
@media (max-width: 767px) {
  .gallery_col-2 {
    width: 100%;
  }
}
.gallery_col-3 {
  float: left;
  width: 30.70083682008368%;
}
@media (max-width: 767px) {
  .gallery_col-3 {
    width: 100%;
  }
}
.gallery_item {
  display: block;
  position: relative;
}
.gallery_item:hover .gallery_overlay {
  opacity: 1;
}
.lt-ie9 .gallery_item:hover .gallery_overlay {
  filter: alpha(opacity=100);
}
.gallery_overlay {
  position: absolute;
  text-align: center;
  vertical-align: top;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.54);
  z-index: 1;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.lt-ie9 .gallery_overlay {
  filter: alpha(opacity=0);
}
.lt-ie9 .gallery_overlay {
  background: none;
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8affffff', endColorstr='#8affffff');
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8affffff', endColorstr='#8affffff');
  zoom: 1;
}
.gallery_caption {
  position: absolute;
  background: #ffffff;
  width: 295px;
  padding: 28px 40px 42px;
  top: 50%;
  margin-top: -84px;
  left: 50%;
  margin-left: -188px;
}
@media (max-width: 1199px) {
  .gallery_caption {
    width: 240px;
    margin-left: -150px;
    padding: 20px 30px 30px;
  }
}
@media (max-width: 979px) {
  .gallery_caption {
    width: 200px;
    margin-left: -120px;
    padding: 10px 20px 20px;
    margin-top: -62px;
  }
  .gallery_caption em {
    font-size: 24px;
    line-height: 32px;
  }
  .gallery_caption * + p {
    margin-top: 10px;
  }
}
.gallery img {
  width: 100%;
  padding:20px;
  border:1px solid #EEE;
}
.gallery * + p {
  margin-top: 20px;
}