.choice-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    overflow-y: auto;
    background: rgba(40, 42, 91, 0.72);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.choice-modal.is-open,
.choice-modal[hidden].is-open {
    display: block;
}

.choice-modal[hidden] {
    display: none;
}

body.choice-modal-open {
    overflow: hidden;
}

.choice-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 12vh auto 20px;
    padding: 0;
    overflow: visible;
    background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 16px 40px rgba(40, 42, 91, 0.28);
    box-shadow: 0 16px 40px rgba(40, 42, 91, 0.28);
    text-align: center;
    color: #222;
}

.choice-modal__dialog h2 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.25;
    color: #fff;
    background: url(/img/front/bg-footer.jpg) 50% 0;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-modal__dialog p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

.choice-modal__actions {
    position: relative;
    z-index: 0;
    display: block;
    overflow: visible;
    padding: 25px 26px 32px 20px;
}

.choice-modal__actions .btn {
    position: relative;
    z-index: auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 18px;
    font-weight: 600;
    white-space: normal;
    text-align: center;
}

.choice-modal__actions .btn:first-child {
    margin: 0 0 38px;
}

.choice-modal .btn.btn-green {
    background: #33e2bd;
    color: #fff;
}

.choice-modal .btn.btn-green:hover,
.choice-modal .btn.btn-green:focus {
    background: #3ae5c4;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 480px) {
    .choice-modal__dialog {
        margin-top: 8vh;
        padding: 0;
    }

    .choice-modal__dialog h2 {
        font-size: 22px;
    }
}
