#lyf-theme-gallery-lightbox {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#lyf-theme-gallery-lightbox .wp-block-image {
    flex-grow: 0;
    max-height: 100%;
    margin: 0;
    display: flex;
}

#lyf-theme-gallery-lightbox .wp-block-image img {
    object-fit: contain;
}

.lyf-theme-lightbox-gallery .wp-block-image {
    cursor: pointer;
}

.lyf-theme-gallery-lightbox-overlay {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    background: #252525;
}

.lyf-theme-gallery-lightbox-overlay.show {
  display: grid;
  grid-template-columns: 10% 80% 10%;
  align-items: center;
}

.lyf-theme-gallery-lightbox-nav {
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.lyf-theme-gallery-lightbox-nav .dashicons {
    font-size: calc(20px + 2vw);
    color: #ffffff;
    width: auto;
    height: auto;
}

.lyf-theme-gallery-close-lightbox {
  position: absolute;
  z-index: 9;
  display: flex;
  top: 10px;
  right: 10px;
  cursor: pointer;
  padding: 5px;
  align-items: center;
  text-align: center;
}

.lyf-theme-gallery-close-lightbox .dashicons {
  width: auto;
  height: auto;
  color: #ffffff;
  font-size: 32px;
}

@media only screen and (min-width: 768px) {
    .lyf-theme-gallery-close-lightbox .dashicons {
        font-size: 40px;
    }
}

@media only screen and (min-width: 1200px) {
    .lyf-theme-gallery-close-lightbox .dashicons {
        font-size: 60px;
    }
}
