.modal-popup {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.75);
    top: 0;
    left: 0;
    z-index: 40;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: none
}

.modal-popup__close {
    padding: 40px 40px 32px;
    text-align: right;
    font-size: 3rem;
    color: #000000;
    cursor: pointer;
}

.modal-popup__block {
    background: #fff;
    -webkit-box-shadow: 0 15px 25px 0 rgba(84,65,108,0.3);
    -moz-box-shadow: 0 15px 25px 0 rgba(84,65,108,0.3);
    box-shadow: 0 15px 25px 0 rgba(84,65,108,0.3);
    position: relative;
    max-width: 500px;
    margin: auto;
}

/*@media (max-width: 767px) {
    .modal-popup__block {
        width: 100%;
        height: 100%
    }
}*/

.modal-popup__content {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0px 40px 0;
}

.modal-popup__text {
    width: 100%;
    font-size: 1.5rem;
    margin-top: 0
}

.modal-popup__title {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 0.35em
}

.modal-popup__footer {
    background: #fafafa;
    padding: 0 40px 24px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: flex-end;
    gap: 0 8px;
}

@media (min-width: 768px) {
    .modal-popup__footer {
        flex-direction: row;
    }
}

.modal-popup__footer--valign {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.modal-popup__link {
    /* font-size: 1.5rem; */
    text-decoration: none;
    color: #000;
    padding-right: 15px;
}

.modal-popup__link + .modal-popup__link {
    padding-right: 0;
    padding-left: 15px;
}

.modal-popup__link:hover {
    text-decoration: underline
}

.modal-popup__link .fas {
    color: #ff0198;
    margin-left: 0.25em
}

.modal-popup__link.btn .fas {
    color: #fff
}
