
/* TIMELINE für 5 Menüpunkte
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
  white-space: nowrap;
  overflow-x: hidden;
	background-color: #fff;

}
.timeline p {
	margin-bottom: -5px;
}
.timeline ol {
  font-size: 0;
  width: 100vw;
  padding: 260px 0 285px;
  transition: all 1s;
	background-color: #fff;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: #eee;
}

.timeline ol li:last-child {
 width: 270px; 
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}
.timeline ol li:first-child {
  width: 160px;
}
.timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #d8b003;
}

.timeline ol li.blue::after {
	background: #4abdcc;
	/*  width: 24px;
  height: 24px;
	left: calc(100% - 6px);
	z-index: 1000;*/
} 
.timeline ol li.darkblue::after {
	background: #005464;
}
.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 15px;
  font-size: 16px;
  white-space: normal;
}
.timeline ol li .yellow {
	border-left: 2px solid #d8b003
}
.timeline ol li .blue {
	border-left: 2px solid #4abdcc
}
.timeline ol li .darkblue {
	border-left: 2px solid #005464
}
.timeline ol li div::before {
	content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
}

.timeline ol li .station1::before {
    width: 70px;
    height: 70px;
    background-image: url(../images/lachs-gelb.svg);
    background-repeat: no-repeat;
    background-size: contain;
	}
.timeline ol li .station2::before {
    width: 80px;
    height: 80px;
    background-image: url(../images/lachs-gelb.svg);
    background-repeat: no-repeat;
    background-size: contain;
	}
.timeline ol li .station3::before {
    width: 90px;
    height: 90px;
    background-image: url("../images/lachs-hellblau.svg");
    background-repeat: no-repeat;
    background-size: contain;
	}
.timeline ol li .station4::before {
    width: 100px;
    height: 100px;
    background-image: url(../images/lachs-dunkelblau.svg);
    background-repeat: no-repeat;
    background-size: contain;
	margin-top: -20px;

	}
.timeline ol li .station5::before {
    width: 110px;
    height: 110px;
    background-image: url(../images/lachs-dunkelblau.svg);
    background-repeat: no-repeat;
    background-size: contain;
	}
.timeline ol li .station6::before {
    width: 120px;
    height: 120px;
    background-image: url(../images/lachs-dunkelblau.svg);
    background-repeat: no-repeat;
    background-size: contain;
	bottom:50px;
	margin-top: -40px;

	}
.timeline ol li:nth-child(odd) div {
	top: calc(100% + 90px);
	padding-bottom: 0;
	display: table-column;
  align-content: end;
}

.timeline ol li:nth-child(odd) div::before {
  top: -80px;
}



.timeline ol li:nth-child(even) div {
  top: -80px;
  transform: translateY(-100%);
	padding-bottom: 0;
	display: table-column;
  align-content: start;
	padding-top:0
}

.timeline ol li:nth-child(even) div::before {
	  top: 100%;

}

.timeline time {
display: block;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: -7px;
}
.timeline .yellow time {
	color: #d8b003;
}
.timeline .blue time {
	color: #4abdcc
}
.timeline  .darkblue time {
	color: #005464
}
.lineYellow {
	color: #d8b003;
	font-weight:900;
}
.lineBlue {
	color: #4abdcc;
	font-weight:900;
}
.lineDarkblue {
	color: #005464;
	font-weight:900;
}
/* TIMELINE Navi
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
} 

.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: -20px;
	
}

.timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline .disabled {
  opacity: 0.5;
}

.timeline .arrows img {
  width: 40px;
  height: 40px;
}

@media screen and (min-width: 992px) {
	.timeline .arrows {
		display: none;
	}

}
@media (max-width: 1199.9px) {
		.timeline .container {
    width: 970px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    
	}
	.timeline ol li:last-child {
 width: 210px;  
}

.timeline ol li:first-child {
  width: 50px;
}
}
@media screen and (max-width: 992px) {
	.timeline .arrows {
		display: none;
	}

	.timeline {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
		overflow-x: show;

	}
	

	.timeline ol {
 overflow-x: scroll;	
		padding: 210px 0 250px;
}
.timeline ol li {
  width: 160px;
}

.timeline ol li:last-child {
 width: 300px; 
}

.timeline ol li:first-child {
  width: 40px;
}
	.timeline ol li div {
  width: 300px;
}
	.timeline ol li:nth-child(odd) div {
	top: calc(100% + 90px);
}
	.timeline ol li:nth-child(even) div {
  top: -60px;
	}
	.timeline ol li .station1::before {
    width: 50px;
    height: 50px;
	}
.timeline ol li .station2::before {
    width: 60px;
    height: 60px;
	margin-top: -10px;
	}
.timeline ol li .station3::before {
    width: 70px;
    height: 70px;
	}
.timeline ol li .station4::before {
    width: 80px;
    height: 80px;
margin-top: -20px;
	}
.timeline ol li .station5::before {
    width: 90px;
    height: 90px;
	}
.timeline ol li .station6::before {
    width: 100px;
    height: 100px;
	margin-top: -40px;

	}
}
/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {
/*  .timeline ol,
  .timeline ol li {
    width: auto;
  }

  .timeline ol {
    padding: 0;
    transform: none !important;
  }

  .timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }

  .timeline ol li:first-child {
    margin-top: 25px;
  }

  .timeline ol li:not(:first-child) {
    margin-left: auto;
  }

  .timeline ol li div {
    position: static;
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }

  .timeline ol li:nth-child(odd) div {
    transform: none;
  }

  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px;
  }

  .timeline ol li:last-child,
  .timeline ol li:nth-last-child(2) div::before,
  .timeline ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none;
  }*/
}
