.block-timetable__filters {
  display: flex;
  margin-bottom: 2rem;
  gap: 1em;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 780px) {
  .block-timetable__filters {
    gap: 0.5em;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.block-timetable__select, .block-timetable__reset {
  font: var(--fontbase);
  font-size: 75%;
}
.block-timetable__filter {
  position: relative;
  width: 100%;
}
.block-timetable__filter:after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.25em;
  height: 0.25em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.block-timetable__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.1em 0.5em;
  padding-right: 1.25em;
  border: 1px solid currentColor;
  background: none;
  color: var(--fg);
  width: 100%;
  border-radius: 0;
}
.block-timetable__reset {
  padding: 0;
  border: none;
  color: var(--fg);
  background: none;
  flex-shrink: 0;
}
@media only screen and (max-width: 780px) {
  .block-timetable__reset {
    grid-column: 1/-1;
  }
}
.block-timetable__item {
  margin-top: 3rem !important;
}
@media only screen and (max-width: 780px) {
  .block-timetable__item {
    margin-top: 2rem !important;
  }
}
.block-timetable__heading {
  padding-left: 0.5rem;
}
@media only screen and (max-width: 768px) {
  .block-timetable__heading {
    margin-bottom: 1rem;
    padding-left: 0;
  }
}
.block-timetable__table {
  width: 100%;
  border-collapse: collapse;
}
@media only screen and (max-width: 768px) {
  .block-timetable__table {
    display: none;
  }
}
.block-timetable__table th,
.block-timetable__table td {
  padding: 0.5rem;
  border-bottom: 1px solid currentColor;
  vertical-align: top;
}
.block-timetable__table th {
  text-align: left;
  text-transform: uppercase;
  font: var(--font-headline);
}
.block-timetable__table td {
  font-size: 0.8em;
}
.block-timetable__table .teacher {
  width: 20%;
}
.block-timetable__table .time,
.block-timetable__table .room {
  width: 12%;
}
.block-timetable__list {
  display: none;
  padding: 0;
  font-size: 75%;
  list-style-type: none;
}
@media only screen and (max-width: 768px) {
  .block-timetable__list {
    display: block;
  }
}
.block-timetable__list .lesson {
  display: flex;
  gap: 0.25em;
}
.block-timetable__list .lesson + .lesson {
  position: relative;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.block-timetable__list .lesson + .lesson:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  pointer-events: none;
}
.block-timetable__list .left {
  width: 6.5em;
  flex-shrink: 0;
}
.block-timetable__list .left span {
  display: block;
}
.block-timetable__list .teacher {
  margin-left: 0.25em;
  white-space: nowrap;
}
