@charset "UTF-8";

:root {
	--space: 380px;
}

#timeline {
	position: relative;
	display: table;
	height: 100%;
	margin-bottom: 3rem;
}
#timeline .vertical-line:after {
	content: "";
	width: 1px;
	position: absolute;
	top: 15px;
	left: 30px;
	bottom: 30px;
	background: rgb(var(--main-rgb));
	z-index: -1;  
}
#timeline h1 {
	display: inline-block;
	padding-bottom: 10px;
	background-color: #fff;
}

#timeline section.year {
	position: relative;
	margin-bottom: 5rem;
}
#timeline section.year:first-child {
	margin-top: 0;
}
#timeline section.year div {
	position: relative;	
	padding-bottom: 1.25rem;
	margin-bottom: 2.2rem;
}
#timeline section.year div:before {
	content: '';
	position: absolute;
	left: calc(var(--space) + 60px);
	bottom: 0;
	width: calc(100% - var(--space));
	height: 1px;
	border-bottom: 1px solid #eee;
}
#timeline section.year div.first {
	margin-top: 5rem;
}	
#timeline section.year div h4 {
	margin-bottom: 1rem;
	font-weight: bold;
	white-space: nowrap;
}
#timeline section.year div h4,
#timeline section.year div ul {
	padding-left: 55px;
}
#timeline section.year div ul {
	list-style-type: none;		
	color: #444;
}
#timeline section.year div ul:first-of-type:after {
	content: "";
	position: absolute;
	left: 25px;
	top: 10px;	
	width: 11px;
	height: 11px;
	background: rgb(var(--main-rgb));
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	z-index: 2;	
}
#timeline section.year div ul:last-child {
    margin-bottom: 0;
}
#timeline section.year div ul li {
	position: relative;
	padding-left: 3rem;
}
#timeline section.year div ul li > span {
    position: absolute;
    left: 0;
    font-weight: normal;
}
#timeline section.year div ul li:not(:first-child) {
    margin-top: 1rem;
}


@media (min-width: 992px) {
	#timeline {
		margin-bottom: 2rem;
		min-width: 1000px;
	}
	#timeline .vertical-line:after {
		left: var(--space);
	}
	#timeline h1 {
		position: absolute;
		left: 0;
		top: -20px;
	}
	#timeline section.year div ul:first-of-type:after {
		left: calc(var(--space) - 5px);
	}
	#timeline section.year div {
		display: flex;
		padding-bottom: 3rem;
		margin-bottom: 3rem;
	}
	#timeline section.year div.first {
		margin-top: 2rem;
	}
	#timeline section.year div h4 {
		padding-left: calc(var(--space) + 60px);
	}
	#timeline section.year div ul {
		font-size: 1.25rem;
		padding-left: 40px;
	}
	#timeline section.year div ul li {
		padding: 0;
	}
	#timeline section.year div ul li > span {
		position: relative;
		margin-right: 1rem;
	}
	#timeline h4 {
		display: flex;
		width: auto;
	}
}