.mgPopup {
    position: absolute;
    background-color: #FFF;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 960px;
    z-index: 1;
    padding-top: 20px;
}

.mgClose {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
}

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

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

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

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

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

.mgPopup .scroll {
    max-height: 600px;
    overflow-y: scroll;
}

@media all and (max-width: 599px) {
    .mgClose { right: 0px; }
}

/*.five-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

*/