.modal {
    background: rgba(20, 20, 20, 0.5);
}
.modal .modal-content {
    max-height: 85vh;
    border-radius: 10px;
    background: #FEFEFE;
    box-shadow: 5px 2px 4px 0px rgba(0, 0, 0, 0.03);
    font-family: 'Open Sans', sans-serif;
}
.modal .modal-dialog {
    animation: show-up 0.4s;
    max-width: 630px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}
.modal .modal-body .modal-title {
    color: #4A4A4A;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.45px;
    text-transform: uppercase;
    max-width: 330px;
    margin: 0 auto 16px;
}
.modal .modal-body p {
    color: #505B6E;
    font-size: 14px;
    font-weight: 400;
    max-width: 330px;
    margin: 0 auto;
}
.modal .modal-body .preloader {
    display: block !important;
    position: relative;
    width: 50px;
    height: 50px;
    margin: 20px auto 0;
    background-color: transparent;
    background-size: 50px;
}
.modal .modal-footer {
    border-top: 1px solid #DDDDDD;
}
.modal .modal-close {
    z-index: 2;
    position: absolute;
    right: 14px;
    top: 14px;
    cursor: pointer;
    width: 14px;
    height: 14px;
}
.modal .modal-close:after,
.modal .modal-close:before {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: #5E6A8D;
    left: 0;
    top: 6px;
}
.modal .modal-close:before {
    transform: rotate(45deg);
}
.modal .modal-close:after {
    transform: rotate(-45deg);
}
.modal .btn-no {
    padding: 0;
    background: transparent;
    border: 0;
    color: black;
    text-decoration: underline;
}
.modal .btn-no:hover {
    text-decoration: none;
}
.modal .subscribe-content {
    display: flex;
    flex-wrap: wrap;
}
.modal .subscribe-wrapper {
    flex: 45%;
    margin: 5px;
}
.modal .cta-btn {
    border: 1px solid var(--theme-color);
    padding: 10px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    transition: all .3s ease-in-out;
}
.modal .cta-btn .price {
    transition: all .3s ease-in-out;
    color: var(--theme-color);
}
.modal .cta-btn:hover {
    background-color: var(--theme-color);
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    color: white;
}
.modal .cta-btn:hover .price {
    color: white;
}

/*New modal design*/
.modal.modal-action {
    background: var(--brand-colors-modal-backdrop);
}
.modal.modal-action .modal-dialog {
    max-width: max-content;
}
.modal.modal-action .modal-content {
    padding: 44px;
    border-radius: 20px;
    box-shadow: 0 2px 28px 0 rgba(3, 38, 2, 0.12);
    background: var(--interface-colors-white);
}
.modal.modal-action .modal-body {
    padding: 0;
}
.modal.modal-action .modal-body .modal-title {
    font-weight: 700;
    font-size: 20px;
    margin: 20px 0 0;
    text-align: center;
    letter-spacing: normal;
    text-transform: none;
    color: var(--interface-colors-black);
}
.modal.modal-action .modal-body p {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: var(--brand-colors-dark-green);
    margin-top: 12px;
}
.modal.modal-action .modal-body p a {
    color: var(--brand-colors-dark-green);
    font-weight: 700;
}
.modal.modal-action .modal-footer {
    border: 0;
    padding: 0;
    margin-top: 16px;
}
.modal.modal-action .modal-footer .modal-button {
    border: 1px solid;
    margin: 4px;
    padding: 9px;
    border-radius: 10px;
    width: 120px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all .2s ease-in-out;
}
.modal.modal-action .modal-footer .modal-button-transparent {
    border-color: var(--interface-colors-icons-color);
    color: var(--brand-colors-dark-green);
}
.modal.modal-action .modal-footer .modal-button-color {
    background: var(--brand-colors-dark-green);
    border-color: var(--brand-colors-dark-green);
    color: var(--interface-colors-white);
}
.modal.modal-action .modal-footer .modal-button-transparent:hover {
    border-color: var(--brand-colors-dark-gray);
}
.modal.modal-action .modal-footer .modal-button-color:hover {
    background: var(--brand-colors-dark-green-hover);
    border-color: var(--brand-colors-dark-green-hover);
}
.modal.modal-action .modal-close {
    z-index: 2;
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
.modal.modal-action .modal-close:after,
.modal.modal-action .modal-close:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: var(--interface-colors-icons-color);
    left: 0;
    top: 7px;
    transition: all .2s ease-in-out;
}
.modal.modal-action .modal-close:hover:before,
.modal.modal-action .modal-close:hover:after{
    background-color: var(--brand-colors-dark-gray);
}

@keyframes show-up {
    from {
        transform: translateY(-600px);
    }
    to {
        transform: translateY(-50%);
    }
}