/* Table */
#data-table {
	border: none; /* Turn off all borders */
	border-top: 1px solid #ccc;
	width: 540px;
}
#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;
}
#data-table th, 
#data-table td {
	border: none; /* Turn off all borders */
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 10px;
	text-align: left;	
}

/* 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 */
#barWrapper {
	margin-left: 40px;
}

#barWrapper h4 {
	font-size: 0.7em;
	color: #000;
	text-align: left;
	margin: 0px;
	padding-top: 10px;
}
#figure {
	height: 312px;
	position: relative;
}
#figure ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.graph {
	height: 100%;
	position: relative;
	left: 50px;
}

/* Legend */
.legend {
	background: #f0f0f0;
	border-radius: 4px;
	bottom: 0;
	position: absolute;
	text-align: left;
	width: 540px;	
}
.legend li {
	display: block;
	float: left;
	height: 20px;
	margin: 0;
	padding: 10px 30px;
	width: 120px;
}
.legend span.icon {
	background-position: 50% 0;
	border-radius: 2px;
	display: block;
	float: left;
	height: 16px;
	margin: 2px 10px 0 0;
	width: 16px;	
}

/* X-Axis */
.x-axis {
	bottom: 0;
	color: #555;
	position: absolute;
	text-align: center;
	width: 540px;
}
.x-axis li {
	float: left;
	margin: 0 15px;
	padding: 5px 0;
	width: 76px;	
}

/* Y-Axis */
.y-axis {
	color: #555;
	position: absolute;
	text-align: right;
	width: 100%;
	font-size: 0.85em;
}
.y-axis li {
	border-top: 1px solid #ccc;
	display: block;
	height: 52px;
}
.y-axis li span {
	display: block;
	margin: -10px 0 0 -50px;
	padding: 0 10px;
	width: 40px;
}

/* Graph Bars */
.bars {
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 10;
}
.bar-group {
	float: left;
	height: 100%;
	margin: 0 15px;
	position: relative;
	width: 260px;
}
.bar {
	bottom: 0;
	cursor: pointer;	
	height: 0;
	position: absolute;
	text-align: center;
	width: 50px;
}
.bar.fig0 {
	left: 0;
}
.bar.fig1 {
	left: 52px;
}
.bar.fig2 {
	left: 104px;
}
.bar.fig3 {
	left: 156px;
}
.bar.fig4 {
	left: 208px;
}
.bar span.verticalMiddle {
	display: inline-block;
	vertical-align: middle;
	line-height: 1em;
}

.bar span.value {
	background: #fefefe;
	border-radius: 3px;
	left: 6px;
	display: none;
	margin: 0;
	position: relative;
	text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
	width: 40px;
	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.value {
	display: block;
	margin-top: -25px;
}

.bar div.descr {
	display: none;
	font-size: 0.9em;
	position: absolute;
	right: 0;
	bottom: 3px;
	text-align: left;
	color: #fff;
	text-shadow: 1px 1px 2px rgba(70, 70, 70, 1);
  	-webkit-transform: rotate(-90deg);
  	-moz-transform: rotate(-90deg);
  	-ms-transform: rotate(-90deg);
  	-o-transform: rotate(-90deg);
  	transform: rotate(-90deg);
	width: 100%;
	height: 50px;
	line-height: 50px;	
}

#data-table {
	display: none;
}
.bar span.percentage {
	display: none;
	font-size: 0.8em;
	color: #000;
	font-weight: bold;
	position: relative;
	top: -20px;
}
.bar span.value {
	background-color: #fefefe;
}
.fig4 {
	background-color: #519128;
}
.fig3 {
	background-color: #61ab30;
}
.fig2 {
	background-color: #6ec138;
}
.fig1 {
	background-color: #a1d28d;
}
.fig0 {
	background-color: #c4e1b9;
}