.multi-modal__wrapper {
    z-index: 9001;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.multi-modal__table {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    table-layout: fixed;
}

.multi-modal__table-cell {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.multi-modal__backdrop {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

    .multi-modal__backdrop.is-active {
        opacity: 0.75;
    }

.modal, .modal--remote, .modal--ie {
    display: none;
    z-index: 2;
}

.modal, .modal--remote {
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

.modal, .modal--ie {
    border-radius: 6px !important;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 400px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
}

.modal--ie {
    width: 100%;
}

.modal__fullscreen {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

    .modal__fullscreen.is-visible {
        opacity: 1;
    }

.modal__wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal__header {
    background: #19c587;
    border-bottom: 1px solid #dadada;
    font-size: 32px;
    line-height: 64px;
    font-weight: 300;
    text-align: center;
    color: #fff;
}

.modal__close {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 4px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
    font-weight: 400;
    text-align: center;
    color: #404040;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
}

    .modal__close:hover {
        color: #08c;
    }

.modal__close--mobile {
    display: none;
}

.modal__close--fullscreen {
    position: fixed;
}

.modal__main {
    padding: 16px 24px;
    background: #fff;
}

.modal__content {
    margin-bottom: 16px;
    font-size: inherit;
    font-weight: inherit;
    text-align: left;
}

    .modal__content p {
        text-align: center;
    }

    .modal__content:last-child {
        margin-bottom: 0;
    }

.modal__actions {
    text-align: center;
}

    .modal__actions .modal__button {
        display: inline-block;
        padding: 10px 20px;
        border-radius: 6px;
        font-weight: 600;
        background-color: #19c587;
        border: none;
        color: white;
        padding: 16px 32px;
        text-align: center;
        font-size: 16px;
        margin: 4px 2px;
        opacity: 0.6;
        transition: 0.3s;
    }

        .modal__actions .modal__button:hover {
            opacity: 1;
            text-decoration: none;
        }



        .modal__actions .modal__button:only-child {
            width: 100%;
            max-width: 100%;
        }

        .modal__actions .modal__button:nth-child(2) {
            margin-left: 16px;
        }

@media (max-width: 767px) {
    .modal__close--mobile {
        display: block;
    }
}
