/*
 Theme Name:   PAD - Child theme
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/*********************
BREAKPOINTS
*********************/
p.intro {
  font-size: 1.25em;
  color: #00594A;
}

.post-type-archive-project .site-content {
  margin-top: 36px;
}
.post-type-archive-project .site-content .site-main {
  padding: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  align-items: stretch;
}
.post-type-archive-project .site-content .site-main article {
  width: 100%;
  margin-bottom: 24px;
  border: 1px solid #00594A;
}
@media (min-width: 37.5em) {
  .post-type-archive-project .site-content .site-main article {
    width: 45%;
  }
}
@media (min-width: 50em) {
  .post-type-archive-project .site-content .site-main article {
    width: 30%;
  }
}
.post-type-archive-project .site-content .site-main article a {
  display: block;
  height: 100%;
  max-height: 100%;
}
.post-type-archive-project .site-content .site-main article .inside-article {
  position: relative;
  height: 100%;
  align-items: center;
  padding: 0;
}
.post-type-archive-project .site-content .site-main article .inside-article p {
  font-size: 0.8em;
  line-height: 1.3;
  color: #535353;
}
.post-type-archive-project .site-content .site-main article img {
  width: 100%;
  height: 100%;
  margin: 0;
  margin-bottom: 24px;
  object-fit: cover;
}
.post-type-archive-project .site-content .site-main article h2 {
  font-size: 1em;
  margin-bottom: 1em;
  padding: 0 12px;
}
.post-type-archive-project .site-content .site-main article .entry-summary {
  margin-top: 0;
  padding: 12px;
}

.filesize {
  font-size: 75%;
  display: inline-block;
}

@media (min-width: 37.5em) {
  .downloads_links {
    margin-top: 48px;
    margin-bottom: 48px;
  }
}
.downloads_links a {
  position: relative;
}
.downloads_links a:before {
  margin: 0 10px 0 5px;
  position: relative;
  bottom: -12px;
  content: url(img/link.svg);
  transition: bottom 0.1s ease-out;
  margin-left: -3em;
}
.downloads_links a:hover:before {
  bottom: -6px;
  transition: bottom 0.1s ease-out;
}
.downloads_links a.link:before {
  content: url(img/link.svg);
  transform: scale(0.2);
}
.downloads_links a.file[href$=".docx"]:before {
  content: url(img/document.svg);
}
.downloads_links a.file[href$=".pttx"]:before {
  content: url(img/link.svg);
}
.downloads_links a.file[href$=".xlsx"]:before {
  content: url(img/link.svg);
}
.downloads_links a.file[href$=".pdf"]:before {
  content: url(img/link.svg);
}
.downloads_links a.file[href$=".mp3"]:before {
  content: url(img/audio.svg);
}
.downloads_links a.file[href$=".mp4"]:before, .downloads_links a.file[href$=".mpg"]:before, .downloads_links a.file[href$=".mpeg"]:before {
  content: url(img/link.svg);
}

.file_or_link {
  margin: 2em 0;
  margin-bottom: 4em;
  list-style: none;
  border: 1px solid #d2efeb;
  padding: 2em;
  display: flex;
  flex-wrap: wrap;
  background-color: white;
}
.file_or_link li {
  display: block;
  width: 33%;
  margin-bottom: 2em;
  padding-left: 3em;
  padding-right: 2em;
}

.partner_logos {
  margin: 0;
  padding: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-content: space-between;
  align-items: center;
  background-color: white;
  border: 1px solid #d2efeb;
  margin-bottom: 2em;
}
@media (min-width: 50em) {
  .partner_logos {
    margin: 2em 0;
  }
}
.partner_logos img {
  object-fit: contain;
  max-width: 15%;
}

