.agenda-date-strip {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-block: 1.5rem;
  @media (width <= 1199px) {
    flex-direction: column;
    gap: 10px;
  }
}

.agenda-date-strip__month {
  display: flex;
  align-items: center;
  justify-content: center;
  /*min-width: 9rem;
  padding-inline: 1rem;*/
  font-weight: 500;
  white-space: nowrap;
  
}
.agenda-date-strip__month-container { display: flex;}

.agenda-date-strip__days {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  @media (width <= 1199px) {
    justify-content: center;
  }
}

.agenda-date-strip__day,
.agenda-date-strip__arrow {
  color: #fff;
  text-decoration: none;
}

.agenda-date-strip__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  min-height: 50px;
  place-content: center;
  border-inline-start: 1px solid rgb(255 255 255 / 85%);
  font-weight: 700;
  transition: filter 150ms ease, background-color 150ms ease;
  margin-bottom: 2px;
  @media (width > 1200px) {
    flex: 1;
    min-width: auto;
  }
  @media (width <= 1199px) {
    flex: 0 0 auto;
  }
}

.agenda-date-strip__day.is-past {
  background: #a6a6a6;
}

.agenda-date-strip__day.is-today {
  background: #111;
}

/* Future date with one or more accessible activities. */
.agenda-date-strip__day.is-future.has-events {
  background: rgb(203, 86, 14);
}

/* Future date without activities. */
.agenda-date-strip__day.is-future.no-events {
  background: rgb(235, 157, 105);
  color: #111;
}

.agenda-date-strip__day.is-selected {
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 2px #111;
}

.agenda-date-strip__day:hover,
.agenda-date-strip__day:focus-visible,
.agenda-date-strip__arrow:hover,
.agenda-date-strip__arrow:focus-visible {
  filter: brightness(0.86);
}

.agenda-date-strip__weekday {
  font-size: 0.75rem;
  line-height: 1;
}

.agenda-date-strip__number {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1;
}

.agenda-date-strip__arrow {
  display: grid;
  min-width: 46px;
  place-items: center;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color:#333
}

.agenda-date-preview {
  position: fixed;
  z-index: 10000;
  width: min(330px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 24px));
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #d6d6d6;
  background: #fff;
  color: #333;
  box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
}

.agenda-date-preview[hidden] {
  display: none;
}

.agenda-date-preview__list {
  border-top: 1px solid #c8954b;
}

.agenda-date-preview__item {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 76px;
  padding: 12px 4px;
  border-bottom: 1px solid #c8954b;
  color: inherit;
  text-decoration: none;
}

.agenda-date-preview__item:hover,
.agenda-date-preview__item:focus-visible {
  background: #f6f6f6;
}

.agenda-date-preview__image {
  display: block;
  width: 92px;
  height: 54px;
  overflow: hidden;
  background: #eee;
}

.agenda-date-preview__image > *,
.agenda-date-preview__image article,
.agenda-date-preview__image div {
  width: 100%;
  height: 100%;
  margin: 0;
}

.agenda-date-preview__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-date-preview__body {
  display: block;
  min-width: 0;
}

.agenda-date-preview__date,
.agenda-date-preview__title,
.agenda-date-preview__place {
  display: block;
}

.agenda-date-preview__date {
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}

.agenda-date-preview__title {
  font-weight: 700;
  line-height: 1.25;
}

.agenda-date-preview__place {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.agenda-date-preview__item-arrow {
  color: #b77a27;
  font-size: 1.15rem;
  line-height: 1;
}

.agenda-date-preview__message {
  margin: 0;
  padding: 16px 10px;
  line-height: 1.4;
}

.agenda-date-preview__message.is-error {
  font-weight: 700;
}

.agenda-date-preview__more {
  display: block;
  padding: 12px 6px 4px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 760px) {
  .agenda-date-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .agenda-date-strip__month {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 48px;
  }

  .agenda-date-strip__arrow:first-child,
  .agenda-date-strip__days,
  .agenda-date-strip__arrow:last-child {
    grid-row: 2;
  }

  .agenda-date-strip__day {
    min-width: 52px;
  }

  .agenda-date-preview__item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }

  .agenda-date-preview__image {
    width: 76px;
    height: 50px;
  }
}

/* agenda strip container */
:root {
  --agenda-strip-bg-color: #F6F6F5;
}
#block-viladrau-agendadatestrip {
  margin:0;
}
#agenda-date-strip-container{
  margin-top: 1rem;
  background-color: var(--agenda-strip-bg-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 1rem;
  & a:hover {
    color: inherit;
  }
}
#vi .path-agenda .view-filters {
  background-color: var(--agenda-strip-bg-color);
  padding: 1rem;
  padding-top: 0;
  margin-bottom: 2rem;
}


