.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1005;
    background: rgba(255, 255, 255, .75);
}

html.modal-show,
html.modal-show body {
    overflow: hidden;
}

html.modal-show .modal {
    display: block;
}

.modal-content {
    background-color: #fff;
    margin: 15px;
    padding: 15px;
    border: 1px solid #000;
}

@media (min-width: 690px) {
    .modal-content {
        width: 640px;
        margin: 15% auto;
    }
}

.modal .close {
    float: right;
    display: inline-block;
    background: transparent;
    border: none;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.modal .close::after {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '\00D7';
    font-size: 16px;
    color: #000;
}
.modal .close:hover::after {
    color: #e4154b;
}
