/*!
 * ===========================
 * Author: Steve Gotthardt
 * Created: 3/2025
 * ===========================
 */

main#top.content {
  padding-bottom: 0;
}
.ebcc-bg {
  padding: 0 24px;
  background-color: rgba(254, 232, 209, 0.5);
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .ebcc-bg {
    padding: 0 48px;
  }
}
.ebcc-bg::before {
  content: "";
  background-image: url(/images/default-source/site-images/education---events/certificate-programs/employee-benefits-courses/circles.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

/* ====== Search and Filter CSS Overrides ====== */
#SearchFilter-search-filter-container {
  grid-template-areas: "type" "region" "area" "btns";
  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr 1fr auto;
    grid-template-areas: "type region area btns";
  }
  #SearchFilter-search-container {
    display: none;
  }
}
#List-header {
  grid-template-columns: 80px auto 160px 220px 220px;
  background-color: #00447c;
}
ul#SearchFilter-list li {
  a .item-image {
    background-size: contain;
    background-repeat:no-repeat;
  }
  &[data-type="certificate"] a .item-image {
    background-color:#9d6ba7;
  }
  &[data-type="course"] a .item-image {
    background-color:#bc441b;
  }  
}
.grid-view ul#SearchFilter-list li{
  a {
    &::after {
      display:none;
    }
    @media screen and (min-width: 400px) {
      grid-template-columns: 80px 1fr;
    }
    .item-image {
      @media screen and (min-width: 400px) {
        min-height:80px;
      }
    }
    .item-text {
      padding-right:18px;
    }
  }  
}
.list-view ul#SearchFilter-list li a {
  .item-image {
    border-bottom:1px solid white;
  }
  .item-text .details {
    grid-template-columns: 160px 220px 220px;
  }
}