/* Begin Lovegrass CSS */


.board-first-para {
	margin-top:5%;
}

.readers {
	margin-left:5%;
}

/* End Lovegrass CSS */

/*
    Theme Name:     Johnson County Library Foundation
    Description:    Customized version of the "Charity WP Theme" parent theme for the Johnson County Library Foundation.
    Author:         Four Lights Web Development and Billy Pilgrim
    Template:       charity-wpl
    Version:        1.0.0
*/

/*
 * Red: #ac1e2c;
 * Yellow: #ffc52f;
 */

/*****************************************************************************/
/*** General *****************************************************************/
/*****************************************************************************/

body {
    color: #000 !important;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
    color: #000 !important;
}

.event-alt .event-meta,
.slider-news .slide .slide-content p {
    color: #000 !important;
}

/* Underline text links for accessibility */
.hentry a {
    text-decoration: underline;
}

/* Yellow text */
.text-yellow {
    color: #ffc52f;
}

/* Yellow box */
.yellow-box {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    /*letter-spacing: 0.05rem;*/
    padding: 2rem;
    background-color: #ffc52f;
}

/* Hide any empty p tags */
p:empty {
    display: none;
}

.post-single .entry blockquote {
    margin-top: 0;
    margin-bottom: 30px;
}

/* For some reason the theme isn't catching this and is leaving it orange */
.button.button-default:focus {
    background-color: #ac1e2c;
}

/*****************************************************************************/
/*** Header ******************************************************************/
/*****************************************************************************/

/* Remove phone padding for desktop; skews alignment  */
/*@media only screen and (min-width:1023px) {
    .bar .bar-phone {
        padding-top: 0;
    }
}*/

/* Un-bold phone and add hover color to match design better */
/*
.bar .bar-phone a:link,
.bar .bar-phone a:visited {
    color: #000;
    font-weight: 400;
}
.bar .bar-phone a:hover,
.bar .bar-phone a:active,
.bar .bar-phone a:focus {
    color: #ac1e2c !important;
}*/

/* The % admin option doesn't seem to work */
.header .header-logo img {
    width: 300px !important;
}

/* Don't force a height on page titles */
.main .main-head {
    height: auto;
    background-color: #ffc52f;
}

/* Even out page title spacing */
.main .main-head .main-head-content {
    padding-bottom: 60px;
}

.main .main-head h1.main-title {
    margin: 0;
}

.main .main-head h1.main-title.main-title-alt {
    color: #000;
}

@media only screen and (max-width:640px) {
    .header .header-logo img {
        width: 200px !important;
    }

    .main .main-head .main-head-content {
        padding-bottom: 20px;
    }
}

/*****************************************************************************/
/*** Menu ********************************************************************/
/*****************************************************************************/

.nav > ul > li > a {
    color: #000;
    line-height: 22.75px;
}

.nav li li a {
    padding-top: .7rem !important;
    padding-bottom: .7rem !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    line-height: 1.3 !important;
}

.sub-menu {
    padding-left: 0 !important;
}

/* Highlight menu when sub-item is selected, or 2nd level */
.nav > ul > li.current-menu-ancestor > a,
.nav > ul > li > ul.sub-menu > li.current-menu-item > a {
    color: #ac1e2c;
}

/* Add primary as 2nd level menu hover */
.nav > ul > li > a:hover,
.nav > ul > li > a:focus,
.nav > ul > li > a:active,
.nav > ul > li > ul > li > a:hover,
.nav > ul > li > ul > li > a:focus,
.nav > ul > li > ul > li > a:active {
    color: #ac1e2c;
}

/* Change active color from orange default to primary */
.button-burger.active span::before,
.button-burger.active span::after {
    background: #ac1e2c;
}

/* Bring in the rightmost dropdown so it doesn't get cropped off the page
 and align menus in smaller screen size */
@media only screen and (min-width:1024px) and (max-width:1199px) {
    #menu-main-menu > li > ul.sub-menu {
        left: 0;
    }
}
@media only screen and (min-width:1024px) {
    #menu-main-menu > li:last-child > ul.sub-menu {
        right: 0;
        left: auto;
    }
}

@media only screen and (max-width:1023px) {
    /* Fix bumpy mobile menu that shouldn't need a hover state */
    .nav > ul > li:hover > ul {
        display: none;
    }
}

/*****************************************************************************/
/*** Footer ******************************************************************/
/*****************************************************************************/

/* Even out spacing in callout */
#callout {
    padding: 40px 0;
}
#callout .callout-title {
    margin-bottom: 0;
}
#callout > .grid-container > div > .cell:last-of-type {
    display: none; /* Hide empty second column */
}

