/* Creative Edge Toolkit for YOOtheme Pro — Modal Window */

/*
 * 1010 = UIkit's own @modal-z-index (@global-z-index 1000 + 10), so the
 * floating box sits above the sticky navbar like a real modal. Width is set
 * per instance by the element's "Width" field (inline style).
 */
.mwfy-floating {
    margin: 20px;
    z-index: 1010;
    position: relative;
}

.mwfy-floating-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

/*
 * The close icon must never be covered: with the Panel's margin removed and
 * Padding set to None, the panel's own card/hover styling can reach the same
 * stacking layer as UIkit's close button (z-index 1010) in the same corner.
 */
.uk-modal-close-default,
.uk-modal-close-outside,
.mwfy-floating-close {
    z-index: 2000 !important;
}
