@charset "UTF-8";
/* CSS Document */

h2 {
	font-weight: normal;
	color: #808080;
}

p {
	color: #808080;
}

svg {
	background-color: white;
}

#header {
	max-width: 960px;
	display: block;	
}

#intro {
	width: 67%;
	float: left;
	line-height: 150%;
}

#key {
	padding: 5px 0 25px 10px;
	width: 260px;
	float: left;
}

#area1 {
	display: inline-block;
	clear: both;
	float: left;
}

#footer {
	clear: both;
	width: 760px;
	line-height: 150%;
	padding-top: 10px;
	font-size: 12px;
}

path {
	stroke: #000;
	stroke-width: 1;
	opacity: 1;
	fill: none;
}

.axis path,
.axis line {
	fill: none;
	stroke: #BCBCBC;
	stroke-width: 1;
	shape-rendering: crispEdges;
}

.axis path {
	opacity: 1;
}

.axis text {
	font-family: "ff-nuvo-sc-web-pro-1","ff-nuvo-sc-web-pro-2", sans-serif;
	font-size: 14px;
	letter-spacing: 0.5px;
}
						

/* Bar specific CSS */
.barBase {	
	fill: #b9babd;
}

.firstPres {
	fill: #e0d7b1;
}					

.presTwelve {
	fill: #b1c3e0;
}					

/* Fallback color; the striped paint server is applied inline in D3 for reliability. */
.dualPres {
	fill: #e0d7b1;
}

/* change stroke color if in firstPres vs. Twelve */
.deceased {
	fill: #fff;
	stroke: #b1c3e0;
	stroke-width: 1;
	stroke-dasharray: 5,5;
}					

.axisBar {
	shape-rendering: crispEdges;
	}
	
.axisBar text {
	font-family: "ff-nuvo-sc-web-pro-1","ff-nuvo-sc-web-pro-2", sans-serif;
	font-size: 11px;
}

.axisBarTitle {
	font-family: "ff-nuvo-sc-web-pro-1","ff-nuvo-sc-web-pro-2", sans-serif;
	font-size: 12px;
}

.x.axisBar line {
	stroke: #CCC;
	stroke-opacity: .3;
}

.x.axisBar .minor {
	stroke-opacity: .2;
	}

.x.axisBar path {
	}

.barlabel {
	font-family: "ff-nuvo-sc-web-pro-1","ff-nuvo-sc-web-pro-2", sans-serif;
	font-size:0.7em;
}

/* tooltip specs */

.img:hover {
	cursor:pointer;
}
#d3-tip {
	line-height: 1;
	padding: 12px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	width: 284px;
	height: 136px;
	border-radius: 5px;
	background-repeat:no-repeat;
	background-position:left;
	background-size:auto 100%;
	}
			
#d3-tip:after {
	box-sizing: border-box;
	display:inline;
	font-size: 0.9em;
	width: 100%;
	line-height: 1;
	color: rgba(0, 0, 0, 0.8);
	content: "\25B6";
	position: absolute;
	top: 58px;
	left: 280px; /* mobile requires cheating a few pixels to the left - could do separate CSS for mobile */
	text-align: left;
	vertical-align: middle;
	}
	
#d3-tip h3 {
	font-family: "adelle-1","adelle-2", constantia, cambria, Georgia, serif;
	font-weight:normal;
	color: #ffdd4f;
	font-size: 0.88em;
	line-height:1;
	padding:0;
	margin: 0 0 5px 94px;
	}

#d3-tip hr {
	border-top: 1px dotted #8c8b8b;
	border-bottom:none;	
	margin: 0 0 0 94px;	
	}

#d3-tip p {
	font-family: "ff-nuvo-sc-web-pro-1","ff-nuvo-sc-web-pro-2", sans-serif;
	font-weight:100;
	color: #fff;
	font-size: 0.83em;
	line-height:1;
	padding:0;
	margin: 5px 0 0 94px;	
	}

#d3-tip .category {
	color: #b0b2b5;
	font-size: 0.76em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	}

#d3-tip a, #d3-tip a:hover, #d3-tip a:visited {
	color: #a8bddd;
	font-size: 0.76em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: none;
	background: none;
	}

.main > h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  line-height: 1;
}

@media (max-width: 520px) {
  .main > h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
}
