/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
  #timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 46px;
    height: 46px;
    background-color: #bdbdbd;
    border-radius: 23px;
  }
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

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

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

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

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

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

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

/* Fonts */


#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1280px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 1400px;
    margin: 0 auto;
    align-content: center;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
	width: 10px;
	height: 1360px;
	background-image: linear-gradient(0deg, rgba(66, 66, 66, 1), rgba(140, 140, 140, 1));
}
@media (min-width: 1280px) {
  #timeline .demo-card-wrapper::after {
	width: 10px;
	height: 1360px;
	background-image: linear-gradient(0deg, rgba(66, 66, 66, 1), rgba(140, 140, 140, 1));
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
		margin: 10px 40px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 1280px) {
  #timeline .demo-card {
    max-width: 450px;
    margin-bottom: 50px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: calc( 100% + 23px );
  }
  #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: calc( 100% + 23px );
  }
  #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;
  justify-content: center;
}
#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  padding: 10px;
  font-size: 35px;
  line-height: 35px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 6px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 165%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}
#timeline .demo-card .body {
  background: #fff;
  border: 1px solid rgba(191, 191, 191, 0.4);
  border-top: 0;
  padding: 15px;
}
@media (min-width: 1280px) {
  #timeline .demo-card .body {
    height: 315px;
  }
}
#timeline .demo-card .body p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card:nth-child(1) .head::before {
    background-color: #8c8c8c;
}
#timeline .demo-card:nth-child(2) .head::before {
    background-color: #878787;
}
#timeline .demo-card:nth-child(3) .head::before {
    background-color: #7a7a7a;
}
#timeline .demo-card:nth-child(4) .head::before {
    background-color: #666666;
}
#timeline .demo-card:nth-child(5) .head::before {
    background-color: #424242;
}
@media screen and (max-width: 767px) {
	#timeline .demo-card-wrapper::after {
		left: calc(((-9vw + 5px) + 4.5vw) - 5%);
		height: auto;
        transform: translateX(0);
	}
	#timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
		position: absolute;
		content: "";
		width: 9vw;
		height: 9vw;
		border-radius: 4.5vw;
		right: calc(100% + 10%);
	}
	#timeline .demo-card {
		position: relative;
		display: block;
		margin: 10px 10px;
		max-width: 94%;
		z-index: 2;
	}
}
@media screen and (min-width: 768px) and (max-width: 819px) {
	#timeline .demo-card-wrapper {
		display: flex;
		flex-flow: column wrap;
		width: auto;
		height: 104vw;
		margin: 0 auto;
        align-content: center;
	}
	#timeline .demo-card {
		margin: 10px 40px;
	}
	#timeline .demo-card-wrapper::after {
	    height: 96vw;
	}
	#timeline .demo-card {
		height: auto;
		margin: 10px 40px;
	}
	#timeline .demo-card:nth-child(2) {
		margin-top: 130px;
	}
	#timeline .demo-card:nth-child(odd) .head::before {
		left: calc( 100% + 23px - 5px );
	}
	#timeline .demo-card:nth-child(even) .head::before {
		right: calc( 100% + 23px - 5px );
	}
}
@media screen and (min-width: 820px) and (max-width: 1023px) {
	#timeline .demo-card-wrapper {
		display: flex;
		flex-flow: column wrap;
		width: auto;
		height: 104vw;
		margin: 0 auto;
        align-content: center;
	}
	#timeline .demo-card {
		margin: 10px 40px;
	}
	#timeline .demo-card-wrapper::after {
	    height: 96vw;
	}
	#timeline .demo-card {
		height: auto;
		margin: 10px 40px;
	}
	#timeline .demo-card:nth-child(2) {
		margin-top: 130px;
	}
	#timeline .demo-card:nth-child(odd) .head::before {
		left: calc( 100% + 23px - 5px );
	}
	#timeline .demo-card:nth-child(even) .head::before {
		right: calc( 100% + 23px - 5px );
	}
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
	#timeline .demo-card-wrapper {
		display: flex;
		flex-flow: column wrap;
		width: auto;
		height: 104vw;
		margin: 0 auto;
		align-content: center;
	}
	#timeline .demo-card {
		margin: 10px 40px;
		height: auto;
	}
	#timeline .demo-card-wrapper::after {
	    height: 96vw;
	}
	#timeline .demo-card {
	}
	#timeline .demo-card:nth-child(2) {
		margin-top: 130px;
	}
	#timeline .demo-card:nth-child(odd) .head::before {
		left: calc( 100% + 23px - 5px );
	}
	#timeline .demo-card:nth-child(even) .head::before {
		right: calc( 100% + 23px - 5px );
	}

}
