/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 27 2025 | 09:37:40 */
/* Styles from Feb 2025 website update */



/* GLOBAL STYLES */


/* Make body text more legible */
body {
  color: #253F4D;
}

/* Headers in new font */
h1,
h2,
h3,
.has-huge-font-size {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
  text-wrap: balance;
}

a {
  color: #006cb8;
  transition: .4s;
	&:hover {
		filter: brightness(1.2) saturate(1.05);
	}
}

a:hover {
  text-decoration: underline;
  color: var(--bec-color-french-blue);
}

@media screen and (max-width: 1304px) {
  header.site-header .head-container nav.main-navigation {
    background-color: var(--bec-color-french-blue);
    display: flex;
    align-items: center;
    justify-content: center;


    ul.menu>li a {
      font-family: "Open Sans Condensed Extra Bold";
      text-transform: uppercase;
    }
  }
}

header.site-header .head-container nav.main-navigation ul.menu>li a {
  transition: .4s;

  &:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #FDF149;
    color: #DCECF7;
  }
}

header.site-header .head-container nav.main-navigation ul.menu>li.current-menu-item a {
  background-color: rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid #FDF149;
  color: #ffffff;
}

.footer-copy-right a,
.footer-copy-right p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 16px;
  opacity: .7;
}

.footer-top {
  background: var(--bec-color-oracle-blue, #3c657c);
}

.mid-blue-bg {
  a {
    color: #ffffff;
  }
}

/* FLEX FIX FOR HOMEPAGE */
@media (max-width: 767px) {
.flex-direction-row-mobile {
		    flex-direction: row;	
	}
	
	.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-2c5ab115.flex-direction-row-mobile > .uagb-container-inner-blocks-wrap  {		
			flex-direction: row;
	}
}


/* HEADER */
header.site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0.61%, rgba(0, 0, 0, 0.65) 46.49%, rgba(0, 0, 0, 0.00) 100.9%);
}

/* Target the Columns block */
.container,
.is-layout-flex> :is(.container) {
  max-width: 1200px;
  /* Adjust this value as needed */
  padding: 20px;
  /* Optional: Add some padding around the columns */
  margin-left: auto;
  margin-right: auto;
}

body.page-template-default header.site-header .head-container nav.main-navigation ul.sub-menu>li a:hover {
	background: var(--bec-color-french-blue, #000091);
}

/* Optional: Adjust max-width and padding for smaller screens */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
    /* Use a percentage for smaller screens */
    padding: 10px;
  }
}

.bg-squiggle-top {
  background-image: url('	https://nutritionforgrowth.org/wp-content/uploads/2025/02/bg-quiggle-scaled.jpg');
  background-size: cover;
  background-position: top center;
}


.bg-squiggle-bottom {
  background-image: url('https://nutritionforgrowth.org/wp-content/uploads/2025/02/bg-quiggle-bottom.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: calc(40px + 1vw) 0;
}

/* BANNERS */
/* add drop shadow on h1 */
.page-template-default:not(.home) .banner-block h1,
.archive .banner-block h1,
.home-main .home-hero-banner {
  text-shadow: 0px -9px 87px rgba(17, 21, 25, 0.66), 0px -1.293px 25.761px rgba(17, 21, 25, 0.35), 0px -0.107px 9.849px rgba(17, 21, 25, 0.26), 0px 0.108px 3.132px rgba(17, 21, 25, 0.19);
}

.home-main .home-hero-banner img {
  filter: drop-shadow(0 2px 15px rgba(0, 0, 0, 0.6));
}

.wp-block-uagb-advanced-heading.uagb-block-64057bef.wp-block-uagb-advanced-heading .uagb-desc-text {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
}

/* SUMMIT PAGE */

.entry-content .page-banner-nav__list {
  background: #e8f6fe;
  border-style: solid;
  border-color: rgba(6, 147, 227, 0.5);
  border-width: 0px 0px 1px 0px;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  margin-bottom: 0;
  z-index: 8;

  @media (min-width: 900px) {
    gap: 10px;
/*     position: sticky; */
/*     top: 92px; */
    padding: 0px 20px 0px 20px;
  }
}

.entry-content .page-banner-nav__list>li {
  background: #e8f6fe;
  border-style: solid;
  border-color: rgba(6, 147, 227, 0.5);
  border-width: 0px 0px 0px 0px;
  padding: 28px 24px 23px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  color: var(--bec-color-french-blue, #000091);
  text-align: center;
  font-family: "OpenSans-Bold", sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: -1px;

  @media (min-width: 900px) {
    width: auto;
  }
}

.entry-content .page-banner-nav__list>li.page-banner-nav__activePage {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.75) 100%);
  border-bottom: 2px solid var(--bec-color-french-blue, #000091);
}


.entry-content .page-banner-nav__list>li:first-child {
  color: #000000;
}

.about-page-main .key-facts-section .text {
  margin: 72px auto;
}

.page-banner-nav__activePage {
  font-weight: 700;
}

/* Featured Quote module */

.quote-and-image {
  background-image: url('https://nutritionforgrowth.org/wp-content/uploads/2025/02/banner-summit-n4g-scaled.jpg');
  background-size: cover;
  background-position: center left;
  padding: 40px;
  text-shadow: 0px -9px 87px rgba(17, 21, 25, 0.66), 0px -1.293px 25.761px rgba(17, 21, 25, 0.35), 0px -0.107px 9.849px rgba(17, 21, 25, 0.26), 0px 0.108px 3.132px rgba(17, 21, 25, 0.19);
}

@media (min-width: 768px) {
  .quote-and-image {
    padding: calc(40px + 4vw) calc(40px + 12vw);
    background-position: center right;
  }

}

.quote-and-image .wp-block-column:first-child p,
.quote-and-image .wp-block-column:first-child blockquote {
  max-width: 600px;
  margin-left: 0;
  margin-bottom: .5em;
}

.quote-and-image .wp-block-column:first-child blockquote p {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
  font-size: 40px;
  margin-top: 0;
  text-wrap: balance;
}

.quote-and-image .blockquote-label {
  color: #B8DAEE;
  font-weight: 700;
  font-size: 16px;
}

.with-line {
  display: inline-block;
  position: relative;
  padding-right: 20px;
  margin-bottom: 0;
  margin-top: 0;
}

.with-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  width: 100%;
  height: 2px;
  background-color: white;
}