/* Make callout button(1) primary color */
.callout a.button.call-1:link,
.callout a.button.call-1:visited,
.callout a.button.call-1:hover,
.callout a.button.call-1:active,
.callout a.button.call-1:focus {
    background-color: #ac1e2c;
    border-color: #ac1e2c;
    color: #fff;
}
.callout a.button.call-1:hover,
.callout a.button.call-1:active,
.callout a.button.call-1:focus {
    background-color: #ac1e2c;
    border-color: #ac1e2c;
	/* previous values for both #b52735 */
}

/* Make callout button(2) secondary color */
.callout a.button.call-2:link,
.callout a.button.call-2:visited,
.callout a.button.call-2:hover,
.callout a.button.call-2:active,
.callout a.button.call-2:focus {
    background-color: #ffc52f;
    border-color: #ffc52f;
    color: #000;
}
.callout a.button.call-2:hover,
.callout a.button.call-2:active,
.callout a.button.call-2:focus {
    background-color: #ffcd37;
    border-color: #ffcd37;
}

/* Even up footer spacing that parent theme makes different
by injecting wrappers from app.js */
.custom-widgets-home .grid-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-section-body .textwidget a {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*****************************************************************************/
/*** Homepage ****************************************************************/
/*****************************************************************************/

@media only screen and (min-width:640px) {
    /* Change slider text box padding to be more consistent */
    .home .slider-intro .slide-alt .slide-content .slide-content-inner {
        padding: 55px;
    }

    /* Change size/spacing on slider slide title */
    .home .slider-intro .slide-alt .slide-title {
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    /* Change size on slider slide button */
    .home .slider-intro .slide-alt .slide-actions .button.button-white:link,
    .home .slider-intro .slide-alt .slide-actions .button.button-white:visited,
    .home .slider-intro .slide-alt .slide-actions .button.button-white:active,
    .home .slider-intro .slide-alt .slide-actions .button.button-white:hover,
    .home .slider-intro .slide-alt .slide-actions .button.button-white:focus {
        font-size: 16px;
    }
}

/* Change bg color of slider text box to secondary */
.home .slider-intro .slide-alt .slide-content .slide-content-inner {
    background-color: #ffc52f;
}

/* Change slider slide title to black */
.home .slider-intro .slide-alt .slide-title {
    color: #000;
}

/* Remove divider line/space between slide title and button-link */
.home .slider-intro .slide-alt .slide-title::after {
    display: none;
}

/* Change slider slide button to look less buttony and more linky */
.home .slider-intro .slide-alt .slide-actions .button.button-white:link,
.home .slider-intro .slide-alt .slide-actions .button.button-white:visited,
.home .slider-intro .slide-alt .slide-actions .button.button-white:active,
.home .slider-intro .slide-alt .slide-actions .button.button-white:hover,
.home .slider-intro .slide-alt .slide-actions .button.button-white:focus {
    border: 0;
    color: #000;
    padding: 0;
    width: auto;
    background-color: transparent;
    text-align: left;
}

@media only screen and (max-width:640px) {
    /* Change slider text box padding to be more consistent */
    .home .slider-intro .slide-alt .slide-content .slide-content-inner {
        padding: 30px;
    }
}

/*****************************************************************************/
/*** Forms *******************************************************************/
/*****************************************************************************/

label {
    color: #000;
}

/* Some gravity forms style adjustments: */
div.gform_wrapper {
    max-width: 100% !important;
}

.gform_wrapper ul.gfield_checkbox li,
.gform_wrapper ul.gfield_radio li {
    overflow: visible !important;
}

.gform_wrapper .gfield_checkbox li input,
.gform_wrapper .gfield_checkbox li input[type="checkbox"],
.gform_wrapper .gfield_radio li input[type="radio"] {
    margin-top: 9px !important;
    margin-right: 7px !important;
    vertical-align: top !important;
}

.gform_wrapper ul.gfield_checkbox li input[type="checkbox"] + label,
.gform_wrapper ul.gfield_radio li input[type="radio"] + label
.gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked + label,
.gform_wrapper ul.gfield_radio li input[type="radio"]:checked + label {
    font-weight: 400 !important;
    font-size: 14px;
    color: #000;
}

.gfield_required {
    color: #ac1e2c !important;
    font-weight: 700 !important;
    margin-left: 0 !important;
}

.gform_wrapper ol.validation_list li {
    list-style-type: none !important;
}

.gform_wrapper ol.validation_list li::before {
    color: #ac1e2c;
}

.gform_wrapper .ginput_complex > span {
    min-height: 0 !important
}

.gform_wrapper > br,
.gform_wrapper > p,
.gform_footer > br,
.gform_footer > p,
.gform_wrapper > form > p {
    display: none;
}

.gform_wrapper .instruction {
    white-space: normal !important;
}

.gform_wrapper.gf_browser_ie .gform_footer input.button {
    padding: 12px 15px !important;
}

@media only screen and (max-width:767px) {
    .gf_left_half,
    .gf_right_half,
    .ginput_left,
    .ginput_right,
    .gf_left_third,
    .gf_middle_third,
    .gf_left_third {
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/*****************************************************************************/
/*** Donation Form ***********************************************************/
/*****************************************************************************/

/* "This is a library lets loose sponsorship" checkbox */
/*#field_1_15 {
    margin-top: -5px;
    /*margin-bottom: -10px;
}*/

/* "Make this a monthly donation" checkbox */
#field_1_10 {
    margin-top: -10px;
    /*margin-bottom: -10px;*/
}

#field_1_10 .gfield_label,
#field_1_15 .gfield_label,
.hide-label .gfield_label {
    /* Hide the label (but not from screen readers: */
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.gform_wrapper [type="checkbox"],
.gform_wrapper [type="radio"] {
    margin-bottom: 0 !important;
}

/*#field_1_14 .ginput_container_checkbox {
    margin-top: -5px !important;
}*/

.gform_validation_errors h2,
.gform_validation_errors li,
.gform_validation_errors a {
    font-size: 16px !important;
}

/*****************************************************************************/
/*** Donation Form - Library Lets Loose **************************************/
/*****************************************************************************/

#field_2_10 {
    margin-top: -20px;
    margin-bottom: -20px;
}

#field_2_10 .gfield_label {
    /* Hide the label (but not from screen readers: */
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

#field_2_14 .ginput_container_checkbox {
    margin-top: -5px !important;
}

#field_2_15 .ginput_container_radio {
    margin-top: -5px !important;
}

#field_2_15 .ginput_container_radio label {
    font-size: 16.8px !important;
}

