/* reset */

html, body, div, p, h1, h2, h3, h4, h5, ol, ul, li, img, a, table, td, blockquote, figure, figcaption, audio,
header, nav, main, footer, article, input, textarea, select, span, form {
	margin: 0; padding: 0; border: none; outline: 0;
	font-family: 'Raleway', serif;
	box-sizing: border-box;
}


.blue {
	color: #3867b0;
}

/* adjustment for WP admin menu */
@media (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

/* header & footer */

header, footer {
    display: block;
    background-color: #69428a;
    color: #fff;
    height: 100px;
    width: 100%;
    position: relative;
}
    header {
        border-bottom: solid 1px #482f61;
        z-index: 200;
    }

.logo {
    position: absolute;
    top: 15px;
    height: 70px;
    width: auto !important;
}
    header .logo {
        left: 20px;
    }
    footer .logo {
        right: 0;
        top: 20px;
        height: 60px;
    }

#menu-mobile {
    display: none;
}

nav {
    position: absolute;
    top: 30px;
}
    header nav {
        right: 20px;
    }
    footer nav {
        left: 20px;
    }



/* menu */

.menu ul {
    list-style: none;
    display: inline-block;
}
    .menu ul li {
        display: inline-block;
        vertical-align: top;
        position: relative;
        white-space: nowrap;
    }
    .menu ul a {
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.5px;
        display: inline-block;
        text-decoration: none;
    }
    .menu ul li.admin a {
        padding: 0 5px;
    }
    .menu ul a:hover {
        color: #eec8f6;
    }

.menu a {
    font-size: 16px;
    line-height: 40px;
    padding: 0 12px;
}

.menu .menu-main img {
    width: 24px;
    vertical-align: text-bottom;
}

.menu .menu-main li ul {
    position: absolute;
    top: 40px;
    left: 15px;
    background-color: #9c63bf;
    display: none;
}
    .menu .menu-main li:hover ul {
        display: block;
        width: 200px;
        padding-bottom: 5px;
    }
    .menu .menu-main li ul li {
        display: block;
        width: 100%;
    }


.menu .menu-search a {
    height: 40px;
    padding: 0;
    width: 40px;
    margin: 0 5px;
}
    .menu .menu-search svg {
        width: 40px;
        height: 40px;
        fill: #fff;
    }
    .menu .menu-search a:hover svg {
        fill: #eec8f6;
    }


header .menu .menu-social,
header .menu .menu-terms {
    display: none;
}
    body.menu-open header .menu .menu-social,
    body.menu-open header .menu .menu-terms {
        display: block;
    }

.menu .menu-social a {
    margin: 0 5px;
    padding: 4px;
    height: 40px;
    width: 40px;
    background-color: #9c63bf;
    border-radius: 20px;
}
    .menu .menu-social svg {
        width: 31px;
        height: 31px;
        fill: #fff;
    }
    .menu .menu-social a:hover svg {
        fill: #eec8f6;
        stroke: #eec8f6;
    }
footer .menu-social {
    display: none;
}

@media (max-width: 1000px) {

    body {
        margin-top: 100px;
    }
    body.menu-open {
        overflow-y: hidden;
    }

    header {
        position: fixed;
        top: 0;
    }

    #menu-mobile {
        display: block;
        position: absolute;
        top: 20px;
        right: 40px;
        z-index: 255;
        cursor: pointer;
    }

    body.menu-open #menu-mobile {
        background-color: #8258a4;
    }

    header nav {
        width: 100%;
        position: fixed;
        top: 100px;
        left: 0;
        background-color: #8258a4;
        height: 0;
        transition: height 0.25s ease-in-out;
        overflow: hidden;
    }
    footer nav {
        display: none;
    }
    

    body.menu-open header nav {
        transition: height 0.25s ease-in-out, padding 0.25s ease-in-out;
        height: calc(100% - 100px);
        overflow-y: scroll;
    }

    .menu-main, .menu-social, .menu-search, .menu-terms {
        position: relative;
        width: 100%;
        padding: 10px 25px 0 0;
        text-align: left;
    }

    .menu-social {
        padding: 10px 30px 20px 0;
    }

    .menu-main li, .menu-terms li {
        position: relative;
        display: block;
        float: none;
        width: 100%;
    }

    .menu-social li {
        float: none;
    }

    .menu .menu-main li ul,
    .menu .menu-main li:hover ul {
        display: block;
        position: relative;
        top: 0;
        margin: 0 0 0 0 40px;
        width: calc(100% - 40px);
        padding: 0;
        background-color: #8258a4;
        border-left: solid 1px #fff;
    }
    .menu .menu-main li ul a {
        line-height: inherit;
        padding: 0 0 10px 20px;
    }

}

@media (max-width: 480px) {

    body {
        margin-top: 70px;
    }

    header {
        height: 70px;
    }

        header .logo {
            top: 10px;
            height: 50px;
            left: 10px;
        }

    #menu-mobile {
        top: 10px;
        right: 15px;
        width: 50px;
    }

    body.menu-open header nav {
        top: 70px;
        height: calc(100% - 70px);
    }
    
    .menu-main, .menu-social {
        padding-right: 10px;
    }
}




/* main */

body {
    background-color: #fff;
}

main {
    min-height: 700px;
    padding-bottom: 60px;
    position: relative;
}

    main.home {
        padding-bottom: 0;
    }

