#popup_iframe_wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.jqmOverlay {
    background: #181818;
    opacity: .79 !important;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2999;
}

.jqmOverlay,
.popup-window-overlay {
    background: rgba(0, 0, 0, .4);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    opacity: 1 !important;
}

.popup.show {
    border-radius: 8px;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.jqmWindow,
.popup {
    animation: toggle_opacity 200ms;
}

.popup,
div[id^="CatalogSetConstructor"] .popup-window {
    background: #fff;
}

.mCustomScrollbar {
    -ms-touch-action: pinch-zoom;
    touch-action: pinch-zoom;
}

.popup {
    display: none;
    position: fixed;
    width: 580px;
    max-height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 8px;
    -moz-radius: 5px;
    -webkit-border-radius: 8px;
}

.show {
    display: block !important;
}

.basket_popup_frame.popup {
    left: unset;
    right: 0;
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    bottom: 0;
}