/* #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; }


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




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


#controls { 
  margin-left: 60px;
	font-size: 22px;
	margin-bottom: 10px;
}
#controls .sentence { 
    float: left;
    padding: 0px 0 23px 0;
}
#age {
	width: 140px;
	float: left;
	padding: 0px 0px 3px 5px;
/*	margin: 15px auto 0 auto;*/
}
#age #agevalue {
	text-align: center;
/*	font-size: 24px;*/
	font-weight: bold;
}



#speed {
    font-family: 'Inconsolata', Monaco, "Lucida Console", Consolas, "Courier New";
    font-size: 16px;
    text-transform: uppercase;
    margin: 0px 0 0px 20px;
	float: left;
}
    #speed .togglebutton {
        padding: 3px 3px;
        text-align: center;
        border: 1px solid #ccc;
        cursor: pointer;
		float: left;
		width: 60px;
    }
    



/* Dropdown
============================ */

.dropdown-wrapper {
    /* Size and position */
    position: relative; /* Enable absolute positioning for children and pseudo elements */
    width: 110px;
    padding: 0px 16px 5px 5px;
    float: left;
    margin: 0 14px 18px 0;

    /* Styles */
    background: #fff;
    border-bottom: 6px solid #000;
    cursor: pointer;
    outline: none;
    font-weight: bold;
}
    .dropdown-wrapper:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        right: 5px;
        top: 50%;
        margin-top: -0px;
        border-width: 6px 6px 0 6px;
        border-style: solid;
        border-color: #000 transparent;
    }
    .dropdown-wrapper .dropdown {
        /* Size & position */
          position: absolute;
          top: 100%;
          left: -5px;
          right: 0px;

          /* Styles */
          background: white;
          transition: all 0.3s ease-out;
          list-style: none;
          
          /* Hiding */
          opacity: 0;
          pointer-events: none;
    }
    .dropdown-wrapper .dropdown li  {
        display: block;
        text-decoration: none;
        color: #000;
        border-left: 3px solid;
        padding: 5px 8px;
        transition: all 0.2s ease-out;
    }
    .dropdown-wrapper .dropdown li:hover  {
        color: #00525A;
        background: #e0e0e0;
    }
    .dropdown-wrapper .dropdown li.current {
        display: none;
    }
    .dropdown-wrapper.active:after {
        border-width: 0 6px 6px 6px;
    }
    .dropdown-wrapper.active .dropdown {
        opacity: 1;
        pointer-events: auto;
    }




/* Slider
============================ */
	
.d3slider {
  z-index: 2;
  height: 100%;
  background: none;
}

.d3slider-rect-range {
  fill: #000;
  stroke: none;
}

.d3slider-rect-value {
  fill: #000;
  stroke: none;
}

.d3slider-axis {
  position: relative;
  z-index: 1;
  cursor: col-resize;
}

.d3slider-axis path {
  display: none;
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.d3slider-axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.d3slider text {
  font: 10px sans-serif;
}

.tick.minor text {
  display: none;
}

.tick line {
  stroke-width: 1;
}
.tick.minor line {
  stroke-width: 1;
  stroke: #bbb;
}

.dragger rect {
  fill: #71ACE3;
  stroke: none;
  z-index: 3;
}

.dragger line {
  stroke: #aa0000;
  fill: none;
}

.dragger-outer {
  fill: #fff;
  stroke: #000;
  stroke-width: 2;
}

.dragger-inner {
/*  fill: #B30424;*/
  fill: #fff;
  stroke: none;
}

.min-marker line {
  stroke: #aa0000;
  fill: none;
}

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



/* Simulated Lives
============================ */

#lives { 
    width: 560px;
    float: left;
}
	#lives .lifecircle {
/*		stroke-width: 2px;*/
/*		stroke: #666;*/
/*		fill: #666;*/
	}
#counts {
    float: left;
    width: 390px;
    margin-top: 8px;
}
	.count {
		height: 26px;
	}
	.bar {
		height: 26px;
	}
	.countlabel {
		position: relative;
		font-size: 14px;
		top: -26px;
		left: 0;
		height: 26px;
		margin: 6px;
		width: 300px;
	}
#barchart {
	float: left;
	width: 340px;
}
#barvals {
	float: left;
	width: 30px;
	color: #aaa;
	margin-top: 6px;
	
}
	#barvals .val {
		font-size: 14px;
		height: 26px;
	}
#currentage {
	float: left;
	width: 190px;
	margin-right: 16px;
}
#currentpctdead {
	float: left;
	width: 84px;
	margin-right: 16px;
}
#currentpctalive {
	float: left;
	width: 84px;
}

.subtitle {
	text-transform: uppercase;
	font-size: 14px;
	border-bottom: 1px solid #000;
	padding-bottom: 3px;
	margin-bottom: 8px;
}
.valholder {
    font-size: 30px;
    margin-bottom: 20px;
}
