/*
 Theme Name:   GeneratePress Child
 Theme URI:    http://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Thomas Usborne
 Author URI:   http://edge22.com
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/*
primary blue: #4773A6
green: #72A636
yellow: #F7BC50
red: #F95349
purple: #733E7F
 * 
 * 
*/


/* Custom CSS by Dave Foy - https://www.designbuildweb.co - hello@designbuildweb.co
https://www.designbuildweb.co/custom-tweaks/
 */

/* Use the same method of sizing elements as Elementor does */
body * {
	box-sizing: border-box;
}

/* Elementor - set some default left and right padding on mobile - same as in GeneratePress */
.elementor-top-section.elementor-section-boxed > .elementor-container {
	padding: 0 20px;
}

/* 1. Don't set padding if an Elementor library item is embedded within another section via shortcode */
/* 2. Don't set padding if an Elementor library item is embedded within a standard non-full width page */
.elementor-top-section .elementor-top-section.elementor-section-boxed > .elementor-container,
body:not(.full-width-content) .entry-content .elementor-top-section.elementor-section-boxed > .elementor-container {
	padding: 0;
}

/* 3. Don't set padding if the section has a class of 'nopad' */
.elementor-top-section.elementor-section-boxed.nopad > .elementor-container {
	padding: 0;
}

/* Make Elementor elements expand to fit the full available width. This is due to how Elementor puts padding all the way around columns */
.elementor-section-boxed .elementor-column-gap-default .elementor-row {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
}
.elementor-section-boxed .elementor-column-gap-narrow .elementor-row {
    width: calc(100% + 10px);
    margin-left: -5px;
    margin-right: -5px;
}
.elementor-section-boxed .elementor-column-gap-extended .elementor-row {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
}
.elementor-section-boxed .elementor-column-gap-wide .elementor-row {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}
.elementor-section-boxed .elementor-column-gap-wider .elementor-row {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
}
/*Elem Fix END*/


.jet-radio-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0rem 1rem;
}

.jet-radio-list .jet-radio-list__item .jet-radio-list__decorator {
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}
.jet-listing .jet-listing-dynamic-terms {
    display: flex;
    flex-wrap: wrap;
}

.jet-listing-grid__loader {
    visibility: hidden;
    margin-top: 1.5rem;
}
.jet-listing-grid__loader .jet-listing-grid__loader-spinner {
    display: none;
}
.jet-listing-grid__loader .jet-listing-grid__loader-text {
    border: 1px solid #999;
    padding: 0.25em 1.5em;
    cursor: pointer;
}
[class*="jet-listing"][class*="loading"] .jet-listing-grid__loader-spinner {
    display: block;
}

.paging-navigation,
.facetwp-pager {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1.5rem !important;
    margin-top: 1.5rem;
}

.paging-navigation .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: .75em;
}
.paging-navigation .nav-links > *,
.facetwp-pager .facetwp-page {
    border: 1px solid #999;
    padding: .35em .5em;
    cursor: pointer;
    line-height: 1;
}
.paging-navigation .nav-links > .current,
.facetwp-pager .facetwp-page.active {
    background: #5071a5;
    border-color: #5071a5;
    color: #fff;
    font-weight: bold;
}

#research-reports-listing-grid {
    display: block !important;
}

.post-type-archive-cong_engagement .facetwp-template,
.post-type-archive-research_report .facetwp-template {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-type-archive-cong_engagement .facetwp-template > article,
.post-type-archive-research_report .facetwp-template > article {
    flex: 100%;
    background: #fff;
    padding: 1rem;
}

@media (min-width: 400px) {
    
    .post-type-archive-cong_engagement .facetwp-template > article,
    .post-type-archive-research_report .facetwp-template > article {
        flex: 1 1 30%;
    }
   
}

.post-type-archive-cong_engagement #nav-below,
.post-type-archive-research_report #nav-below {
    display: none !important;
}

.facetwp-facet-congregational_engagement.facetwp-type-radio,
.facetwp-facet-research_reports.facetwp-type-radio {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0em 2em;
}

.facetwp-facet-congregational_engagement.facetwp-type-radio .facetwp-display-value,
.facetwp-facet-research_reports.facetwp-type-radio .facetwp-display-value {
    white-space: nowrap;
}

