@media (min-width: 1024px) {
    .ngparaquickgallery {
        width: var(--width);
        margin: 0 auto;
    }
}

.ngparaquickgallery-stage {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: var(--gap,0px);
}

.ngparaquickgallery-stage li {
    display: block;
    padding: 0;
    margin: 0;
}

.ngparaquickgallery-stage li button {
    display: block;
    appearance: none;
    border-radius: 0;
    border: 0;
    background: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.ngparaquickgallery-stage button:focus-visible {
    outline: none;
}

.ngparaquickgallery-stage button:focus-visible img {
    filter: brightness(150%);
}

.ngparaquickgallery-stage li.ngparaquickgallery-1col {
    width: 100%;
}

.ngparaquickgallery-stage li.ngparaquickgallery-2col {
    width: calc(100% / 2 - var(--gap,0px) / 2);
}

.ngparaquickgallery-stage li.ngparaquickgallery-3col {
    width: calc(100% / 3 - var(--gap,0px) / 3 * 2);
}

.ngparaquickgallery-stage li.ngparaquickgallery-topleft button {
    border-top-left-radius: var(--corner,0px);
}

.ngparaquickgallery-stage li.ngparaquickgallery-topright button {
    border-top-right-radius: var(--corner,0px);
}

.ngparaquickgallery-stage li.ngparaquickgallery-bottomleft button {
    border-bottom-left-radius: var(--corner,0px);
}

.ngparaquickgallery-stage li.ngparaquickgallery-bottomright button {
    border-bottom-right-radius: var(--corner,0px);
}


.ngparaquickgallery-stage li button img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 300ms;
}

.ngparaquickgallery-stage li button:hover img {
    opacity: 0.8;
}

.ngparaquickgallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    grid-template-rows: 1px 40px minmax(0, 1fr) 40px 1px;
    grid-template-columns: 1px 40px minmax(0, 1fr) 40px 1px;
    gap: 12px;
    display: none;
    user-select: none;
    z-index: 2000;
}

.ngparaquickgallery-lightbox>img {
    object-fit: contain;
    grid-column: 3;
    grid-row: 3;
    align-self: stretch;
    justify-self: stretch;
    display: none;

}

.ngparaquickgallery-lightbox ul {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row: 4;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    justify-self: center;
    gap: var(--gap,0px);
    max-width: calc(40px * 7 + var(--gap,0px) * 6);
    overflow: hidden;
    border-radius: var(--corner,0px);
}

.ngparaquickgallery-lightbox ul li {
    margin: 0;
    padding: 0;
    display: block;
    width: 40px;
    height: 40px;
    transform: translateX(calc(var(--offset,0) * (-40px - var(--gap,0px))));
    transition: transform 300ms;

}

.ngparaquickgallery-lightbox ul li button img {
    display: block;
    width: 40px;
    height: 40px;
    opacity: 0.4;
    transition: opacity 300ms;
}

.ngparaquickgallery-lightbox ul li button {
    appearance: none;
    border-radius: 0;
    border: 0;
    background: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.ngparaquickgallery-lightbox ul li button.ngparaquickgallery-lightbox-active {
    cursor: unset;
}

.ngparaquickgallery-lightbox ul li button:hover img {
    opacity: 0.5;
}

.ngparaquickgallery-lightbox ul li button.ngparaquickgallery-lightbox-active img {
    opacity: 1;
}

.ngparaquickgallery-close,
.ngparaquickgallery-next,
.ngparaquickgallery-prev {
    width: 40px;
    height: 40px;
    border-radius: var(--corner,0px);
    display: block;
    background-color: #222222;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-color 200ms;
    cursor: pointer;
    appearance: none;
    border: 0;
}

.ngparaquickgallery-close:hover,
.ngparaquickgallery-next:hover,
.ngparaquickgallery-prev:hover {
    background-color: #333333;
}

.ngparaquickgallery-close:focus-visible,
.ngparaquickgallery-next:focus-visible,
.ngparaquickgallery-prev:focus-visible {
    outline: 2px solid #eeeeee;
}

.ngparaquickgallery-close {
    grid-column: 4;
    grid-row: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16.00 16.00'%3E%3Cpath fill='%23eeeeee' d='M 16,1.53279L 14.4681,0L 8,6.46643L 1.53259,0L 0,1.53279L 6.46623,8L 0,14.4683L 1.53259,16L 8,9.53446L 14.4681,16L 16,14.4683L 9.53427,8L 16,1.53279 Z '/%3E%3C/svg%3E");
}
.ngparaquickgallery-next {
    grid-column: 4;
    grid-row: 3;
    align-self: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16.00 16.00'%3E%3Cpath fill='%23eeeeee' d='M 0,9L 12.1732,9L 6.58602,14.5865L 8,16L 16,8L 8,0L 6.58602,1.41399L 12.1732,7L 0,7L 0,9 Z '/%3E%3C/svg%3E");
}

.ngparaquickgallery-prev {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16.00 16.00'%3E%3Cpath fill='%23eeeeee' d='M 16,7L 3.8269,7L 9.41406,1.41341L 8,0L 0,8L 8,16L 9.41406,14.5859L 3.8269,9L 16,9L 16,7 Z '/%3E%3C/svg%3E");
}

.ngparaquickgallery-caption {
    grid-row: 2;
    grid-column-start: 2;
    grid-column-end: 4;
    color: #eeeeee;
    justify-self: stretch;
    align-self: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes ngparaquickgallery-fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ngparaquickgallery-lightbox-on {
    display: grid;
    animation: ngparaquickgallery-fadein 300ms;
}

.ngparaquickgallery-off {
    display: none;
}