/*****************************************************************************/
/*** Events (Single) *********************************************************/
/*****************************************************************************/

.single-post_events .post .post-image {
    margin-bottom: 0;
}

    .single-post_events .post-image img {
        width: 100%;
    }

.single-post_events .post-event .post-bar ul {
    margin-top: 0;
}

.single-post_events .post-event .post-body {
    margin-top: 30px;
}

    .single-post_events .content .post-event .post-bar.buttons {
        background-color: transparent;
        padding: 0 !important;
        margin-top: 30px;
    }

        .single-post_events .content .post-event .post-bar .post-bar-actions {
            float: none;
        }

            .single-post_events .content .post-event .post-bar .post-bar-actions > a.button {
                width: 100%;
                background-color: #ac1e2c;
                color: #fff;
                text-decoration: none;
                padding: 20px;
                font-size: 2em !important;
                border: 0;
            }
            .single-post_events .content .post-event .post-bar .post-bar-actions > a.button:hover,
            .single-post_events .content .post-event .post-bar .post-bar-actions > a.button:active,
            .single-post_events .content .post-event .post-bar .post-bar-actions > a.button:focus {
                background-color: #ac1e2c;
				/* previous value #b52735 */
            }

.single-post_events .sidebar {
    position: relative;
}

    .single-post_events .wplook-google-map {
        /*position: static !important;
        width: 100% !important;*/
        height: 200px !important;
        margin-top: 30px;
    }

        .single-post_events .wplook-google-map > div {
            /*position: static !important;
            width: 100% !important;*/
            height: 200px !important;
        }

            .single-post_events .wplook-google-map > div > .gm-style {
                /*position: static !important;
                width: 100% !important;*/
                height: 200px !important;
            }

    .single-post_events .sidebar .post-event {}

        .single-post_events .sidebar .post-event .post-bar {
            background-color: transparent;
            padding: 0 !important;
            margin-top: 30px;
        }

            .single-post_events .sidebar .post-event .post-bar .post-bar-actions {
                float: none;
            }

                .single-post_events .sidebar .post-event .post-bar .post-bar-actions > a.button {
                    width: 100%;
                    border: 0;
                }

        .single-post_events .sidebar .post-event .post-foot {
            margin-top: 30px;
        }

    .single-post_events .sidebar .location-heading {
        margin-top: 22px;
    }

    .single-post_events .sidebar h4,
    .single-post_events .sidebar .post-share .socials > span {
        font-size: 16px;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 0.05em;
        color: #27262c
    }

    .single-post_events .sidebar h4 {
        margin-bottom: 1px;
    }

