.timeline {
  position: relative;
  padding-top: 50px;
}
.timeline::before {
  content: '';
  background: #f39200;
  width: 5px;
  height: calc(100% - 25px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  /* border: 1px solid #575757; */
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.7);
}
.timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  right: auto;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}


.timeline a {
  background: url(/fileadmin/user_upload/basic/pfeil-more.png) no-repeat center left;
  color: #575757;
  padding: 10px 0 10px 35px;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
  border-radius: 2px;
  display: inline-block;
}


.timeline-card {
  padding: 0 !important;
}
.timeline-card div.teaser-text {
  padding: 10px 20px 0 20px;
  margin-top: 0;
}
.timeline-img {
    width: 50px;
    height: 50px;
    background: #f39200;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-top: 15px;
    margin-left: -25px;
    color: #fff;
    text-align: center;
    padding-top: 13px;
    font-weight: 500;
}

.timeline-img-header {
  height: auto;
  position: relative;
  margin-bottom: 20px;
  padding:2px
  
}
.timeline-img-header img {width:100%;}
.timeline-img-header:empty {
    margin-bottom: 0;
}

.date {
  background: #C90C0F;
  display: inline-block;
  color: #FFFFFF;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

.teaser-teil {
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-transition: height 1s ease;
    -webkit-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
}
.timeline-content .teaser-teil h2 {line-height:1.2; font-weight:600;}
.teaser-mehr, .teaser-weniger {
    display: none;
    margin: 15px 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  .timeline .timeline-img {
    left: 30px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}

.timeline-content::after {
  right: -20px;
  border-color: transparent transparent transparent #f39200;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -20px;
  border-color: transparent #f39200 transparent transparent;
}
@media screen and (max-width: 768px) {
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    left: -15px;
    border-color: transparent #f39200 transparent transparent;
  }
.timeline-item:nth-child(even) .timeline-content::after {
  left: -15px;
  border-color: transparent #f39200 transparent transparent;
}
}

