.preventLightBoxOnRestrictedContentWidth {
  pointer-events: none;
}

.image-slider {
  display: flex;
  align-items: center;
  width: 100%;
}
.image-slider .slider-container {
  overflow: hidden;
  flex-grow: 1;
}
.image-slider .image-container {
  display: flex;
  flex-direction: row;
  transition: transform 0.2s ease-in-out;
}
.image-slider .image-container img {
  max-height: 100%;
  height: 200px;
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  cursor: pointer;
}
.image-slider .next-button {
  margin-left: 10px;
  padding: 5px 10px;
  cursor: pointer;
}
.image-slider .next-button svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: var(--primary-color);
}

.lightbox {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox .lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.lightbox .lightbox-content img {
  cursor: default;
}
.lightbox .lightbox-author {
  max-width: 50%;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .lightbox .lightbox-author {
    margin-top: 50px;
  }
}
.lightbox .lightbox-description {
  max-width: 50%;
  color: white;
  font-size: 1rem;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .lightbox .lightbox-description {
    margin-top: 20px;
  }
}
.lightbox .prev-button, .lightbox .next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background: #fff;
  padding: 1rem;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .disabled-button {
  cursor: not-allowed;
  opacity: 0.5;
}
.lightbox .prev-button {
  left: 20vw;
}
.lightbox .prev-button svg {
  width: 2rem;
  height: 2rem;
  fill: var(--primary-color);
}
.lightbox .next-button {
  right: 20vw;
}
.lightbox .next-button svg {
  width: 2rem;
  height: 2rem;
  fill: var(--primary-color);
}
@media (max-width: 768px) {
  .lightbox .prev-button, .lightbox .next-button {
    top: 75%;
    transform: translateY(-75%);
  }
}
.lightbox .lightbox-img {
  max-width: 100%;
  max-height: 100%;
}
.lightbox .close-button {
  position: absolute;
  padding: 1rem;
  top: -20px;
  right: -20px;
  background: #fff;
  border-radius: 100%;
  cursor: pointer;
  /** fix for height in ajax */
  height: 56px;
}
.lightbox .close-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--primary-color);
}