/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


body {
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
}
#main-wrapper {
/*	width: 1090px;*/
/*	margin: 20px auto;*/
}
.clr { clear: both; }

#dom {
	margin-bottom: 40px;
}
h1, h2, h3, h4 {
	font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
}
h1 {
	font-size: 24px;
	font-style: normal;
	text-transform: uppercase;
	margin-bottom: 20px;
	text-align: center;
}
h2 {
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 7px;
	background: #444;
	color: #fff;
	display: inline;
	padding: 3px 4px;
}
h3 {
	text-transform: uppercase;
	font-size: 12px;
}
.beer h3 {
	text-align: center;
	height: 26px;
	width: 90px;
	margin: 0 auto;
}
p {
	margin-top: 4px;
}
.centered {
	text-align: center;
	color: #999;
	font-size: 0.8em;
	text-transform: uppercase;
}


/* Controls
============================ */

#update {
	margin-bottom: 50px;
}
#update #buttons {
	width: 450px;
	margin: 0 auto 8px auto;
}
.button {
	width: 100px;
	padding: 10px 5px;
	cursor: pointer;
	text-align: center;
	font-size: 16px;
	border: 1px solid #e0e0e0;
	float: left;
}
.button:hover {
	background: #e0e0e0;
}
.button.current {
	background: #000;
	color: #fff;
}



/* Chart
============================ */

.stylefam {
	margin-bottom: 20px;
}
.info {
	margin: 0 0 12px 7px;
}
.beer {
	float: left;
}
svg {
  font: 14px 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
}
.beer { margin: 0; }
.beer rect { stroke: #000; stroke-width: 0.9px; }

text.descrip tspan {
    font-size: 1em;
}
.axis {
	font-size: 12px;
}
.axis path,
.axis line {
  fill: none;
  stroke: #e0e0e0;
  shape-rendering: crispEdges;
}
.axis .tick text {
	display: none;
}


.x.axis path {
  display: none;
}
.y.axis path {
  display: none;
}
.baseline line {
    stroke: #000;
    stroke-width: 2px;
}




/* Annotation
============================ */

.legend {
	position: relative;
	height: 150px;
	left: 112px;
    font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
}
.legend h3 {
	font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
	margin-left: 165px;
	font-weight: bold;
	font-style: normal;
}
.legend .axis.justlabels .tick text {
	display: block;
}
.legend .yaxisnote {
	font-size: 12px;
	position: absolute;
	top: 30px;
	left: 20px;
	width: 130px;
    font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
}
.legend strong { 
	font: 12px 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
	font-weight: bold; text-decoration: underline; 
}
.legend .note {
	position: absolute;
	width: 130px;
	top: 30px;
	left: 260px;
}
.legend .xaxisnote {
	position: absolute;
	top: 110px;
	left: 145px;
	width: 120px;
	text-transform: uppercase;
}
.legend svg {
	position: absolute;
	top: 15px;
	left: 140px;
}
.desc {
    font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
	font-size: 14px;
	line-height: 1.3em;
	width: 90%;
	margin: 10px 0 16px 0;
}

line.annotation {
    stroke: #ccc;
	stroke-dasharray: 5,2;
	stroke-width: 1.2px;
}
text.annotation, #line-chart .agehighlight text {
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
    font-size: 14px;
    fill: #444;
    text-anchor: end;
}
text.descrip {
    font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
	font-size: 13px;
	line-height: 1.4em;
}



/* Tooltip
============================ */

div.tooltip {
    position: absolute;
    text-align: left;
    width: 250px;
    padding: 10px;
    font-size: 10px;
    font-family: Helvetica, sans-serif;
    background: #ffffff;
    pointer-events: none;
    opacity: 0;
    border: 1px solid #ccc;
}
div.tooltip h3 { 
  font-size: 14px; margin: 0 0 4px 0; 
  line-height: 1.2em;
}
div.tooltip .impression, div.tooltip .examples .content {
	font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
	font-size: 1.4em;
	line-height: 1.1em;
}
div.tooltip .impression {
	margin-bottom: 1.0em;
}
