/* Global Modal Styles */
.mhi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #b9b9b978;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.bg-gray {
    background-color: #0000001A;
}


.mhi-modal-overlay.active {
    display: flex;
}

.mhi-modal {
    background: var(--white, #fff);
    width: 100%;
    max-width: 606px;
    position: relative;
    padding: 17px 13px;
    border: 1px solid var(--mid-grey, #d9d9d9);
    border-radius: 4px;
}

.mhi-modal-inner {
    padding: 50px 26px;

}

.mhi-modal-close {
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-blue, #7D9AA5);
    background: none;
    border: none;
    line-height: 1;
}

.mhi-modal-close:hover {
    color: var(--primary-red, #E31F26);
}

.mhi-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 22px;
    color: #000000;
}

.mhi-modal-content p {
    line-height: 1.2;
}

.mhi-modal-content p:last-of-type {
    margin-bottom: 0;
}

.mhi-modal-content h3 {
    color: #000;
    font-weight: 700;
}

.mhi-modal-title {
    color: #000;
    margin-bottom: 5px;
}

.mhi-modal-subtitle {
    color: #000;
    margin-bottom: 18px;
    font-weight: 700;
}

.mhi-modal-amount {
    font-size: 50px;
    font-weight: 400;
    color: #3D5E6A;
    margin-bottom: 20px;
    line-height: 1;
}

.mhi-modal-info {
    font-size: 16px;
    color: #000;
}

.modal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-footer .modal-action {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.mhi-modal .info-text {
    font-size: 16px;
    font-weight: 300;
    color: #2D414D
}

.mhi-modal .info-text>a {
    text-decoration: underline;
}

div#modal-redeem-success .mhi-modal {
    max-width: 466px;
}