.prago_photo_gallery {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 100vh;
  z-index: 100000000000000;
  background-color: black;
  outline: none;
  overscroll-behavior: contain;
  overflow: auto;
}

.prago_photo_gallery-hiddencontrols .prago_photo_gallery_btn {
  display: none;
}

.prago_photo_gallery-hiddencontrols .prago_photo_gallery_count {
  display: none;
}

.prago_photo_gallery-hiddencontrols .prago_photo_gallery_description {
  display: none;
}

.prago_photo_gallery_images {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overscroll-behavior: contain;
  overflow-x: auto;
  flex-direction: row;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 32px;
}

.prago_photo_gallery_image_container {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}

.prago_photo_gallery_image {
  max-width: 100%;
  max-height: 100%;
  position: relative;
}

.prago_photo_gallery_hidden {
  display: none !important;
}

.prago_photo_gallery_btn {
  color: white;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 48px;
  backdrop-filter: blur(5px);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.prago_photo_gallery_btn_icon {
  width: 32px;
}

.prago_photo_gallery_btn:hover {
  transform: scale(1.05);
}

.prago_photo_gallery_btn:active {
  transform: scale(0.95);
}

.prago_photo_gallery_close {
  top: 16px;
  right: 16px;
}

.prago_photo_gallery_prev {
  top: calc(50vh - 16px);
  left: 16px;
}

.prago_photo_gallery_next {
  top: calc(50vh - 16px);
  right: 16px;
}

.prago_photo_gallery-single .prago_photo_gallery_prev {
  display: none;
}

.prago_photo_gallery-single .prago_photo_gallery_next {
  display: none;
}

.prago_photo_gallery_description {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 16px;
  line-height: 1.3em;
  max-width: calc(100vw - 32px);
  padding: 8px 16px;
  border-radius: 8px;
}

.prago_photo_gallery_count {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.8rem;
  line-height: 1.3em;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 8px;
  color: white;
}
