/* Keep the page at full width while Bootstrap locks background scrolling. */
body.modal-open {
    position: static;
}

#fundraisingPopup .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 650px;
    margin: 1rem auto;
    min-height: calc(100% - 2rem);
}

#fundraisingPopup .modal-content {
    border: 20px solid #fff;
    border-radius: 0;
    padding: 18px 0 0;
    background: #ede8f2;
    color: #303030;
    text-align: center;
    font-family: "Barlow", sans-serif;
}

#fundraisingPopup .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 6px;
    border-radius: 0;
    opacity: 1;
}

#fundraisingPopup h2 {
    padding: 0 20px;
    margin: 0 0 22px;
    color: inherit;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 0.95;
    text-transform: none;
    letter-spacing: normal;
}

#fundraisingPopup p {
    padding: 0 20px;
    margin: 0 0 40px;
    color: inherit;
    font-size: 22px;
    line-height: 1.4;
}

#fundraisingPopup a {
    display: block;
    text-align: center;
}

#fundraisingPopup img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

@media (max-width: 575.98px) {
    #fundraisingPopup .modal-content {
        border-width: 12px;
        padding: 24px 0 0;
    }

    #fundraisingPopup h2 {
        font-size: 21px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    #fundraisingPopup p {
        font-size: 18px;
        margin-bottom: 24px;
    }

    #fundraisingPopup .fundraising-desktop-break {
        display: none;
    }
}
