/*
Theme Name: aapip
Theme URI:
Author: Imaginary Office
Author URI: https://imaginaryoffice.com
Description: A theme built on io blankslate
Version: 2021.1
License:
License URI:
Tags:
Text Domain: ioblankslate
ioblankslate WordPress Theme © 2021 Imaginary Office
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* clearfix */
.group:after {
  display: block;
  content: "";
  clear: both;
}
.nowrap {
  white-space:nowrap;
}
.printonly { display: none; }


html , body {
  display: flex;
  flex-direction: column;
  height:100%;
  font-size: 20px;
  font-family: halyard-text, sans-serif;
}
/* fonts
font-family: halyard-display, sans-serif;
font-family: halyard-text, sans-serif;
 */

/* color variables */
:root { 
/* aapip palette */
  --green: #577E20;
  --blue: #75aadb;
  --orange:#d88c02;
  --brown:#795c51;
  --beige:#bca59e;
  --tan:#bcad75;
/* new colors */
  --bright-blue:#1A7CB9;
  --jade-green:#577E20;
  --electric-green: #D8FD94;
  --gold: #F5C047;
  --gold-tint:#F8CA60;
  --pink:#FC877E;
  --pink-tint:#FC9D96;
  --red:#E5542F;
  --greige:#E3DBD5;
  --light-green:#E2EBD0;
  --purple:#5E376F;
  --dark-purple:#311b3f;
}

 /* UNIVERSALS */

h1,h2,h3, h4,h5,h6 {
  font-weight:600;
  line-height:1.1;
  margin:0 0 20px 0;
  color:#000000;
}
h1 {font-size:3rem;}
h2 {font-size:1.6rem; margin: 60px 0 20px 0;}
h3 {font-size:1.2rem;}
h4,h5,h6 {
  font-size:1.1rem;
  line-height:1.3;
}
h4 {text-transform: uppercase;}

p, ul, ol, li {
  color:#000000;
  font-size:1rem;
  line-height:1.4;
  margin:0 0 1rem 0;
}
a{
  color:inherit;
}
a:hover, a:focus, a:active {
  color:#577E20;
}
button {
  padding:12px 20px;
  /* background: linear-gradient(140deg, rgba(212,0,105,1) 0%, rgba(216,140,2,1) 45%, rgba(236,202,101,1) 100%); */
  /* background-size: 300%; */
  /* letter-spacing:0.5px; */
  border:none;
  hyphens:auto;
  /* transition: background-size 1s; */
  font-family: halyard-text, sans-serif;
  font-size:1rem; 
  font-weight:600;
  /* color:#ffffff; */
  background:var(--gold-tint);
  color:black;
}
button:hover, button:focus, button:active {
  /* background: linear-gradient(140deg, rgba(212,0,105,1) 0%, rgba(216,140,2,1) 45%, rgba(236,202,101,1) 100%); */
  cursor: pointer;
  /* background-size: 100%; */
  background:var(--gold);
}
button a:hover, button a:focus, button a:active {
  color:black;
}

.simple-button {
  padding: 12px 20px;
  font-family: halyard-text, sans-serif;
  font-weight:600;
  background:var(--gold-tint);
  color:black;
}
.simple-button a {text-decoration:none; color:black;}
.simple-button a:hover {color:black;}


blockquote p {
  font-size:1.3rem;
  font-weight:600;
  font-style: italic;
  line-height:1.3;
  color:#577E20;
  padding:30px 0;
  margin:0 10%;
}

.share-icons-container a { text-decoration:none; padding: 5px;}
.share-icons-container i { font-size: 1.25rem; color: gray;}

.share-icons-container i:hover ,
.share-icons-container i:focus {color: #577E20;}

.share-icons-container.article {width:100%;height:auto;text-align:left; color:gray; margin: 40px 0;}

div.social {display:inline-block; }
.social a {color:#ffffff; margin-right:15px;}
.social i {padding:0;}
.social i:hover, 
.social i:focus,
.social a:hover, 
.social a:focus {color:#D8FD94;}

input {
  background-color: #eeeeee;
}
form.search-form {
  /* padding:0 10px; */
}
.search-form i {color:#ffffff;}
form.search-form input[type="search"],
.search form.search-form input[type="submit"] {display:inline-block;text-align:left;border:1px solid #696969; height:44px; min-height:30px; font-family: halyard-text, sans-serif; padding:12px 20px; }

form.search-form input[type="search"] {width:300px; }
.search form.search-form input[type="submit"] {text-align:center; background:black; color:white;}

.screen-reader-text {text-indent: -9999px;}

#breadcrumbs {
  width:100%; margin: 0 auto; padding: 20px 0; color: #000000; font-size: 0.8rem; 
  background: linear-gradient(130deg, #93C4F2, #CFE2AC); 
  padding-left: calc(50% - 600px);}
#breadcrumbs a:hover,#breadcrumbs a:focus, #breadcrumbs a:active {
  color:#000000;
}

strong, b {font-weight:700;}
em {font-style:italic;}

.tag-links,
.cat-links {color:gray;font-size:0.8rem;}

table, tr {border: 1px solid #696969;}
th, td {padding: 5px 10px;}

/* accordion */
.entry-content h2.accordion-header {margin-top:40px;}
#accordion h3 {padding: 10px; background:#ffffff; cursor:pointer; margin: 10px 0;}
/* .ui-accordion-content {height:auto!important;} */
.ui-accordion-content p { padding-left: 10px; }

/* consent bar */
#consent1 { display: none; position: fixed; bottom: 0; width: 100%; background: #d8e264; padding: 14px 20px; z-index: 9999999; }
#consent1 p  {font-size: .75rem; width: 75%; float: left; padding: 0 10px; margin: 0 0 8px 0;}

#consent1 button {
    padding: 10px;
    background: #696969;
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border: none;
    width: 25%;
    max-width: 150px;
    float: right;
}

/* video wrapper */

.video-container { position: relative; width:100%; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 20px 0;}
.video-container iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* structure */

#wrapper {
  flex: 1 0 auto;
  width:100%;
  background:transparent;
  background: linear-gradient(130deg,#F5FCE8,#E6EDF4,#FCFAF5,#E6EDF4); background-repeat:no-repeat;
}
#container {
  width:100%;
  margin: 126px auto 0 auto;
  background:transparent;
  overflow:hidden;
}
#container .entry-content {
  max-width: 1000px;margin:0 auto 100px auto; position: relative;}

/* POST STYLES */

.posts-only h1 { font-size: 2rem; }
#content.posts-only header,
#content.posts-only footer {max-width: 1000px; margin:20px auto;}
#content.posts-only footer {margin:50px auto 100px auto;}
#container .entry-content.posts-only {
    max-width: 800px; margin:0 auto; word-wrap: break-word;
  }
#container .entry-content.posts-only .the_post_thumbnail {
    width:100%;
    height:auto;
    margin:0 auto;
    display:flex; 
    flex-direction:row;
    justify-content:center;
    align-content:center;
  }
  #container .entry-content.posts-only .the_post_thumbnail img {
    height: 100%; width: 100%; object-fit:cover; flex:1; overflow:hidden;
  }
#content.posts-only .entry-title a {text-decoration:none;}
.entry-meta{color:gray;margin-bottom:10px;}


/* PAGE STYLES */

article {width:100%;}
.the-content.lp {max-width: 1000px;margin:0 auto;}
.header.child-page {width:100%; max-width:1000px;height:auto; 
    margin:0 auto; 
    padding:20px 0;
  }
#content.child-page {max-width: 1000px;margin:0 auto;padding:20px 0;}
#content.child-page header {margin:50px auto;}
#container #content.child-page .entry-content {max-width: 800px; word-wrap: break-word;}

#container .entry-content.landing-pages {max-width:1200px;}

/* editor-inserted images: posts and pages
.entry-content.child-page
.entry-content.landing-pages
.entry-content.posts-only
*/

#container .entry-content.posts-only .the_post_thumbnail img {width:100%;height:auto;}

.wp-caption,
.entry-content p img,
.the_content.lp p img {
  display:inline-block;float:left;margin-right:20px;clear:left; margin-bottom:20px;}

div[id^="attachment"], div[id^="attachment"] img,
.entry-content.child-page p img { max-width: 100%; height:auto; }

.entry-content.child-page {overflow:hidden;}