@media only screen and (max-width:767px) {
    .single-post_events .main-body .content {
        padding-bottom: 0;
    }
}

/*****************************************************************************/
/*** Custom Homepage "Featured Pages" ****************************************/
/*****************************************************************************/
.section-featured-pages {
    padding: 65px 0 30px;
}

    .section-featured-pages .section-title {
        font-size: 18px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .section-featured-pages .section-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 1px;
        margin: 16px 0 35px;
        background: #ac1e2c;
    }

    .section-featured-pages .section-body {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .section-featured-pages .custom-widgets-home {
        margin: 0;
    }

/*****************************************************************************/
/*** temporary JCL overrides to be merged into rules post-live
/*****************************************************************************/

/* font weight for header donate button */
.bar .bar-socials li.header-actions a {font-weight:900;}

/* typography */
.post-body p {font-size:1.2em;}
.post-single .entry blockquote p {font-size:1.2em;}
.content ul {font-size:1.2em;}
.sidebar .widget-title {font-size:1.5em;}

/* whitespace adjustments */
.callout {margin-top:0;}
.footer .footer-section .footer-section-title:after {margin:22px 0 20px;}
.post .post-image {margin-bottom:25px;}

.slider-intro .slide-alt .slide-image {max-height:590px;}
.slider-intro .slide-alt {height:590px;}
/* adjusts slightly off-center focal point to compensate for slider trim, with assumption on camera focus being slightly above center as per golden rule */
/* see offsets below with media queries */
.slider-intro .slide-alt .slide-content {top:60%;}

/* menu color change from red to white */
.nav > ul > li.current-menu-ancestor > a, .nav > ul > li > ul.sub-menu > li.current-menu-item > a {color:#fa6F1C;}
.nav > ul > li.current-menu-ancestor > a, .nav > ul > li > ul.sub-menu > li > a:hover {color:#fa6F1C;}
.footer-section-body a {color:rgb(220,220,220);}

/* turning off icons for calendar and location on Stories and Events */
.post-event .post-bar ul .fa {margin-right:0;}
.fa-calendar:before {content:"";}
.fa-map-marker:before {content:"";}

.post .post-meta .fa {margin-right:0;}
.fa-calendar-o:before {content:"";}

/* overriding background header image for blog monthly archives - may be in the parent theme since it is loaded inline, only appears in the archive with paths of 2018/06/14/ etc */
.post-template-default.single-post .main-head-image {background-image:none !important;}
.archive.date .main-head-image {background-image:none !important;} 

/* overrides for testing fixed navigation at top */
/*div.wrapper > div.bar {position:fixed; height:45px; width:100%; z-index:300; top:0;}
div.wrapper > header {position:fixed !important; top:45px; background-color:#FFFFFF; border-bottom:1px solid #DDDDDD; width:100%; height:100px;}
div.main {margin-top:145px;}
div.wrapper > div.slider-intro {margin-top:145px;}
.section-news {padding:95px 0 0px;}

.slide-image {background-position:center calc(50% + 40px) !important;}

@media only screen and (max-width:1730px) {
	.slide-image {background-position:center calc(50% + 0px) !important;}
	/* was 30 before migration * /
}
 */

@media only screen and (max-width:1385px) {
	.slide-image {background-position:center calc(50% + 0px) !important;}
	/* was 30 before migration */
}

@media only screen and (max-width:1250px) {
	.slide-image {background-position:center !important;}
}

/* single page exception for Sean review */
/* .page-library-lets-loose div.wrapper > div.bar {position:relative; height:45px; width:100%; z-index:300; top:0;}
.page-library-lets-loose div.wrapper > header {position:relative !important; top:0px; background-color:#FFFFFF; border-bottom:0px solid #DDDDDD; width:100%; height:100px;}
.page-library-lets-loose div.main {margin-top:0;}
*/

/* manual adjustments for Why I Give slides */
@media only screen and (max-width:850px) {
.owl-stage .owl-item:nth-child(2n+1) .slide-image {background-position:calc(50% - 80px) calc(50% - 20px) !important;}
}

@media only screen and (max-width:550px) {
.owl-stage .owl-item:nth-child(2n+1) .slide-image {background-position:calc(50% - 200px) calc(50% + 0px) !important;}
}

/*****************************************************************************/
/*** Notification Bar ********************************************************/
/*****************************************************************************/
.ht-notification-text {
    max-width: none !important;
}

.ht-notification-text p {
    line-height: 1.6;
}

.ht-notification-text a {
    text-decoration: underline;
    color: #fff !important;
}