.file_or_link_with_preview_container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: stretch;
  align-items: stretch;
  justify-content: space-between;
}
@media (min-width: 50em) {
  .file_or_link_with_preview_container {
    justify-content: space-between;
  }
}
.file_or_link_with_preview_container h3 {
  margin-top: 1em;
  font-size: 85%;
}
.file_or_link_with_preview_container a {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: stretch;
  align-items: flex-start;
}
.file_or_link_with_preview_container .text_container {
  width: 100%;
}
@media (min-width: 50em) {
  .file_or_link_with_preview_container .text_container {
    width: 40%;
    padding-right: 1em;
  }
}
.file_or_link_with_preview_container .file_or_link_with_preview {
  display: flex;
  width: 100%;
  padding: 0.5em;
  flex-direction: row;
  border: 1px solid #d2efeb;
  background-color: white;
  margin-bottom: 1em;
}
@media (min-width: 37.5em) {
  .file_or_link_with_preview_container .file_or_link_with_preview {
    width: 30%;
    padding: 1em;
  }
}
@media (min-width: 50em) {
  .file_or_link_with_preview_container .file_or_link_with_preview {
    width: 47.5%;
    margin: 0;
    margin-bottom: 1em;
  }
}
.file_or_link_with_preview_container .file_or_link_with_preview img {
  width: 100%;
  display: block;
}
@media (min-width: 50em) {
  .file_or_link_with_preview_container .file_or_link_with_preview img {
    width: 60%;
    padding-right: 1em;
  }
}
.file_or_link_with_preview_container .description {
  font-size: 80%;
}

.related_blog_posts {
  position: relative;
  margin: 4em 0;
  padding-top: 2em;
  background-color: #6BBFB4;
}
.related_blog_posts .blog_container {
  max-width: 1140px;
  margin: 0 auto;
}
.related_blog_posts h2 {
  text-align: center;
}
.related_blog_posts ul {
  margin: 2em 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  position: relative;
}
.related_blog_posts ul li {
  width: 50%;
  padding: 1em;
}
.related_blog_posts ul li h1 {
  font-size: 1em;
  color: white;
}
.related_blog_posts ul li img {
  width: 100%;
}
@media (min-width: 37.5em) {
  .related_blog_posts ul li {
    width: 33%;
  }
}
@media (min-width: 50em) {
  .related_blog_posts ul li {
    width: 25%;
    justify-content: space-around;
  }
}

.testimonials_slider {
  margin: 2em 0;
  position: relative;
}
.testimonials_slider img {
  margin: 0;
  padding: 0;
  filter: brightness(0.4);
}
.testimonials_slider .testimonial_content {
  position: absolute;
  color: #fbfbfb;
  top: 2em;
  display: block;
  max-width: 50%;
  right: 2em;
  font-size: 85%;
  font-style: italic;
}
.testimonials_slider .testimonial_content:before {
  content: '"';
  font-size: 350%;
  line-height: 1;
  margin-right: 12px;
  display: block;
  float: left;
  font-style: normal;
}

.overlaid_text {
  position: absolute;
  top: 2em;
  right: 2em;
  color: white;
  max-width: 90vw;
}
@media (min-width: 50em) {
  .overlaid_text {
    max-width: 40vw;
  }
}
.overlaid_text p {
  font-weight: 100;
  font-style: italic;
  font-size: 120%;
}

