
a:focus, a:hover {
    text-decoration: none;
}
.page-header {
  margin-bottom: 0;
}
#gallery {
  padding-top: 40px;
  padding-bottom: 30px;
  background-color: #FFF9EE;
  @media screen and (min-width: 991px) {
    padding: 60px 30px 0 30px;
  }
  }

  .img-wrapper {
  position: relative;
  margin-top: 15px;
  img {
    width: 100%;
  }
  }
  .img-overlay {
  background: rgb(0 0 0 / 33%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  i {
    color: #fff !important;
    font-size: 4rem !important;
  }
  }
  .img-overlay  i {
    color: #fff !important;
    font-size: 4rem !important;
  }

  #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;
    img
    {
      margin: 0;
      width: 60%;
      height: 90% !important;
      object-fit: contain;
      padding: 5%;
      @media screen and (min-width:768px)
      {
          width: 60%;
      }
      @media screen and (min-width:1200px)
      {
          width: 50%;
      }
    }
  }
  .media_img{
    height: 90% !important;
  }

  #nextButton {
  color: #fff;
  font-size: 4em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 2em;
  }
  }

  #prevButton {
  color: #fff;
  font-size: 4em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width:768px) {
    font-size: 2em;
  }
  }

  #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;
    }
  }

@media screen and (max-width: 992px) {
  .media_img{
    width: 80%;
    height: auto !important;
  }
  #nextButton{
    font-size: 3rem;
  }
  #prevButton{
    font-size: 3rem;
  }
}
