.ticker {
    margin: 20px 0 30px 0;
}

.ticker-counts > p {
    display: inline-block;
    line-height: 1em;
}

.ticker-counts .count-no {
    float: right;
}

.ticker-counts .count-leaning {
    float: right;
}

.ticker-counts .t-count {
    float: left;
    font-size: 24px;
}

.ticker-counts .count-yes .t-count {
    color: #568a13;
}

.ticker-counts .count-no .t-count {
    color: #dd7d31;
}

.ticker-counts .count-leaning .t-count {
    color: #8bbd4a;
}

.ticker-counts .count-no .t-text {
    margin-top: -8px;}

.ticker-counts .t-text {
    display: block;
    float: right;
    width: 140px;
    padding-left: 4px;
}

.ticker .ticker-bar {
    width: 100%;
    height: 20px;
    background-color: #dcdcdc;
}

.ticker-bar > span {
    display: block;
    height: 20px;
}

.ticker-bar > span.yes-ticker {
    float: left;
    border-right: 1px solid #ffffff;
    background-color: #568a13;
}

.ticker-bar > span.leaning-ticker {
    float: left;
    background-color: #8bbd4a;
}

.ticker-bar > span.no-ticker {
    float: right;
    border-left: 1px solid #ffffff;
    background-color: #dd7d31;
}

.ticker-labels > p {
    width: 100px;
    padding-top: 6px;
    font-size: 11px;
    line-height: 1em;
}

.ticker-labels > p.label-majority {
    margin: 0 auto;
    background: url('../images/ticker-dash.png') no-repeat center top;
    text-align: center;
}


.lawmaker {
position: relative;


height: 15px;
width: 15px;

}

#viz {
height: 712px;
width: 515px;
z-index: 10;
right: 0;
padding:50px 35px 20px  70px;
background-image:url(../images/axes2.png);
background-repeat: no-repeat;
}

p.body.intro {margin:0 40px;}

.box-tip {
    position: absolute;
    display: none;
    max-width: 200px;
    padding: 7px 9px;
    background: #fff;
    border: 1px solid #ccc;
    text-align: left;
    box-shadow: 0 0 2px rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.3);
    z-index: 9999;
}


.filter-menu li:hover {
border: 1px solid #ccc;
-moz-box-shadow: 0 0 11px #ddd inset;
-webkit-box-shadow: 0 0 11px #ddd inset;
box-shadow: 0 0 11px #ddd inset;
}

.lawmaker-dot {
float: left;
margin: 5px;
display: block;
width: 15px;
height: 15px;
-moz-border-radius: 35px;
border-radius: 35px;
-webkit-border-radius: 35px;
}


