.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1021;
  }
  .lightbox__thumbnail {
    width: 100%;
    height: 100%;
  }
  .lightbox__thumbnail img {
    width: 100%;
  }
  .lightbox__close {
    position: fixed;
    right: 0;
    top: 0;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    width: 4rem;
    height: 4rem;
  }
  .lightbox__arrow--invisible {
    visibility: hidden;
  }
  .lightbox__element {
    display: flex;
    width: 100%;
    height: fit-content;
  }
  .lightbox__arrow {
    padding: 0 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lightbox__arrow svg {
    fill: #fff;
    pointer-events: none;
  }
  .lightbox__image {
    flex: 1;
  }
  .lightbox__image img {
    width: 100%;
    height: auto !important;
  }
  @media screen and (max-width: 720px) {
    .lightbox__arrow {
      padding: 0 1rem;
    }
  }
  @media screen and (max-width: 500px) {
    .lightbox__element {
      position: relative;
    }
    .lightbox__arrow {
      position: absolute;
      padding: 0 2rem;
      height: 100%;
    }
    .lightbox__arrow--right {
      right: 0;
      background: linear-gradient(to right, transparent, rgba(0, 0, 0, .3));
    }
    .lightbox__arrow--left {
      left: 0;
      background: linear-gradient(to left, transparent, rgba(0, 0, 0, .3));
    }
  }


  .lightbox__default-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
  .lightbox__default-loader__element {
    animation: LightboxDefaultLoaderAnimation 1s linear infinite;
    border: 3px solid #292929;
    border-top: 3px solid #fff;
    border-radius: 50%;
    height: 75px;
    width: 75px;
  }
  @keyframes LightboxDefaultLoaderAnimation {
    to {
      border-top-color: #fff;
      transform: rotate(360deg);
    }
  }
