/*
Theme Name:         Blackbaud Interactive - Wordpress Theme (Blackbaud-Wordpress)
Theme URI:          https://roots.io/sage/
Description:        Blackbaud Bootstrap - Wordpress Starter Theme (based on the Sage WordPress Starter Theme by Roots.
Version:            3.1.1
Author:             Blackbaud Interactive

Author URI:         http://services.blackbaud.com/
License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/
/* Contrast Fixes */
.bbi-main-slider div.carousel-caption {
  padding: 20px;
  background: black;
}

.bbi-info p a,
.bbi-info ul a {
  color: black;
  text-decoration: underline;
}

#bbi-primary-content .bbi-flipper .btn-primary,
#bbi-primary-content .btn-primary {
  background-color: black;
}

#bbi-footer {
  background: #060606;
}

.bbi-nav-primary>ul>li.active-current-item>a,
.bbi-nav-primary>ul>li.current-menu-ancestor>a {
  background: black;
}

#bbi-page-banner .bbi-caption {
  background: linear-gradient(0deg, black, transparent);
  padding-top: 50px;
}

.bbi-engagement-footer .container-fluid {
  text-align: center;
}

.bbi-engagement-title {
  background: black;
  display: inline-block;
  padding: 8px 14px 2px;
}

#bbi-section3.bbi-engagement-footer.with-filter .bbi-engagement-title {
  color: white;
  padding-bottom: 10px;
}

.bbi-sidebar-feature a.alt-button {
  background-color: black;
  border: 1px solid #EC1D31;
}

.bbi-sidebar-feature .media-wrap {
  background: rgba(0, 0, 0, 0.7);
}

.bbi-page-posts article .excerpt-btn {
  color: #000;
  font-weight: normal;
  text-decoration: underline;
}

.search-filter-results .pagination .current {
  color: #fff;
  border-color: #000;
  background-color: #000;
}

.search-filter-results .pagination a {
  color: #000;
}

.bbi-page-main-content a,
.bbi-page-accordion a {
  color: #000;
  text-decoration: underline;
}

#bbi-primary-content .bbi-flipper .btn-primary,
#bbi-primary-content .btn-primary {
  color: white;
  text-decoration: none;
}

#bbi-main-sidebar .btn-primary,
.sf-field-reset a,
.searchandfilter ul li a.search-filter-reset {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

#bbi-main-sidebar .btn-primary:after {
  color: white;
}

.ai1ec-agenda-widget-view .ai1ec-date-title,
.ai1ec-agenda-view .ai1ec-date-title {
  border: 1px solid #c2c2c2;
  border-top: none;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #525252;
  float: left;
  font-weight: bold !important;
  background-image: -webkit-linear-gradient(#fff, #fff 1em, #e7e7e7);
  background-image: linear-gradient(#fff, #fff 1em, #e7e7e7);
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: none \9;
  line-height: 1.2em;
  margin: 6.5px 0.75em;
  overflow: hidden;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  width: 4em;
}

.bbi-home-cta:last-child {
  border-right-width: 1px;
}


.bbi-home-video-slider .bbi-ctas {
  padding-left: 0;
  display: flex;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .bbi-home-video-slider .bbi-ctas {
    flex-direction: column;
    align-items: center;
  }

  .bbi-home-video-slider .bbi-ctas .bbi-home-cta {
    width: 100%;
    border: none;
  }
}


/* Flip Container */
button.bbi-flip-container,
button.bbi-home-sticky-focus {
  background: transparent;
  color: inherit;
  text-transform: none;
}
.bbi-flip-container:focus .bbi-flipper,
.bbi-flip-container.focused .bbi-flipper {
  transform: rotateY(180deg);
}
.bbi-flip-container:focus .bbi-front,
.bbi-flip-container.focused .bbi-front {
  z-index: 1;
}
.bbi-flip-container:focus .bbi-back,
.bbi-flip-container.focused .bbi-back {
  z-index: 2;
}
button:focus,
a.btn-primary:focus {
  outline: initial !important;
  border: 2px solid blue !important;
  box-shadow: 1px 1px 1px white !important;
}

/* Home Sticky */
.bbi-home-sticky-wrap .bbi-home-sticky-focus:focus .bbi-post-excerpt,
.bbi-home-sticky-wrap .bbi-home-sticky-focus.focused .bbi-post-excerpt {
  display: block;
}
.bbi-home-sticky-wrap .bbi-home-sticky-focus:focus .bbi-post-excerpt-wrap,
.bbi-home-sticky-wrap .bbi-home-sticky-focus.focused .bbi-post-excerpt-wrap {
  background-color: #333333;
  background-color: rgba(0, 0, 0, 0.8);
}
