/* ==========================
    Event List component
============================= */
.eventListOverview h2 {
  font-weight: bold;
  font-size: 3em;
}

.eventListOverview h3 {
  color: #232387;
  font-size: 25px;
  margin: 0.5em 0 0;
  line-height: 1.5;
  padding: 0;
}

.eventListOverview h3 a,
.eventListOverview h4 a {
  text-decoration: none;
  color: inherit;
}

.eventList {
  padding: 0 15px;
  width: 100%;
}

.eventListOverview .eventList .row {
  margin: 0;
}

.eventList p {
  color: black;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 1rem;
}

.eventDayList {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
}

@media (max-width: 768px) {
  .eventListOverview h2 {
    margin: 20px 15px;
    font-size: 45px;
  }
  
  .eventDayList {
    flex-direction: column;
    margin: 0 -15px 25px;
  }
}

/* ==========================
    Event List filter component
============================= */
.eventListFilter {
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: flex-start;
  margin-top: 1.5em;
  padding: 0;
}

.eventListFilter.dropdown-filter {
  padding: 1.5em 0;
  border-top: 1px solid #232387;
  border-bottom: 1px solid #232387;
}

/* bug fix */
.eventListFilter.collapse:not(.show) { display: block; }
.eventListFilter.collapse:not(.in) { display: none; }

.eventListFilter a {
  text-decoration: none;
}

.eventListFilter li {
  margin-left: 1em;
}

.eventListFilter li:nth-child(1) {
  margin-left: 0;
}

.eventListFilter.dropdown-filter li:nth-child(1) {
  margin-right: auto;
}

.eventListFilter.dropdown-filter li:nth-child(1) a {
  text-transform: none;
}

.eventListFilter.dropdown-filter li a,
.eventListFilter .eventListFilterDropdown li:nth-child(1) a {
  text-transform: uppercase;
}

.eventListFilter li a.active {
  font-weight: bold;
}

@media (max-width: 991px) {
  .eventListFilter.collapsing {
    display: block;
  }
  
  .eventListFilter.collapsing li,
  .eventListFilter li {
    margin-left: 0;
    text-align: center;
    display: inline-block;
    margin: 0 15px;
  }
  
  .eventListFilter .eventListFilterDropdown li:nth-child(1) {
    margin: 0 15px;
  }
  
  .eventListFilterDropdown {
    margin: 0 -15px;
    margin-top: 1em;
  }
  
  .eventListFilter li.eventListFilterToggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    text-align: left;
  }
  
  .eventListFilterToggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 0.5em;
    vertical-align: 0.255em;
    border-top: 0.75em solid #232387;
    border-right: 0.5em solid transparent;
    border-bottom: 0;
    border-left: 0.5em solid transparent;
  }
}

/* ==========================
    Event day ribbon component
============================= */
.eventDayRibbon {
  background-color: #232387;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75em 1em;
  min-width: 96px;
}

.eventDayRibbon .eventDay,
.eventDayRibbon .eventMonth,
.eventDayRibbon .eventDayNumber {
  line-height: 1;
}

.eventDayRibbon .eventDay {
  font-size: 12px;
}

.eventDayRibbon .eventMonth {
  font-size: 12px;
  text-transform: uppercase;
}

.eventDayRibbon .eventDayNumber {
  font-size: 45px;
  font-weight: bold;
}

@media (max-width: 768px) {
 .eventDayRibbon {
    width: 100%;
    flex-direction: column-reverse;
    position: relative;
  }

  .eventDayRibbon .eventDay {
    position: absolute;
    top: 40%;
    left: 25%;
    font-size: 14px;
  }

  .eventDayRibbon .eventDayNumber {
    font-size: 25px;
  }

  .eventDayRibbon .eventMonth,
  .eventDayRibbon .eventDayNumber {
    margin-right: auto;
  } 
}

/* ========================
    subEventRow component
========================= */
.subEventRow > div {
  display: flex;
}

@media (max-width: 768px) {
  .subEventRow > div {
    display: inline-block;
  }
}