/* Modal */

*:focus {
    outline: 0;
}

#modal_opener {
    color: black !important;
    text-decoration: underline !important;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 990;
}

.modal .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 995;
    background: rgba(0, 0, 0, 0.85);
}

.modal .modal_content {
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90%;
    overflow: auto;
    background: #fff;
    padding: 20px;
    /* box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7); */
    text-align: center;
    border-radius: 4px;
    width: 520px;
    /* This just a default width */
}

.modal .modal_content>h2 {
    font-size: 28px;
    font-weight: 200;
    margin: 20px 0 40px;
    text-align: center;
}

.modal .modal_content .buttons_wrapper {
    padding: 20px;
}

.modal {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    filter: none;
}

.modal .close_modal:hover {
    opacity: 0.9;
}

.modal_content p {
    margin: 1rem 0;
}

@media screen and (max-width: 767px) {
    .modal .modal_content {
        top: 25%;
        width: 100%;
    }
}