div.paper {
    max-width: 1020px;
    padding: 0 20px;
    margin: 0 auto;
    overflow: auto;
}

div.pagecontents {
    overflow: viisble;
}

.col-2 {
    float: left;
    width: 50%;
    padding-right: 40px;
}
.col-3 {
    float: left;
    width: calc(32% - 20px);
    padding-right: 20px;
}

@media (max-width: 800px) {
    .col-2, .col-3 {
        float: none;
        width: 100%;
    }
}


main p, main blockquote {
    font-size: 17px;
    line-height: 25px;
    font-weight: 400;
    margin: 0 0 1em 0;
}
main p.clearleft {
    clear: left;
}


main h1 {
    color: #c31da1;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 2.5rem 0 1.5rem;
}

main h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 1.5em 0 1em 0;
    letter-spacing: 1px;
    color: #0d52bf;
}

main .bk-h2 h1, main .bk-h2 h2 {
    margin: 10px 0;
    font-weight: 600;
    color: #fff;
}

main h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin: 1.5em 0 1em 0;
    clear: left;
}
.pagecontents > h3:first-child {
    margin-top: 0;
}

main h1, main h2, main h3, main h4, main p {
    max-width: 800px;
}

main a {
    color: #058ed1;
    font-weight: 500;
    text-decoration: none;
}

    main a:hover {
        text-decoration: underline;
    }

main ul, main ol {
    margin: 0 20px 1em 2em;
    max-width: 800px;
}

    main ul li, main ol li {
        padding-left: 0.5em;
        margin-bottom: 0.5em;
        line-height: 1.4em;
    }


main figure.alignright {
    float: right;
    max-width: 500px;
    margin: 4px 0 1em 1em;
}
main figure.alignleft {
    float: left;
    width: 300px;
    margin: 4px 1em 1em 0;
}
main figure img {
    max-width: 100%;
    min-width: 200px;
    height: auto !important;
}
main figure figcaption {
    color: #0d52bf;
}


main .PhotoR {
    float: right;
    margin: 4px 0 1em 1em;
    font-style: italic;
    color: #0d52bf;
}
main .PhotoL {
    float: left;
    margin: 4px 1em 1em 0;
    font-style: italic;
    color: #0d52bf;
}



main blockquote {
    margin-bottom: 1em;
}

main .fr-fil {
    float: left;
    max-width: 500px;
    margin: 4px 1em 0.9em 0;
}
main .fr-fir {
    float: right;
    max-width: 400px;
    margin: 4px 0 0.9em 1em;
}
main .fr-img-wrap {
    width: 100%;
}
    main .fr-img-wrap img {
        width: 100%;
        height: auto !important;
        line-height: 0.8em;
    }

main .fr-img-caption .fr-inner
{
    font-size: 14px;
	line-height: 1.4em;
    color: #0d52bf;
	display: inline-block;
}

@media (max-width: 800px) {

    main figure.alignright, main figure.alignleft,
    main .fr-fil, main .fr-fir {
        float: none;
        display: block;
        width: 100% !important;
        max-width: none;
        margin: 0 0 1em 0;
    }

}

main blockquote {
    margin-left: 40px;
}


/* Donation page */

.crm-container .status, .crm-container div.messages {
    background-color: #edd !important;
    max-width: 800px;
}

.content.contribution_amount-content {
    padding-left: 30px;
}


#priceset-div {
    background-color: #f0f0f0;
    max-width: 800px;
    padding: 10px;
}
.crm-public-form-item.crm-section.is_recur-section {
    background-color: #f0f0f0;
    padding: 10px;
    max-width: 800px;
}
.crm-public-form-item.crm-section.email-5-section {
    background-color: #f0f0f0;
    padding: 10px;
    max-width: 800px;
}
.crm-public-form-item.custom_pre_profile-group {
    background-color: #f0f0f0;
    padding: 10px 10px 5px 10px;
    max-width: 800px;
}
.crm-public-form-item.custom_pre_profile-group fieldset {
    margin-top: 0;
}
#billing-payment-block {
    background-color: #f0f0f0;
    padding: 10px;
    max-width: 800px;
}
.custom_post_profile-group {
    background-color: #f0f0f0;
    padding: 1px 20px 20px 20px;
    max-width: 800px;
}
/*
 #crm-container.crm-public #editrow-custom_6 .label {
    width: 21%;
}
#crm-container.crm-public #editrow-custom_6 .content {
    margin-left: 23%;
}
*/
#CIVICRM_QFID_0_custom_6, #CIVICRM_QFID_0_custom_7,
#CIVICRM_QFID_in_memory_of_custom_2, #CIVICRM_QFID_designated_for_custom_2 {
    margin-left: 10px;
}
.crm-contribution-page-id-3 #CIVICRM_QFID_designated_for_custom_2,
.crm-contribution-page-id-3 label[for=CIVICRM_QFID_designated_for_custom_2] {
    display: none;
}
#crm-submit-buttons {
    max-width: 800px;
}
#civicrm-footer {
    display: none;
}

#price_15 {
    width: 100px;
}
#email-5 {
    width: 200px
}
.crm-price-field-id-16 {
    border-bottom: solid 5px #f0f0f0;
}


/* Fix to Gala 2024 donation page */

img.gala-donor-2024 {
    max-width: 100%;
}