/*
Theme Name:         East Bay Community Foundation
Theme URI:          https://www.vermilion.com/
Description:        A custom theme.
Version:            0.1.0
Author:             Vermilion Design + Digital
Author URI:         https://www.vermilion.com/
Text Domain:        sage

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/

header.banner button,
header.banner a {
    color: #2D3A59 !important;
}
header.banner button:hover,
header.banner a:hover {
    color: #3DC8A5 !important;
}
header.banner .sub-menu a:hover{
    color: #f4bd00 !important;
}

.page-template-template-home div.swiper-wrapper div.swiper-slide::before, 
.template-home div.swiper-wrapper div.swiper-slide::before {
    /* background-image: linear-gradient(90deg,#2D3A59,#2D3A59 10%,rgba(0,0,0,.1) 50%,transparent) !important; */
    /* background-image: linear-gradient(90deg,#2D3A59,#2D3A59 20%,rgba(0,0,0,.1) 30%,transparent) !important; */
    background-image: linear-gradient(90deg,#2D3A59,#2D3A59 40%,rgba(0,0,0,.2) 60%,transparent) !important;
}
.page-header {
  background-color: #2D3A59 !important;
}
body.template-program-strategy-single.accentcolor-brown .accent-bg{
  background-color: #FF9900 !important;
}
/* footer.content-info a,
footer.content-info p{
  color: #3DC8A5 !important;  
} */
footer.content-info a:hover{
  color: #3DC8A5 !important;  
}
/* footer.content-info a:hover {
  color: #f4bd00 !important;
} */
.hide-swp.menu-item{
  display: none !important;
}
.content{
    color: #2D3A59;
}
.wp-block-media-text.is-style-media-text-alt.has-black-color .wp-block-media-text__content {
  color: #2D3A59 !important;
}
/* header a.brand svg.icon{
    color: #2D3A59 !important;
    fill:#ffffff !important;
} */
header.banner a.brand svg :not([fill]):not([stroke]) {
  fill:#2D3A59 !important;
}
/* header.banner a.brand:hover svg :not([fill]):not([stroke]):hover,
header.banner a.brand:hover svg{
  fill:#3DC8A5 !important;
} */
section.wp-block-get-involved .get-involved-row a.vertical-button:hover {
  color: #2D3A59 !important;
}
header.banner a.brand:hover svg :not([fill]):not([stroke]),
header.banner a.brand:hover svg :not([fill]):not([stroke]),
footer.content-info a.brand:hover svg :not([fill]):not([stroke]){
     fill:#3DC8A5 !important;
}
.swp-img-adj img{
    max-width: 120px;
    width: 100%;
    margin: auto;
}
img.swp-icon-mng{
    max-width: 120px;
}

.home-ft-news ul.post-categories li {
  display: none;
}

.home-ft-news ul.post-categories li:first-child {
  display: list-item;
}
.wp-block-get-involved h2{
  color: #2D3A59 !important;
}

body.template-program-strategy-single.accentcolor-gray .accent-bg,
body.template-program-strategy-single.accentcolor-blue .accent-bg,
body.template-program-strategy-single.accentcolor-brown .accent-bg,
body.template-program-strategy-single.accentcolor-green .accent-bg{
    color: #000000 !important;
}
header.banner .trigger-nav::before{
  background-color: #2D3A59 !important;
}
.home blockquote.wp-block-quote.is-style-quote-alt{
  background-color: #3DC8A5 !important;
  color: #2D3A59 !important;
}
.home blockquote.wp-block-quote.is-style-quote-alt cite{
  color: #fff !important;
  font-weight: 700 !important;
}

/* body.page-id-13.template-donors-overview .wrap .content .main .page-header::before, */
body.page-id-13.template-donors-overview .wrap .content .main .page-header::after,
body.page-id-13.template-donors-overview .wrap .content .main .hero-image::after, 
body.page-id-13.template-donors-overview .wrap .content .main .hero-image::before {
  background-color: #2D3A59 !important;
}
/* .page-header::after  */
.page-header::before{
  background-color: #2D3A59 !important;
}
body.template-program-strategy-single.accentcolor-blue .page-header::after{
  background-color: #2D3A59 !important;
}

