.timetable-inner {
  display: flex;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}
.timetable-wrap {
  --vlis-color: #7ec4e8;
  --bres-color: #025b78;
  --time-sm-height: 35px;
  --chart-top-padding: 40px;
  background-color: white;
}
#timetable-track {
  display: flex;
  width: 100%;
}
#timetable-track.animated {
  transition: 0.2s ease transform;
}
.timetable-dotw {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  gap: 0;
  position: relative;
  overflow-x: auto;
  justify-content: space-between;
  padding: 0 15px;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}
/* Chrome, Edge, Safari */
.timetable-dotw::-webkit-scrollbar {
  height: 4px;
}

.timetable-dotw::-webkit-scrollbar-track {
  background: transparent;
  margin: 0;
}

.timetable-dotw::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 4px;
}
.timetable-dotw > small {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #6071d5;
  width: 24px;
  display: flex;
  justify-content: center;
  height: 24px;
  align-items: center;
  border-radius: 5px;
  color: white;
  display: none;
}

.timetable-dotw > div {
  height: 550px;
  display: flex;
  align-items: end;
  flex-shrink: 0;
  width: calc((90% / 19));
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--chart-top-padding);
}

span.timetable-vlissingen-data,
span.timetable-breskens-data {
  width: 40%;
  display: flex;
  align-items: end;
  width: 40%;
  margin: 0 5%;
  display: flex;
  align-items: end;
  height: calc(100% - var(--time-sm-height));
}

span.timetable-vlissingen-data::after,
span.timetable-breskens-data::after {
  content: "";
  display: block;
  height: var(--height);
  width: 100%;
  border-radius: 5em 5em 0 0;
  transition: background-color 0.2s ease;
}

span.timetable-vlissingen-data::after {
  background-color: var(--vlis-color);
}

span.timetable-breskens-data::after {
  background-color: var(--bres-color);
}

.timetable-dotw > div > small {
  height: var(--time-sm-height);
  display: flex;
  align-items: end;
  position: relative;
}
#timetable-bg {
  position: absolute;
  width: 100%;
  top: 0;
  height: calc(100% - var(--time-sm-height) + 1px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--chart-top-padding);
}
#timetable-bg span {
  width: 100%;
  display: block;
  height: 1px;
  background: #b2ada6;
}
.timetable-tracker {
  width: calc(100% - (90% / 19) - 30px);
  height: 100%;
  top: 0;
  position: absolute;
  left: calc(((90% / 19) / 2) + 15px);
}
#timetable-bg .timetable-tracker::before {
  content: "";
  height: 100%;
  width: 0px;
  border-left: 1px dashed #b2ada6;
  top: 0;
  left: var(--progress);
  position: absolute;
}
#timetable-tabs {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#timetable-tabs button {
  font-size: 14px;
  border: 1px solid #001c3c;
  background-color: transparent;
  padding: 0.3em 1em;
  color: #001c3c;
}
#timetable-tabs button.current {
  background-color: #001c3c;
  color: #ffffff;
  transition: color 0.2s ease, background-color 0.2s ease;
}
#live-ticker {
  text-transform: uppercase;
  background-color: #001c3c;
  padding: 0.4em 1.2em;
  border-radius: 5em;
  position: absolute;
  top: 0;
  left: calc(var(--progress) - (var(--width) / 2));
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  opacity: 0.33;
  transition: 0.15s ease opacity;
}
#live-ticker::after {
  content: "";
  height: 1.1em;
  width: 1.1em;
  border-radius: 5em;
  background-color: #ff3131;
}
#live-ticker.live {
  opacity: 1;
}
#live-ticker.live::after {
  animation: pulseLive 2.5s forwards infinite alternate;
}
#live-ticker.pushright {
  left: auto !important;
  right: calc((((90% / 19) / 2) + 15px) * -1);
}
#live-ticker.pushleft {
  left: calc((((90% / 19) / 2) + 15px) * -1)!important;
}
@keyframes pulseLive {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.66;
  }
  100% {
    opacity: 1;
  }
}
.timetable-dotw > div > small::after {
  content: "";
  width: 1px;
  height: 10px;
  background-color: #b2ada6;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .timetable-dotw > div > small > span {
    font-size: 10px;
    transform: rotate(311deg) translate(8px, -10px);
  }
  .timetable-dotw {
    padding: 0 5px;
  }
  .timetable-dotw > div {
    height: 60lvh;
  }
  .timetable-tracker {
    width: calc(100% - (90% / 19) - 10px);

    left: calc(((90% / 19) / 2) + 5px);
  }
#live-ticker.pushright {
  right: calc((((90% / 19) / 2) + 5px) * -1);

}#live-ticker.pushleft {
  left: calc((((90% / 19) / 2) + 5px) * -1)!important;

}
}
.timetable-legend{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.legend-item{
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.legend-item::before{
  content:'';
  width: 18px;
  height: 18px;
  border-radius: 5em;
  transition: background-color 0.2s ease;
  
}
.legend-item_bres::before{
  background-color: var(--bres-color);
}

.legend-item_vlis::before{
  background-color: var(--vlis-color);
}
.timetable-wrap:has(.legend-item_vlis:hover) .timetable-breskens-data::after{
  background-color: #e1e1e14a;
}
.timetable-wrap:has(.legend-item_vlis:hover)
.legend-item_bres::before{
  background-color: #e1e1e14a;

}
.timetable-wrap:has(.legend-item_bres:hover) .timetable-vlissingen-data::after{
  background-color: #e1e1e14a;
}
.timetable-wrap:has(.legend-item_bres:hover)
.legend-item_vlis::before{
  background-color: #e1e1e14a;

}