/* #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";
/*    background: #58585B;*/
}
#main-wrapper {
  
  margin: 10px auto;
}
#header {
	margin-bottom: 15px;
}
#charts { 
    margin-top: 20px;
/*    position: absolute;*/
/*    top: 150px;*/
}
.mult {
    margin: 0 15px;
}

/* Text
============================ */

h1 {
	font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
	font-size: 25px;
	font-style: normal;
	text-transform: uppercase;
    margin: 0 0 10px 0px;
}
h3 {
	text-transform: uppercase;
	font-size: 16px;
	padding: 3px 0px;
/*    margin: -5px 0 0px 0;*/
	font-style: normal;
}
.subheader text {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: bold;
}

.clr { clear: both; }
.centered { text-align: center; }
.hidden  { 
    display: none; 
    pointer-events: none;
}

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

#controls {
    width: 160px;
	margin: 16px auto 10px auto;
}

.button {
	width: 62px;
	padding: 5px 5px;
	margin-right: 10px;
	cursor: pointer;
	text-align: center;
	font-size: 1em;
	border: 1px solid #e0e0e0;
	float: left;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.button:hover {
	background: #e0e0e0;
}
.button.current {
	background: #000;
	color: #fff;
}
#newsearch {
    margin: 0px auto 10px auto;
    width: 665px;
}
#newsearch .sentence {
    font-size: 1.5em;
    margin-top: .3em;
    font-weight: bold;
}
#newsearch #options {
    margin-top: .8em;
/*    font-size: 1em;*/
    text-align: center;
}
#options .show-random, #options span {
    border-bottom: 1px solid #999;
    cursor: pointer;
}
#newsearch input {
    font-size: 1.2em;
    padding: 4px;
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
    margin: 10px 0 0 75px;
    width: 500px;
}
.autocomplete-suggestions {
    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);

    /* core styles should not be changed */
    position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;
}
.autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; }
.autocomplete-suggestion b { font-weight: normal; color: #1f8dd6; }
.autocomplete-suggestion.selected { background: #f0f0f0; }


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

svg {
  	font: 14px 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
	margin-bottom: 30px;
}

.layer:hover {
    stroke: #000;
    stroke-width: 2px;
    z-index: 100;
}


.chartbg rect {
	fill: #f0f0f0;
}

text.descrip tspan {
    font-size: 1em;
}
.axis text {
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
	font-size: 13px;
}
.axistitle { text-transform: uppercase; }

.mult .y.axis text, .mult .x.axis text {
    font-size: 11px;
    fill: #666;
}
.mult h3 {
    font-size: .8em;
/*    margin-bottom: 0.7em;*/
    height: 32px;
}
.axis path,
.axis line {
  fill: none;
  stroke: #666;
  stroke-width: 1px;
  shape-rendering: crispEdges;
}
.x.axis path {
  display: none;
}
/*.y.axis line { stroke-dasharray: 1 2; }*/
.x.axis line, .y.axis line { stroke: #e0e0e0; }
.y.axis path {
  display: none;
}
.y.axis.simple text {
	display: none;
}
.baseline line {
/*    stroke: #ea19e1;*/
    stroke: #000;
    stroke-width: 3px;
}
.line.female {
  fill: none;
  stroke: #0fb9b2;
  stroke-width: 4px;
}
.line.male {
  fill: none;
  stroke: #f08522;
  stroke-width: 4px;
}
.mult .line.male, .mult .line.female {
    stroke-width: 2px;
}

.area.above {
  fill: #fbdcc1;
}

/* Female */
.area.below {
  fill: #ccfafa;
}


/*.line.weekend {
    stroke: #91BC4F;
    stroke-width: 1px;
}*/

.cells path {
  fill: none;
  pointer-events: all;
}
.cells circle {
/*    fill: #4BC2BC;*/
}
.cells :hover circle {
/*  fill: #ea19e1;*/
    fill: #666;
}
.mults .cells :hover circle {
    fill: #4BC2BC;
}

.overlay {
  fill: none;
  pointer-events: all;
  z-index: 1;
}


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

h1 span.male {
    border-bottom: 3px solid #f08522;
}
h1 span.female {
    border-bottom: 3px solid #0fb9b2;
}

.sectionlabel {
    text-transform: uppercase;
    font-size: 1.3em;
    text-anchor: middle;
}

#tooltip {
    text-transform: uppercase;
    text-anchor: middle;
    font-size: 1.0em;
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
    pointer-events: none;
    z-index: 101;
    text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
/*    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);*/
}
#tooltip h3 { 
  font-size: 14px; margin: 0 0 4px 0; 
  line-height: 1.2em;
}

.desc {
    font-family: "Mercury SSm A", "Mercury SSm B";
    font-style: italic;
    font-weight: 400;
	font-size: .8em;
	line-height: 1.4em;
}

.focus text {
	font-size: 11px;
}

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;
}


:root {
      --line-chart-color: #666;
      --annotation-context-color: #666;
      --annotation-above-color: #666;
      --annotation-anomaly-color: #666;
    }
.annotation path {
/*      stroke: var(--annotation-context-color);*/
    stroke: #000000;
    fill: none;
    }

    .annotation:not(.above):not(.anomaly) path {
/*      stroke-dasharray: 1,2;*/
        stroke-width: 1.5px;
    }

    .annotation text {
/*      fill: #666;*/
/*      text-transform: uppercase;*/
      text-shadow: 0 3px 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff;
    }
    .annotation .annotation-note-content .annotation-note-title {
        fill: #666;
        text-transform: uppercase;
        font-size: .95em;
    }
    .annotation .annotation-note-content .annotation-note-label {
        font-size: 1.1em;
        font-weight: bold;
        
    }

    .annotation.above path {
      stroke: var(--annotation-above-color);
    }

    .annotation.above text {
      fill: #666;
    }

    .annotation.anomaly path {
      stroke: var(--annotation-anomaly-color);
      stroke-width: 2px;
    }

    .annotation.anomaly text {
      fill: #666;
    }

    .annotation-note-bg {
      fill: rgba(0, 0, 0, 0);
    }

    .annotation-note-title {
        text-transform: none;
        fill: #000;
/*        font-size: .9em;*/
/*      font-weight: bold;*/
    }

    text.title {
      font-size: 1.2em;
      font-weight: bold;
    }





