:root {
	--schedule-loc-width: 150px;
	--schedule-header-height: 35px;
	--schedule-cell-height: 60px;
/*	--schedule-max-width: 4800px; */
	--schedule-pixels-per-hour: 200px;
  --schedule-default-bg: var(--red-10);
  --schedule-header-bg: var(--red-90);
  --schedule-cell-bg: var(--red-50);
  --schedule-loc-bg: var(--red-90);
  --schedule-text-color: #fff
}

.schedule {
	width: 100%;
}
.schedule-row {
  width: 100%;
  position: relative;
  background: var(--schedule-header-bg);
}
.schedule-locs {
  width: var(--schedule-loc-width);
  margin-top: var(--schedule-header-height);
  float: left;
}
.schedule-loc {
  width: var(--schedule-loc-width);
  height: calc(var(--schedule-cell-height) + 1px);
  background-color: var(--schedule-loc-bg);
  color: var(--schedule-text-color);
  padding: 0 10px;
  line-height: 1.2em;
  font-size: 13px;
  font-family: "NeuePlak 900";
  text-transform: uppercase;
  border-top: 1px solid #555;
}
.schedule-loc>span {
  line-height: 1.4em;
  display: flex;
  align-items: center;
  height: 100%;
}

.schedule-header {
  height: var(--schedule-header-height);
  width: calc(100% + 30px); /* 100% + 2x padding */
  background-color: #454545; /*var(--schedule-header-bg);*/
  color: var(--schedule-text-color);
}
.schedule-timeline {
  height: var(--schedule-cell-height);
  width: auto; /* Totale lengte timeline, inline */

}
.schedule-timelines {
  margin-left: var(--schedule-loc-width);
  overflow-x: scroll;
  background-color: #dadada;
  position: relative;
  cursor: grab;
}



.schedule-timelines > div {
  position: relative;
  height: 100%;
  border-bottom: 1px solid #c5c5c5;

}
.schedule-header > div,
.schedule-timeline > div {
  width:100%;
  height: 100%;
  position: relative;
}

.schedule-timeline a:hover {
  color: var(--schedule-cell-text);
}

.schedule-timeline time {
  display: block;
  font-size: 12px !important;
  line-height: 15px !important;
    color: #fff;
}

.schedule-timeline h6 {
  display: block;
  font-size: 14px !important;
  color: #fff;
  line-height: 1.2em !important;
  margin-bottom: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;

}

.schedule-timeline .cel {
  width: 240px;
  background-color: var(--schedule-cell-bg);
  color: var(--schedule-text-color);
  height: var(--schedule-cell-height);
  position: absolute;
  z-index: 5;
  overflow: hidden;
  padding: 13px 10px 10px 10px;
  cursor: pointer;
  border-left: 1px dotted #666
}
.schedule-timeline .cel:hover {
  background-color: #000 !important;
}

.schedule-header span.min,
.schedule-header span.hour {
  position: absolute;
  display: block;
  width: 20px;
  text-align: left;
  margin-left: 0;
}
.schedule-header span.hour {
  font-weight: 400;
  font-size: 14px;
  margin-left: -15px;
}
.schedule-header span.min {
  font-weight: 400;
  font-size: 70%;
}

.schedule-timelines .vert {
  position: absolute;
  height: calc(100% - var(--schedule-header-height));
  width: 1px;
  background-color: #c5c5c5;
  top: 35px;
  /*margin-left: 10px;*/
  z-index: 0;
}
.schedule-timelines .vert.currentTime {
  background-color: red;
  box-shadow: 0px 0px 12px 0px rgba(255,0,0,0.3);
  width: 2px;
  margin-top: -15px;
  z-index: 10;
  height: calc(100% - var(--schedule-header-height) + 15px);
}

.schedule-timelines .vert.uur {
  margin-top: -10px;
  height: calc(100% - var(--schedule-header-height) + 10px);
  z-index: 1;
}

.schedule-timelines .vert.halfuur {
  margin-top: -5px;
  height: calc(100% - var(--schedule-header-height) + 5px);
  z-index: 1;
}

.fader {
  position: absolute !important;
  right: 0;
  height: calc(100% - var(--schedule-header-height));
  top: var(--schedule-header-height);
  width: 20px;
  background: linear-gradient(270deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
  z-index: 10;
}

.schedule-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}

.schedule-popup img {
  width: 100%;
}
.schedule-popup a {
}

ul.legenda {
  list-style: none;
  margin: 0;
  text-align: right;
}
ul.legenda li {
  display: inline-block;
  padding: 0px 8px 4px 8px;
  color: #fff;
  font-family: "NeuePlak 900";
  text-transform: uppercase;
  border: 1px solid #eee;
  font-size: 14px;
  height: 34px;
  margin-left: 10px;
}
.legenda_row {
  display: flex;
  margin: 0 !important;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
}

.blokkenschema_download {
  color:black !important;
  font-size: 25px;
  position: relative;
  top:-3px
}


@media only screen and (max-width: 680px) {
  :root {
	  --schedule-loc-width: 100px;
  }

  .schedule-loc {
    font-size: 70%;
  }
  .schedule-timeline h6 {
    font-size: 70% !important;
  }
  .schedule-timeline time {
    font-size: 70% !important;
  }

  ul.legenda li {
    margin-left: 0;
  }

}
