@import url("https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One");

body {    font-variant-numeric: lining-nums;}
.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 700px;
  position: relative;
}
.timeline__content-title {
    font-weight: 700;
    font-size: 66px;
    margin: 17px 0 0 0;
    transition: .4s;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}
.timeline__content-desc {
    margin: 0;
    font-size: 16px;
    box-sizing: border-box;
    color: #757575;
    font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 25px;
}
.timeline:before {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    margin-left: -1px;
    content: "";
    background: #2EC4B6;
}
@media only screen and (max-width: 767px) {
  .timeline:before {
    left: 40px;
  }
}
.timeline-item {
    padding: 0;
    transition: .5s;
    box-sizing: border-box;
    width: calc(50% - 40px);
    display: flex;
    position: relative;
    transform: translateY(-80px);
    margin-top: -60px;
}
.timeline-item:first-child {
    padding: 40px 0 0;
    transition: .5s;
    box-sizing: border-box;
    width: calc(50% - 40px);
    display: flex;
    position: relative;
    transform: translateY(-80px);
    margin-top: 0px;
}
.timeline-item:before {
    content: attr(data-text);
    letter-spacing: 3px;
    width: 100%;
    position: absolute;
    color: #333;
    font-size: 11px;
    font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-left: 13px solid #2EC4B6;
    top: 35%;
    margin-top: -5px;
    padding-left: 15px;
    opacity: 1;
    right: calc(-100% - 33px);
    font-weight: 900;
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
}
.timeline-item:nth-child(even):before {
    right: auto;
    text-align: right;
    left: calc(-100% - 34px);
    padding-left: 0;
    border-left: none;
    border-right: 13px solid rgba(46, 196, 182, 1);
    padding-right: 15px;
}
.timeline-item--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.timeline-item--active:before {
  top: 50%;
  transition: .3s all .2s;
  opacity: 1;
}
.timeline-item--active .timeline__content-title {
  margin: -50px 0 20px 0;
}
@media only screen and (max-width: 767px) {
  .timeline {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 700px;
    position: relative;
    padding-top: 100px;
}
  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 30px 150px 80px;
  }
  .timeline-item:first-child {
    align-self: baseline !important;
    width: 100%;
    padding: 0 30px 150px 80px;
}
/* old style   .timeline-item:before {
    left: 10px !important;
    padding: 0 !important;
    top: 70px;
    text-align: center !important;
    width: 60px;
    border: none !important;
  } */
  .timeline-item:before {
    left: 60px !important;
    padding: 0px !important;
    top: 70px;
    text-align: center !important;
    width: 60px;
    border: none !important;
    display: list-item;
    font-size: 31px;
    list-style: square;
    color: #2EC4B6;
}
  .timeline-item:last-child {
    padding-bottom: 40px;
  }
}
.timeline__img {
  max-width: 100%;
          box-shadow: 0 5px 24px rgba(0, 0, 0, 0.2);
}
.timeline-container {
  width: 100%;
  position: relative;
  padding: 80px 0;
  transition: .3s ease 0s;
  background-attachment: fixed;
  background-size: cover;
}
.timeline-container:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  content: "";
}
.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}
.timeline-header__title {
  color: #333;
  font-size: 46px;
font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin: 0;
}
.timeline-header__subtitle {
  color: rgba(255, 255, 255, 0.5);
font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 5px;
  margin: 10px 0 0 0;
  font-weight: normal;
}

.demo-footer {
  padding: 60px 0;
  text-align: center;
}
.demo-footer a {
  color: #999;
  display: inline-block;
  font-family: Calluna Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
