body {
	font-family: Arial;
}


.timeline {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.timeline-center {
	left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}

.timeline-bar {
	position: absolute;
	width: 10px;
	top: 0;
	bottom: 0;
	background-color: #ccc;
	box-shadow: inset 0px 0px 7px -2px #000;
}


.timeline-bar-fill {
	background-color: #e81e24;
	position: absolute;
	left:0;
	right:0;
	top:0;
	height:0;

}

.timeline-state {
	position: relative;
	width:100%;
	min-height: 200px;
	margin-bottom: 50px;
}

.timeline-state::after {
	display:block;
	content: ' ';
	clear:both;
}

.timeline-icon {
	border-radius: 50%;
	width: 80px;
	height: 80px;
	background-color: #e81e24;
	border: solid 3px #e81e24;
	box-shadow: 0px 0px 19px -9px #000;
	position: absolute;
	top: 0;
	text-align: center;
	line-height: 75px;
	font-size: 25px;
	color: #fff;
}

.timeline-content {
	width: 40%;
	padding: 2%;
	background-color: rgba(238, 238, 238, 0.25);
	border-radius: 8px;
	border-bottom: solid 3px #e81e24;
	float:left;
	opacity:0;
	position:relative;
	margin-left:-40%;
}




.timeline-featured-image{
	width: 20%;
	float: left;
}

.timeline-sub-content{
	float: left;
	width: 70%;
	padding-left: 5px;
}

.timeline-state:nth-child(2n+2) .timeline-content {
	float:right;
	margin-right:-40%;
}

.timeline-image {
	opacity:0;
	width: 40%;
	padding: 2%;
}

.timeline-state:nth-child(2n+1) .timeline-image {
	float:right;
}

.timeline-image img {
	width:100%;
}

.timeline-content h4 {
	font-size:20px;
	font-weight: normal;
	margin-bottom: 10px;
}


/*
animations
*/
.timeline-bar-fill,.timeline-content,.timeline-image {
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	transition: all 500ms ease;
}

.timeline-state:nth-child(2n+2).timeline-animate .timeline-content {
	margin-right:0%;
}

.timeline-animate .timeline-content {
	opacity:1;
	margin-left:0%;
}

.timeline-animate .timeline-image {
	opacity:1;
}




/* mobile support */

@media (max-width: 800px) {

	.timeline-bar {
		left:auto;
		right: 37px;
	}

	.timeline-content {
		width:80%;
		float:none;
		min-height: 120px;
	}
	.timeline-state:nth-child(2n+2) .timeline-content {
		margi-right:0%;
		float:none;
	}

	.timeline-image {
		width:80%;
	}

	.timeline-state:nth-child(2n+1) .timeline-image {
		float:none;
	}

	.animate .timeline-content {
		margin-left: 2%;
	}

	.timeline-icon {
		left: auto;
		right: 0;
	}

}
