/*
Theme Name: Connecting Point 2020
Theme URI: https://www.wpsitehelper.com
Template: generatepress
Author: Tom Usborne (customized for Connecting Point by WPSiteHelper.com)
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the new block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS and is translated into over 25 languages by our amazing community of users. A few of our many features include microdata integration, 9 widget areas, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover) and navigation color presets. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 1.0.1605549305
Updated: 2020-11-16 11:55:05

*/

/*
 * 1. ROOT SELECTORS
 * 2. THEME
 * -Typography
 * -Colors
 * -Header
 * -Navigation
 * -Footer
 * -Overrides
 * 3. CUSTOM CLASSES
 * -Pages
 * -Layouts
 * -Components
 * 4. UTILITIES
*/



/* 
 * 1. ROOT SELECTORS
 * ----- ----- ----- ----- */
:root {

	/* SPACING */
	--spacing-scale: 1.5;
	--space-m: clamp(1rem, 4vw, 64px);
	--grid-gap: 1.5rem;
	--btn-padding-block: 0.75em;
	--btn-padding-inline: 1.5em;
	--border-radius: 12px;
	
	/* TYPOGRAPHY */
	--font-size: 16px;
	--text-scale: 1.414;
	--text-m: clamp(1rem, 1rem + 0.1vw, 4rem);
	--text-line-height: 1.5;
	--heading-line-height: 1.2;
	
	/* COLOR SYSTEM */
	
	
	/* SPACING scale custom properties */
	--space-xxs: calc(var(--space-xs) / var(--spacing-scale));
	--space-xs: calc(var(--space-s) / var(--spacing-scale));
	--space-s: calc(var(--space-m) / var(--spacing-scale));
	--space-l: calc(var(--space-m) * var(--spacing-scale));
	--space-xl: calc(var(--space-l) * var(--spacing-scale));
	--space-xxl: calc(var(--space-xl) * var(--spacing-scale));
	--space-3xl: calc(var(--space-xxl) * var(--spacing-scale));
	
	/* TYPOGRAPHY scale custom properties */
	--text-xxs: calc(var(--text-xs) / var(--text-scale));
	--text-xs: calc(var(--text-s) / var(--text-scale));
	--text-s: calc(var(--text-m) / var(--text-scale));
	--text-l: calc(var(--text-m) * var(--text-scale));
	--text-xl: calc(var(--text-l) * var(--text-scale));
	--text-xxl: calc(var(--text-xl) * var(--text-scale));
	--text-3xl: calc(var(--text-xxl) * var(--text-scale));
}

@media (max-width: 1440px) {
	:root {
		--spacing-scale: 1.333;
		--text-scale: 1.250;
	}
}



/*
 * 2. THEME
 * ------------------------------------------ */

/* ___Overrides___ */
.one-container .site-content {
    padding: var(--space-s);
}



/*
 * 3. CUSTOM CLASSES
 * ------------------------------------------- */
/* Frequently Asked Questions page */
.page-id-12867 .collection-title {
  display: none;
}

/* ___Home___ */
.home .site-footer {
	background-color: var(--gold);
}



/*
 * 4. UTILITIES
 * ----------------------------------------- */

/* Next 2 classes make cards clickable, 
 * YET ACCESSIBLE FOR SCREEN-READERS,  
 * when applied to the link and its parent */
.position-relative:has(.make-parent-clickable) {
	position: relative;
}
a.make-parent-clickable::before, 
.make-parent-clickable a::before {
	content: '';
    position: absolute;
    inset: 0;
    z-index: 100;
}



.wp-block-image a {
    display: block;
    padding-bottom: 10px; /* Ensures spacing while keeping hover within the image */
}/* Simple CSS */

/* THEME COLORS
 **************************** */
