.festival-modal .modal-dialog {
    max-width: none;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}
.festival-modal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: visible;
    width: auto;
    max-width: none;
}
.festival-modal__content {
    animation-duration: .45s;
}
.festival-modal__image {
    display: block;
    width: auto;
    max-width: 92vw;
    max-height: 85vh;
    height: auto;
    pointer-events: auto;
    user-select: none;
    margin: 0 auto;
}
.festival-modal__link {
    display: block;
    text-decoration: none;
}
.festival-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(159, 159, 159, 0.66);
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    z-index: 1050;
    transition: background .2s ease;
}
.festival-modal__close:hover {
    background: rgba(0,0,0,.75);
}
.festival-modal__close:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.modal.festival-modal{
    background-color: #00000094 !important;
}

.modal-backdrop.show {
    opacity: 0 !important;
}
/* Bootstrap 4.5.3 responsive breakpoints */
@media (max-width: 576px) {
    .festival-modal .modal-dialog {
        padding: 0.5rem;
    }
    .festival-modal__image {
        max-width: 94vw;
        max-height: 80vh;
    }
    .festival-modal__close {
        top: -10px;
        right: -10px;
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .festival-modal .modal-dialog {
        padding: 0.5rem;
    }
}
