/* The actual timeline (the vertical ruler) */
.timeline {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 50px;
	overflow: hidden;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: #e5e5e5;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

/* Container around content */
.timeline .item {
	padding: 10px 0;
	position: relative;
	background-color: inherit;
	width: 50%;	
	/*visibility: hidden;*/
	visibility: visible;
}
.timeline .item.in-view{
	visibility: visible;
}
.timeline .item.in-view .content{
	visibility: visible;
	opacity: 1;
	transform: none; 		
}
.timeline .item.right .content{
	/*transform: translate3d(-200px, 0, 0);*/
}
.timeline .item.right.in-view .content{
	/*transform: translate3d(0, 0, 0);*/
}
.timeline .item.left .content{
	/*transform: translate3d(200px, 0, 0);*/
}
.timeline .item.left.in-view .content{
	/*transform: translate3d(0, 0, 0);*/
}
/* The circles on the timeline */
.timeline .item::after {
	content: attr(data-year);
	position: absolute;
	width: 80px;
	height: 80px;
	line-height: 80px;
	right: -40px;
	background-color: #0e6eac;
	color: #f89821;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
	text-align: center;
	font-weight: 900;
	font-size: 27px;
}

/* Place the container to the left */
.timeline .left {
	left: 0;
	text-align: right;
	padding-right: 30px;
}

/* Place the container to the right */
.timeline .right {
	left: 50%;
	padding-left: 30px;	
	text-align: left;	
}

.timeline .item ul{
	padding-left: 20px;
	margin: 0;
}

/* Add arrows to the left container (pointing right) */
.timeline .right::before,
.timeline .left::before {
	content: "";
	height: 8px;
	position: absolute;	
	z-index: 1;
	right: 0;
	left: 0;
	top: 53px;
	background-color: #0e6eac;
}
/* Fix the circle for containers on the right side */
.timeline .right::after {
	left: -40px;
}

/* The actual content */
.timeline .item .content {
	margin-top: 70px;
	margin-bottom: 10px;
	padding: 10px;
	background-color: white;
	position: relative;
	border-radius: 6px;
	font-weight: 400;	
	/*
	visibility: hidden;	
	opacity: 0;
	transition: all .5s ease-in-out;
	*/
	visibility: visibility;	
}
.timeline .content h3{
	color: #000;
	font-weight: 800;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
	.timeline .item{
		width: 100%;
		text-align: left;
	}	
	/* Place the timelime to the left */
	.timeline::after {
		left: 31px;
	}
	/* Make sure all circles are at the same spot */
	.timeline .left::after, 
	.timeline .right::after {
		left: 0;
	}
	.timeline .right::before, 
	.timeline .left::before{
		height: 6px;
		top: 43px;
	}
  
	/* Make all right containers behave like the left ones */
	.timeline .right {
		left: 0%;
	}
	.timeline .item{
		padding: 10px 0 0 50px;
	}
	.timeline .item::after{
		font-size: 20px;
		width: 60px;
		height: 60px;
		line-height: 60px;
		font-weight: 700;
	}
	.timeline .content{
		margin-top: 50px;
	}
	.timeline .content h3{
		font-size: 20px !important;
		margin-bottom: 5px;
	}
}