/*
 * Seamless Donations by David Gewirtz, adopted from Allen Snook
 * Copyright (c) 2015-2020 by David Gewirtz
 *
 * Do not modify the following metadata or any %VARIABLES% in the CSS

Template Name: Worship
Featured Image: worship.png
Allow Custom Image: true
Custom Image Size: 844x281
Custom Image Notes: Be sure the bottom part of the image is transparent to allow the background to join with the image. Save the file as a transparent PNG.
 */

/* FONT IMPORT */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sail&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@600&display=swap');

/* TEST FOR RESPONSIVE FORM STYLE */

/* Floating column for labels: 25% width */
.seamless-donations-col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.seamless-donations-col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

.seamless-donations-form-row:after {
    content: "";
    display: table;
    clear: both;
}

/* BOX MODEL */

#dgx-donate-container {
    border: none;
    margin: 0 12px 12px 12px;
    border-radius: 8px;
}

.dgx-donate-form-section {
    padding: 20px;
    margin: 0 0;
}

#dgx-donate-form-header-section,
#dgx-donate-form-donation-section,
#dgx-donate-form-tribute-section,
#dgx-donate-form-donor-section,
#dgx-donate-form-billing-section,
#dgx-donate-form-payment-section,
#dgx-donate-form-footer-section {
    border-left-color: #000000;
    border-left-width: 1px;
    border-left-style: solid;
    border-right-color: #000000;
    border-right-width: 1px;
    border-right-style: solid;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    /*-webkit-box-shadow: 2px 3px 6px 0 rgba(0, 0, 0, 0.75);*/
    /*-moz-box-shadow: 2px 3px 6px 0 rgba(0, 0, 0, 0.75);*/
    /*box-shadow: 2px 3px 6px 0 rgba(0, 0, 0, 0.75);*/
}

#dgx-donate-form-header-section {
    background-color: #7c9823;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 1px;
    border-top-style: solid;
    padding: 0;
    height:200px;
}

#dgx-donate-form-header-div {
    background-image: url("https://rachelsstories.com/wp-content/plugins/seamless-donations-beautiful-donation-forms/images/worship.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 250px;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
}

#dgx-donate-form-donation-section {
    background-color: #7c9823;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 10px;
}

#dgx-donate-form-tribute-section {
    background-color: #7c9823;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 1px;
}

#dgx-donate-form-donor-section {
    background-color: #7c9823;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 1px;
}

#dgx-donate-form-billing-section {
    background-color: #7c9823;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 1px;
}

#dgx-donate-form-payment-section {
    background-color: #536f0e;
    border-radius: 0;
    border-top-color: #000000;
    border-top-width: 1px;
}

#dgx-donate-form-footer-section {
    display:none;
}

/* WARNING MESSAGE */

#dgx-donate-form-sandbox-warning:after, #dgx-donate-form-sandbox-warning:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

#dgx-donate-form-sandbox-warning:after {
    border-color: rgba(153, 6, 16, 0);
    border-top-color: #990610;
    border-width: 30px;
    margin-left: -30px;
}
#dgx-donate-form-sandbox-warning:before {
    border-color: rgba(238, 70, 73, 0);
    border-top-color: black;
    border-width: 36px;
    margin-left: -36px;
}

#dgx-donate-form-sandbox-warning {
    margin-bottom: 35px;
    border-radius: 8px;
    padding: 10px;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #990610;
    border: 4px solid black;
}

#dgx-donate-form-sandbox-warning p {
    font-family: Helvetica, "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    color: white;
    font-weight: bold;
}

/* TEXT AND INPUT FORM */


.dgx-donate-form-section h2 {
    font-family: 'Sail', cursive;
    letter-spacing: 0;
    text-transform: unset;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom-width: medium;
    color: #fdedc2;
}

#_dgx_donate_designated,
#_dgx_donate_honor_by_email {
    margin-top: 10px;
}

.dgx-donate-form-section h2:before {
    /* this is here to clean up a weird theme issue */
    content: unset !important;
}

.dgx-donate-form-section p {
    font-family: 'Josefin Slab', serif;
    font-size: 20px;
    padding: 0;
    margin: 0;
    font-weight: normal;
    color: #fdedc2;
}

.dgx-donate-form-section label {
    font-family: 'Josefin Slab', serif;
    vertical-align: middle;
    font-size: 20px;
    font-weight: normal;
    padding-left: 4px;
    padding-right: 4px;
    text-align: right;
    width: 125px;
    display: inline-block;
    min-height: 40px;
    line-height: 40px;
    color: #fdedc2;
}

#_dgx_donate_honoree_name > label {
    width: unset;
    display: inline-block;
}