.page-id-17 section.wp-block-post-grid.feature-first-post .flex-grid > :first-child .excerpt-post__details,
.home section#wp-block-post-grid-block_93f9ce98197ed31613815d3153fa30d7.wp-block-post-grid.feature-first-post .flex-grid > :first-child .excerpt-post__details{
  background-color: #2D3A59 !important;
}
.page-id-17  .excerpt-post:first-child .btn-secondary,
.home section#wp-block-post-grid-block_93f9ce98197ed31613815d3153fa30d7 .excerpt-post:first-child .btn-secondary{
  color: #f4bd00 !important;
}
.home .home-ft-news .excerpt-post:first-child .btn-secondary{
  color: #f4bd00 !important;
}
.page-id-17 .excerpt-post__details .btn-secondary:hover{
  color: #fff !important;
}
.sub-menu .menu-item-parent-overview-title,
.sub-menu .menu-item-parent-overview p{
  color: #2D3A59 !important;
}
.wp-block-numbers .number-description{
  color: #2D3A59 !important;
}
.page-id-6 .program-strategies-row a.program-strategy .border-left{
  border-left: 0px !important;
}
.wp-block-program-strategies-row .program-strategies-row h3{
  color: #2D3A59 !important;
}
nav.nav-secondary a {
  color: #2D3A59 !important;
}
nav.nav-secondary a:hover,
.content nav.nav-secondary ul li a:hover{
  color: #f4bd00 !important;
}
/* .page-id-34041 .wp-block-cover__image-background p a{
  color: #f4bd00 !important;
}
.page-id-34041 .wp-block-cover__image-background p a:hover{
  color: #fff !important;
} */

.swp-cls-yellow .wp-block-cover__inner-container a{
  color: #f4bd00 !important;
}
.swp-cls-yellow .wp-block-cover__inner-container a:hover{
  color: #fff !important;
}
.home .slide-content p:first-child{
  color: #fff;
  padding: 12px 25px 12px 30px;
  display: inline-block;
  position: relative;
  background: linear-gradient( to right, transparent 0%, #2D3A59 37px );
}
.home .slide-content p:first-child::after{
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background: #2D3A59;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.home .slide-content p:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;  /* control fade width */
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(45, 58, 89, 0) 0%,
        rgba(45, 58, 89, 1) 100%
    );
}
body.page.pagedepth-0 .page-header::after {
  border-bottom: 12px solid #2D3A59 !important;
  border-top: 12px solid #2D3A59 !important;
}
body.page.pagedepth-0 .hero-image::after,
body.page.pagedepth-0 .hero-image::before{
  background-color: #2D3A59 !important;
}

.page-id-22 .page-header::after,
.page-id-34 .page-header::after,
.page-id-36 .page-header::after,
.page-id-38 .content .page-header::after,
.page-id-35066 .page-header::after,
.page-id-34041 .page-header::after,
.page-id-54 .page-header::after,
.page-id-52 .page-header::after,
.page-id-34075 .page-header::after{
  background-color: #2D3A59 !important;
}
.page-id-38 main .page-header::after,
.page-id-34041 main .page-header::after,
.page-id-22 .page-header::after,
.page-id-34 .page-header::after,
.page-id-35066 .page-header::after,
.page-id-36 .page-header::after,
.page-id-34041 .page-header::after,
.page-id-54 .page-header::after,
.page-id-52 .page-header::after,
.page-id-34075 .page-header::after,
.postid-39861 .page-header::after,
.single-fund .page-header::after,
.page-id-28 .page-header::after,
.page-id-34670 .page-header::after,
.page-id-35055 .page-header::after,
.page-id-24 .page-header::after,
.page-id-30 .page-header::after,
.page-id-58 .page-header::after,
.page-id-60 .page-header::after{
  background-color: #2D3A59 !important;
}
body.page-id-35584.template-program-strategy-single.accentcolor-blue .page-header::after {
  background-color: #5d93dc !important;
}
body.page-id-35971.template-program-strategy-single.accentcolor-gray .accent-bg,
body.page-id-35971.template-program-strategy-single.accentcolor-gray .page-header::after{
  background-color: #5d93dc !important;
}
.page-id-13 .has-black-background-color{
  background-color: #fff !important;
  color: #2D3A59 !important;
}
.page-id-13 .has-black-background-color a{
  color: #3366CC !important;
}
.page-id-13 .has-black-background-color a:hover{
  color: #2D3A59 !important;
}
body.page-id-13.template-donors-overview .first-subpage div.child-pages > ul > li:last-child a{
  color: #3366CC !important;
  border: 4px solid #3366CC !important;
}
body.page-id-13.template-donors-overview .first-subpage div.child-pages > ul > li:last-child a:hover{
  color: #2D3A59 !important;
  border: 4px solid #2D3A59 !important;
}
section.wp-block-subpages .subpages-row .excerpt-subpage {
  color: #2D3A59 !important;
}
section.wp-block-subpages .subpages-row .excerpt-subpage__details h3 a {
  color: #2D3A59 !important;
}
section.wp-block-subpages .subpages-row .excerpt-subpage__details h3 a:hover {
  color: #f4bd00 !important;
}
header.banner ul.top-level li.menu-item-close{
  display: none !important;
}
@media all and (max-width: 768px) {
    .swp-wrapp-img{
        display: flex !important;
        flex-direction: column-reverse !important;
        padding-top: 0px !important;
    }
}