.header-caps {
	font-size: 36px;
}

/* nav area */

#nav-wrapper {
	position: relative;
	width: 630px;
	margin: 20px 0 20px -10px;
	z-index: 5;
}

#nav {
	padding: 26px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background-color: #ffffff;
}

#nav.fixed {
	-khtml-box-shadow: 0 3px 3px -1px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 3px 3px -1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 3px 3px -1px rgba(0,0,0,0.4);
    box-shadow: 0 3px 3px -1px rgba(0,0,0,0.4);
}

.nav-view,
.nav-type {
	display: block;
	margin: 0 auto 0 auto;
	width: 316px;
}

.nav-type {
	width: 473px;
	margin-top: 8px;
}

.nav-view > p,
.nav-type > p {
	display: inline-block;
	float: left;
	width: 120px;
	padding: 12px 18px;
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
	background: #fdfdfd;
	color: #8c8c8c;
	font-size: 1.4em;
	text-align: center;
	text-shadow: 0 0 1px #ffffff;
	cursor: pointer;
}

.nav-view > p.nav-last,
.nav-type > p.nav-last {
	border-right: 1px solid #dcdcdc;
}

.nav-view > p:hover,
.nav-type > p:hover {
	background: #f5f5f5;
    color: #505050;
}

.nav-view > p.nav-active,
.nav-type > p.nav-active {
	border: 1px solid #b4b4b4;
    background: #f0f0f0;
    color: #505050;
    -webkit-box-shadow: inset 0px 0px 7px #CCC;
    -moz-box-shadow: inset 0px 0px 7px #ccc;
    box-shadow: inset 0px 0px 7px #CCC;
}

#note {
	margin-top: 12px;
	color: #a0a0a0;
	font-size: 12px;
	text-align: center;
	opacity: 0;
}

#key {
	width: 400px;
	margin: 10px auto 0 auto;
}

#key > p {
	display: inline-block;
	float: left;
	margin: 0 10px;
	color: #8c8c8c;
	font-size: 13px;
}

#key > p > span {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 6px;
	-moz-border-radius: 35px;
	border-radius: 35px;
	-webkit-border-radius: 35px;
}

#key > p.key-dem > span {
	background-color: #3178b5;
}

#key > p.key-third > span {
	background-color: #b5b084;
}

#key > p.key-rep > span {
	background-color: #d44c51;
}

/* chart area */

#chart {
	position: relative;
	height: 3700px;
}

#chart > div {
	position: absolute;
	top: 0;
	left: 0;
}

#chart > div.chart-hidden {
	display: none;
}

#chart-change {
	position: relative;
}

#chart-note {
	position: absolute;
	top: 30px;
	left: 200px;
}

.category {
	padding-bottom: 20px;
	margin-bottom: 14px;
	border-bottom: 1px solid #dcdcdc;
}

.category > p {
	color: #b4b4b4;
	margin-bottom: 14px;
	font-size: 18px;
	line-height: 1em;
}

.row {
	position: relative;
	height: 22px;
	padding: 8px 0;
}

.row > p {
	float: left;
	width: 160px;
	font-size: 14px;
	line-height: 1em;
}

.row > div {
	float: right;
	width: 430px;
	height: 100%;
	background-color: #dcdcdc;
}

.row > div span.dem,
.row > div span.third,
.row > div span.rep {
	position: relative;
	display: inline-block;
	height: 100%;
	float: left;
	border-right: 1px solid #ffffff;
	background-color: #3178b5;
}

.row > div span.third {
	background-color: #b5b084;
}

.row > div span.rep {
	float: right;
	border-right: none;
	background-color: #d44c51;
}

.row > div > span > p {
	position: absolute;
	top: 2px;
	right: 4px;
	color: #ffffff;
	font-size: 13px;
}

.row .mask {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,.8);
}

.row > div span.bar-grey {
	background-color: #dcdcdc;
}

/* change chart */