/* PLEDGE TRACKER */

.pledge-tracker-container {
  justify-content: center;
  padding: calc(16px + 1vw);
}

.pledge-tracker {
  display: flex;
  flex-direction: column;
  gap: 21.25px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  max-width: 1000px;
  position: relative;

  @media (min-width: 900px) {
    flex-direction: row;
  }
}

/* super specific to overwrite styles */
body:not(.home) .entry-content .pledge-tracker h2.pledge-tracker--title {
  color: #b8daee;
  text-align: right;
  font-size: 50px;
  line-height: 94%;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0;


  @media (max-width: 900px) {
    br {
      display: none
    }
  }
}

.pledge-tracker--numberRow {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
  position: relative;
  top: -6px;
}

.pledge-tracker--numberRow .pledge-tracker--number h2 {
  color: #ffffff;
  text-align: left;
  font-size: 72px;
  line-height: 100%;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}


.pledge-tracker--numberRow p.pledge-tracker--descriptor {
  color: #b8daee;
  text-align: center;
  font-family: "Open Sans Condensed Extra Bold", sans-serif;
  font-size: 25px;
  line-height: 100%;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-grid .wp-container-core-group-is-layout-13 {
  @media (max-width: 900px) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.resources-cta-links {
  .cta-button-wrapper {
    background: transparent;
    padding: 0;

    p {
      margin: 0;
      padding: 0;
      flex-basis: 0;
      flex-grow: 1;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      text-align: center;
    }

    a {
      padding: 20px 16px;
      width: 100%;
      font-family: "Open Sans Condensed Extra Bold", sans-serif;
      text-decoration: none;
      text-align: center;
      transition: .4s;
      color: #ffffff;
      text-transform: uppercase;
      background: var(--bec-color-vivid-cyan-blue, #0693e3);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 3px;
      line-height: 1;

      &:hover {
        filter: brightness(1.3) saturate(1.05);
      }
    }
  }
}

.dual-cta {
  margin: 0;
	
	.wp-block-column .wp-block-button {
		margin: 0;
	}

  a.wp-block-button__link {
    border: 2px solid #ffffff;

    &:hover {
      filter: brightness(1.3) saturate(1.05);
    }
  }
}


.screen-filler {
	min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*  About page */
.about-page-main .key-facts-section .key-facts-box h4,
.about-page-main .vision-boxs-main .wp-block-columns .vision-box h4,
.about-page-main .vision-boxs-main .wp-block-columns .vision-box h5 {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
}

.about-page-main .key-facts-section .text {
  font-weight: 700;
  display: block;
  line-height: 34px;
  width: 90%;
  max-width: 740px;
}

.collout-container .collout-box a {
  color: #DCECF7;
}

.collout-container .collout-box a:hover {
  color: #FFFFFF;
}

.wp-block-button__link {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
  transition: .4s;
  background-color: var(--bec-color-french-blue);
}

.wp-block-column {
  .wp-block-button {
    margin: 20px auto;

    a.wp-block-button__link {
      border: 2px solid #ffffff;
      margin: auto;

      &:hover {
        filter: brightness(1.3) saturate(1.05);
      }
    }
  }
}

.wp-block-button__link:hover {
  color: #DCECF7;
  filter: brightness(1.3) saturate(1.05);
}


/* SUCCESS STORIES */


.uagb-block-e3e9a184 .uagb-post__text.uagb-post__title a {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 12px;
}

.uagb-post__text.uagb-post__excerpt p {
  font-size: 16px;
  margin-top: 0;
}


.single-post .post-thumbnail img {
  width: 100%;
}


.single-post h1.post-header {
  font-family: "Open Sans Condensed Extra Bold";
  text-transform: uppercase;
  color: var(--bec-color-french-blue);
  line-height: 1;
}


/* HOME */

.home-button-wrapper .wp-block-column .wp-block-button {
        margin: 4px;
    }


/* CONTACT */

.send-message-button A.wp-block-button__link {
	letter-spacing: 0;
    border: 0; 
	
	&:hover {
		color: #fff !important;
        filter: brightness(1.3) saturate(1.05);
	}
}


/* PAST SUMMITS */

.event-main .vision-block {
  padding: 80px 15px 40px 15px;
}

.content-top-margin {
  margin-top: 120px;
}



.button-stack-responsive .uagb-buttons__wrap.uagb-buttons-layout-wrap {
	@media (max-width: 768px) {
    flex-direction: column;
		
		.wp-block-button {
			/* cheeky important. Probably shouldn't */
			width: 100% !important; 
		}
	}
} 

/* FAQs */

.container.faq-accordian {
	padding: 0;
	
	.wp-block-details {
	padding: 15px;
    border-bottom: 1px solid #cdd6dd;
	}
}


