body.hidden-scroll {
  overflow: hidden;
}

.ipl-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #fff;
  opacity: 0.96;
  display: none;
  z-index: 1006;
}

.ipl-wrapper {
  z-index: 1000;
}
.ipl-wrapper button {
  border: 0 none;
  background: transparent;
  font-size: 24px;
  padding: 0;
  cursor: pointer;
}
.ipl-wrapper button:hover {
  opacity: 0.7;
}
.ipl-wrapper .ipl-close {
  display: none;
  position: fixed;
  right: 30px;
  top: 30px;
  z-index: 1015;
  color: #666;
}
@media (max-width: 800px) {
  .ipl-wrapper .ipl-close {
    top: 22px;
  }
}
.ipl-wrapper .ipl-counter {
  display: none;
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1015;
  color: #666;
}
.ipl-wrapper .ipl-navigation {
  width: 100%;
  display: none;
  color: #666;
}
.ipl-wrapper .ipl-navigation button {
  position: fixed;
  top: 50%;
  margin-top: -10px;
  height: 30px;
  width: 30px;
  line-height: 30px;
  text-align: center;
  display: block;
  z-index: 1015;
  font-family: arial sans-serif;
}
.ipl-wrapper .ipl-navigation button.ipl-next {
  right: 40px;
}
.ipl-wrapper .ipl-navigation button.ipl-prev {
  left: 40px;
}
.ipl-wrapper .ipl-image {
  position: fixed;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 10000;
}
.ipl-wrapper .ipl-image img {
  margin: 0;
  padding: 0;
  display: block;
}
.ipl-wrapper .ipl-image iframe {
  border: 0 none;
  background: #666;
}
.ipl-wrapper .ipl-image .ipl-caption {
  display: none;
  padding: 10px;
  color: #fff;
  background: #666;
  opacity: 0.8;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.ipl-wrapper .ipl-image .ipl-caption.pos-top {
  bottom: auto;
  top: 0;
}
.ipl-wrapper .ipl-image .ipl-caption.pos-outside {
  bottom: auto;
}
.ipl-wrapper .ipl-image .ipl-download {
  display: none;
  position: absolute;
  bottom: 5px;
  right: 5px;
  color: #fff;
  z-index: 1005;
}

.ipl-spinner {
  display: none;
  border: 5px solid #333;
  border-radius: 40px;
  height: 40px;
  left: 50%;
  margin: -20px 0 0 -20px;
  opacity: 0;
  position: fixed;
  top: 50%;
  width: 40px;
  z-index: 1007;
  -webkit-animation: pulsate 1s ease-out infinite;
          animation: pulsate 1s ease-out infinite;
}

.ipl-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1);
            transform: scale(0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1);
            transform: scale(0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    opacity: 0;
  }
}