@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
  background-color: #f2f2f2;
}
#main {
  font-family: "Lato", sans-serif;
  font-style: normal;
  background-color: #f2f2f2;

  .bt-date-badge {
    border-radius: 0;
    height: auto;
    box-shadow: none;
    min-width: 70px;

    .bt-date-badge__month {
      border-radius: 0;
      background: #007db8;
      font-size: 12px;
      padding: 0.3rem 0.3rem 0.2rem;
    }
    .bt-date-badge__day {
      font-weight: 600;
      font-size: 34px;
      color: #002542;
    }
  }
}

bt-event-listing {
  background-color: #f2f2f2;
  .h1-text-hidden {
    display: none;
  }

  bt-filter-panel {
    .card.card-filter-panel {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      border-radius: 0;
      margin-bottom: 30px;

      .menu-button {
        border-radius: 0;
      }
    }
  }

  .partition h2.separator-title {
    font-size: 1rem;
    text-transform: uppercase;
  }

  .appbar[role="banner"] {
    background-color: #f2f2f2;
    box-shadow: none;

    .appbar-header {
      margin-top: 1rem;

      .group-name h1 {
        font-weight: 600;
        color: #002542;
        font-family: Lato, sans-serif;
        font-size: 23px;
      }

      /* .header-left {
        display: none;
      }

      bt-search-autocomplete {
        width: 80%;
        max-width: 80%;
        margin-left: 0;
      } */
    }
  }

  .search-wrapper {
    .search-icon {
      top: 0.55rem;
    }

    .search-field {
      background-color: white;
      border-radius: 0;
      border: 1px solid #ddd;
      height: 2.5rem;
    }
  }

  .list-item .product-item {
    position: relative;

    @media (max-width: 499px) {
      flex-direction: column;
    }
    .product-item__price {
      background: #fad239;
      color: #002542;
      border-radius: 0;
      bottom: auto;
      top: 0;
      left: 0;
      right: auto;
      margin: 0;
      font-size: 13px;
      font-weight: 600;
      display: none;
    }

    .product-item__eventDetails {
      position: unset;
      padding: 1rem 1rem 3rem;
      
      @media (max-width: 499px) {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1rem 2rem;
      }
    }

    .product-item__eventDetails::before {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 88px;
      height: 42px;
      background-image: url("https://cms.ucd.ie/websmart/fileupload/event-link-arrow.svg");
      background-repeat: no-repeat;
      background-size: cover;
    }
  }

  .product-item .product-item__imgContainer {
    height: 10rem;
    @media (max-width: 499px) {
      width: 100%;
    }

    @media (min-width: 500px) {
      height: 12rem;
    }
  }

  .product-item .product-item__name {
    font-size: 22px;
    font-weight: 600;
    color: #002542;
    max-height: none;
    margin-bottom: 6px;
  }

  .product-item__dateTime {
    margin-bottom: 6px;
    display: inline-block;
  }

  .bt-date-badge .bt-date-badge__day {
    background: #f2f2f2;
  }
}

bt-event-listing-maple-main {
  .content-container {
    .sidebar {
      flex: 20rem 0 0;
    }
  }

  .grid-container .grid-item {
    background: #fff;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;

    .date-badge-container {
      top: 0;
      min-width: unset;
      height: auto;
      width: auto;
      left: -6rem;

      .bt-date-badge .bt-date-badge__day {
        background: #fff;
      }
    }

    h3.event-name {
      color: #002542;
      font-size: 20px;
      line-height: 1.4;
    }

    .start-date span {
      color: #007db8;
      font-weight: 600;
      font-size: 15px;
    }

    .event-image-wrapper {
      height: 10rem;
      max-height: 10rem;
      min-height: unset;
    }
    .event-image-container {
      height: 10rem;

      .event-price {
        background: #fad239;
        color: #002542;
        border-radius: 0;
        bottom: auto;
        top: 0;
        left: 0;
        right: auto;
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        display: none;
      }
    }

    &::before {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 88px;
      height: 42px;
      background-image: url("https://cms.ucd.ie/websmart/fileupload/event-link-arrow.svg");
      background-repeat: no-repeat;
      background-size: cover;
    }
  }

  .mat-chip-list-wrapper .mat-chip {
    border-radius: 0;
    background: #fff;
    border: 1px solid #007db8;
    color: #002542;
  }

  .mat-chip-list-wrapper .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary {
    background: #007db8;
  }

  .grid-container .grid-item {
    @media (max-width: 699px) {
      flex-direction: column;
    }
  }

  .event-image-wrapper[_ngcontent-ng-c3946868762]:not(.featured).list-item {
    @media (max-width: 747px) {
      height: auto;
      max-height: unset;
      min-height: 10rem;
    }
  }

  .event-image-wrapper {
    @media (max-width: 699px) {
      max-width: 100% !important;
      width: 100% !important;
    }
  }
  .event-details.list-item,
  .event-details.list-item[_ngcontent-ng-c3946868762] {
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);

    @media (max-width: 699px) {
      margin: 0;
      padding: 10px 15px 60px;
    }
    @media (min-width: 700px) {
      padding: 0 15px 15px 0;
    }
  }
}

@media (min-width: 1024px) {
  bt-event-listing-maple-main {
    .grid-container .grid-item.list-item {
      width: 50rem;
    }

    .content-container {
      .sidebar {
        flex: 25% 0 0;
        margin-right: 80px;
      }
    }
  }
}

.grid-container .list-item .event-status {
  display: none;
}
