/* Event Manager - site styles. Kept minimal so the template's Bootstrap styles lead. */

.com-eventmanager .em-meta {
  color: #555;
}

.com-eventmanager .em-view-switch {
  text-align: right;
}

.com-eventmanager .em-event-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .25rem 1rem;
  margin: 1rem 0;
}

.com-eventmanager .em-event-facts dt {
  font-weight: 600;
}

.com-eventmanager .em-event-facts dd {
  margin: 0;
}

.com-eventmanager .em-type-option {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .075);
}

/* Calendar */
.em-calendar {
  table-layout: fixed;
  width: 100%;
}

.em-calendar th {
  text-align: center;
}

.em-calendar td {
  height: 7rem;
  vertical-align: top;
  padding: .25rem;
}

.em-cal-empty {
  background: rgba(0, 0, 0, .03);
}

.em-cal-today {
  background: rgba(13, 110, 253, .06);
}

.em-cal-date {
  font-weight: 600;
  font-size: .85rem;
}

.em-cal-event {
  display: block;
  margin-top: .2rem;
  padding: .1rem .3rem;
  border-radius: .2rem;
  background: #0d6efd;
  color: #fff;
  font-size: .75rem;
  line-height: 1.3;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.em-cal-event:hover,
.em-cal-event:focus {
  color: #fff;
  filter: brightness(1.1);
}

.em-cal-event.em-members-only {
  background: #6f42c1;
}

.em-cal-time {
  font-weight: 600;
}

@media (max-width: 767px) {
  .em-calendar td {
    height: 4rem;
  }

  .em-cal-time {
    display: none;
  }
}
