/* Thumbnail grid: the rules 10Web Photo Gallery used for these galleries
   (theme 1, 250x181 thumbnails, zoom effect). */
.bwg_container {
  position: relative;
  margin: 20px auto;
}
.bwg-container {
  font-size: 0;
  width: 2504px;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px 0 0 4px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}
.bwg-item {
  display: flex;
  flex-direction: column;
  width: 250px;
  max-width: 250px;
  cursor: pointer;
}
.bwg-item a {
  margin: 0 4px 4px 0;
}
.bwg-item0 {
  overflow: hidden;
  position: relative;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.3);
}
.bwg-item1 {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding-top: 72.4%;
}
.bwg-item2 {
  position: absolute;
  inset: 0;
}
.bwg-item2 img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  padding: 0 !important;
  margin: 0 !important;
}
.bwg-zoom-effect .bwg-zoom-effect-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all 0.45s ease-in-out;
}
.bwg-zoom-effect:hover .bwg-zoom-effect-overlay {
  opacity: 1;
}
@media only screen and (min-width: 480px) {
  .bwg-item2 img {
    transition: all 0.3s;
  }
  .bwg-zoom-effect:hover img,
  .bwg-item2 img:hover {
    transform: scale(1.08);
  }
  .bwg-zoom-effect .bwg-zoom-effect-overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

/* Lightbox */
.wd-lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
}
.wd-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.wd-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 48px 64px;
}
.wd-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.wd-lightbox__caption {
  margin-top: 12px;
  font-size: 15px;
  text-align: center;
}
.wd-lightbox__count {
  position: absolute;
  top: 16px;
  left: 20px;
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}
.wd-lightbox__btn {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  padding: 8px 14px;
  cursor: pointer;
  opacity: 0.8;
}
.wd-lightbox__btn:hover,
.wd-lightbox__btn:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}
.wd-lightbox__prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.wd-lightbox__next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.wd-lightbox__close {
  top: 4px;
  right: 8px;
  font-size: 40px;
}
@media only screen and (max-width: 575px) {
  .wd-lightbox__figure {
    padding: 48px 8px;
  }
  .wd-lightbox__prev,
  .wd-lightbox__next {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
