#kb-gallery-lightbox {
    position: fixed;
    display: none;
    gap: 20px;
    grid-template-rows: auto 10px 120px;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #333;
    color: #fff;
    overflow: hidden;
    z-index: 999999;
}

#kb-gallery-lightbox-stats {
    font-size: 12px;
    text-align: center;
}

#kb-gallery-lightbox-options #kb-gallery-lightbox-right.disabled,
#kb-gallery-lightbox-options #kb-gallery-lightbox-left.disabled {
    color: #666;
    cursor: default;
}

#kb-gallery-lightbox-options #kb-gallery-lightbox-right,
#kb-gallery-lightbox-options #kb-gallery-lightbox-left {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: #3e3e3e;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#kb-gallery-lightbox-options .pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

#kb-gallery-lightbox-options .pagination .pagination-item {
    cursor: pointer;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: brightness(50%);
}

#kb-gallery-lightbox-options .pagination .pagination-item.currentItem {
    filter: brightness(100%);
}

#kb-gallery-lightbox-abort {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 100%;
    width: 40px;
    text-align: center;
    font-weight: bolder;
}

#kb-gallery-lightbox-content {
    margin: 50px 50px;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#kb-gallery-lightbox-options {
    width: 100%;
    height: 100px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.fmg-gallery-container {
    margin-bottom: 20px;
    position: relative;
}

.fmg-gallery-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8) url('https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.4/images/loader.gif') no-repeat center center; /* Beispiel-Loader-GIF */
    background-size: 50px;
    z-index: 10;
}

.fmg-gallery-filters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.fmg-gallery-filters h3 {
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333;
}

.fmg-gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

@media screen and (max-width: 600px) {
    .fmg-gallery-images {
        grid-template-columns: repeat(auto-fit, 100%);
    }
}

.fmg-gallery-item {
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.fmg-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 3px;
    transition: transform 2s ease;
}

.fmg-gallery-item:hover img {
    transform: scale(1.2);
    cursor: pointer;
}

.fmg-gallery-item a {
    text-decoration: none;
    color: inherit;
}

.fmg-no-results, .fmg-error {
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
    color: #777;
    grid-column: 1 / -1;
}

.vscomp-wrapper {
    font-size: 1em;
    color: unset;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.vscomp-option.focused {
    background-color: #fafafa !important;
}

.vscomp-ele {
    width: 100% !important;
}

.vscomp-wrapper .vscomp-toggle-button {
    border-radius: 10px;
}

.vscomp-wrapper.multiple .vscomp-option.selected .checkbox-icon::after {
    border-color: #a01f2c !important;
    border-left-color: rgba(0, 0, 0, 0) !important;
    border-top-color: rgba(0, 0, 0, 0) !important;
}

.vscomp-wrapper .checkbox-icon::after {
    border-color: #a01f2c !important;
}

.vscomp-wrapper:not(.has-value) .vscomp-value {
    opacity: 1 !important;
}