/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(even) .head::after, #timeline .demo-card:nth-child(odd) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #bdbdbd;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 5;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 6;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 7;
}

.demo-card:nth-child(7) {
  order: 4;
}

.demo-card:nth-child(8) {
  order: 8;
}







/* Border Box */
* {
  box-sizing: border-box;
}

#timeline {
  padding: 50px 0;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 1350px;
    margin: 0 auto;
  }
  #timeline .height-one {
      height: 1156px;
  }
  #timeline .height-two {
      height: 1164px;
  }
  #timeline .height-three {
      height: 1150px;
  }
  #timeline .height-four {
      height: 1638px;
  }
  #timeline .height-five {
      height: 1499px;
  }
  #timeline .neg-margin {
      margin-top: -140px;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 1px solid #bdbdbd;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
  border-radius: 10px;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 80%;
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 80%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: 280px;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 180px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 400;
}
#timeline .demo-card .head h2 {
  display: inline;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: inherit;
  letter-spacing: 2px;
    color: white;
    color: rgba(256,256,256,0.6);
  margin: 15px;
  padding: 10px;
  padding-bottom: 6px;
  line-height: 35px;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    line-height: 1.2rem;
    font-weight: bold;
  }
}


#timeline .demo-card .body {
  border: 1px solid rgba(191, 191, 191, 0.4);
  color: white;
  border-top: 0;
  padding: 24px;
  padding-top: 6px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: 215px;
  }
}
#timeline .demo-card .body p {
  font-size: 1.5em;
  margin-bottom: 15px;
}
#timeline .demo-card a {
    color: white;
    color: rgba(256,256,256,0.6);
}
#timeline .demo-card a:hover {
    color: white;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #00a443;
}
#timeline .demo-card--step1 .head::after {
  border-color: #00a443;
}
#timeline .demo-card--step2 {
  background-color: #0da9ff;
}
#timeline .demo-card--step2 .head::after {
  border-color: #0da9ff;
}
#timeline .demo-card--step3 {
  background-color: #e3850d;
}
#timeline .demo-card--step3 .head::after {
  border-color: #e3850d;
}
