/* Lightbox galelry 2 from Epic Bootstrap*/

.photo-gallery {
  padding-top: 20px;
  padding-bottom: 200px;
}
@media (max-width:767px) {
  .photo-gallery {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  }


.photo-gallery p {
  color:#7d8285;
}
.photo-gallery h2 {
  font-weight:bold;
  margin-bottom:40px;
  padding-top:40px;
  color:inherit;
}
@media (max-width:767px) {
  .photo-gallery h2 {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }
}
.photo-gallery .intro {
  font-size:16px;
  max-width:800px;
  margin:0 auto 40px;
}
.photo-gallery .intro p {
  margin-bottom:0;
}
.photo-gallery .photos {
  padding-bottom:20px;
  /* padding-bottom:20px; */
}
.photo-gallery .item {
padding: 7px;
  border: 1px solid #8f8f8f;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* fine Lightbox galelry 2 from Epic Bootstrap*/
.photos{background: rgba(163, 163, 163, 0.26);}

.item{position: relative; overflow: hidden;}
.item img.fe{

  max-width: 100%;
  transition: transform 2s;
}
.item:hover img.fe{
  transform: scale(1.2);
  box-shadow: 0 4px 8px 0 rgba(242, 242, 137, 0.2), 0 6px 20px 0 rgba(242, 242, 137, 0.12);
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

img.fe {
  /* opacity: 0.6; */
  transition: 0.2s;
  border: 3px solid white;
  /* transform: scale(1.2); */
}
.active,
.demo:hover {
  opacity: 1;
}

/* img.hover-shadow {
  transition: 0.3s;
} */

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(242, 242, 137, 0.2), 0 6px 20px 0 rgba(242, 242, 137, 0.12);
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}