.audio_files_with_transcript {
  background-color: rgba(69, 192, 196, 0.1);
  padding: 1em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.audio_files_with_transcript h2 {
  width: 100%;
  margin-bottom: 2em;
}
.audio_files_with_transcript h3 {
  font-size: 85%;
}
.audio_files_with_transcript p {
  font-size: 14px;
  font-style: italic;
}

.audio_file_with_transcript {
  max-width: 100%;
  display: block;
  margin-bottom: 2em;
}
@media (min-width: 50em) {
  .audio_file_with_transcript {
    max-width: 48%;
    margin-bottom: 0;
  }
}

.mid-hero_section {
  margin-top: 4em;
  margin-bottom: 4em;
  position: relative;
  display: flex;
  object-fit: cover;
  max-height: 60vh;
  background-color: #00594A;
  align-items: flex-start;
  overflow: hidden;
}
.mid-hero_section img {
  width: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.7;
  background-color: #00594A;
}

.thumb_contain {
  display: flex;
  position: relative;
  height: 230px;
  margin-bottom: 12px;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.page_nav_header {
  background-color: #6C9D30;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 505px;
  overflow: hidden;
}

.page-template-page_with_nav .featured-image.page-header-image {
  display: none;
}

h2.heading {
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 13px;
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  line-height: 28px;
  padding-left: 30px;
  padding-right: 30px;
}

.page_item.current_page_item a {
  background: #A6AF1B;
  font-weight: 600;
}

ul.page_nav_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.page_nav_list li a {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  text-align: center;
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  padding-left: 30px;
  padding-right: 30px;
}

.page_nav {
  width: 290px;
  text-align: center;
  padding-top: 9px;
}
.page_nav img {
  display: inline;
  text-align: center;
}

.page_nav_image {
  width: calc(100% - 290px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.page_nav_image img {
  align-self: center;
  display: block;
  max-width: none;
  object-fit: cover;
  align-self: center;
  flex: 0 0 auto;
  min-height: 100%;
  width: auto;
  width: 100%;
}

.page-template-page_with_nav.one-container .site-content {
  padding: 0px;
}
.page-template-page_with_nav .grid-container {
  max-width: 100%;
}
.page-template-page_with_nav .site-main {
  max-width: 1140px;
}

h1 {
  margin-top: 0;
  font-size: 1.802rem;
  font-weight: 600;
}

h2 {
  font-size: 1.602rem;
}

h3 {
  font-size: 1.424rem;
}

h4 {
  font-size: 1.266rem;
}

h5 {
  font-size: 1.125rem;
}

small {
  font-size: 0.889rem;
}

.text_small {
  font-size: 0.889rem;
}

p a {
  border-bottom: 1px solid;
}

.full-width {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.full-width-grid-item {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.single-project .container {
  max-width: 1280px;
}

header.site-header {
  border-bottom: 1px solid #6BBFB4;
}

.post-type-archive-people .grid-container {
  max-width: 1200px;
  padding: 18px;
}

.page-template-teampage .grid-container {
  max-width: 1200px;
  padding: 18px;
}

.picture_item_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 140px;
}

.searchandfilter ul {
  margin-left: 0;
  display: block;
  text-align: center;
  margin-bottom: 44px;
}
.searchandfilter ul li {
  display: inline-block;
  margin-right: 24px;
}
.searchandfilter select {
  padding: 12px 15px;
}
.searchandfilter select.sf-input-select {
  min-width: 13em;
}

.picture-item {
  flex: 0 0 16.6666666667%;
  cursor: pointer;
}
.picture-item .the_person_info .centered_block {
  display: flex;
}
.picture-item .pic_title_container {
  position: relative;
  display: flex;
  justify-content: space-around;
}
.picture-item .pic_title_container h1 {
  display: none;
  transition: 0.2s ease-out;
  font-size: 85%;
  position: absolute;
  z-index: 1;
  bottom: 12px;
  text-shadow: 0 0 3px #00594a;
  margin: 12px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.picture-item .pic_title_container:hover h1 {
  display: inline;
}
.picture-item h1 {
  margin-bottom: 0;
  color: white;
}
.picture-item h4 {
  font-size: 14px;
  display: inline-block;
}
.picture-item h3 {
  margin-top: 0;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
}
.picture-item p {
  font-size: 14px;
}
.picture-item img {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  transition: 0.2s ease-out;
}
.picture-item figure.person_pic {
  background-color: #00594a;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.picture-item .bio_container {
  display: none;
  height: 0;
  transition: 0.2s ease-out;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  width: 100%;
  left: 0;
  z-index: 1;
}
.picture-item .bio_container .the_person_info {
  position: absolute;
  left: 0;
  width: 100%;
}
.picture-item .bio_container .the_person_info .centered_block {
  display: flex;
  max-width: 780px;
  margin: 0 auto;
  height: 300px;
  overflow: scroll;
  padding: 0 20px;
}
.picture-item .bio_container p {
  max-width: 600px;
}
.picture-item:hover img {
  opacity: 1;
  transition: 0.2s ease-out;
  position: relative;
}
.picture-item:hover figure:after {
  content: "";
  display: block;
  background-color: white;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  bottom: -12px;
  margin-left: -12px;
  transform: rotate(45deg);
}

.bio_column {
  flex: 3 1 auto;
  padding-right: 16px;
}

.sidebar_bio {
  flex: 1 1 auto;
  padding-top: 3.4em;
  padding-left: 16px;
}
.sidebar_bio a {
  font-size: 14px;
  clear: both;
  float: right;
  text-align: right;
}
.sidebar_bio span.contact {
  font-size: 14px;
  clear: both;
  float: right;
  text-align: right;
}

.teampage_footer p {
  text-align: center;
}

.picture-item.clicked img {
  opacity: 1;
  transition: 0.2s ease-out;
  position: relative;
}
.picture-item.clicked figure:after {
  content: "";
  display: block;
  background-color: white;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  bottom: -12px;
  margin-left: -12px;
  transform: rotate(45deg);
}
.picture-item.clicked .pic_title_container:hover h1 {
  display: none;
}
.picture-item.clicked h1 {
  font-size: 85%;
  z-index: 1;
  color: white;
  transition: 0.2s ease-out;
}
.picture-item.clicked .bio_column h1 {
  color: #00594a;
}
.picture-item.clicked .bio_container {
  display: block;
  min-height: 300px;
  transition: 0.2s ease-out;
}

.single-project {
  background-image: url(img/initiative_bg.svg);
  background-position: 90% 30%;
  background-size: 60%;
  background-repeat: repeat-y;
  background-color: transparent;
}
.single-project .container {
  background-color: transparent;
}
.single-project .site .site-content {
  padding: 2em;
  margin-top: 4em;
}

.primary_initiative_content {
  grid-column: 1/5;
  padding-right: 0;
}

.ini_map {
  max-width: 9em;
}

.secondary_initiative_content {
  grid-column: 1/5;
}
.initiative_sidebar {
  font-size: 85%;
  grid-column: 1/5;
}
.initiative_sidebar ul.sidebar_sections {
  margin: 0;
  padding: 0;
  list-style: none;
}
.initiative_sidebar ul.sidebar_sections h2 {
  font-size: 90%;
  font-weight: 600;
  margin: 12px 0;
  margin-bottom: 6px;
}
.initiative_sidebar ul.sidebar_sections li:first-of-type {
  margin-top: 60px;
}

.pxdgrid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 400px) minmax(0, 400px) minmax(0, 400px) 1fr;
}

.main-navigation ul ul {
  margin-top: 0;
}

body.page-template-page_with_header .entry-header h1 {
  margin-top: 1em;
}
body.page-template-page_with_header .wp-block-image.alignfull.size-large {
  max-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 4em;
}

.page_nav_header {
  background-color: #6C9D30;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 505px;
  overflow: hidden;
}

.page-template-page_with_nav .featured-image.page-header-image {
  display: none;
}
.page-template-page_with_nav .grid-container {
  max-width: 100%;
}
.page-template-page_with_nav .site-main {
  max-width: 1140px;
}

h2.heading {
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 13px;
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  line-height: 28px;
  padding-left: 30px;
  padding-right: 30px;
}

.page_item.current_page_item a {
  background: #A6AF1B;
  font-weight: 600;
}

ul.page_nav_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.page_nav_list li a {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  text-align: center;
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  padding-left: 30px;
  padding-right: 30px;
}

.page_nav {
  width: 290px;
  text-align: center;
  padding-top: 9px;
}
.page_nav img {
  display: inline;
  text-align: center;
}

.page_nav_image {
  width: calc(100% - 290px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.page_nav_image img {
  align-self: center;
  display: block;
  max-width: none;
  object-fit: cover;
  align-self: center;
  flex: 0 0 auto;
  min-height: 100%;
  width: auto;
  width: 100%;
}

.page-template-page_with_nav.one-container .site-content {
  padding: 0px;
}

@media (max-width: 880px) {
  .post-type-archive-people .grid-container {
    max-width: 1000px;
  }

  .picture-item {
    flex: 0 0 25%;
  }
}
@media (max-width: 768px) {
  .picture-item {
    flex: 0 0 33.3333333333%;
  }
  .picture-item .bio_container .the_person_info .centered_block {
    display: block;
    height: auto;
    padding-bottom: 44px;
  }
  .picture-item .pic_title_container h1 {
    margin: 4px;
    font-size: 12px;
    font-weight: 400;
  }
  .picture-item:hover figure:after {
    width: 12px;
    height: 12px;
    bottom: -6px;
    margin-left: -6px;
  }

  .bio_column {
    padding: 12px;
  }

  .sidebar_bio {
    padding: 12px;
  }
  .sidebar_bio .span.contact {
    float: left;
    text-align: left;
  }
  .sidebar_bio a {
    float: left;
    text-align: left;
  }
}
@media (min-width: 50em) {
  .primary_initiative_content {
    grid-column: 2/4;
    padding-right: 4em;
  }

  .secondary_initiative_content {
    grid-column: 2/5;
  }

  .initiative_sidebar {
    grid-column: 4/5;
    text-align: right;
    padding-left: 1em;
  }
}