/* format the horizontal giving levels */
.dgx-donate-form-section .horiz {
    font-family: 'Josefin Slab', serif;
    font-weight: bold;
    font-size: 18px;
    color: #fdedc2;
}

.dgx-donate-form-section input[type="text"] {
    font-family: 'Josefin Slab', serif;
    font-weight: bolder;
    width: 100%;
    margin-right: 10px;
    font-size: 18px;
    padding: 4px;
    border-radius: 4px;
    vertical-align: middle;
    height: 2em;
    box-sizing: border-box;
    resize: vertical;
    min-height: 40px;
    background-color: #d4dc6d;
    border-color: #536f0e;
    color: #812d0d;
}

#_dgx_donate_honor_by_email,
#_dgx_donate_honor_by_post_mail,
#_dgx_donate_employer_match,
#_dgx_donate_add_to_mailing_list,
#_dgx_donate_anonymous {
    margin-left: 150px;
}

.dgx-donate-form-section input[type="checkbox"] {
    margin-right: 0.5em;
    border: 1px solid gray;
}

.dgx-donate-form-section input[type="radio"] {
    margin-right: 0.5em;
    border: 1px solid gray;
}

.dgx-donate-form-section select {
    font-family: 'Josefin Slab', serif;
    font-weight: bolder;
    max-width: 200px;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
    vertical-align: middle;
    background-color: #d4dc6d;
    color: #812d0d;
}



.dgx-donate-form-section input.dgx-donate-pay-enabled {
    padding: 10px;
    cursor: pointer;
    border: none;
}

.dgx-donate-pay-disabled {
    padding: 10px;
}

.dgx-donate-form-section input[type="submit"] {
    width: 100%;
    background-color: #536f0e;
    vertical-align: center;
    border: none;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Sail', cursive;
    letter-spacing: 0;
    text-transform: unset;
    font-size: 48px;
    margin-top: 0;

    border-bottom-width: medium;
    color: #fdedc2;
}

/* ERROR MANAGEMENT */

.seamless-donations-error-message-field {
    color: red;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 0;
    width: 100%;
    font-size: 14px;
}

input[type="text"].seamless-donations-invalid-input {
    background-color: lightpink;
}

.dgx-donate-form-section input.dgx-donate-invalid-input {
    background: #faa;
}

.dgx-donate-busy, .dgx-donate-error-msg, .dgx-donate-pay-disabled {
    display: none;
}


/* UNTESTED */

.dgx-donate-form-section #designate_fund {
    margin-top: 1em;
}

.dgx-donate-form-section #repeating_checkbox {
    margin-top: 1em;
}

div#designated_fund_selector select {
    max-width: 100%;
}


.dgx-donate-form-designated-box {
    margin-bottom: 24px;
}

.dgx-donate-form-section span.horiz {
    margin-left: 10px;
}

.dgx-donate-form-section #header_desc + span.horiz {
    margin-left: unset;
}

/* MEDIA SCREEN WIDTH VARIATIONS */

/* Responsive layout - when the screen is less than 600px wide,
make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .seamless-donations-col-25, .seamless-donations-col-75 {
        width: 100%;
        margin-top: 0;
    }

    #dgx-donate-form-header-section {
        height:100px;
    }

    .dgx-donate-form-section h2{
        font-size: 28px;
    }
    .dgx-donate-form-section label {
        vertical-align: bottom;
        font-size: 14px;
        background-color: unset;
        text-align: left;
        min-height: unset;
        line-height: unset;
        position: relative;
        top: 5px;
    }

    .dgx-donate-form-section p {
        font-size: 14px;
        padding: 0;
        margin: 0;
    }
    .dgx-donate-form-section span.horiz {
        display:block;
        margin-left: unset;
        font-size: 14px;
    }

    #dgx-donate-form-sandbox-warning {
        border-top-width: 4px;
        border-top-style: solid;
        border-bottom-width: 4px;
        border-bottom-style: solid;
        border-color: #EE4649;
        margin-bottom: 32px;
        padding: 2px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #dgx-donate-form-sandbox-warning p {
        font-size: 16px;
        line-height: 18px;
    }

    #dgx-donate-form-header-section,
    #dgx-donate-form-donation-section,
    #dgx-donate-form-tribute-section,
    #dgx-donate-form-donor-section,
    #dgx-donate-form-billing-section,
    #dgx-donate-form-payment-section,
    #dgx-donate-form-footer-section {
        width: 100%;
    }

    #_dgx_donate_honor_by_email,
    #_dgx_donate_honor_by_post_mail,
    #_dgx_donate_employer_match,
    #_dgx_donate_add_to_mailing_list,
    #_dgx_donate_anonymous {
        margin-left: 0;
    }

    .dgx-donate-form-section input[type="submit"] {
        font-size: 32px;
    }
}


