#nameplate > h1 {
	line-height: 1.2em;
}

.section {
	margin: 30px auto;
}

#hed, .body.first {
	padding: 0 2.5%;
	line-height: 1.2em;
}

.section > p {
		padding: 0 22.5%;
}

.section > h2 { 
	padding: 0 22.5%;
	font-family: "FranklinITCProThin";
	font-weight: normal;
}

#method > table {
	width: 400px;
	float: right;
	margin: 0 0 40px 40px;
}

#method > table th {
	text-transform: uppercase;
	font-family: "FranklinITCProBold";
	font-weight: normal;
	vertical-align: bottom;
	text-align: right;
	padding: 10px 0px !important;
}
#method > table tr {
	border-bottom: 1px dotted #ccc;
	background: none !important;
}

#method > table tr.highlight { background: papayawhip !important; }

#method > table thead tr {
	border-bottom: 2px solid #000;
}

#method > table td {
	padding: 10px;
	text-align: right;
}

td.name, th.name {
	width: 20%;
	text-align: left !important;
}

/*Legend panel*/
/*------------------------------------*/

#play-alias {
	float: right;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 3px;
	display: inline-block;
	color: #fff;
	background: #a00;
	border-bottom: 3px solid #821010;
	cursor: pointer;
}

#play-alias:hover {
	position: relative;
	top: 2px;
	border-bottom: 1px solid #000;
	margin-bottom: 2px;
}

#legend {
	display: inline-block;
}

#legend > span {
	vertical-align: middle;
	margin-right: 10px;
}

#legend > span > .box-unit {
	position: relative;
	top: -2px;
	float: none;
	display: inline-block;
	vertical-align: middle;
	margin-right: 3px;
}

#controls {
	padding: 20px 2.5%;
}

#day-update {
	width: 60px;
	text-align: right;
	font-size: 18px;
	font-family: "FranklinITCProBold";
}

#day-update, #slider-container, #buttons {
	display: inline-block
}

#slider-container {
	max-width: 400px;
	min-width: 200px;
	margin: 0 15px;
}

#buttons i {
	font-size: 14px;
	margin-right: 10px;
	cursor: pointer;
	color: #666;
}

#buttons i:hover {
	color: #000;
}

#slider {
	border-radius: 0 !important;
	margin-top: 9px !important;
	height: 8px !important;
}

.ui-slider-handle {
	width: .6em !important;
	margin-left: 0em !important;
	top: -.4em !important;
	border-radius: 0 !important;
}


/*Box graphic*/
/*------------------------------------*/

#generations > .box-wrapper {
	width: 100%;
	padding: 20px 0;
}

#generations > .box-wrapper > .box-unit {
	display: inline-block;
	box-shadow: none !important;
	width: 10px !important;
	height: 10px !important;
}

#generations > .box-wrapper > .box-unit.dead {
	box-shadow: inset 0px 0px 3px 1px #000 !important;
}

#generations .unit-hover {
	margin: 0px !important;
	border: 0px solid #000 !important;
	position: static !important;
	z-index: 0 !important;
}

#graphic {
	position: relative;
}

.box-wrapper {
	width: 15%;
	padding: 20px 2.5%;
	float: left;
}

.box-wrapper:nth-child(5n+1) { clear: left;}

.box-hed {
	font-size: 18px;
	line-height: 28px;
	font-family: "FranklinITCProBold";
	font-weight: normal;
	margin: 0;
}

.info-hover {
	position: relative;
	top: 5px;
	color: #666;
	float: right;
}

.info-hover:hover { color: #000; }

.box-info {
	
}

.info-row {
	padding: 2px 0;
	border-bottom: 1px dotted #666;
}

.box-info > .info-row:last-of-type { border-bottom: none; padding-bottom: 6px;}

.info-row > em { font-style: normal; text-transform: uppercase; font-size:12px;}

.info-row > strong {
	float: right;
}

.info-blurb { padding-top: 16px; font-weight: normal; clear: both; display: none;}

.box-unit {
	box-shadow: inset 0px 0px 0px 1px #fff;
	margin: 0;
	width: 10%;
	background: #fff;
	float: left;
}

.unit-hover {
	margin: -3px;
	border: 3px solid #000;
	position: relative;
	z-index: 200;
}

#generations .group-1 { background: #a00 }
#generations .group-2 { background: #d7301f }
#generations .group-3 { background: #ef6548 }
#generations .group-4 { background: #fc8d59 }
#generations .group-5 { background: #fdbb84 }
#generations .group-6 { background: #fdd49e }
#generations .group-7 { background: #fef0d9 }


.box-unit.active { background: #fdbb84 }
.current {
	box-shadow: inset 0px 0px 0px 1px #fff;
	background: #ef6548 !important;
}
.dead.active {
	box-shadow: inset 0px 0px 0px 1px #fff;
	background: #444;
}

.wp-graphics-tooltip {
	width: 150px !important;
}

@media (max-width: 980px) {
	
	#hed { font-size: 42px;}
	
	#controls { text-align: center;}
	#legend { display: block; margin-bottom: 20px;}
	#play-alias { float: none;}
	
	
	.info-hover { display: none; }
	.info-blurb { display: block; }
	.box-wrapper { width: 45%; margin-bottom: 20px; }
	
	.box-unit {
		width: 5%;
	}
	.box-wrapper:nth-child(5n+1) { clear: none;}
	.box-wrapper:nth-child(2n+1) { clear: left;}
	
	
	
	.section > p, .section > h2 {
	padding: 0;
	}
	
	#method > table {
		width: 340px;
		margin: 0 0 20px 20px;
	}
	
}

@media (max-width: 600px) {
	#controls { text-align: left;}
	#hed { font-size: 32px;}
	#legend { text-align: left;}
	#legend > span { display: block;}
	#slider-container { max-width: 100px; min-width: 100px;}
	#play-alias { margin-top: 20px;}
	#method > table {
		width: auto;
		float: none;
		margin: 0 0 20px 0;
	}
	
	.box-wrapper { width: 95%; margin-bottom: 20px; }

	
}