/* Blog View */
.blog-container {
    background: #fff;
    border-radius: 4px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}
/* Custom Buttons for Homepage Slideshow */
.block--homepage-button-group {
    padding: 2em;
    max-width: none;
    margin: 0 auto;
    background: #eee;
}
.block--homepage-button-group .btn-cwb_button img.btn-cwb_button_thumb {
    border-radius: none;
    display: block;
    margin: 0 auto;
}
.block--homepage-button-group span.btn-title {
    color: #444;
}
.block--homepage-button-group .block__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.block--homepage-button-group .block__content div {
    flex: 1;
    display: block;
    overflow: visible;
    box-shadow: none;
    margin: 0 10px;
}
.block--homepage-button-group .btn-cwb_button {
    display: block;
    border-left: 1px solid #ccc;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    box-shadow: none;
}
.block--homepage-button-group .block__content div:last-of-type .btn-cwb_button {
    border-right: 1px solid #ccc;
}
.block--homepage-button-group .btn-cwb_button:hover {
    border: 1px solid #00845a !important;
    transition: all 0.5s ease-in-out;
}
.block--homepage-button-group .block__content div:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.22);
    transition: all 0.5s ease-in-out
}
.block--homepage-button-group .btn-cwb_button:hover, .block--homepage-button-group .btn-cwb_button:active  {
    z-index: 2;
}
.block--homepage-button-group .btn-cwb_button .btn-title {
    letter-spacing: 0;
}

@media (max-width: 980px) {
  .block--homepage-button-group .block__content div {
      flex: 1 1 33%;
  }
  .block--homepage-button-group .block__content div:last-of-type .btn-cwb_button {
    border-right: none;
  }
}

/* Custom Components for homepage columns, because the block type doesn't render the class for the paragraph type - smw0 */
.hero-bg-image {
    min-height: 200px;
}
.paragraph.paragraph--type--bp-column-wrapper {
    width: calc(100% + 1px);
    display: block;
    height: 100%;
}
.paragraph--type--bp-columns__1col .paragraph.paragraph--width--full>.paragraph__column, .paragraph--type--bp-columns__1col .paragraph.paragraph--width--medium>.paragraph__column, .paragraph--type--bp-columns__1col .paragraph.paragraph--width--narrow>.paragraph__column, .paragraph--type--bp-columns__1col .paragraph.paragraph--width--tiny>.paragraph__column, .paragraph--type--bp-columns__1col .paragraph.paragraph--width--wide>.paragraph__column, .paragraph.paragraph--type--bp-columns .paragraph--type--bp-columns__2col, .paragraph.paragraph--type--bp-columns .paragraph--type--bp-columns__3col, .paragraph.paragraph--type--bp-columns .paragraph--type--bp-columns__4col, .paragraph.paragraph--type--bp-columns .paragraph--type--bp-columns__5col, .paragraph.paragraph--type--bp-columns .paragraph--type--bp-columns__6col {
    padding-left: 0;
    padding-right: 0;
}
.paragraph--type--bp-columns .button {
    border-radius: 1px;
}
.paragraph--type--bp-columns .paragraph.paragraph--type--bp-image img {
    width: 100%;
}
.paragraph--type--bp-columns .paragraph__column {
    padding: 0;
}
.paragraph--type--bp-columns .paragraph.paragraph--color>.paragraph__column {
    padding-top: 10px;
    padding-bottom: 10px;
}
.paragraph--type--bp-columns .paragraph--type--bp-simple {
    padding: 3rem;
    display: block;
}
.block--fresh-homepage-icons .paragraph--type--bp-columns .paragraph--type--bp-simple {
    padding: inherit;
}
.paragraph--type--bp-columns .hero-bg-image::before {
    background-image: none;
}
.paragraph--type--bp-columns .hero-bg-image .hero-bg-image__call-to-action a {
    background: transparent;
}
.paragraph--type--bp-columns .hero-bg-image .hero-bg-image__call-to-action a:hover,
.paragraph--type--bp-columns .hero-bg-image .hero-bg-image__call-to-action a:focus,
.paragraph--type--bp-columns .hero-bg-image .hero-bg-image__call-to-action a:active {
    background: rgba(0,0,0,0.5);
}
.paragraph--type--bp-columns > .paragraph__column {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.paragraph--type--bp-columns .paragraph--type--bp-columns__2col > div {
    width: 100%;
    display: block;
}
.paragraph--type--bp-columns .paragraph--type--bp-columns__2col {
    padding: 0;
    flex: 1;
    display: flex;
    min-height: 250px;
}
.paragraph--type--bp-columns .paragraph--type--bp-columns__2col .hero-bg-image {
    flex: 1;
    display: block;
    height: 100%;
}
.paragraph.paragraph--type--bp-column-wrapper,
.paragraph.paragraph--type--bp-column-wrapper .paragraph__column, 
.paragraph.paragraph--type--bp-column-wrapper .paragraph__column > div, 
.paragraph--type--bp-columns  .paragraph.paragraph--type--bp-simple {
    height: 100%;
}
.paragraph--type--bp-columns .hero-bg-image {
    padding: 7vw 1.5em 7vw;
}
.paragraph--type--bp-columns .hero-bg-image__content {
    padding: 0 !important;
}
.paragraph--type--bp-columns .hero-bg-image__call-to-action {
    text-align: center;
}

@media screen and (max-width: 767px) {
   .paragraph--type--bp-columns .paragraph--type--bp-simple {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .paragraph--type--bp-columns .paragraph--type--bp-columns__2col {
        min-width: 320px;
        min-height: 320px;
    }
}

/* Fix Small News List Style */
.post__body-content.jumbotron, .jumbotron p {
    font-size: 21px;
}

/* news cards */
.view.view--card-display .view__content > div {
    margin-bottom: 32px;
}
.card {
    height: 100%;
}

/* news list view */
.ppec-news-wrapper .view__row {
    display: flex !important;
    justify-content: flex-start;
    margin-bottom: 16px !important;
}
.ppec-news-left img {
    border-radius: 8px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.ppec-news-wrapper {
    padding: 16px;
}
.ppec-news-left {
    flex: 1 25%;
    align-self:center;
}
.ppec-news-right {
    flex: 1 75%;
    padding: 0 16px;
}
.ppec-news-right h3 {
    padding: 0;
    margin: 0;
}
p.field-content.ppec-news-date.small time {
    font-weight: 500;
    color: #000;
}

@media (max-width: 1024px) {
  .ppec-news-left {
    flex: 1 33%;
  }
  .ppec-news-right {
      flex: 1 66%;
  }
}

@media (max-width: 767px) {
  /*.ppec-news-wrapper .view__row {
    flex-direction: column;
  }*/
  .ppec-news-left {
    flex: 1 100%;
  }
  .ppec-news-right {
      flex: 1 100%;
  }
  .ppec-news-left img {
      margin-left: 1em;
  }
}


@media screen and (max-width: 767px){
  section.slideshow-login {
      margin: 0;
  }
}