:root {
  --gold: #eeb50e; /* hsl(45deg 89% 49%) */
  --gold-contrast: #684400;
  --green: #80b624;
  --dark-green: #6c991e;
  --dark-dark-green: #5a8019;
  --light-blue: #6890ea;
  --medium-blue: #4870ca;
  --dark-blue: #3153A1;
  --dark-dark-blue: #2d3a5b;
  --logo-blue: #3052a0;

  --body-padding--desktop: 40px;
  --body__content-padding--desktop: 20px;
  --body-padding--tablet: 30px;
  --body__content-padding--tablet: 15px;
  --body-padding--mobile: 30px;
  --body__content-padding--mobile: 15px;

  --body__font-size: 19px;
}

.fluentform .ff-btn {
  font-size: var(--body__font-size);
}

/* hide CF turnstile */
.cf-turnstile[id*="cf-turnstile-"] { display: none; }
/* fix line return */
form.footer__optin__form fieldset br { display: none !important; }


/* GENERAL STYLING
 **************************** */

/* ___Buttons___ */
.gb-button-wrapper .gb-button.button span, 
.frm-fluent-form .ff-btn-submit, 
.elementor-button span {
  line-height: 1.2;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
}
.gb-button-wrapper .gb-button.button, 
.comments-area #comments #commentform #submit, 
.form-submit #submit, 
.fluentform .frm-fluent-form .ff-btn-submit, 
.elementor-button {
  background: linear-gradient(180deg, var(--medium-blue), var(--dark-blue));
  border-radius: var(--border-radius, 0.5em);
}
.home-cta-boxes-section .elementor-column > .elementor-widget-wrap {
  flex-direction: column;
}
.home-cta-boxes-section .elementor-column > .elementor-widget-wrap .elementor-widget-button:last-child {
  margin-top: auto;
}
.home-cta-boxes-section .elementor-button-wrapper .elementor-button {
  background-color: var(--gold);
  background: linear-gradient(180deg, var(--gold) 60%, rgba(188,144,11,0.7) );
  box-shadow: 0 6px 11px rgba(0,0,0,0.25);
}
.gb-button-wrapper .gb-button.button:hover, 
.comments-area #comments #commentform #submit:hover, 
.form-submit #submit:hover, 
.fluentform .frm-fluent-form .ff-btn-submit:hover, 
.elementor-button:hover {
  box-shadow: 0 12px 22px rgba(0,0,0,0.5);
  transition: ease-out 100ms;
  margin-top: -2px;
  margin-bottom: 2px;
  opacity: 1;
}

p.margin-bottom-none, 
.margin-bottom-none p:last-of-type,
p:last-child {
    margin-bottom: 0;
}

.hidden {
    display: none;
    opacity: 0;
}



/* ___Quick Links Sidebar___ */
.sidebar .widget, 
.elementor-widget-sidebar {
  border-radius: var(--border-radius, 12px);
  background-color: var(--gold);
  box-shadow: 0 9px 22px -12px #aaaaaa;
  padding: var(--body-padding--desktop);
}
@media all and (max-width:1024px) and (min-width:769px) {
  .sidebar .widget, 
  .elementor-widget-sidebar {
    padding: var(--body-padding--tablet);
    font-size: 17px;
    font-size: 1.05rem;
  }
  .sidebar .widget .widget-title, 
  .elementor-widget-sidebar .widget-title, 
  .sidebar widget a, 
  #nav_menu-2 a {
    font-size: 100%;
  }
}
.sidebar-widget .widget-title, .elementor-widget-sidebar .widget-title {
  color: #ffffff;
}
#menu-quick-links a, 
#nav_menu-2 a {
  font-family: 'Lato', sans-serif;
  color: var(--gold-contrast);
}
/* make sticky */
@media all and (min-width:768px) {
  .inside-right-sidebar, 
.elementor-widget-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(90px + 0.5rem);
  }
}
.menu-item.separator {
    line-height: 2px;
    background-color: var(--gold-contrast);
    opacity: 0.4;
    width: 50%;
    margin: 1em 0;
}



/* ___Headers___ */
h1, h2, h3, h4, h5, h1 a, h2 a, h3 a, h4 a, h5 a {
	/*color: #4870ca;*/
  color: var(--dark-dark-blue);
}
:is(a, a:visited):not([class*="button"]) {
  color: var(--light-blue);
}
a:active, a:hover {
  color: var(--medium-blue);
  text-decoration: underline;
}
body .inside-navigation a:hover, 
body .button a:hover, 
.elementor-button:hover {
  text-decoration: none;
}



