html, body {
	margin: 0px;
	font-family: Cabin, sans-serif;
}
.content {
	width: 50%;
	margin: 20px auto;
}
.content .text p,
.content .text .il {
	width: 80%;
	margin: 20px auto;
	font-size: 20px;
	font-family: 'Open Sans', sans-serif;
}
.content .text .fas {
	color: #50a2fa; /*rgb(163, 163, 163);*/
}
.content .text .il {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
}
.content .text .il > div {
	margin-top: 1px;
	margin-left: 10px;
	width: 25px;
	text-align: center;
	display: inline-block;
}
.content .text .il > p {
	margin: 0px;
	width: 100%;
	margin-left: 15px;
	box-sizing: border-box;
}

.sim {
	width: 100%;
	position: relative;
	/*overflow: hidden;*/
	margin: 90px 0 60px;
}
.sim .canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	border: 1px dashed #ccc;
}
.sim .spread_graph {
	position: absolute;
	bottom: 0px;
	left: 0px;
	height: 200px;
	width: 300px;
	z-index: 1;
}
.sim .re_graph {
	position: absolute;
	bottom: -100px;
	right: -100px;
	height: 300px;
	width: 400px;
	z-index: 1;
}
.sim .r0 {
	position: absolute;
	/* note: interferes with re graph at this position but re graph is turned off. */
	bottom: 0px;
	right: 4px;
}
.sim .infection_count {
	position: absolute;
	bottom: 200px;
	left: 0;
	width: 300px;
	text-align: center;
	z-index: 1;
	font-family: 'DM Mono', monospace;
}
.sim .controls {
	position: absolute;
	top: 1px;
	left: 0px;
	transform: translateY(-100%);
	z-index: 3;
	background: #626262;
	color: #fff;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden; /* TODO */
}
.sim .controls div {
	width: 50px;
	height: 50px;
	line-height: 50px;
	vertical-align: center;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	background: #626262;
}
.sim .controls div:hover,
.sim .controls div[data-selected] {
	background: #535353;
}
.sim > .dg.main {
	position: absolute;
	top: 0;
	right: -247px;
}

.overlay {
	z-index: 10;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
}
.modal {
	background: #fff;
	border-radius: 2px;
	padding: 25px 40px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
	text-align: center;
	font-size: 20px;
}
.modal input {
	outline: 0;
	padding: 2px;
	margin: 0 0 0 8px;
	border: none;
	border-bottom: 2px solid #333;
}
.modal .wrapper {
	text-align: center;
	margin-top: 10px;
}
.modal .submit {
	background: #ccc;
	display: inline-block;
	text-align: center;
	padding: 8px 14px;
	border-radius: 2px;
	cursor: pointer;
}
.modal .submit:hover {
	background: #bbb;
}
