
h2 {
	font-size: 18px;
	font-weight: normal;
	line-height: 20px;
	margin: 0 0 20px 0;
	padding: 0;
    padding-right: 15%;
	text-align: center;
}
h4 {
	color: #545454;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
}
a {
	color: #333;
}

/* Table */
#data-table {
	border: none; /* Turn off all borders */
	border-top: 1px solid #ccc;
	width: 100%;
}
#data-table caption {
	color: #545454;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
}
#data-table thead {
	background: #f0f0f0;
    padding-top: 50%;
    padding-bottom:50%;
    margin-bottom: 50%;
    margin-top: 50%;
}
#data-table th, 
#data-table td {
	border: none; /* Turn off all borders */
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 10px;
	text-align: center;
    width: 100%;
}

/* Toggle */
.toggles {
	background: #ebebeb;	
	color: #545454;
	height: 20px;
	padding: 15px;
}
.toggles p {
	margin: 0;
}
.toggles a {
	background: #222;
	border-radius: 3px;	
	color: #fff;
	display: block;
	float: left;
	margin: 0 10px 0 0;
	padding: 0 6px;
	text-decoration: none;
}
.toggles a:hover {
	background: #666;
}
#reset-graph-button {
	float:right;
}

/* Graph */
/* Containers */
#wrapper {
	height: 420px;
	
	top: 50%;	
	width: 90%;
}
#figure {
	height: 380px;
	position: relative;
}
#figure ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.graph {
	height: 283px;
	position: relative;
    width: 50%;
    margin-right: 30%;
}

/* Legend */
.legend {
	background: #f0f0f0;
	border-radius: 4px;
	bottom: 0;
	position: absolute;
	text-align: left;
	width: 100%;	
}
.legend li {
	display: block;
	float: left;
	height: 20px;
	margin: 0;
	padding: 1.8% 5.5%;
	width: 22%;
}
.legend span.icon {
	background-position: 50% 0;
	border-radius: 2px;
	display: block;
	float: left;
	height: 16px;
	margin: 2px 1.8% 0 0;
	width: 2.9%;	
}

/* X-Axis */
.x-axis {
	bottom: -65%;
    right: 3%;
    color: #555;
    position: absolute;
    text-align: center !important;
    width: 100%;
}
.x-axis li {
	float: left;
	margin: 0 2.7%;
	padding: 1% 0;
	width: 14%;
    text-align: center !important;
}
@media only screen and (max-width: 500px) {
    .x-axis {
	bottom: -1%;
        font-size: 7px;
    right: 3%;
    color: #555;
    position: absolute;
    text-align: center !important;
    width: 100%;
}
.x-axis li {
	float: left;
	margin: 0 2.7%;
	padding: 1% 0;
	width: 14%;
    text-align: center !important;
    }
}
/* Y-Axis */
.y-axis {
	color: #555;
	position: absolute;
	
	width: 100%;
}
.y-axis li {
	border-top: 1px solid #ccc;
	display: block;
	height: 100px;
	width: 100%;
}
.y-axis li span {
	display: block;
	margin: -10px -22px 0 -60px;
	
	width: 14%;
}

/* Graph Bars */
.bars {
	height: 400px;
	position: absolute;
	width: 100%;
	z-index: 10;
}
@media screen and (max-width: 480px) {
        .bars{ height: 200px;}
       .x-axis {
           bottom: 20%;}
    .y-axis li { height: 50px;}
}
    
.bar-group {
	float: left;
	height: 100%;
	margin: 0 2.2%;
	position: relative;
	width: 14%;
}
.bar {
	border-radius: 3px 3px 0 0;
	bottom: 0;
	cursor: pointer;	
	height: 0;
	position: absolute;
	text-align: center;
	width: 50%;
}
.bar.fig0 {
	left: 24%;
}
.bar.fig1 {
	left: 26px;
}
.bar.fig2 {
	left: 52px;
}
.bar span {
	background: #fefefe;
	border-radius: 3px;
	left: -8px;
	display: none;
	margin: 0;
	position: relative;
	text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
	width: 7.4%;
	z-index: 20;
	
	-webkit-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 4px;
	box-shadow: rgba(0, 0, 0, 0.6) 0 1px 4px;
}
.bar:hover span {
	display: block;
	margin-top: -25px;
}