@import "simple-lightbox.css";
._gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
._gallery ._item {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
}
._gallery.first-full ._item:first-child{
  grid-column: 1 / -1;
}
._gallery.first-full ._item:first-child img{
  width: 100%;
  height: auto;
}
._gallery ._item img {
  opacity: 1;
}
.sl-overlay {
  z-index: 99998;
}
.sl-wrapper {
  top: -1px !important;
  bottom: -1px !important;
  z-index: 99999;
}
.sl-wrapper .sl-close {
  background: transparent !important;
  color: black !important;
}
.sl-wrapper .sl-navigation button {
  background: transparent !important;
  color: black !important;
}
.sl-wrapper .sl-caption {
  background: transparent !important;
  position: absolute !important;
  padding: 15px !important;
}
.sl-wrapper .sl-caption table {
  width: auto;
  border-collapse: collapse;
}
.sl-wrapper .sl-caption table tr td {
  padding: 2px 10px;
  background: white;
  color: black;
  border: 1px solid black;
  font-size: 13px;
}
.sl-wrapper ._details {
  position: absolute;
  z-index: 9;
  bottom: 0;
  right: 0;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.5);
  padding: 3px 6px;
  cursor: pointer;
}
.sl-wrapper ._details:before {
  content: "\2139";
  margin-right: 3px;
}
@media (max-width: 992px) {
  ._gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  ._gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  ._gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
