.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 900px;
  position: relative;
}

@media only screen and (max-width: 767px) {
  .timeline {
    max-width: 700px;
  }
}

.timeline__content-title {
  font-weight: normal;
  font-size: 20px;
  margin: 30px 20px 5px -10px;
  transition: .4s;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif !important;
  color: #283f44;
}

/*.timeline__content-desc {
  margin: 0;
  font-size: 18px;
  box-sizing: border-box;
  color: #111;
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  line-height: 25px;
}*/

.timeline__content-desc {
  margin: 0;
  box-sizing: border-box;
  font-family: 'PT Sans', 'Arial', sans-serif;
  line-height: 25px;
}

.timeline:before {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  content: "";
  background: #339999;
}

@media only screen and (max-width: 767px) {
  .timeline:before {
    left: 40px;
  }
}

.timeline-item {
  padding: 40px 0;
  opacity: 1;
  transition: .5s;
  box-sizing: border-box;
  width: calc(50% - 40px);
  display: flex;
  position: relative;
  transform: translateY(-80px);
}

.timeline-item:before {
  content: attr(data-text);
  z-index: 99;
  letter-spacing: 2px;
  width: 100%;
  position: absolute;
  color: #222;
  font-size: 66px;
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  border-left: 2px solid rgba(51, 51, 51, 0.3);
  top: 50%;
  margin-top: -5px;
  padding-left: 15px;
  opacity: 1;
  right: calc(-100% - 56px);
}

@media only screen and (max-width: 767px) {
  .upper.timeline-item:before {
    margin-top: 115px;
  }
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
}

.timeline-item:nth-child(even):before {
  right: auto;
  text-align: right;
  left: calc(-100% - 56px);
  padding-left: 0;
  border-left: none;
  border-right: 2px solid rgba(51, 51, 51, 0.3);
  padding-right: 15px;
}

@media only screen and (max-width: 767px) {
	.timeline-item:nth-child(even):before {
	  border: none;
	}
}

@media only screen and (max-width: 767px) {
  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 30px 120px 80px;
  }
  .timeline-item:before {
    left: 30px !important;
    padding: 0px 3px!important;
    top: -20px;
    text-align: center !important;
    max-width: 160px;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .timeline-item:last-child {
    padding-bottom: 40px;
  }
}

.timeline__img {
  max-width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.timeline-container {
  width: 100%;
  position: relative;
  padding-top: 80px;
  transition: .3s ease 0s;
}

.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.timeline-header__title {
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
}

@media (max-width: 767px) {
	.timeline-header__title {
	  font-size: 1.77rem !important;
	}
}

.timeline-header__subtitle {
  text-align: left;
  color: #222;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.timeline-header__subtitle a {
  color: inherit;
  text-decoration: underline;
}