circle.highlight {fill:#fff;}

h1.R {color:#ca3f39; margin-bottom:0px; margin-top:10px; line-height:.7em;}
h1.center.big {font-size:5em;}
h1.D {color:#567ed6; margin-bottom:0px; margin-top:10px;line-height:.7em;}
.main-content h1 {padding-top:10px;}

h4 {
    height: 40px;
}


/* count headers */

.count-header {
    margin-bottom: 14px;
}

.count-header > p {
    float: left;
    width: 50%;
}

.count-header .count {
    font-size: 30px;
}

.R .count {
    color: #ca3f39;
}

.D .count {
    color: #567ed6;
}

.count-header .congress-count {
    display: block;
}



/*               */


.lawmaker-dot.R {background-color:#d44c51;}
.lawmaker-dot.D {background-color:#567ed6;}
.lawmaker-dot.I {background-color:#c0b785;}
.lawmaker-dot.R:hover {background-color:#ffc4c6;}
.lawmaker-dot.D:hover {background-color:#bdd0fb;}
.lawmaker-dot.I:hover {background-color:#e3ddbd;}

.stance {width:24%; float:left;}

table#House th {width:32%; vertical-align:bottom;}

table#House td {width:35%; vertical-align:top; padding-right:15px;}
table#House td.last {padding-right:0px;}
table#house tr.titles td {vertical-align:bottom !important;}

td.Unknown p.franklin {width:90%;}

.text { height:40px;}

ul.list {
	font-family: FranklinITCStdLight,"Franklin Gothic","ITC Franklin Gothic",Arial,sans-serif;
	font-size: 13px;
	line-height: 1.3em; 
	margin-top:5px; 
}

/*ul.list li {padding:5px 0; list-style-type:decimal;}*/

ul.list > li {
    /*position:relative;  Create a positioning context */
    margin:0 6px 6px 0; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    /*border-top:2px solid #666;*/
    background:#f6f6f6;
}
ul.list > li:hover {background:#aaa;}

/*.labels {width:620px; height:620px;}*/
p.label.va {text-align:center; width:150px; z-index:11; background-color:#fff; padding:5px; left: 420px; top: 220px;}

/*FROM WILSON'S EARLIER LIST*/
#preloader {
    position: relative;
    z-index: 100;
}

#preloader div {
    background-color: white;
    width: 100%;
    position: absolute;
    height: 800px;
}


.third {width:32%; float:left;}
/*h1.franklin {
    font-size: 37px;
    line-height: 1.1em;
    margin-bottom: 8px;
}*/

.main-content {
    padding-top: 20px;
}

.search-box {
    padding: 10px;
    background: #efefef;
    min-width: 210px;
    min-height: 55px;
}

#lawmaker-list {
    display: none;
}

.search-box .ui-combobox input {
    width: 190px;
}

.vote-tally {
    margin: 0 auto;
    width: 45%;
    text-align: center;
    padding-bottom: 10px;
}

.vote-tally .overall {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.vote-tally .col {
    width: 40%;
    float: left;
    position: relative;
}

.vote-tally .col.yes {
    margin-right: 10%;
}

.vote-tally .col.no {
    margin-left: 10%;
}

.vote-tally .overall p {
    font-size: 28px;
}

.vote-tally .count {
    font-family:"FranklinITCProBold","Helvetica","Arial",sans-serif;
}

.vote-tally .icon {
    position: absolute;
    left: 8px;
    top: 6px;
    transition-timing-function: ease-in-out-quad;
    transition: opacity 0.7;
    -moz-transition: opacity 0.7; /* Firefox 4 */
    -webkit-transition: opacity 0.7; /* Safari and Chrome */
    -o-transition: opacity 0.7; /* Opera */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    -moz-opacity: .4;
    -khtml-opacity: .4;
    opacity: .4;
}

.vote-tally .win .icon {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

.vote-tally .no .icon {
    left: 13px;
}

.vote-tally .icon img {
    width: 20px;
    height: 20px;
}

.vote-tally .breakdown {
    position: relative;
    padding-bottom: 30px;
}

.vote-tally .party-labels {
    position: absolute;
    width: 100%;
}

.vote-tally .label.not-voting {
    display: none;
    color: #999;
}

.vote-tally .breakdown p {
    font-size: 15px;
    margin-bottom: 8px;
}

.vote-tally .dem {
    color: #567ed6;
}

.vote-tally .rep {
    color: #d44c51;
}

.vote-cols .col {
    float: left;
    width: 100%;
    margin-right: -1px;
}

.vote-cols .col.yes {
    border-right: 1px solid #ddd;
}

.vote-cols .col.no {
    border-left: 1px solid #ddd;
}

.vote-cols .col.yes .colpad {
    padding-right: 20px;
}

.vote-cols .col.no .colpad {
    padding-left: 20px;
}

.vote-cols .viz {
    margin-bottom: 20px;
    min-height: 100px;
}
.dot {
    width: 10px;
    height: 10px;
    /*margin-right: -1px;
    margin-bottom: -1px;*/
    float: left;
    margin:2px 5px 0 0 ;
}



.dot.D {
    background: #567ed6;
}

.dot.R {
    background: #d44c51;
}

.dot.I {
    background: #cbb645;
}

.vote-cols .list {
    width: 100%;
}

.vote-cols .list th {
    font-size: 13px;
    text-transform: uppercase;
    padding-bottom: 7px;
    cursor: pointer;
}

.vote-cols .list th:hover span {
    text-decoration: underline;
}

.vote-cols .list thead .member,
.vote-cols .list thead .state
.vote-cols .list thead .vote,
.vote-cols .list thead .rank,
.vote-cols .list thead .pct {
    padding-right: 3px;
}

.vote-cols .list thead .pct,
.vote-cols .list thead .rank {
    text-align:right;
}
.vote-cols .list thead .party {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.vote-cols .list i {
    display: none;
    font-size: 10px;
    color: black;
    margin-left: 2px;
}

.vote-cols .list .icon-sort {
    display: inline;
    color: #bbb;
}

.vote-cols .list .headerSortDown .icon-sort-down {
    display: inline;
    margin-left: -9px;
}

.vote-cols .list .headerSortUp .icon-sort-up {
    display: inline;
    margin-left: -9px;
}

.vote-cols .list td {
    padding: 5px 3px;
    padding-bottom: 6px;
}

.vote-cols .list tr:nth-child(odd) td {
    background: #f4f4f4;
}

.vote-cols .list tbody .member,
.vote-cols .list tbody .state,
.vote-cols .list tbody .vote,
.vote-cols .list tbody .rank,
.vote-cols .list tbody .pct,
.vote-cols .list tbody .pay {
    font-size: 15px;
    line-height: 1.4em;
}


.vote-cols .list tbody .rank,
.vote-cols .list tbody .pct,
.vote-cols .list tbody .pay {
	text-align:right;
}

.vote-cols .list tbody .party div {
    height: 9px;
    width: 9px;
    margin: 0 auto;
}

.vote-cols .list tbody .D .party div {
    background: #567ed6;
}

.vote-cols .list tbody .R .party div {
    background: #d44c51;
}

.vote-cols .list tbody .I .party div {
    background: #cbb645;
}
