.mgPopup {
    padding: 0;
    position: absolute;
    background-color: #FFF;
    border: none;
    z-index: 1;
}

.mgPopup.body {
    position: fixed;
    padding: 15px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
}

.mgClose {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    /*background-color: #EEE;*/
    cursor: pointer;
}

.mgClose hr {
    border: none;
    width: 24px;
    height: 2px;
    background-color: #8e8e8e;
    position: absolute;
    top: 11px;
    left: 8px;
}

.mgClose hr:first-child {
    transform: rotate(45deg);
}

.mgClose hr:last-child {
    transform: rotate(-45deg);
}

.mgClose:hover hr {
    background-color: #000;
}

.mgPopup.scroll {
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

@media all and (max-width: 799px) {
    .mgPopup { width: 100%; }
}