/* SITE NAVIGATION
 *************************** */
#sticky-navigation, 
.main-navigation ul ul {
    box-shadow: 0 12px 22px rgba(0,0,0,0.5);
}
#sticky-navigation ul ul {
  z-index: -1;
}

/* Nav DONATE Button */
#menu-item-4572 a {
	background-color: #6890ea;
}
#menu-item-4572 a:hover {
	background-color: #4870ca;
}




/* ********************
 * Forms
 * ********************/
select.ff-el-form-control:not([size]):not([multiple]) {
  height: auto;
}
.fluentform .ff-message-success {
    border: 1px solid green;
    border-left: 6px solid green;
    background-color: rgb(0 128 0 / 10%);
    padding: 1em;
}


/* FOOTER
 ***************************** */

/* ___Optin Bar___ */
.footer__optin-bar--floating {
    box-shadow: 0 12px 22px rgba(0,0,0,0.5);
}
.footer__optin__form .ff-el-group.ff-el-form-hide_label {
    display: inline-block;
    width: 50%;
    margin-bottom: 0;
}
.footer__optin__form .ff-el-group.ff-text-center.ff_submit_btn_wrapper {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
}
.footer__optin__form .ff-btn-submit {
  background-color: var(--dark-blue) !important;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
@media all and (max-width:1024px) {
  .footer__optin__form .ff-el-group, 
  .footer__optin__form .ff-btn-submit {
    display: block;
    width: 100% !important;
    margin: 0.25em 0 !important;
  }
}

/* ___Footer Widgets___ */
#footer__widgets-container .footer__widget__title {
  font-size: 1.2rem;
}
#footer__widgets-container p {
  font-size: 1rem;
}
@media (max-width: 1024px) {
  #footer__widgets-container #contact-info-container--mobile .gb-headline-wrapper {
    display: inline-flex;
    flex: 0 1 400px;
    width: calc(100% / 3.1);
    min-width: 225px;
  }
}
.wpsh-social-block {
    margin-bottom: 0;
}
.wpsh-social-block .wp-social-link {
    display: flex;
    fill: white;
}
.wpsh-social-block .wp-social-link:hover {
	fill: var(--gold);
}
@media all and (max-width:1024px) {
  #footer__widgets-container .wpsh-social-block {
    float: none;
    margin: 1em auto 0.5em;
    display: inline-flex;
    flex-direction: row;
  }
}

/* ___IG feed in footer__ */
#instagram-feed {
  display: flex;
}
#instagram-feed .instagram_gallery {
  display: flex;
  flex-direction: row wrap !important;
}
@media all and (max-width:969px) {
  #instagram-feed .instagram_gallery a img {
    width: unset !important;
    display: flex !important;
    flex: 1 1 100px !important;
    float: none !important;
border: 2px solid yellow;
  }
}



/* LEADERSHIP & STAFF PAGES
 ******************************* */
.team-member-loop__member-profile__featured-image {
  display: block;
}
.team-member-loop__member-profile__featured-image .elementor-widget-container {
  display: block;
}
.team-member-loop__member-profile__featured-image .elementor-image {
  display: block;
}
.team-member-loop__member-profile__featured-image a {
  display: block;
  overflow: hidden;
  width: 100%;
}
/* .elementor-image a */
.team-member-loop__member-profile__featured-image a > img {
  /*height: 256px;*/
  /*width: 100%;
  max-width: 250px;*/
  width: clamp(200px, 100%, 250px);
  object-fit: cover;
  object-position: 50% 15%;
  aspect-ratio: 3/4;
}



/* BLOG
 ********************************* */
.comments-area #comments #commentform #submit {

}





.comment_box .first_row {
	    background-color: #eeb50e;
}

