* { box-sizing: border-box; }

.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
}

.timetable-archive input[type=text] {
  width: 100%;
  margin-bottom: 0;
}

.autocomplete-items {
  position: absolute;
  border: .125rem solid #0098d8;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 99;
  top: 88%;
  left: 0;
  right: 0;
  background-color: #e5f4fb;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-items div:hover {
  background-color: #0098d8;
  color: #ffffff;
}

.autocomplete-active {
  background-color: #0098d8 !important;
  color: #ffffff;
}

.timetable-archive .error {
  padding: 1em;
  margin: 1em 0;
  border: 2px solid red;
  background-color: #ffd5d5;
  border-radius: 8px;
}

.filter-content {
  width: 100%;
  max-height: 100rem;
  padding-top: 10px;
  padding-bottom: 10px;
}

.timetable-archive .filter>label {
    position: relative;
    margin: 0;
    left: auto;
    overflow: visible;
    text-indent: 0;
    width: auto;
    height: auto;
    white-space: nowrap;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.timetable-pdfs {
  padding: 1rem;
}

.timetable-pdfs .pdf-item {
  border: .125rem solid #dbdbdb;
  padding: 0.4em 1rem;
  margin-bottom: 0.5rem;
  background-color: #fafafa;
  display: flex;
  align-items: center;
}

.timetable-pdfs .pdf-item-name {
  flex-grow: 1;

}

.timetable-pdfs .buttons {
  margin-top: 1rem;
  text-align: center;
}

.loading-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid #fafafa;
  border-top-color: #0098d8;
  animation: loading 1s linear infinite;
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}
