#gallery {
  padding-top:0;
}
@media screen and (min-width: 991px) {
  #gallery {
    padding: 0;
  }
}

.img-wrapper {
  position: relative;
  margin-top:1vw;
  margin-right:.5vw;
  margin-left:.5vw;
}
.img-wrapper img {
  width: 100%;
}

.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;
}
.img-overlay i {
  color: #fff;
  font-size:3vw;
}

#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: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#overlay img {
  margin: 0;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  padding:0;
}
.no-padding-left {
padding-left:0 !important;
}
.margin-left {
margin-left:1.5vw !important;
}
@media screen and (min-width: 768px) {
  #overlay img {
    width: 100%;
  }
  .img-overlay i {
  color: #fff;
  font-size:25px;
}
}
@media screen and (min-width: 1200px) {
  #overlay img {
    width:100%;
  }
}

#nextButton {
  color: #fff;
  font-size:3vw;
  transition: opacity 0.8s;
}
#nextButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #nextButton {
    font-size:50px;
	position:absolute;
	right:25px;
  }
}

#prevButton {
  color: #fff;
  font-size: 2vw;
  transition: opacity 0.8s;
}
#prevButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #prevButton {
       font-size:50px;
	position:absolute;
	left:25px;
  }
}

#exitButton {
  color: #fff;
  font-size: 2vw;
  transition: opacity 0.8s;
  position: absolute;
  top: 1vw;
  right: 1vw;
}
#exitButton:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  #exitButton {
    font-size:3vw;
  }
}
@media all and (max-width : 768px) {
  #overlay img {
    width:100%;
  }
  .img-overlay i {
  color: #fff;
  font-size:30px;
}
  #nextButton, #prevButton {
    font-size:30px;
	position:absolute;
	right:25px;
  }
    #prevButton {
    font-size:30px;
	position:absolute;
	left:25px;
  }
    #exitButton {
    font-size:30px;
  }
}
