#gallery {
  padding-top: 40px;
  @media screen and (min-width: 991px) {
    padding: 60px 30px 0 30px;
  }
}

.img-wrapper {
  position: relative;
  margin-top: 25px;
  border: 2.5px solid #281e5d;
  padding: 4px;
  cursor: pointer;
}
.img-wrapper img {
  width: 100%;
  height: 260px;
}
.img-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  i {
    color: #fff;
    font-size: 3em;
  }
}

#overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
    @media screen and (min-width: 768px) {
      width: 60%;
    }
    @media screen and (min-width: 1200px) {
      width: 75%;
    }
  }
}

#nextButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

/* Pages banner for each section */
.ongoing {
  background: url("../project-images/road-work.jpg");
  z-index: -1;
}
.civil {
  background: url("../project-images/civil-work.jpg");
  z-index: -1;
}
.about {
  background: url("../project-images/about-us.jpg") no-repeat;
  z-index: -1;
}
.bg {
  background: url("../project-images/contact-us.jpg") no-repeat;
  z-index: -1;
}
.electrical {
  background: url("../project-images/electric-work.jpg");
  z-index: -1;
}
.horticulture {
  background: url("../project-images/Horticulture.jpg");
  z-index: -1;
}
.railway {
  background: url("../project-images/metro-work.jpg");
  z-index: -1;
}
.water {
  background: url("../project-images/pipeline.jpg");
  z-index: -1;
}
.supply {
  background: url("../project-images/Materials-supply.jpg");
  z-index: -1;
}
.road {
  background: url("../project-images/road-work.jpg");
  z-index: -1;
}

.career {
  background: url("../project-images/career-bg.jpg");
  z-index: -1;
}

.corporate {
  background: url("../project-images/corporate-bg.jpg");
  z-index: -1;
}

/*Pages banner for each end  */
