/* Common styles for .pray-banner */
.pray-banner {
    background-color: #EEF7F9;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    min-height: 460px;
    position: relative;
}

.prayer-img {
    object-fit: contain;
}

.icon,
#prayer-subscribe-error {
    display: none !important;
}

.pray-banner::before {
    content: "";
    position: absolute;
    left: 53%;
    width: 47%;
    height: 460px;
    background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG%20&%20JPG/lead_gen_footer_background_desktop@2x.png");
    background-size: cover;
    z-index: 0;
}

.pray-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 52%;
    width: 460px;
    height: 460px;
    background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG%20&%20JPG/lead_gen_footer_foreground_desktop@2x.png");
    background-size: cover;
    z-index: 1;
}

/* Common styles for .email input */
#prayer-subscribe,
.email {
    font-size: 18px;
    border-radius: 0.5rem !important;
    font-weight: 500;
    border: 0.5px solid #777;
    padding: 0.6em 2em !important;
    max-width: 320px;
    position: relative;
    background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG%20&%20JPG/icon_email_768692_small.png") !important;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: calc(100% - 97%) center;
}

/* Common styles for .btn.subscribe-btn */
.btn.subscribe-btn {
    font-size: 17px;
    padding: 0.6em 1em;
    width: 143px;
}

/* Common styles for h2 elements */
h2.underline {
    margin-bottom: 3rem !important;
    position: relative;
}

.pray-banner h2.yellow_underline:after {
    background: #ffd000 !important;
    right: unset;
}

.pray-banner h2.underline:after {
    top: calc(100% + 0rem);
}

/* Media queries */
@media (max-width: 767px) {

    .pray-banner {
        background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG & JPG/lead_gen_background_mobile.png");
        background-color: #EEF7F9;
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: auto;
        min-height: 724px;
    }

    .pray-banner .center_div {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0%);
        z-index: 1;
    }

    .pray-banner::after,
    .pray-banner::before {
        content: unset;
    }

    .pray-banner h2.yellow_underline:after {
        background: #ffd000 !important;
        right: 0;
    }

    .pray-banner h2.underline:after {
        top: calc(100% + 1.5rem);
    }

    .email,
    .btn.subscribe-btn {
        max-width: 100% !important;
    }
}

/* Styles for iPad portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: portrait) {
    .pray-banner {
        background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG & JPG/lead_gen_background_mobile.png");
        background-color: #EEF7F9;
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: contain;
        min-height: 724px;
    }

    .pray-banner h2.yellow_underline:after {
        right: 0;
    }

    .pray-banner .center_div {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0%);
        z-index: 1;
    }

    .pray-banner::after,
    .pray-banner::before {
        content: unset;
    }

    .email {
        max-width: 100%;
    }
}

/* Styles for iPad landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: landscape) {
    .pray-banner {
        background-color: #EEF7F9;
        background-repeat: no-repeat;
        background-position: right;
        background-size: contain;
        min-height: 460px;
        position: relative;
    }

    .pray-banner::before {
        content: "";
        position: absolute;
        left: 53%;
        width: 47%;
        height: 460px;
        background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG%20&%20JPG/lead_gen_footer_background_desktop@2x.png");
        background-size: cover;
        z-index: 0;
    }

    .pray-banner::after {
        content: "";
        position: absolute;
        top: 0;
        left: 52%;
        width: 460px;
        height: 460px;
        background-image: url("/../../wp-content/themes/donation/img/pray-with-us/PNG%20&%20JPG/lead_gen_footer_foreground_desktop@2x.png");
        background-size: cover;
        z-index: 1;
    }
}