@media all and (min-width: 718px) {
	.comment_box .first_row {
	    background-color: #eeb50e;
	    padding: 20% 0;
	    font-size: 22px;
	    text-align: center;
	    border-radius: var(--border-radius, 50%);
	}
}





/* ___News page (blog)___ */
@media (max-width: 768px) {
    .container .site-content .content-area {
        margin-bottom: var(--space-s);
    }
}
/* BLOG/NEWS (OLD) PAGINATION */
body.page-template-template-blog ul.pagination {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
@media all and (min-width: 980px) {
    body.page-template-template-blog ul.pagination {
      width: 50%;
    }
}
@media all and (max-width: 979px) {
    body.page-template-template-blog ul.pagination {
      width: 70%;
    }
}



.announcement-box {
    padding: 2% 4%;
    max-width: 80%;
    margin-bottom: 2em;
    border-radius: var(--border-radius, 20px);
    box-shadow: 10px 10px 15px #eee;
}
.announcement-box.green {
    border: 1px solid #80b624;
    background-color: #80b62421;
}
.announcement-box p {
    padding: 0.5em 0;
    line-height: 1.6;
    letter-spacing: 0px;
}



/* SCHEDULE PAGE 
 *********************** */
.page-id-173 h3, 
.page-id-173 h4 {
    margin: 1.5em 0 0.5em;
    font-weight: 600;
}
.page-id-173.logged-in #wp-admin-bar-elementor_edit_page {
    display: none;
    /* hide edit-with-elementor button */
}
.page-id-173 p {
    /*margin-bottom: 0 !important;
    padding: 0; */
}
/*.page-id-173 p:empty, 
.page-id-173 p:blank {
	display: none;
}*/

/* PHOTO GALLERY
 *********************** */
/* PHOTO GALLERY */
.page-id-11915 figure.wp-block-image {
    position: relative;
    overflow: hidden !important;
}

.page-id-11915 figure.wp-block-image:has(figcaption)::before {
    content: "";
    display: block;
    height: 10px !important; 
    width: 100%;
}


.page-id-11915 figure.wp-block-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

.page-id-11915 figure.wp-block-image:not(:has(figcaption)) {
    position: relative; 
    display: inline-block;
    overflow: hidden; 
    padding-top: 10px;
}

.page-id-11915 figure.wp-block-image:not(:has(figcaption)):hover::before { 
    content: "";
    position: absolute;
    top: 10px; 
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 2; 
    pointer-events: none;
}

.page-id-11915 .wp-block-image a {
    padding-bottom: 0px!important;
}

.page-id-11915 figure.wp-block-image figcaption {
    opacity: 0; 
    transition: opacity 0.3s ease-in-out; 
    background: rgba(0, 0, 0, 0.5) !important; 
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px !important;
    font-weight: 900 !important;
    color: white;
    pointer-events: none;
    height: calc(100% - 10px); 
}

.page-id-11915 figure.wp-block-image:hover figcaption {
    opacity: 1; 
}
/* Masonry Photo Gallery */
.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.grid-item {
    width: 25%; /* 4 Columns */
    padding: 0px 5px 0px;
}

.grid-item img {
    width: 100%;
    display: block;
}

/* Responsive for Tablets */
@media (max-width: 1024px) {
    .grid-item {
        width: 33.33%; /* 3 Columns */
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .grid-item {
        width: 50%; /* 2 Columns */
    }
}

@media (max-width: 480px) {
    .grid-item {
        width: 100%; /* 1 Column */
    }
}



/* NEW HOMEPAGE GP
 *********************** */
.home-button{
    line-height: 1.2em;
    background: linear-gradient(180deg, var(--gold) 60%, rgba(188, 144, 11, 0.7));
}
/*.home-background-overlay {
  position: relative;
  overflow: hidden;
}

.home-background-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #000000;
  opacity: 0.2;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  z-index: 1;
}

.home-background-overlay > * {
  position: relative;
  z-index: 2;
} */

.home-grid{
	font-size: clamp(24px, 2.2vw + 1rem, 29px);
}

/*.separator
{
width: 500px!important;
}*/

