@charset "utf-8";
/* CSS Document */
/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline > ul {
		overflow: hidden;
		width: 100%;
	}
.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 25px;
  background: #DDDDDD;
}

.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
	border:4px solid #FFF;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 500px;
  padding: 12px;
  background: #FFFFFF;
  border: 3px solid #b1ac00;
  display: flex;
}

.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 0px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 15px 15px 15px 0;
  border-color: transparent #b1ac00 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  /*left: -439px;*/
	left: -570px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent #b1ac00;
}
time {
	font-family: 'Exo', sans-serif;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
	color: #b1ac00;
}
.timeline-text{
	flex-flow: row wrap;
}
.pic_geschichte_left {
   
	margin-right: 12px;
}
.pic_geschichte_right {
	margin-right: 12px;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline ul li::after {
  transition: background .5s ease-in-out;
}
.timeline ul li.in-view::after {
  background: #b1ac00;
}
.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}
.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}
.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width:1080px){
	
	.timeline ul li div{
		width: 450px;
	}
	.timeline ul li:nth-child(2n) div {
		left: -485px;
	}
}
@media screen and (max-width: 956px) {
  .timeline ul li div {
    width: 390px;
  }
	.timeline ul li:nth-child(2n) div {
    left: -430px;
}
}
@media screen and (max-width: 856px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
	.timeline ul li div{
		display: block;
	}
}

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #b1ac00 transparent transparent;
  }
	
}

