.modal {
    width:70%;
}

#timeline-overlay{
	display: none;
	opacity: 0;	
	position: fixed;
	width: 100%; 
    height: 100%; 
	margin: auto;
	z-index: 1;
	background-color: rgba(0,0,0,0.7);
}
h1#heading-timeline{
	position: relative;
	font-family: 'Oswald', sans-serif;
	font-size: 3em;
	text-shadow: 2px 2px 4px white;
	top: 1%;
	color: white;	
    text-align: center;
}
p#instruction-timeline{
	position: relative;
	font-family: 'Oswald', sans-serif;
	
	top: 1%;
	color: white;	
    text-align: center;
}
#timeline{
	position: relative;
	top: 10%;
	display: block;
	margin: auto;
	width: 80%;	
	height: 50%;	
}
button.period{
	position: absolute;
	height: 7.69%;	
}
button.group1{
	background: #839B47;	
}
button.group1:hover{
	background: #b1d160;
	box-shadow: 2px 2px 50px #b1d160;
}
button.group2{
	background: #75B6C8;
}
button.group2:hover{
	background: #8ddbf1;
	box-shadow: 2px 2px 50px #8ddbf1;
}
button.group3{
	background: #f7a01b;
}
button.group3:hover{
	background: #ffcb17;
	box-shadow: 2px 2px 50px #ffcb17;
}
button.group4{
	background: #cb4b1a;
}
button.group4:hover{
	background: #f95c20;
	box-shadow: 2px 2px 50px #f95c20;
}
a.group1{
	color: #839B47;
}
a.group1:hover{
	color: #b1d160;
}
a.group2{
	color: #75B6C8;
}
a.group2:hover{
	color: #8ddbf1;
}
a.group3{
	color: #f7a01b;
}
a.group3:hover{
	color: #ffcb17;
}
a.group4{
	color: #cb4b1a;
}
a.group4:hover{
	color: #f95c20;
}
a.label{
	color: white;
}
a.text{
	height: 7.69%;
	position: absolute;
	text-align: center;
	font-weight: bold;
}
button.period1{
	top: 76.90%;
	right: 85%;
	width: 10%;	
}	
button.period2{
	top: 69.21%;		
	right: 75%;
	width: 10%;		
}
button.period3{
	top: 61.52%;		
	right: 70%;
	width: 5%;		
}
button.period4{
	top: 53.83%;		
	right: 60%;
	width: 10%;		
}
button.period5{
	top: 46.14%;		
	right: 55%;
	width: 5%;		
}
button.period6{
	top: 38.45%;		
	right: 45%;
	width: 10%;		
}
button.period7{
	top: 30.76%;		
	right: 35%;
	width: 10%;		
}
button.period8{
	top: 23.07%;		
	right: 25%;
	width: 10%;
}
button.period9{
	top: 15.38%;		
	right: 15%;
	width: 10%;
}
button.period10{
	top: 7.69%;
	right: 5%;
	width: 10%;
}
div.period1{
	top: 69.21%;
	right: 85%;
	width: 10%;
	
}
a.period1{
	top: 69.21%;		
	right: 85%;
	width: 10%;	
}	
a.period2{
	top: 61.52%;		
	right: 75%;
	width: 10%;		
}
a.period3{
	top: 53.83%;		
	right: 70%;
	width: 5%;
}
a.period4{
	top: 46.14%;		
	right: 60%;
	width: 10%;
}
a.period5{
	top: 38.45%;		
	right: 55%;
	width: 5%;
}
a.period6{
	top: 30.76%;		
	right: 45%;
	width: 10%;
}
a.period7{
	top: 23.07%;		
	right: 35%;
	width: 13%;
}
a.period8{
	top: 15.38%;		
	right: 25%;
	width: 10%;
}
a.period9{
	top: 7.69%;		
	right: 15%;
	width: 13%;
}
a.period10{
	top: 0%;
	right: 5%;
	width: 10%;
}
div.x-axis {
	background-color: white;
}
div.divider{
	top: 84.59%;
	left: 5%;		
	width: 90%;
	height: 1%;	
	position: absolute;
}
div.point1{
	top: 85.59%;
	left: 5%;		
	width: 0.25%;
	height: 1%;	
	position: absolute;
}
div.point2{
	top: 85.59%;
	left: 29.75%;		
	width: 0.25%;
	height: 1%;	
	position: absolute;
}
div.point3{
	top: 85.59%;
	left: 44.75%;		
	width: 0.25%;
	height: 1%;
	position: absolute;
}
div.point4{
	top: 85.59%;
	left: 54.75%;		
	width: 0.25%;
	height: 1%;
	position: absolute;
}
div.point5{
	top: 85.59%;
	left: 94.75%;		
	width: 0.25%;
	height: 1%;
	position: absolute;
}
a.start-pt{
	top: 81%;
	left: 0%;
	width: 5%;
}
a.end-pt{
	top: 81%;
	right: 0%;
	width: 5%;
}
a.label1{
	top: 87%;
	right: 70%;
	width: 25%;
}
a.label2{
	top: 87%;
	right: 55%;
	width: 15%;
}
a.label3{
	top: 87%;
	right: 45%;
	width: 10%;
}
a.label4{
	top: 87%;
	right: 5%;
	width: 40%;
}
div.popup{
	position: fixed;
	width: 10%;
	height: auto;
	border: 2px solid white;
	background-color: black;
	display: none;
	z-index: 2;	
	color: white;
}
button.close-timeline{
	position:absolute;
	background-color: white;
    top: 3%;
    right: 5%;
}