#chart-change .row > div {
	position: relative;
}

.row > div > div.change {
	position: absolute;
	height: 100%;
}

.row > div div.change > span.bar {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 100%;
}

.row > div div.change > span.bar > span {
	display: none;
	position: absolute;
	width: 0; 
	height: 0;
}

.row > div div.change > span.bar > span.arrow-shown {
	display: inline-block;
}

.row > div div.change > span > span.arrow-right {
	top: 0;
	right: -11px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
}

.row > div div.change > span > span.arrow-left {
	top: 0;
	left: -11px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
}

.row > div div.change > span.bar > p {
	position: absolute;
	top: 2px;
	color: #505050;
	font-size: 13px;
}

#chart-change .dem-majority div.change > span.bar {
	background-color: #3178b5;
}

#chart-change .rep-majority div.change > span.bar {
	background-color: #d44c51;
}

#chart-change .dem-majority div.change span.arrow-left {
	border-right: 11px solid #3178b5;
}

#chart-change .dem-majority div.change span.arrow-right {
	border-left: 11px solid #3178b5;
}

#chart-change .rep-majority div.change span.arrow-left {
	border-right: 11px solid #d44c51;
}

#chart-change .rep-majority div.change span.arrow-right {
	border-left: 11px solid #d44c51;
}

#chart-change.dem-summ .dem-majority div.change > span.bar,
#chart-change.dem-summ .rep-majority div.change > span.bar {
	background-color: #3178b5;
}

#chart-change.dem-summ .dem-majority div.change span.arrow-right,
#chart-change.dem-summ .rep-majority div.change span.arrow-right {
	border-right: none;
	border-left: 11px solid #3178b5;
}

#chart-change.dem-summ .dem-majority div.change span.arrow-left,
#chart-change.dem-summ .rep-majority div.change span.arrow-left {
	border-left: none;
	border-right: 11px solid #3178b5;
}

#chart-change.rep-summ .dem-majority div.change > span.bar,
#chart-change.rep-summ .rep-majority div.change > span.bar {
	background-color: #d44c51;
}

#chart-change.rep-summ .dem-majority div.change span.arrow-right,
#chart-change.rep-summ .rep-majority div.change span.arrow-right {
	border-right: none;
	border-left: 11px solid #d44c51;
}

#chart-change.rep-summ .dem-majority div.change span.arrow-left,
#chart-change.rep-summ .rep-majority div.change span.arrow-left {
	border-left: none;
	border-right: 11px solid #d44c51;
}



/* tooltip */

.tt-all > p,
.tt > p {
	color: #8c8c8c;
	font-size: 13px;
}

.tt {
	min-width: 200px;
}

.tt-bars {
	margin: 10px 0;
}

.tt-bars > div {
	position: relative;
	margin-left: 40px;
}

.tt-bars .tt-bar > p {
	position: absolute;
	left: -40px;
	font-size: 13px;
}

.tt-bars .tt-bar > div {
	width: 160px;
	height: 16px;
	margin-bottom: 6px;
	background-color: #dcdcdc;
}

.tt-bars .tt-bar .tt-bar-dem {
	display: inline-block;
	float: left;
	height: 100%;
	border-right: 1px solid #ffffff;
	background-color: #3178b5;
}

.tt-bars .tt-bar .tt-bar-rep {
	display: inline-block;
	float: right;
	height: 100%;
	border-left: 1px solid #ffffff;
	background-color: #d44c51;
}

.tt-bars .tt-bar .tt-bar-dem > p {
	float: left;
	padding-left: 4px;
}

.tt-bars .tt-bar .tt-bar-rep > p {
	float: right;
	padding-right: 4px;
}

.tt-bars .tt-bar > div > span > p {
	margin-top: -1px;
	color: #ffffff;
}

.tt-bars.tt-dem-majority .tt-bar-rep,
.tt-bars.tt-rep-majority .tt-bar-dem {
	background-color: #b4b4b4;
}








