#elementor-popup-modal-842:not([open]) {
    display: none;
}

#elementor-popup-modal-842[open] {
    position: fixed;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

#elementor-popup-modal-842::backdrop {
    background: transparent;
}

html:has(#elementor-popup-modal-842[open]) {
    overflow: hidden;
}

#elementor-popup-modal-842 .dialog-widget-content {
    position: relative;
    max-width: 100%;
}

#elementor-popup-modal-842 .dialog-message {
    max-width: 100vw;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#elementor-popup-modal-842 .dialog-close-button {
    position: absolute;
    z-index: 1;
    padding: 0;
    border: 0;
    background: transparent;
}

#elementor-popup-modal-842[open] .dialog-widget-content {
    animation: slideInLeft 1s ease both;
}

#elementor-popup-modal-842[data-chiusura] .dialog-widget-content {
    animation: mulino-chiudi-menu 1s ease both;
}

@keyframes mulino-chiudi-menu {
    to { transform: translate3d(-100%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #elementor-popup-modal-842[open] .dialog-widget-content {
        animation: none;
    }
}

#elementor-popup-modal-842 .elementor-nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#elementor-popup-modal-842 .elementor-nav-menu--layout-horizontal > .elementor-nav-menu {
    display: flex;
    align-items: center;
}

#elementor-popup-modal-842 .elementor-nav-menu .elementor-item-active:not(:hover):not(:focus-visible) {
    color: #7198a6;
}