.entry-content h2,
.entry-content h3,
.entry-content h4 {color: #577E20; clear:both; max-width: 1200px; margin: 0 auto 20px auto;}
.featured_image_caption,
p.wp-caption-text {font-size:0.8rem;color:gray;}

/* editor-created lists: posts and pages */

#container .entry-content ul,
#container .entry-content ul ul {list-style-type:disc;margin:24px;height:auto;}
#container .entry-content ol {list-style-type:decimal;margin:24px;}

/* our members special grid tile list */

#container .entry-content ul.members-list-grid {list-style:none; display:flex; flex-direction:row; flex-wrap: wrap; align-content: space-between;}
#container .entry-content ul.members-list-grid li {padding:20px; width:19%; height:200px; background-color:#ffffff; margin-right:1%;}
#container .entry-content ul.members-list-grid li:hover,
#container .entry-content ul.members-list-grid li:focus {background-color:#577E20; color: #ffffff;}
#container .entry-content ul.members-list-grid li a {text-decoration:none;}
#container .entry-content ul.members-list-grid li a:hover,
#container .entry-content ul.members-list-grid li a:focus {color:#ffffff;text-decoration:underline;}

/* about aapip: values special list */

#container .entry-content ul.values {list-style:none; display:flex; flex-direction:row; flex-wrap: wrap;  margin: 20px 0;}
#container .entry-content ul.values li {padding:20px; width:32%; height:auto; background-color:#ffffff; margin-right:1%;}


/* featured posts list : on Landing Page templates, Home pages, Jobs Board has no-image */

.featured-posts {
  width:100%; 
  height:auto; 
  max-width:1000px; 
  margin:0 auto 50px auto; 
  padding:0; 
  background:transparent;
}

#container .entry-content .featured-posts ul {list-style: none; margin: 20px 0;}

.featured-posts ul li{
    width:100%; 
    height:auto; 
    background:transparent;
    margin: 20px 0;
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    justify-items:flex-start;
}

.featured-posts .text-container {width:calc(100% - 220px); height:auto; vertical-align: top;}

.featured-posts .text-container.no-image {width:100%; border-top: solid 1px #577E20; padding-top:10px;}
.featured-posts .text-container h3 a {text-decoration:none;}
.featured-posts .text-container h3 a:hover,
.featured-posts .text-container h3 a:focus,
.featured-posts .text-container h3 a:active {text-decoration:underline;}

.featured-posts .image-container {
  height:auto;
  overflow:hidden;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-items: center;
  align-items:center;
  width:200px;
  height:150px;
  margin-right:30px;
  }
  .featured-posts img {
  width: 100%; 
  object-fit:contain; 
  overflow:hidden;
  }
  
  /* featured posts list : on Home page */

.home-page .featured-posts {max-width:1440px; background:transparent; padding-top: 40px;}
/* .home-page .featured-posts ul {display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start; } */
#container .home-page .entry-content .featured-posts ul { 
  display:flex;flex-direction:row; flex-wrap:wrap; 
  /* align-items:flex-start;   */
  max-width: 1200px; margin: 0 auto; justify-content: flex-start;}
.home-page .featured-posts ul li {display:flex; flex-direction:column; width:33.33%; padding:10px;}
.home-page .featured-posts h2 {width: 100%; padding: 0 10px;}

.home-page .featured-posts .image-container,
.home-page .featured-posts .text-container {display:block; width:100%;}
.home-page .featured-posts .image-container {
  margin-top: 10px; 
  overflow:hidden;
  /* background: linear-gradient(130deg, #93C4F2, #CFE2AC); */
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:auto;
  max-width:400px;
  height:300px;
  margin-bottom:20px;
  align-items:top;
  }
.home-page .featured-posts .image-container img {
  width: 100%; 
  height:100%;
  object-fit:contain; 
  overflow:hidden;
}
.home-page .featured-posts .text-container {padding:0 20px 0 0;}


/* landing page template , chapter page template*/

.chapter-page .header {padding:50px 0;}
.chapter-page span.section-name {color: #1A7CB9; text-transform: uppercase; letter-spacing: 1px; font-weight:700;}
.chapter-page .tab-container {width:100%; height:auto; padding: 80px 0 50px 0; }
.chapter-page span.section-name,
.chapter-page .header h1,
.chapter-page .tab-container,
.chapter-page .share-icons-container.article {display:block; max-width:1200px; margin:0 auto;}

.chapter-page a.tab {width:30%; margin-right: 10px; background:transparent; padding: 20px 40px; text-decoration:none; text-transform: uppercase; color: #577E20; font-weight:700; letter-spacing: 1px; border: 4px solid #577E20;}
.chapter-page a.tab:hover {background: #577E20; color: #ffffff;}

.snapshot-page a.tab.snapshot,
.join-page a.tab.join {background: #577E20; color: #ffffff;}
/* .chapter-page .snapshot-page a.tab.snapshot {background: #577E20; color: #ffffff;} */

.chapter-overview-photo {width:100%; height:auto; max-height:600px; overflow:hidden; margin-bottom:50px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 10 12c1.67 0 3.182-.683 4.27-1.785A5.998 5.998 0 0 0 14 12h2a4 4 0 0 1 4-4V6c-1.67 0-3.182.683-4.27 1.785C15.905 7.22 16 6.622 16 6c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 20 6V4a4 4 0 0 1-4-4h-2c0 .622.095 1.221.27 1.785A5.982 5.982 0 0 0 10 0C8.33 0 6.818.683 5.73 1.785 5.905 1.22 6 .622 6 0H4a4 4 0 0 1-4 4v2c1.67 0 3.182.683 4.27 1.785A5.998 5.998 0 0 1 4 6c0-.622.095-1.221.27-1.785A5.982 5.982 0 0 1 0 6v2a4 4 0 0 1 4 4h2zm-4 0a2 2 0 0 0-2-2v2h2zm16 0a2 2 0 0 1 2-2v2h-2zM0 2a2 2 0 0 0 2-2H0v2zm20 0a2 2 0 0 1-2-2h2v2zm-10 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='%23cfe2ac' fill-opacity='0.8' fill-rule='evenodd'/%3E%3C/svg%3E");}
.chapter-overview-photo img {display:block; width:100%; max-width:1440px; height:auto; margin:0 auto;}

.chapter-goals {margin:50px 0;}
#container .entry-content ul.chapter-goals {display:flex; flex-direction:row; flex-wrap: wrap; justify-content:flex-start; margin:0;}
ul.chapter-goals li {width:33.33%; list-style:none; padding:20px; text-align:center;}
.chapter-goals h2,
.chapter-goals i {text-align:center; color:#1A7CB9;}
.chapter-goals .icon {border: 1px solid #1A7CB9; height:50px; width:50px; border-radius:50%; margin:0 auto;}
.chapter-goals i {font-size: 1.2rem; padding:10px 0;}

.members-list, .leadership-list {width: 100%; background:#ffffff; padding: 30px; margin: 10px 0;}

.header.photo-banner{
  width:100%; 
  /* height:300px;  */
  height:auto;
  /* background-blend-mode:multiply;
  background-repeat:no-repeat;
  background-size:cover; */
  /* background-color:rgba(0, 0, 0, .35); */
  /* background-position:top;  */
  /* position:relative;  */
  margin-bottom: 50px;
  /* padding-bottom:50px; */
  display:flex;
  flex-direction:column;
  align-items: center;
  background: linear-gradient(130deg, #CFE2AC, #75AADB);
}
.header.photo-banner.chapter-overview {
  background-image: linear-gradient(25deg, RGBA(94, 55, 111, 0.75) 40%, RGBA(26, 124, 185,0.75) 85%), url('images/dot-map.png'); 
  background-size:contain; 
  background-position:right center;
  background-repeat:no-repeat;
}
.header.photo-banner .page-title-container{
  width:100%; 
  max-width:1000px; 
  height:auto; 
  margin:80px auto 50px auto;
  padding:0 0 20px 0;
}
.header.photo-banner h1{ 
  padding:0; 
  margin:0;
  color:black;
  /* text-shadow: 0px 0px 10px rgba(0,0,0,0.15), 1px 1px 1px rgba(0,0,0,0.20), -1px -1px 1px rgba(0,0,0,0.20);  */
}
.header.photo-banner p {padding:20px 10% 0 0;margin:0;color:#e6f8d3;font-size:1.1rem;font-weight:600;
  /* text-shadow: 0px 0px 10px rgba(0,0,0,0.15), 1px 1px 1px rgba(0,0,0,0.20), -1px -1px 1px rgba(0,0,0,0.20);  */
  color:black;
}

.post-hero-content {position:absolute; bottom:0; margin:0 0 0 0; width:100%;}
.post-hero-content p.wp-caption-text {position:relative;  margin: 0 auto; width:100%; max-width:1200px; height:auto; color: #ffffff; text-shadow: 0px 0px 10px rgba(0,0,0,0.15); font-size: 0.6rem; font-weight:400; padding:20px 0 40px 0; }

.landing-pages .featured-posts {width:100%; max-width: 1200px; background:transparent; margin:0 auto; padding:50px 0;}
.landing-pages .featured-posts ul {display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start; }
#container .landing-pages .entry-content .featured-posts ul {margin: 20px 0;}
.landing-pages .featured-posts ul li {
    width:33%; padding:10px;
    display:flex;
    flex-direction:column;
}

.landing-pages .featured-posts .image-container,
.landing-pages .featured-posts .text-container {width:100%;}

.landing-pages .featured-posts .image-container {
margin-top: 10px; 
overflow:hidden;
/* background: linear-gradient(130deg, #93C4F2, #CFE2AC); */
display:flex;
justify-content:center;
width:100%; height:100%;
margin-bottom:20px;
/* background:var(--light-green); */
margin-right:0;
}
.landing-pages .featured-posts .image-container img {
width:400px; height:300px;
object-fit: contain;
}
.landing-pages .featured-posts .text-container {padding:0 20px 0 0;}

/* .landing-pages .featured-posts.chapter-overview .image-container {
    background: linear-gradient(130deg, rgb(26, 124, 185, 0.8), rgb(117, 170, 219, 0.8));
    } */

/* .featured-posts.chapter-overview .image-container img {
    mix-blend-mode:multiply;
    } */

/* optional posts banner image : events, programs, news */

/* .header.photo-banner.posts-only {margin-top:0; height:auto;} */

/* optional featured image as header banner : single news and events posts */

/* .post-banner {width:100%; height:540px; max-width:1440px; margin:0 auto; display:block; overflow:hidden;  background-size: cover; background-position: center; background-repeat: no-repeat;} */

/* featured events : old events listing page -- references .featured-posts */

#container .entry-content.events-page {width:100%; height:auto; max-width: 1000px; margin:0 auto 50px auto;} 

.featured-events {
  width:100%;height:auto;max-width:1000px;margin:0 auto 50px auto;padding:0;
}
.featured-events h2,
.featured-events ul li {padding: 0 100px;}

.featured-events .text-container {
    display:inline-block;
    height:auto;vertical-align: top;
    width:calc(100% - 230px); 
  }
.featured-events .text-container span.event-title {font-weight:600;color:#577E20; font-size:1.25rem;}
.featured-events .text-container a {text-decoration:none;}
.featured-events .text-container a:hover {text-decoration:underline;color:#577E20;}
.entry-content .featured-events li {list-style:none;margin:0 0 20px 0;}

.page-past-events #content {margin-bottom:100px;}


/* jobs board */

.query-results.jobs-board-results {width:100%;height:auto;max-width:1000px;margin:50px auto;}
.jobs-board-list-item {margin: 20px 0; border-top: solid 1px #577E20; padding-top:10px;}
.query-results.jobs-board-results .text-container h3 a {text-decoration:none;}
.query-results.jobs-board-results .text-container h3 a:hover,
.query-results.jobs-board-results .text-container h3 a:focus {text-decoration:underline;}
#container .entry-content.jobsboard ul {list-style: none; margin: 20px 0;}

.entry-content.jobsboard .featured-posts {background:transparent; padding:0; }
.entry-content.jobsboard .featured-posts li {padding: 20px; background: #ffffff; margin: 0 0 5px 0;}
.entry-content.jobsboard .featured-posts .text-container.no-image {border:0; padding:0;}

/* news stories listing and newsletter listing */

.query-results.news-results {width:100%; height:auto; max-width:1000px; margin:0 auto;}
.news-list-item {
    margin: 30px 0;
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:top;
    padding: 0 100px;
}
.query-results.news-results .image-container {
/* margin-top: 10px;  */
height:auto;
overflow:hidden;
/* background: linear-gradient(130deg, #93C4F2, #CFE2AC); */
background:transparent;
display:flex;
flex-direction:column;
width:200px;
height:150px;
margin-right:30px;
}
.query-results.news-results .image-container .default-thumbnail {background:var(--light-green); width:200px; height:150px; background-image:url('/wp-content/themes/aapip/images/newspaper-regular.svg');background-repeat:no-repeat; background-position:center; background-size:40px 40px;}

.query-results.news-results .image-container img {
  /* height: 100%; 
  width:auto; */
  /* height: 100%; */
  width: 100%; 
  object-fit:contain; 
  overflow:hidden;
}
.query-results.news-results .text-container {
    width:calc(100% - 230px); height:auto; vertical-align: top;}

.entry-content .query-results.news-results .text-container h2,
.entry-content .query-results.news-results .text-container h3 {margin: 5px 0 20px 0; 
  /* font-size: 1.5rem; */
}
.entry-content .query-results.news-results .text-container h2 a,
.entry-content .query-results.news-results .text-container h3 a {text-decoration:none; }
.entry-content .query-results.news-results .text-container h2 a:hover,
.entry-content .query-results.news-results .text-container h2 a:focus,
.entry-content .query-results.news-results .text-container h3 a:hover,
.entry-content .query-results.news-results .text-container h3 a:focus {text-decoration:underline; }
.query-results.news-results .text-container .cat-links a {text-decoration:none; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px;}

.query-results.news-results .entry-date {color:#696969; font-size:0.9rem;}

/* first result for query-results in special style for News, Resources */

body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) {
    /* background: linear-gradient(130deg, #93C4F2, #CFE2AC); */
    margin-bottom: 80px;
    /* padding:10px;
    background:white; */
    position:relative;
    /* flex-direction:row-reverse; */
    border-bottom: 2px dotted var(--bright-blue); 
    padding:0;
}

body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) .text-container {
  width:calc(100% - 450px); 
}
body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) .image-container {
  width:400px; height:300px; margin-right:50px; margin-top:0; 
  /* background:#dddddd; */
  }
body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) .text-container h2,
body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) .text-container h3 {
  font-size:1.6rem;
}
body:not([class^="paged"]) .query-results.news-results div.news-list-item:nth-child(1) .text-container:before {
  content:'Featured';
  color:white;
  display:block;
  font-size:0.7rem;
  font-weight:500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding:8px 10px;
  background:var(--bright-blue);
  margin-bottom:15px;
  width:fit-content;
  /* position:absolute;
  top:10px;
  left:0;
  z-index:2; */
  position:relative;
}

/* Blogroll: News and Stories (AAPIP Voices) */

/* .cat-indicator {color:var(--dark-purple); text-transform: uppercase; font-size:0.8rem; letter-spacing: 0.5px; font-weight:600;}
.text-container.AAPIP.Voices .cat-indicator {color:var(--bright-blue);}
.text-container.AAPIP.in.the.news .cat-indicator {color:var(--green);}
.text-container.AAPIP.Voices h2,
.text-container.AAPIP.in.the.news h2 {color:#000000;} */

/* Resources posts */

#container .entry-content.resources-post .the-content { display:inline-block; width:60%; float:left;}
#container aside.resources-post { display:inline-block; width:30%; height:auto; float:right;}
#container aside.resources-post .image-container {width:100%; height:400px; display:block; overflow:hidden;  background-size: cover; background-position: center; background-repeat: no-repeat; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin-bottom: 20px;}
#container .entry-content.resources-post .downloads-container ul {margin: 0;}
.downloads-container button {width:100%; margin-bottom: 10px;}
#container aside.resources-post h2 {font-size: 1.1rem; text-transform:uppercase; color:#000000; }

.jump-list{border: 1px solid #577E20; padding: 10px 20px;}
.jump-list h2 {font-size: 1.1rem; text-transform: uppercase;}
#container .entry-content .jump-list ul {list-style-type:none;}
#container .entry-content .jump-list li {margin: 0 0 5px 0;}

/* filters for query-results pages */

/* .filters-container {background-color:#ffffff; padding:30px; margin: 30px 0; }
h3.browse-by,
#container .entry-content .filters-container ul {
  display: inline-block; vertical-align:top;}
  h3.browse-by {margin:0;}
#container .entry-content .filters-container ul {margin:0 0 0 10px;}
.filters-container li { list-style:none; display: inline-block; margin:0 0 0 10px; }
.filters-container li a {font-weight:600; } */

/* photo gallery */

.gallery {margin:50px auto 0 auto; max-width:1200px;}
.gallery, .gallery ul {width:100%;height:auto;}
.gallery ul {display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;}
.gallery li {display:inline-block;padding:10px;align-self:center;}

/* Our Team page */

.team-posts {width:100%;height:auto;margin:50px 0 0 0;display:block;}
#container .entry-content .team-posts ul {width:100%;height:auto;margin:0; display:flex; flex-direction:row; flex-wrap: wrap; align-items: space-around;}
.team-posts li {width:33.33%; height:auto;margin:0; display:inline-block; padding: 20px;}

.team-posts .image-container {width:100%;padding-top: 100%; /* 1:1 image container*/ height:auto;border-radius:50%; display:block;overflow:hidden;position:relative; margin-bottom:10px; background: linear-gradient(130deg, #93C4F2, #CFE2AC); }
.team-posts img {width:100%; height:auto; position: absolute; top: 0;}
.team-posts .text-container {display:block; width:100%; height:auto; vertical-align: top;}
.team-posts .text-container h3 { margin:0 0 10px 0;}
.team-posts .text-container h3 a {text-decoration:none;}
.team-posts .text-container h3 a:hover,
.team-posts .text-container h3 a:focus,
.team-posts .text-container h3 a:active {text-decoration:underline;}
.team-posts .text-container p {margin: 0 0 5px 0;}

/* Our Team posts */

#content.posts-only.team-posts .image-container {width:33.33%;padding-top: 33.33%; /* 1:1 image container*/ height:auto;border-radius:50%; display:inline-block;overflow:hidden;position:relative; margin-bottom:10px; 
/* background-image:url(images/aapip-siteicon-512.png); 
background-repeat:no-repeat; 
background-size:cover; 
background-position:center; */
}
#content.posts-only.team-posts .text-container {display:inline-block; width:60%; height:auto; vertical-align: top; margin-left:6%;}
span.role {color:#577E20; font-size:1.2rem; display:block; margin-bottom: 10px;}
span.bio-email {display:block; margin-bottom: 30px;}
#content.posts-only.team-posts .text-container p {margin-bottom: 30px;}


/* PROMOS */

/* all full-width promos */

.promo.full-width {width:100%; height:auto; padding: 0; margin: 0; background-color: transparent;}

.promo.full-width.patterned {
  background-color: #ffffff;
  /* blue chevron */
  /* background-image: url("data:image/svg+xml,%3Csvg width='44' height='12' viewBox='0 0 44 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v-2L0 0v10l4 2h16zm18 0l4-2V0L22 10v2h16zM20 0v8L4 0h16zm18 0L22 8V0h16z' fill='%2393C4F2' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");*/
  /* green chevron */
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='12' viewBox='0 0 44 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v-2L0 0v10l4 2h16zm18 0l4-2V0L22 10v2h16zM20 0v8L4 0h16zm18 0L22 8V0h16z' fill='%23cfe2ac' fill-opacity='0.55' fill-rule='evenodd'/%3E%3C/svg%3E");
  margin-top: 0;
  margin-bottom: 0;
}
.promo.full-width.patterned h2, 
.promo.full-width.patterned p, 
.promo.full-width.patterned li { color: #000000; font-weight: 700; letter-spacing: 0.5px;}
.promo.full-width.patterned li{margin:0;}

/* aapipconnect promo */

.promo.full-width.patterned.aapipconnect {
  background-color: #ffffff;
  background-image: url('images/pattern-rings-blue.png');
  /* background-size: 44px 12px; */
  background-size:contain;
  margin-top: 0;
  margin-bottom: 0;
}
.promo.full-width.patterned.aapipconnect h2, 
.promo.full-width.patterned.aapipconnect p, 
.promo.full-width.patterned.aapipconnect li { color: #ffffff; font-weight: 700; letter-spacing: 0.5px;}

.blocks .promo.full-width.patterned:nth-child(odd) { 
/* background-image: url('images/pattern-rings-blue.png'); */
background-image: url("data:image/svg+xml,%3Csvg width='44' height='12' viewBox='0 0 44 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v-2L0 0v10l4 2h16zm18 0l4-2V0L22 10v2h16zM20 0v8L4 0h16zm18 0L22 8V0h16z' fill='%2393C4F2' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.blocks .promo.full-width.patterned:nth-child(odd) .image-container { float: left; }

.promo.full-width h2 {font-size:1.5rem; color: #577E20; text-transform: uppercase;  margin-top: 0;}
.promo.full-width p {font-size:1rem; font-weight: 700; }
.promo.full-width ol, .promo.full-width ul {margin-left:20px;}
.promo.full-width ul {list-style:disc;}
.promo.full-width ol {list-style:decimal;}
.promo.full-width span.credit-caption{font-size:0.8rem; font-weight: 400;}
.promo.full-width a.learnmore-link {
  padding:12px 20px;
  /* background:linear-gradient(45deg, #577E20, #70A956, #7fc1bd); 
  transition: background-size 1s; background-size: 200%; color:#ffffff; */
  background:var(--gold-tint);
  color:black;
  text-decoration:none;font-size:1rem;font-weight:600;
  /* text-transform:uppercase;letter-spacing:1px;  */
  margin-top: 20px; display:inline-block; width:auto;}

.promo.full-width a.learnmore-link:hover,
.promo.full-width a.learnmore-link:focus{
      /* background:linear-gradient(45deg, #577E20, #70A956, #7fc1bd); 
      transition: background-size 1s; background-size: 100%;  */
      background:var(--gold);
    }

/* full-width promo : notice no soliciting */

.promo.full-width.notice {margin: 50px 0;}
.promo.full-width.notice .notice-item {width:100%;height:auto;max-width:1000px;margin:0 auto;position:relative;list-style-type:none; padding: 50px;  background-color:#e6f8d3;  }

.notice-item {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 10px;
  border-image-source: linear-gradient(220deg, #CFE2AC, #93C4F2);
}
.promo.full-width.notice h2 { color: #000000; text-transform:none;}

/* full-width promo : flexible content text block */

.promo.full-width.flex-text-block {margin: 30px 0;}
.promo.full-width.flex-text-block .text-container {width:100%;height:auto;max-width:1200px;margin:0 auto;position:relative;list-style-type:none; padding: 50px; background-color:transparent;}
.promo.full-width.flex-text-block p {font-weight:400;}
.promo.full-width.flex-text-block blockquote {border: 1px solid #577E20; clear:both;}


/* full-width promo : join us */
.promo.full-width.join-us {margin:0; margin-top: 20px; }
.home .promo.full-width.join-us {margin:0; }
.promo-joinus-item {width:100%; height:auto; margin:0; position:relative; list-style-type:none; padding:0; background-image: linear-gradient(130deg,#B10F85,#F86305);}
.promo-joinus-item .image-container{display:inline-block; float:left; width:50%; height:600px; position:relative; overflow:hidden; background-size:cover; background-position:center; background-repeat:no-repeat;}
.promo-joinus-item .text-container {width:50%; height:auto; max-height:600px; float:left; padding:80px; color:#ffffff;  }
.promo-joinus-item .text-container a {color:#ffffff; text-decoration:none; }
.promo-joinus-item .text-container a:hover,
.promo-joinus-item .text-container a:focus {text-decoration:underline; }
.promo-joinus-item .text-container h2 {color:#ffffff; font-size:2.5rem; text-transform:uppercase; font-style:italic; font-weight:600;}

/* full-width promo : all purpose */

.promo-allpurpose-item {width:100%;height:auto; /*max-width:1100px;*/ max-width:1000px; margin:0 auto;position:relative;list-style-type:none; padding: 50px;}
.promo-allpurpose-item .image-container{
    display:inline-block; float:right;
    width:400px; height:400px; 
    /*padding-top: 33%;  1:1 aspect ratio */ 
    position:relative; overflow:hidden; background-size:contain; background-position:top left; background-repeat:no-repeat;}
.promo-allpurpose-item .text-container {
    width: calc(100% - 400px); height:auto;float:left; padding-right:40px; max-width:500px; }
.promo-allpurpose-item .text-container p.credit-caption {margin-top:20px;}
.promo-allpurpose-item .text-container li,
.promo-allpurpose-item .text-container p {margin-bottom:10px;}

/* full-width promo : all purpose : aapipconnect promo */

.promo.full-width.patterned.aapipconnect .promo-allpurpose-item .image-container{
   float:left; }
.promo.full-width.patterned.aapipconnect .promo-allpurpose-item .text-container {
   padding-left:40px; }

/* full-width promo : textimonial block */
.promo.full-width.patterned.testimonial {margin: 50px 0;}
.promo-allpurpose-item.testimonial .image-container {width:250px;height:250px;border-radius:50%;}

.promo-allpurpose-item.testimonial .text-container {width: calc(100% - 250px); height:auto;float:left; padding-right: 5%; padding-left: 5%; color:#1A7CB9; font-style: italic;}

.promo.full-width.patterned.testimonial .attribution p {font-size:1rem; font-weight:400; font-style:normal; color: #000000;}

/* full-width promo : callout block */

.promo.full-width.flex-callout-block {width: 100%; height:auto; color:#1A7CB9; background:white; padding:50px; margin: 50px 0;}
.promo.full-width.flex-callout-block p {font-weight:400;}
.promo.full-width.flex-callout-block h2,
.promo.full-width.flex-callout-block h3 {color:#1A7CB9; text-transform:none;}

/* full-width promo : regional recs block */

#container .entry-content .promo.full-width.flex-regionalrecs-block ul {margin:0;
  position:relative;
}
.promo.full-width.flex-regionalrecs-block li {list-style:none; margin-left: 50px;}
.promo.full-width.flex-regionalrecs-block li:before {
  background-color: #577E20;
  content: '';
  height: 30px;
  position: absolute;
  left: 0;
  width: 30px;
  background: url('images/right-arrow.svg') center center no-repeat;
  background-size: contain;
}
.promo.full-width.flex-regionalrecs-block li strong {color:#577E20;}
.promo.full-width.flex-regionalrecs-block p {font-weight:400;}
.promo.full-width.flex-regionalrecs-block h2 {text-transform:none;}

/* full-width promo : quote */

.promo-quote-item {width:100%; height:auto; margin:0 auto; position:relative; list-style-type:none; padding: 50px;}
.promo-quote-item .text-container {width:100%;height:auto;float:left;padding:0 10% 10px 0;}
.promo-quote-item .text-container p {font-size:1.5rem; font-style:italic; font-weight:600; line-height:1.3; color: #ffffff;}
.promo-quote-item .text-container p.attribution {font-size:1rem; font-style:normal; text-transform: uppercase;}

.promo.full-width.slanted { /* pink not gold */
  background-color: #FC877E;
	background-image: linear-gradient(/*to top left*/ -10deg, transparent 50%, #FC9D96 50%);
	background-size: 100%;
  max-width:1200px; margin:50px auto;}

/* full-width promo : top of posts */

.promo.full-width.post-type-art {background-image: linear-gradient(130deg,#CFE2AC,#75AADB);}
.section-head-container {width:100%; max-width:1000px; height:auto; padding:20px 0; margin: 0 auto; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #000000; letter-spacing: 1px;}
/* .section-head-container a {text-decoration:none;} */
.section-head-container a:hover {text-decoration:underline; color:#000000;}

/* promos in post article footer : aapip author and guest author */

.promo-post-article-item {width:100%;height:auto;border-top:1px solid #577E20;padding-top:10px; margin: 30px 0;}
.promo-post-article-item .image-container,
.promo-post-article-item .text-container {display:inline-block; vertical-align:top;}
.promo-post-article-item .image-container {width:100px; height: 100px; border-radius:50%; overflow:hidden; margin-right:20px;}
.promo-post-article-item .image-container img {width:100%; height: auto;}
.promo-post-article-item .text-container {width:80%; height:auto;}
.promo-post-article-item h2 {font-size:1.2rem; margin: 20px 0 20px 0;}
.promo-post-article-item h3 {font-size:1rem; margin: 0 0 10px 0;}
.promo-post-article-item p {font-size:0.9rem; }


/* full-width promo : supporter partner logos */

.promo.partners.full-width {background-image:none;}
.logos-container {width:100%;height:auto;max-width:1200px;margin:0px auto;position:relative;padding: 50px;}
.logos-container ul {text-align:center; display:flex;flex-direction:row;flex-wrap:wrap;align-content:space-around;justify-content:center; justify-content:flex-start;}
li.logos-list-item {width:20%; height:auto; vertical-align: middle; list-style: none; align-self: center; padding: 30px;}
li.logos-list-item img {width:100%;height:auto;filter: grayscale(100%);mix-blend-mode: multiply; max-width: 115px;}
li.logos-list-item a {cursor:pointer;}
li.logos-list-item a:hover img, li.logos-list-item a:hover img {filter: none;mix-blend-mode: none;}

/* related content list */

.related-content-container{width:100%; max-width:1000px; height:auto; margin:20px auto;}
.postobject-container {width:100%;height:auto;}
.postobject-container h2 {margin:20px 0;border:none;padding:15px 0 0 0;border-top: 4px solid #75AADB;}

.postobject-single {width:30%;height:auto; margin:0 3% 0 0; display:inline; float:left; padding:0;}
.postobject-single li.related-thumbnail {
  width:100%; padding-top: 56.25%; /* 16:9 image container*/ height:auto; display:inline-block; overflow:hidden; position: relative; margin-bottom:10px; background: linear-gradient(130deg, #93C4F2, #CFE2AC);}
.postobject-single li.related-thumbnail img{width:100%;height:auto; position: absolute; top: 0;}

.postobject-single li.related-excerpt p{padding:0;}
.postobject-single h3 a {text-decoration:none;}
.postobject-single h3 a:hover,
.postobject-single h3 a:focus,
.postobject-single h3 a:active {
  text-decoration:underline;text-decoration-color:#577E20;}

  /* chapter page templates all purpose promo patterned */

.chapter-page .promo.full-width.patterned {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='12' viewBox='0 0 44 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v-2L0 0v10l4 2h16zm18 0l4-2V0L22 10v2h16zM20 0v8L4 0h16zm18 0L22 8V0h16z' fill='%23cfe2ac' fill-opacity='0.7' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.chapter-page .promo.full-width.patterned h2,
.chapter-page .promo.full-width.patterned p,
.chapter-page .promo.full-width.patterned li { color: #000000; }


.chapter-page .promo.full-width.patterned.testimonial {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 10 12c1.67 0 3.182-.683 4.27-1.785A5.998 5.998 0 0 0 14 12h2a4 4 0 0 1 4-4V6c-1.67 0-3.182.683-4.27 1.785C15.905 7.22 16 6.622 16 6c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 20 6V4a4 4 0 0 1-4-4h-2c0 .622.095 1.221.27 1.785A5.982 5.982 0 0 0 10 0C8.33 0 6.818.683 5.73 1.785 5.905 1.22 6 .622 6 0H4a4 4 0 0 1-4 4v2c1.67 0 3.182.683 4.27 1.785A5.998 5.998 0 0 1 4 6c0-.622.095-1.221.27-1.785A5.982 5.982 0 0 1 0 6v2a4 4 0 0 1 4 4h2zm-4 0a2 2 0 0 0-2-2v2h2zm16 0a2 2 0 0 1 2-2v2h-2zM0 2a2 2 0 0 0 2-2H0v2zm20 0a2 2 0 0 1-2-2h2v2zm-10 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='%23cfe2ac' fill-opacity='0.8' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.chapter-page .promo.full-width.patterned.testimonial p { color: #1A7CB9; } 

.chapter-page .promo-allpurpose-item.testimonial .image-container {
  background-size:cover;
}


/*  HOME PAGE */

/* flickity carousel slider
images: 600 x 450 or 4:3 aspect ratio
*/

.main-carousel, .chapters-carousel {width:100%;
  /* height:500px;  */
  /* height:550px; */
  /*
  background: linear-gradient(to top right, rgba(101, 152, 29, 1) 0%, rgba(127, 193, 165, 1) 33%, rgba(118, 67, 141, 1) 66%, rgba(127, 193, 165, 1) 100%);*/
    background-size: 400% 400%;
    -webkit-animation: CarouselBackground 60s  infinite;
    -moz-animation: CarouselBackground 60s  infinite;
    animation: CarouselBackground 60s  infinite;
    }

    @-webkit-keyframes CarouselBackground {
        0%{background-position:100% 100%}
        100%{background-position:0% 0%}
    }
    @-moz-keyframes CarouselBackground {
      0%{background-position:100% 100%}
      100%{background-position:0% 0%}
    }
    @keyframes CarouselBackground {
      0%{background-position:100% 100%}
      100%{background-position:0% 0%}
    }

.carousel-cell {width: 100%;background: linear-gradient(220deg, #65981D, #7FC1A5, #76438D, #7FC1A5, #65981D, #7FC1A5, #76438D); background-size: 400%;
/* -webkit-animation: CarouselBackground 120s  infinite;
-moz-animation: CarouselBackground 120s  infinite;
animation: CarouselBackground 120s  infinite; */
}
/* .home .carousel-cell .contentarea {width:100%;height:auto;} */

.carousel-cell.is-selected .slide-text-container {
    opacity: 1; padding-left: 40px; padding-right: 40px; width: 30%; min-width: 360px; position: absolute; }
.slide-image, .slide-text-container {width:100%; position: absolute; top: 0;  left: 0; height: 100%;}
.slide-text-container {
  background: linear-gradient(220deg, #65981D, #7FC1A5, #76438D);
  background-size: 2000px; 
  /* -webkit-transform .5s, transform .5s, 
  -webkit-filter .5s, filter .5s;
  transform .5s, filter .5s;  */
  /* transition: all .5s ease-out 3s; transition: width .75s ease-out 0s; */
  width: 80%;
  height:100%;
  /* padding: 40px 40px 40px 80px;  */
}
.slide-text-container .slide-text-inner { 
    /* opacity: 0; transition: all .75s ease-out .25s;  */
    width: 100%; width: 300px; height:auto;
}
.carousel-cell.is-selected .slide-text-container .slide-text-inner { opacity: 1;  }

.slide-image { width: 70%; position:relative; float: right; padding-top: 39.38%; overflow:hidden; max-width: calc(100vw - 360px); } /*aspect ratio 16:9 at 70% wide (56.25 x .7) */
.slide-image img {position: absolute; top: 0; /*height: 540px;*/ height:100%; width: auto; }
/* .slide-subheader{font-size:0.9rem;text-transform:uppercase;font-weight:700;} */
.carousel-cell h2 {font-weight:600; font-size:2rem; color:#ffffff; line-height:1; margin-top: 30px;}
.carousel-cell h2 a {text-decoration:none;}
.carousel-cell a:hover, .carousel-cell a:focus {text-decoration:underline; color: inherit;}

.slide-description p {font-size: .9rem; color: #ffffff; line-height:1.3;}
span.carousel-caption {font-size:0.8rem;}
.slide-description button {margin-top: 10px; background: #000000; padding: 10px 20px; font-size: .8rem;}
.slide-description button:hover,
.slide-description button:focus {background: linear-gradient(
45deg, #577E20, #70A956);}
.slide-description button a:hover,
.slide-description button a:focus {text-decoration:none;}

.flickity-prev-next-button { width: 60px !important; height: 60px !important; }
.flickity-prev-next-button.previous { display: none; }
.flickity-button { background: transparent !important; }

.flickity-page-dots {
bottom:20px!important;
text-align:left!important;
padding-left:40px!important;
}
.flickity-page-dots .dot {opacity:0.4!important;}
.flickity-page-dots .dot.is-selected {opacity:1!important;}

/* chapters carousel */
.chapters-carousel{margin-top: 50px;}
.chapters-carousel .carousel-cell {width: 100%; background: transparent;}
.chapters-carousel .slide-image {width: 100%; position:relative; float:none; padding-top: 39.38%; overflow:hidden; max-width: 100%; } /*aspect ratio 16:9 at 70% wide (56.25 x .7) */
.chapters-carousel .slide-image img {position: absolute; top: 0; height:auto; width: 100%; }

.chapters-carousel .slide-text-container {background: transparent; width: 100%;
  background-size: 2000px; -webkit-transform 0, transform 0, -webkit-filter 0, filter 0;
  transform 0, filter 0; transition: none;
}
.chapters-carousel .slide-description {color:#ffffff; font-weight: 700; text-shadow: #000000 2px 2px 2px;}
.chapters-carousel .carousel-cell.is-selected .slide-text-container {
  opacity: 1; padding:50px; width: 50%; min-width: 360px; position: absolute; bottom:0; left:0; top:auto; height:auto; }
.chapters-carousel .slide-description span.carousel-caption {}
.chapters-carousel .flickity-button { color: #ffffff !important; }

/* Home Hero with captioned photos */

/* .home-hero{width:100%;height:550px;margin:0 auto;position:relative; max-width:1920px; background-color: #000000;}
.home-hero .slide-text-container {width:30%; height:100%; position:absolute; z-index:1; top:0; left:0; padding: 50px; overflow:hidden;  background: linear-gradient(130deg,#CFE2AC,#75AADB);}
.home-hero ul.slide-image-home {width:100%; height:auto; overflow:hidden; background:transparent;}
.entry-content .home-hero li.slide-image-home-captioned {list-style:none;}
.home-hero li.slide-image-home-captioned {width:100%; height:550px; background-repeat:none; background-size:cover; background-position: center; background-color: #000000; margin:0;}
.home-hero .slide-text-container h2 {font-weight:600; font-size:2.5rem; line-height:1;}
.home-hero .slide-image-home-captioned #slide-caption {position:absolute; z-index:10; width:100%; bottom:0; height:auto; padding:50px; text-align:left;}
.home-hero .slide-image-home-captioned #slide-caption p {margin:0;color:#000000;font-weight:400;font-size:0.8rem;}
.home-hero .learnmore-link {font-weight:700; text-transform:uppercase;}
*/
.home #container .entry-content {max-width: 100%; margin: 0 auto; padding: 0 0 0;}

/* image randomizer */

/* .image-randomizer {width:100%;height:600px;max-width:1200px; margin:20px 0;}
.random-image{
  width:100%;height:600px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size: cover;
}
.random-image.bg1{
  background-image: url("images/bg-01.jpg");
}
.random-image.bg2{
  background-image: url("images/bg-02.jpg");
}
.random-image.bg3{
  background-image: url("images/bg-03.jpg");
} */

/* chapter page sidenav with jump links */
#jumplist-wrapper {width: 300px; top:30vh; right:0; position:fixed; background: #696969; color: black; list-style: none; z-index: 999999999; transition: .5s; }

ul#jumplist {display: inline-block; float:left; list-style: none; padding: 0; margin:0; width: 300px; height:auto; min-height:300px; max-height:70vh; overflow: scroll; background:#eeeeee; }
ul#jumplist a {text-decoration:none;}
ul#jumplist a:hover, ul#jumplist a:focus {text-decoration:underline;}
ul#jumplist li {padding: 10px 15px; margin: 0; font-size: 1rem;}


#jumplist-wrapper h4 {position:absolute;   top:0; height: 60px; width:300px; margin: 0; font-size: 1.2rem; line-height: 30px; background: #CFE2AC; color: #000000; transform-origin: 0 0; transform: rotate(90deg); padding:10px 0 0 0; align-content:center;
}
#jumplist-wrapper h4:before {height: 50px; width:60px; padding:10px 0 0 0; line-height: 30px; margin-top: -10px; margin-right: 10px;
  display: inline-block; background: #C2D1A6; color: #000000; font-style: normal; font-variant: normal; text-rendering: auto;-webkit-font-smoothing: antialiased;font-family: "Font Awesome 5 Free"; font-size: 1.2rem; font-weight: 900; content: "\f077"; text-align:center;}
#jumplist-wrapper.closed { right: -300px; transition: .5s; }
#jumplist-wrapper h4.closed:before {content: "\f078"; }

/* FOOTER */

#footer {
  flex-shrink: 0;
  width:100%;
  min-height:400px;
  background: RGBA(0,0,0,0.95);
  /* background:var(--dark-purple);  */
  /* background: #65981D; */
}
#footer .footer-content {max-width: 1200px; margin: 0 auto; }
/* #footer .footer-content .branding {
  bottom:0; width:186px; height:67px;
  background: repeating-linear-gradient(220deg, #E5542F, #aa0e80, #d88c02, #f5be3d);
  margin-bottom: 0;
  -webkit-animation: FooterLogoBG 20s  infinite;
  -moz-animation: FooterLogoBG 20s  infinite;
  animation: FooterLogoBG 20s  infinite;
  background-size: 400%;
  position: relative;
} */

/* #footer .footer-content .branding .logo {
  background: url("images/aapip-logo-white-trans-400.png");
  width: 186px;
  height: 67px;
  position: absolute;
  top: 0;
  left: 0;
  background-size:156px auto;
  background-position: center;
  background-repeat: no-repeat;
} */


    /* @-webkit-keyframes FooterLogoBG {
        0%{background-position:0% 50%}
        50%{background-position:100% 51%}
        100%{background-position:0% 50%}
    }
    @-moz-keyframes FooterLogoBG {
        0%{background-position:0% 50%}
        50%{background-position:100% 51%}
        100%{background-position:0% 50%}
    }
    @keyframes FooterLogoBG {
        0%{background-position:0% 50%}
        50%{background-position:100% 51%}
        100%{background-position:0% 50%}
    } */


.columns-container {display:flex;flex-direction:row;margin:0; padding:40px 0 0 0;}
.columns-container p,
.columns-container p a,
.columns-container i a ,
.columns-container li,
.columns-container li a {color:#ffffff;}

.footer-left {width:50%; height:auto;padding:0 1%; }
.fineprint,
.fineprint-container-right {width:25%;height:auto;padding:10px 1%;display:inline-block;}
.fineprint p a,
.contact p a {text-decoration:none;}
.fineprint p a:hover, .fineprint p a:focus,
.contact p a:hover, .contact p a:focus {text-decoration:underline;}

#footer .search-form,
#footer .search-form form {display:inline-block; padding: 5px;}
#footer .search-form form.search-form input[type="search"]{
  display:inline-block; 
  width:100%;
  min-width:150px;
  border:none;
  border-bottom: 2px solid #ffffff;
  background-color:transparent;
  color:white;
}
#footer .search-form form.search-form input[type="search"]::placeholder{
  color:transparent;
}
#footer .search-form form.search-form input[type="submit"]{display:none;}

#footer p, #footer li {font-size:0.77777rem; margin: 0 0 8px 0;}

#footer .address.header {font-weight:600;font-size:.88888rem;}
#footer .fa-phone-volume:before, #footer .fa-envelope:before { margin-right: 6px; }

button.call, button.email {
  padding:0;background:transparent;text-transform:none;letter-spacing:0;font-size:0.8rem;font-weight:400;
  margin:0 10px 8px 0;
  border:none;
  display:block;
  text-align:left;
  color:white;
}
button.call a, button.email a {text-decoration:none;}
button.email:hover, button.email:focus,
button.call a:hover, button.call a:focus {text-decoration:underline; color:#D8FD94;}

#footer div.social {margin-bottom: 7px;}

/* HEADER */

#header {width:100%;height:126px;position:fixed; transition: top 0.5s; z-index:1000;
background:RGBA(0,0,0,1);
/* background-color: var(--dark-purple);  */
/* background: linear-gradient(220deg, #65981D, #7FC1A5, #76438D); */
/* 
animation: myanimation 60s infinite;
@keyframes myanimation {
  0% {background-color: #8fc640;}
  25%{background-color:#7fc1bd;}
  50%{background-color:#9055ab;}
  75%{background-color:#7fc1bd;}
  100% {background-color: #65981D;}
 */
}
#header .header-content {width:100%; max-width: 1200px; height:auto; margin: 0 auto; background:transparent;padding:10px 0 0 0; }
#site-description {display:inline-block; width:20%; height:auto; color:#ffffff; font-size:0.7rem; letter-spacing: 0.5px;}
.branding{
  width:180px;height:60px;
  display:block;
  /* background-blend-mode: multiply; */
  /* background-image: repeating-linear-gradient(220deg, #9055ab, #7fc1bd, #65981D, #7fc1bd, #9055ab); */
  background-size:100% auto;
  background-repeat:no-repeat;
  margin: 5px 0;
  position: relative;
  -webkit-animation: FooterLogoBG 60s  infinite;
  -moz-animation: FooterLogoBG 60s  infinite;
  animation: FooterLogoBG 60s  infinite;
}
#header .branding .logo {
  position: absolute;
  background-image: url('images/aapip-logo-white-trans-400.png');
  top:0;
  left:0;
  width:180px;height:60px;
  background-size: 170px auto;
  background-position: center;
  background-repeat: no-repeat;
}
#mobile-toggle {position:absolute;right:0;top:0;padding:18px 22px; letter-spacing:0;z-index:1002; display:none; color:#8fc640; background:transparent; font-size:1.2rem; border:0;}
.fa-bars, .fa-times { text-align: center; vertical-align: top; }

.header-container-right {display:inline-block;float:right; width:70%;max-width:1200px;height:auto; }
.header-links {width:100%; float:right; text-align:right; margin:0; }
.header-links:after {
    width: 100%;
    height: 3px;
    background: linear-gradient(130deg,#CFE2AC,#75AADB);
    margin-top:10px;
  }
.home .header-links:after {
  width: 0;
  -webkit-animation: increase 1s ease-out;
  -moz-animation:    increase 1s ease-out;
  -o-animation:      increase 1s ease-out;
  animation:         increase 1s ease-out;
  animation-fill-mode: forwards;
}
    @keyframes increase {
        100% {
            width: 100%;
        }
    }

#header .social {
    width:auto; height:auto; 
    display:inline;
    float:right;
    line-height:1.4;
    text-align:right;
  }
#header .social a { margin-right:0; margin-left:15px;} 
#header .action-links { margin: 0 15px 0 0; display:inline-block;}
#header .action-links li {display:inline;font-size:0.7rem;font-weight:500; margin-left:10px; text-transform:uppercase; letter-spacing: 1.5px;}
#header .action-links li a {text-decoration:none;}
#header .action-links li a:hover,
#header .action-links li a:focus {color:#D8FD94;}

#header #search-header,
#header #search-header .search-form {display:inline-block;}
#header #search-header form.search-form input[type="submit"] {display:none;}


#header #search-header input[type=search] {display:inline-block; position:relative; width:0;height:23px;padding:0;border:0;}
/* .search-open, .search-close {display:inline-block;width:30px;height:20px;color:#d8e264;}
.search-close {display:none;width:auto;} */
#search-header i {width:30px;height:20px;color:#ffffff;padding-right:7px;}
#search-header i:hover, .search-form i:focus {color: #D8FD94;}

#menu{width:100%; height:auto; float:right; margin:0;}
.menu-main-menu-container {width:100%; height:auto;}

#menu-main-menu {width:100%;height:auto;float:right;display:flex;flex-direction:row;flex-wrap:nowrap; margin: 0; justify-content:space-between;}
#menu-main-menu li {/*width:20%;*/width:auto; max-width:195px;height:auto;display:inline-block;margin:0;text-align:left;position:relative;}
#menu-main-menu .sub-menu {/*width:100%;*/width:150px;height:auto;margin:0;position:absolute;left:-99999px;display:block;z-index:100;}
#menu-main-menu .sub-menu li {width:100%;display:block;margin:0;height:auto;}

#menu-main-menu li a {
  color: #ffffff;
  font-weight:600;
  text-decoration: none;
  padding:20px 5px;
  text-transform: uppercase;
  letter-spacing:1px;
  display: block;
}
#menu-main-menu li a:after {
  content: " \25be";
}
#menu-main-menu li a:hover,
#menu-main-menu li a:focus,
#menu-main-menu li a:active   {
  color: #D8FD94;
}
#menu-main-menu .sub-menu li a {
  font-weight:600;
  text-decoration: none;
  padding:10px 10px;
  background:#E2EBD0; /*light green*/
  color:#000000;
  display: block;
  text-transform:none;
  letter-spacing: 0.5px;
}
#menu-main-menu .sub-menu li a:hover,
#menu-main-menu .sub-menu li a:focus,
#menu-main-menu .sub-menu li a:active {
  background:#000000;
  /* color:#D8FD94; */
  color:#ffffff;
}
#menu-main-menu .sub-menu li a:after {
  content: "";
}
#menu-main-menu li:hover .sub-menu,
#menu-main-menu li:focus .sub-menu  {
  left:0;
}

#header p, #header li {font-size:0.8rem; color:#ffffff; cursor: pointer;}

/* SEARCH and ARCHIVE RESULTS */

#content.results-page {width:100%;max-width:1000px;margin:0 auto; padding-bottom:100px;}
#content.results-page.tag-results .header {padding-top:50px;}
#content.results-page .header h1 {margin: 0 0 50px 0;}

.results-page article {margin-bottom:40px; border-top: 1px solid #577E20; padding-top:10px; position:relative;}

h2.search-results {font-size:1.2rem;color:#577E20;margin: 0 0 10px 0;}
h2.search-results a {text-decoration:none;}
h2.search-results:hover, h2.search-results:focus {text-decoration:underline;}

#content.results-page.no-image .header {padding-top:50px;}

span.number-results {font-size: 1.5rem; }

.archive .results-page .entry-summary,
.search .results-page .entry-summary {display:none;}
.archive .results-page .entry-title,
.search .results-page .entry-title {width:80%;}
.search .results-page article#post-0 {border:none;}

/* Ninja Forms buttons */

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
  font-family: halyard-text, sans-serif!important;
  font-weight:600!important;
}

/* pagination */

.page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	/* border: 1px solid #eee; */
  border:none;
	line-height: 1;
	text-decoration: none;
	/* border-radius: 2px; */
	font-weight: 500;
}
.page-numbers.current{
	background: var(--light-green);
}
.page-numbers:hover {text-decoration:underline; color:#000000;}


/* The Events Calendar */

:root { /* replace TEC global styles */
  --tec-color-accent-primary: #577E20!important;
  --tec-font-family-sans-serif: halyard-text, sans-serif!important;
  --tec-color-background-events-bar-submit-button: var(--bright-blue)!important;
  --tec-color-background-events-bar-submit-button-hover: var(--bright-blue)!important;
  --tec-color-link-accent-hover: #577E20!important;
  --tec-color-background-events:white!important;
}
.tribe-events-event-image {align-self:auto!important;}
.tribe-events-event-image img {width:100%!important; height:auto!important;}

.tribe-events-content .simple-button a {border-bottom:none!important;}

/* section header calendar */

.section-head-container.tec {max-width:1176px;}

.tribe-events-content,
.tribe-events-event-image {max-width:800px; padding: 0 100px; margin:0 auto; padding-top:20px;}
.tribe-events-content {padding-top:20px;}

/* h1 Upcoming Events */

/* h1.tec {
  width:100%; max-width:1176px; margin: 0 auto; padding-top:20px; padding-bottom: 20px; font-weight:600; font-size:3rem;} */

/* susbcribe ical picker */
.single-tribe_events .tribe-events-c-subscribe-dropdown__button, 
.tribe-block__events-link .tribe-events-c-subscribe-dropdown__button {width:300px!important;}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 50px;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown,.tribe-events .tribe-events-c-subscribe-dropdown {
  font-size: 0.7rem;
  margin: 20px 0;
}
.tribe-events-c-subscribe-dropdown__list-item {
  font-size: 0.7rem;
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__content {position:absolute; z-index: 2;}

.single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown__container,.tribe-block__events-link .tribe-events .tribe-events-c-subscribe-dropdown__container {
  /* margin: 0 auto;
  width:fit-content; */
}

/* top bar that has date picker */
.tribe-common-h--alt.tribe-events-c-top-bar__datepicker-button:before {
content: "View events by date";
}
span.tribe-events-c-top-bar__datepicker-desktop.tribe-common-a11y-hidden, span.tribe-events-c-top-bar__datepicker-separator, time.tribe-events-c-top-bar__datepicker-time {
display: none;
}

.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-desktop {
  font-weight: 700;
}
/* top bar search */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input {font-size:1rem!important;}

/* TEC view selector */
.tribe-events .tribe-events-c-view-selector__list-item-icon {display:none;}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {background:transparent;}

/* list view styles */

    /* h3 single title in list */
    .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {font-size: 1.2rem;}
    /* list description excerpt */
    .tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 p {
      font-size: 0.8rem;
    }
    /* list view image */
    .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event {
      min-height:180px;
    }
    .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row>.tribe-common-g-col {
      padding-left: 100px;
      padding-right: 100px;
    }

    /* event category links in the list */
    .tribe-events-calendar-list .tribe-event-categories {margin-top: 10px;}

    .tribe-events-calendar-list .tribe-event-categories li {
      display: inline;
      padding: 3px 9px;
      margin-right: 3px;
      font-size: 0.7em;
      font-weight:500;
    }
    .tribe-events-calendar-list .tribe-event-categories li {
      border: 1px solid var(--light-green);
      background-color: var(--light-green);
      border-radius: 30px;
    }
    .tribe-events-calendar-list .tribe-event-categories li:hover {
      background-color: #a7c270 ; /* slighly darker than light green*/
    }
    .tribe-events-calendar-list .tribe-event-categories li a {
      color: #000!important;
    }
    .tribe-events-calendar-list .tribe-event-categories li a:visited {
      color: #000!important;
    }
    .tribe-events-calendar-list .tribe-event-categories li:hover a {
      color: black!important;
    }

/* Single Events styles */

.tribe-events-single h1 {font-size:3rem; font-weight:700; line-height:1.2;}

.tribe-events-single .tribe-events-back {display:none;}

/* hide prev/next on single event */
.tribe-events-nav-pagination,
.tribe-common--breakpoint-medium.tribe-events-pro .tribe-events-pro-summary-nav {display:none;}

.single-tribe_events #container {background:white;}

.tribe-events-content ol,.tribe-events-content ul {
  list-style-position: outside!important;
  margin-left:20px;
}


/* Single.php used for TEC Series */

#content.tec .entry-content.posts-only {max-width:1176px;}

/* Series */

.tec-series-term-label {width:100%; max-width:1176px; margin: 0 auto; padding-top:20px; padding-bottom: 20px; font-weight:600; font-size:3rem;}

/* .single-tribe_event_series h1.tec {font-size:1.6rem; margin: 60px 0 20px 0; font-weight:400; margin:0;} */

.single-tribe_event_series .share-icons-container.article {display:none;}

.single-tribe_event_series #container {background:white;}


/* TEC Category -- uses same archive template as Upcoming Events */

.tribe-events .tribe-events-c-breadcrumbs__list li {
  font-size: 0.8rem!important;
}
.post-type-archive-tribe_events .tribe-events-header__title-text {
  font-weight:700;
}
/* .post-type-archive-tribe_events .tribe-events-header__title-text::before {content:"Event category: ";} */

/* Organizers and Venues */

/* .single-tribe_venue h1.tec,
.single-tribe_organizer h1.tec {display:none;} */
.single-tribe_organizer .tribe-events-header__title-text,
.single-tribe_venue .tribe-events-header__title-text {
  font-weight:700;
}
/* .single-tribe_organizer .tribe-events-header__title-text::before {content:"Event organizer: ";}
.single-tribe_venue .tribe-events-header__title-text::before {content:"Event venue: ";} */

/* Past Events page with shortcode */

/* .page-past-events .tribe-events-c-subscribe-dropdown__container,
.page-past-events .tribe-events-header
{display:none!important;}

.page-past-events .tribe-common-l-container.tribe-events-l-container {padding-top:50px!important;}

.page-past-events h1.tec {display:none;} */

/* neon button overrides */
.page-institutional-membership #content button,
.page-individual-membership #content button,
.page-member-login #content button,
.page-donate #content button,
.page-subscribe #content button,
.page-membership #content button,
.tribe-events-single-event-description button {
  padding:12px 20px!important;
  border:none!important;
  hyphens:auto!important;
  font-family: halyard-text, sans-serif!important;
  font-size:1rem!important; 
  font-weight:600!important;
  background:var(--gold-tint)!important;
  color:black!important;
}
