.custom-fade-in {
    animation: customFadeIn 0.5s forwards;
}

.custom-fade-out {
    animation: customFadeOut 0.5s forwards;
}

@keyframes customFadeIn {
    from {
        opacity: 0;
        transform: none;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes customFadeOut {
    from {
        opacity: 1;
        transform: none;
    }
    to {
        opacity: 0;
        transform: none;
    }
}

.fancybox-fade-in {
    opacity: 0;
    transition: opacity 0.3s;
}

.fancybox-fade-in.fancybox-slide--previous {
    opacity: 1;
}

.fancybox-fade-out {
    opacity: 1;
    transition: opacity 0.3s;
}

.fancybox-fade-out.fancybox-slide--current {
    opacity: 0;
}

.fancybox__image {
    transform: translate3d(0px, 0px, 0px) scale(1) !important;
}

button.f-button[data-panzoom-action="iterateZoom"] {
    display: none !important;
}

.fancybox__viewport.is-draggable {
    cursor: default;
}

.is-draggable .fancybox__content {
    cursor: default;
}
