*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*.pb-container{
    padding-top: 50px;
}

.pb-f-page-header-v2{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.pb-f-page-header-v2 header{
    position: absolute !important;
}
*/

h1.franklin-bold {
    text-align: center;
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 5px;
}

h2.franklin {
    margin: 6px 0 10px 0;
    font-size: 1.5em;
}

h3.franklin {
    margin: 4px 0 6px 0;
    font-size: 1.3em;
}

h4 {
    margin: 2px 0 4px 0;
    font-size: 0.8em;
}

p.credit {
    margin-bottom: 30px;
}

.pb-container{
    max-width: 1000px;
    margin: auto;
}

.pre-title{
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 20px;
}
#last-updated{
    text-align: center;
    margin-bottom: 20px;
}

#last-updated > div{
    display: inline-block;
}

#last-updated-timestamp{
    margin-right: 10px;
}

#last-updated-countdown{
    color: #ed1c24;
    font-family: "FranklinITCProLight", "HelveticaNeue", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    min-width: 52px;
}

#last-updated-countdown:before{
    font-weight: bold;
    margin-right: 2px;
    font-family: "FontAwesome", FontAwesome;
}

#balance-of-power-tabs{
    text-align: center;
}

#balance-of-power-tabs {
    width: 100%;
    display: inline-block;
    padding-bottom: 6px;
}
.balance-of-power-tab {
    width: 70%;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.balance-of-power-tab.active{
    background-color: #fff;
}

.balance-of-power-tab.active .tab-bop-20141104{
    background-color: #fff;
}

.balance-of-power-tab .tab-bop-20141104{
    background-color: #F3F3F3;
    cursor: pointer;
    padding: 10px;
    height: 80px;
}

.balance-of-power-tab .tab-bop-20141104:hover{
    background-color: #F7F7F7;
}

.balance-of-power-tab .tab-bop-20141104 .govt-title-20141104 {
    font-size: 26px;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    line-height: 28px;
    margin: 0;
    padding-top: 15px;
    color: #777;
}

.balance-of-power-tab.active .tab-bop-20141104 .govt-title-20141104 {
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    font-size: 34px;
    color: #000;
}

.balance-of-power-tab.active .chamber-bop-wrapper-20141104{
    display: none;
}

.balance-of-power-tab.active .number-wrapper-20141104{
    display: none;
}

.balance-of-power-tab.active .tab-simple-bop-wrapper-20141104:after {
    display: none;
}

.tab-simple-bop-wrapper-20141104 {
    padding: 0px;
}

.tab-simple-20141104 {
    border-right: none;
}

.balance-of-power-tab:first-child .tab-simple-20141104 {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.balance-of-power-tab:last-child .tab-simple-20141104 {
    border-right: 1px solid #ddd;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.national-bop {
    margin-bottom: 15px;
}

.national-bop .bop-sitting-notes {
    font-size: 14px;
    line-height: 16px;
    height: 16px;
    color: #999;
    margin-top: 5px;
}

.national-bop .bop-sitting-notes span.bop-sitting-note {
    width: 50%;
    display: inline-block;
}

.national-bop .bop-sitting-notes span.bop-sitting-note-left {
    text-align: left;
    float: left;
}

.national-bop .bop-sitting-notes span.bop-sitting-note-right {
    text-align: right;
    float: right;
}

.results-map-panel{
    display: none;
}

/* This helps us size the map based on div width*/
.results-map-panel.temp-hidden {
    display: block;
    visibility: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    pointer-events: none;
}

.results-map-panel.active{
    display: block;
}

#detail-panel{
    display: none;
    margin-top: 10px;
}

#detail-panel.active{
    display: block;
}

#detail-panel select{
    display: none;
}

#detail-panel #detail-panel-nav,
#detail-panel .detail-panel-table {
    width: 30%;
    float: left;
    margin-right: 5%;
}

#detail-panel #detail-panel-nav:last-child,
#detail-panel .detail-panel-table:last-child {
    margin-right: 0;
}

.election-results-table-wrapper .table-inactive {
    display: none;
}

.detail-panel-table .table-special-toggle {
    margin-bottom: 10px;
    float: left;
}

.detail-panel-table .table-special-toggle-option {
    font-size: 14px;
    /* text-transform: uppercase; */
    padding: 7px;
    background: #ddd;
    cursor: pointer;
    border: 1px solid #ddd;
    float: left;
    font-family: FranklinITCProThin, Helvetica, Arial, sans-serif;
    line-height: 17px;
}

.detail-panel-table .table-special-toggle-option:first-child {
    border-right: 0;
}

.table-special-toggle-option.toggle-active {
    background: #fff;
    font-family: FranklinITCProBold, Helvetica, Arial, sans-serif;
}

.table-special-toggle-option.toggle-inactive {
    color: #666;
    background: #f3f3f3;
}

#detail-panel .custom-combo {
    padding: 2px 0 6px 0;
}

#detail-panel p {
    margin: 2px 5px 4px 0;
    float: left;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    line-height: 31px;
    color: #666;
}

#detail-panel .ui-combobox {
    float: right;
}

#detail-panel .ui-combobox input {
    height: 34px;
    font-size: 15px;
    font-family: "FranklinITCProLight", "HelveticaNeue", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

#detail-panel .custom-combo a.ui-button {
    top: 2px;
    height: 30px;
}

#detail-panel h3 {
    margin-top: 0;
}

#detail-panel .loading{
    background:url(http://www.washingtonpost.com/wp-srv/graphics/images/loading-100x100.gif) no-repeat;
    background-position:50% 50%;
    min-height: 200px;
}

.election-results-table-wrapper tr {
    color: #000;
}

.results-table-wrapper table thead tr {
    background: none;
    border-bottom: none;
}

.election-results-table .place-name {
    font-size: 1.3em;
    line-height: 1.2em;
}

.election-results-table-wrapper .precincts-reporting {
    padding: 0;
    font-family: FranklinITCProLight,Helvetica,Arial,sans-serif;
    font-size: 0.9em;
    color: #666;
    float: left;
}

.election-results-table-wrapper .share {
    text-align: right;
    float: right;
}

.election-results-table-wrapper .share .fa {
    color: #ccc;
    cursor: pointer;
}

.election-results-table-wrapper .share .fa-facebook {
    margin-right: 3px;
}

.key-races {
    display: none;
    border-top: 2px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}

.key-races.active {
    display: block;
}

.key-races h4 {
    margin: 0;
}

.key-races-subsection {
    float: left;
    box-sizing: border-box;
    padding: 0 7px;
}

.key-races-subsection.scorecard {
    width: 25%;
    border-right: 1px solid #ccc;
    padding-left: 0;
}

.key-races-subsection.scorecard p {
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.key-races-subsection.scorecard #senate-scorecard {
    /* "Center" the scorecard */
    width: 163px;
    margin: 0 auto;
}

.key-races-subsection.table-wrapper {
    width: 75%;
    padding-left: 14px;
}

.key-races .key-race {
    float: left;
    width: 33%;
    padding: 0 14px;
    margin-bottom: 30px;
    border-right: 1px solid #eee;
}

.key-races .key-race:nth-child(3n+1) {
    clear: both;
    padding-left: 0;
}

.key-races .key-race:nth-child(3n) {
    padding-right: 0;
    border-right: none;
}

.key-race p {
    font-size: 1em;
    margin: 4px 0;
}

.visual-analysis {
    border-top: 2px solid #CCC;
    padding: 20px 0 40px 0;
    margin-top: 20px;
}

.visual-analysis:after {
    content: "";
    display: table;
    clear: both;
}

.visual-analysis .elex-sig {
    padding-bottom: 20px;
}

.visual-analysis .elex-sig p,
.visual-analysis .elex-sig img {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    line-height: 34px;
}

.visual-analysis .elex-sig img {
    max-height: 32px;
    margin: 0 8px 8px;
}

.visual-analysis .elex-sig p.sig1 {
    font-family: "FranklinITCProBold","HelveticaNeue","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 24px;
}

.visual-analysis .elex-sig p.sig2 {
    text-transform: uppercase;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    font-size: 20px;
}

.visual-promo {
    float: left;
    width: 33%;
    padding: 0 14px;
    border-right: 1px solid #EEE;
}

.visual-promo h3 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 18px;
}

.visual-promo h3 a {
    text-decoration: none;
    color: #000;
}

.visual-promo h3 a:hover {
    text-decoration: underline;
}

.visual-promo-image {
    width: 100%;
    height: 180px;
    border: 1px solid #CCC;
}

.visual-promo-image.visual-promo-image-shifting-control {
    background: url('http://www.washingtonpost.com/wp-srv/special/politics/2014-midterms/analysis/img/congress-flip-599.jpg') left top no-repeat;
    background-size: 120%;
}

.visual-promo-image.visual-promo-image-exit-polls {
    background: url('http://www.washingtonpost.com/wp-srv/special/politics/2014-midterms/exit-polls/img/exitpollteez.jpg') left top no-repeat;
    background-size: 200%;
}

.visual-promo-image.visual-promo-image-outside-spending {
    background: url('http://www.washingtonpost.com/wp-srv/special/politics/2014-midterms/2014-outside-spending-summary/img/bigspending-606-promo.jpg') left bottom no-repeat;
    background-size: 100%;
}

.visual-promo:nth-child(3n+1) {
    clear: both;
    padding-left: 0;
}

.visual-promo:nth-child(3n) {
    padding-right: 0;
    border-right: none;
}

.visual-promo p a {
    color: #666;
    margin-left: 3px;
}

.visual-promo p a:hover {
    color: #000;
}

.results-table-wrapper {
    display: none;
    border-top: 2px solid #ccc;
    padding: 20px 0 40px 0;
    margin-top: 20px;
    min-height: 400px;
}

.results-table-wrapper.active {
    display: block;
}

.results-table-wrapper .loading{
    background:url(http://www.washingtonpost.com/wp-srv/graphics/images/loading-100x100.gif) no-repeat;
    background-position:50% 50%;
    min-height: 200px;
}

.results-table-wrapper h4 {
    margin: 0;
}

.election-results-table-wrapper table {
    width: 100%;
    margin: 0;
}

.map-table{
    padding-left: 180px;
}

.map-table.loading{

}

/* MAP STYLES */
body.is-desktop .map-hide-desktop {
    display: none;
}

body.is-mobile .map-hide-mobile {
    display: none;
}

.wp-graphics-tooltip {
    pointer-events: none;
}

#results-maps {
    position: relative;
}

#results-maps .cf:before,
#results-maps .cf:after { content: " "; display: table; }
#results-maps .cf:after { clear: both; }
#results-maps .cf { *zoom: 1; }

.map-panel-wrapper {
    position: relative;
    width: 100%;
}

.map-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.map-sidebar-btn {
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    font-family: FranklinITCProThin, Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #F3F3F3;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.is-mobile .map-sidebar-btn {
    display: none;
}

.map-sidebar-btn a {
    color: #666;
    text-decoration: none;
}

.map-sidebar-btn a:hover {
    background-color: #f7f7f7;
}

.map-sidebar-btn a.active {
    font-family: FranklinITCProBold, Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #fff;
}

.map-sidebar-btn a {
    display: block;
    float: left;
    width: 50%;
    background-color: #F3F3F3;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 4px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-top: 4px;
}

.map-sidebar-btn a:first-child {
    border-top-right-radius: 0px;
}

.map-sidebar-btn a:last-child {
    border-top-left-radius: 0px;
}

.map-sidebar-btn a:first-child:last-child {
    border-radius: 4px;
    width: 100%;
}

.map-key {
    color: #939598;
    font-size: 13px;
    background: #fff;
}

.map-key.sidebar {
    padding: 4px 10px;
    border-radius: 5px;
}

.map-key-inline {
    display: none;
    width: 353px;
    margin: 0 auto;
}

.map-key-inline .key-group {
    display: inline-block;
    padding-right: 20px;
}

.map-key-inline .key-group:last-child {
    padding-right: 0;
}

.map-key-inline .key-box {
    float: left;
    margin-right: -3px;
    margin-top: 3px;
}

.map-key-inline .key-label {
    float: left;
    margin-left: 5px;
    margin-top: 3px;
}

.map-key td {
    vertical-align: top;
    padding: 5px 0;
}

.map-key td.key-box {
    min-width: 36px;
}

.map-key .key-box div {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background: #EBEBEB;
    margin-left: -6px;
    border: 1px solid #fff;
}

.map-key .key-box div:first-child {
    margin-left: 0;
}

.map-key .key-box.single-box div {
    margin-left: 11px;
}

.map-key .key-box.democrat-win div,
.map-key .key-box div.democrat-win {
    background: #007FC5;
}

.map-key .key-box.democrat-lean div,
.map-key .key-box div.democrat-lean {
    background: #86BAE4;
}

.map-key .key-box.independent-win div,
.map-key .key-box div.independent-win {
    background: #D7DF23;
}

.map-key .key-box.independent-lean div,
.map-key .key-box div.independent-lean {
    background: #E9ED9A;
}

.map-key .key-box.republican-win div,
.map-key .key-box div.republican-win {
    background: #ED1C24;
}

.map-key .key-box.republican-lean div,
.map-key .key-box div.republican-lean {
    background: #FF9999;
}

.map-key .key-box.undecided div,
.map-key .key-box div.undecided {
    background: #B7B19B;
}

.election-results-map {
    position: relative;
    width: 100%;
    margin: 0 auto 0 auto;
}

.election-results-map svg {
    opacity: 1;
    transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    -ms-transition: opacity 1s linear;
    -moz-transition: opacity 1s linear;
    -webkit-transition: opacity 1s linear;
}

.election-results-map.loading svg {
    opacity: 0;
}

.twp-loading-large {
    display: none;
}

.loading .twp-loading-large {
    display: block;
    background:url(http://www.washingtonpost.com/wp-srv/graphics/images/loading-100x100.gif) no-repeat;
    background-position:50% 50%;
    min-height:400px;
}

.election-results-map.toggle-hidden {
    position: absolute;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

.election-results-map.toggle-counties path.map-paths {
    stroke-width: 0.5px;
}

.election-results-map.toggle-counties path.map-paths.active {
    stroke-width: 1px;
}

.election-results-map.toggle-counties path.map-paths.clicked {
    stroke-width: 1.5px;
}

.state-key-wrapper {
    width: 60px;
    position: absolute;
    right: 0;
    top: 20%;
    font-size: 14px;
}

.small-state {
    padding: 1px 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#small-state-15000 {
    display: none;
}

.small-state.small-state-inactive {
    cursor: default;
}

.small-state.small-state-inactive .small-state-text {
    color: #999;
}

.small-state-box {
    width: 14px;
    height: 14px;
    display: inline-block;
    background: #EBEBEB;
    margin-right: 6px;
    margin-top: -6px;
}

.small-state:hover .small-state-box {
    border: 2px solid #000;
}

.small-state.small-state-inactive:hover .small-state-box {
    border: none;
}

.small-state-text {
    display: inline-block;
    margin-top: -5px;
    vertical-align: middle;
}

.special-wrapper {
    margin-top: 14px;
}

.special-label {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #939598;
}

.map-zoom-out-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    cursor: pointer;
    line-height: 34px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* LOCAL MAP */
.election-results-map.local-results-map g.map-land, .election-results-map.local-results-map g.map-land path.map-paths {
    fill: #EBEBEB;
    pointer-events: none;
}
.election-results-map.local-results-map g.map-land.hovered-land path.map-paths {
    stroke-width: 2px;
    stroke: #000;
}

.election-results-map.local-results-map g.map-layer {
    opacity: 0.2;
}

.election-results-map.local-results-map g.map-layer.hovered-layer {
    opacity: 0.3;
}

.election-results-map.local-results-map g.map-layer.active-layer {
    opacity: 1;
}

.election-results-map.local-results-map path.map-paths.active {
    stroke: white;
    stroke-width: 1px;
}

.election-results-map.local-results-map g.active-layer path.map-paths.active {
    stroke: #000;
    stroke-width: 1.5px;
}

.election-results-map.local-results-map line.map-leader-line {
    stroke: #999;
    stroke-width: 1px;
}

/* LIVESTREAM GRAPHICS MODULE NOW IN LIVESTREAM.CSS */

/* Hide stuff that isn't supported in mobile mode
 * (Not sure whether we want these styles somewhere else. Feel free to move.) */
.featured-stories{
    border-top: 2px solid #000;
}
.featured-stories .is-mobile .map-sidebar,
.featured-stories .is-mobile #detail-panel {
    display: none;
}

.featured-stories_root{
    border-top: 2px solid #000;
    padding: 20px 0 !important;
}
.featured-stories h3{
    margin-top: 30px;
}
.featured-stories .similar-content{
    padding-right: 1px;
    opacity: 1;
    transition: opacity 200ms;
    -moz-transition: opacity 200ms;
    -webkit-transition: opacity 200ms;
    -o-transition: opacity 200ms;
}

.featured-stories .content-items{
    display:table;
    border-spacing: 20px;
    table-layout: fixed;
    width:100%;
    opacity: 1;
    border-collapse: separate;
    border-spacing: 20px;
    margin: 0 -20px;
    min-width: 104%;
}
.featured-stories .content-item{
    background-color: white;
    border: 1px solid #d5d5d5;
    display: table-cell;
    width: 1%;
    overflow: hidden;
    font-size: 16px;
    line-height: 22px;
}
.featured-stories .content-item-img{
    height: 0;
    padding-bottom: 67.4%;
    background-color: #000;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
}

.featured-stories .content-item .content-item-text{
    padding: 30px;
}
.featured-stories .headline{
    font: normal 24px "FranklinITCProBold","HelveticaNeue", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    line-height: 28px;
    margin-bottom:15px;
}
.featured-stories .listener {
    display: none;
}

.featured-stories a{
    color: #333;
    text-decoration: none;
}

.featured-stories a:hover{
    color: #2e6d9d;
}

.featured-stories ul{
    border-top: 1px solid #d5d5d5;
    padding: 10px 0 0 0;
}

.featured-stories li {
    display: inline-block;
    margin: 0 5px 0 0;
    font-size: 12px;
    line-height: 14px;
}

#election-nav{
    width: 100%;
    border-bottom: 1px solid #d5d5d5;
    padding: 20px 0;
    margin-bottom: 20px;
}

#election-nav .election-title{
    font: normal 24px "FranklinITCProBold","HelveticaNeue","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    display: inline-block;
    margin-right: 20px;
    line-height: 38px;
    vertical-align: middle;
}

#election-nav .election-title img{
    height: 30px;
    margin-bottom: -5px;
}

#election-nav .election-nav-links{
    display: inline;
    list-style: none;
    display: inline-block;
    padding-left: 0;
    margin: 0;
}

#election-nav .election-nav-links li{
    display: inline-block;
    background-color: #efefef;
    text-transform: uppercase;
    border-radius: 3px;
    margin-right: 1px;
    margin-bottom: 4px;
    font: normal 14px "FranklinITCProBold","HelveticaNeue","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: .02em;
}

#election-nav .election-nav-links li a{
    padding: 9px 15px 9px 15px;
    display: block;
}

#election-nav .election-nav-links li a,
#election-nav .election-title a{
    color: #000;
    text-decoration: none;
}

#election-nav .election-nav-links li.active{
    background-color: #333;
    color: #fff;
}

#election-nav .election-nav-links li.active a{
    color: #fff;
}

.results-table-view .box {
    width: 30px;
    height: 30px;
    display: block;
    line-height: 30px;
    margin: 0 auto;
}

.D-margin .box {
    background:  #007fc5;
}
.D-margin-leader .box {
    background: #86bae4;
}
.R-margin .box {
    background: #ed1c24;
}
.R-margin-leader .box {
    background: #ff9999;
}
.Other-margin .box {
    background: #d7df23;
}
.Other-margin-leader .box {
    background: #e9ed9a;
}



.D-margin, .R-margin, .Other-margin, .D-margin-leader, .R-margin-leader, .Other-margin-leader {
    color: white;
    text-align: center;
}

.D-cell, .R-cell, .O-cell, .results-table-view th {
    text-align: center;
}

.results-table-view .place-table-view, .results-table-view .table-view-title {
    text-align: left;
}

.percent-reporting-table-view {
    color: #999;
    text-align: center;
}

.results-table-view {
    width: 100%;
    clear: both;
    font-size: 14px;
    position: relative;
}

.results-table-view-head {
    padding-top: 10px;
    background: #fff;
}

.results-table-view-head.fixed {
    border-bottom: 1px solid #ccc;
}

.results-table-view-body thead {
    display: none;
}

.special-note-table-view-wrapper .indiv-note-table-view {
    width: 100%;
    font-family: FranklinITCProLight,Helvetica,Arial,sans-serif;
    font-size: 0.9em;
    color: #666;
    padding: 10px 0;
}

.results-table-view .table-view-title{
    font-family: "FranklinITCProBold", "HelveticaNeue", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    vertical-align: top;
    text-align: center;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.0em;
    min-height: 40px;
    margin-bottom: 10px;
}

.results-table-view .table-holder {
    width: 19%;
    float: left;
    box-sizing: border-box;
    margin-right: 1.25%;
    padding-right: 1.25%;
}

.results-table-view-body .table-holder {
    border-right: 1px solid #eee;
}

.results-table-view .table-holder:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.results-table-view table {
    width: 100%;
    float: left;
    text-align: left;
    font-size: 12px;
    border-collapse: separate;
}

.results-table-view-body table {
    padding: 10px 0;
}

.results-table-view td {
    word-break: break-word;
    border-bottom: 1px solid #eee;
    padding: 0;
}

.results-table-view tr:last-child td {
    border-bottom: none;
}

.results-table-view th.place-table-view,
.results-table-view td.title-abbreviated {
    font-family: FranklinITCProBold, Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    width: 59px;
}

.results-table-view th {
    padding: 0 0 6px 0;
    vertical-align: bottom;
    font-size: 0.9em;
}

.ui-autocomplete.ui-widget-content{
    padding-left: 0;
}

/* social tools styling */

div#election-nav > * {
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.social-tools {
    display: inline-block;
    float: right;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #dedede;
}

.social-tools .tool {
    font-size: 20px;
    line-height: 1em;
    border-left: 1px solid #d5d5d5;
    cursor: pointer;
    width: 60px;
    max-height: 40px;
    display: inline;
    float: left;
    text-align: center;
    vertical-align: middle;
    padding: 9px 0 8px 0
}

.social-tools a {
    color: rgb(90, 90, 90);
}

.social-tools .tool.first {
    border-left: none
}

.social-tools .hideText {
    position: absolute;
    left: -10000px;
}

@media only screen and (max-width: 1024px) {
    .content-wrapper,
    .featured-stories{
        padding: 0 15px;
    }

    .social-tools {
        display: none;
    }

    .map-sidebar {
        width: 120px;
    }

    #detail-panel .ui-combobox{
        float: left;
    }

    .visual-promo-image {
        height: 140px;
    }
}

@media only screen and (max-width:768px) {
    .featured-stories{
        padding: 0 10px;
    }
    .featured-stories h3{
        font-size: 22px;
        padding-bottom: 30px;
        border-bottom: 1px solid #d5d5d5;
        width: 100%;
        margin-bottom: 30px;
    }

    .featured-stories .content-items {
        margin: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-spacing: 0;
        display: block;
    }

    .featured-stories .content-item{
        display: block;
        width: 100%;
        border: none;
        margin: 0 0 20px 0;
        border-bottom: 1px solid #d5d5d5;
        padding-bottom: 20px;
    }

    .featured-stories .headline{
        font-size: 18px;
        line-height: 22px;
    }

    .featured-stories .content-item .content-item-text {
        padding: 0 0 0 160px;
    }

    .featured-stories .content-item-img {
        width: 140px;
        height: 105px !important;
        padding: 0;
        float: left;
        height: auto;
        margin-right: 20px;
    }

    body.election-results-page {
        font-size: 14px;
    }


    #election-nav {
        margin-bottom: 20px;
    }

    h1.postoni {
        margin-bottom: 20px;
        font-size: 4em;
        display: none;
    }

    #balance-of-power-tabs {
        padding-bottom: 10px;
    }

    .balance-of-power-tab {
        width: 100%;
    }

    .map-sidebar {
        position: static;
        width: 100%;
    }

    .map-key-inline {
        display: block;
    }

    .map-key.sidebar {
        display: none;
    }

    .map-sidebar-btn {
        margin: 0 auto 0 auto;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .state-key-wrapper {
        font-size: 12px;
    }

    .small-state {
        padding: 3px 0;
    }

    .small-state-box {
        width: 12px;
        height: 12px;
    }

    .special-wrapper {
        padding-top: 7px;
    }

    #detail-panel #detail-panel-nav, #detail-panel .detail-panel-table {
        margin: 0 auto;
        width: 100%;
        max-width: 380px;
        clear: both;
        float: none;
    }

    #detail-panel #detail-panel-nav:last-child, #detail-panel .detail-panel-table:last-child {
        margin-right: auto;
    }

    /* KEY RACES */
    .key-races .key-race {
        float: none;
        width: 100%;
        padding: 0 0 10px;
        border-right: none;
    }

    .visual-analysis .elex-sig {
        text-align: center;
        padding-bottom: 30px;
    }

    .visual-promo {
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        clear: both;
        float: none;
        padding: 0 0 20px 0;
        border: none;
    }

    /* TABLE VIEW */
    .results-table-view .sticky-nav-wrap {
        display: none;
    }

    .results-table-view-body thead {
        display: table-header-group;
    }

    .results-table-view .table-view-title {
        font-size: 1.5em;
        min-height: 30px;
    }

    .results-table-view .table-holder, .results-table-view .table-holder:last-child {
        width: 80%;
        max-width: 320px;
        float: none;
        margin: 10px auto 15px;
        border-right: none;
    }

    #detail-panel select{
        display: block !important;
    }

    #detail-panel .ui-combobox{
        display: none !important;
    }

    #detail-panel p{
        line-height: 20px;
    }

    #detail-panel #detail-panel-nav {
        margin-bottom: 20px;
    }

    .pb-f-ad-leaderboard .leaderboard {
        display: none;
    }
}

@media only screen and (max-width:645px) {
    .state-key-wrapper {
        display: none;
    }

    .balance-of-power-tab .tab-bop-20141104 {
        padding: 0 10px;
        height: 60px;
    }

    .balance-of-power-tab .tab-bop-20141104 .govt-title-20141104,
    .balance-of-power-tab.active .tab-bop-20141104 .govt-title-20141104 {
        font-size: 22px;
    }

    .balance-of-power-tab .chamber-bop-wrapper-20141104 {
        display: none;
    }

    .balance-of-power-tab .number-wrapper-20141104 {
        display: none;
    }

    .balance-of-power-tab .tab-simple-bop-wrapper-20141104:after {
        display: none;
    }

    .national-top-20141104 .majority-info-20141104 {
        font-size: 13px;
    }

    .national-top-20141104 .winner-num-20141104 {
        font-size: 18px;
    }

    .national-top-20141104 .left-num-20141104 .party-name-20141104,
    .national-top-20141104 .right-num-20141104 .party-name-20141104 {
        font-size: 11px;
        line-height: 25px;
    }

    .key-races-subsection.scorecard {
        display: none;
    }

    .key-races-subsection.table-wrapper {
        width: 100%;
        padding-left: 0;
    }
}

@media only screen and (max-width:480px) {
    body.election-results-page {
        font-size: 15px;
    }

    h1.franklin-bold {
        font-size: 1.7em;
        display: none;
    }

    .balance-of-power-tab .tab-bop-20141104 .govt-title-20141104,
    .balance-of-power-tab.active .tab-bop-20141104 .govt-title-20141104 {
        font-size: 18px;
    }

    .national-top-20141104 .majority-info-20141104 {
        top: -13px;
    }

    .national-top-20141104 .majority-marker-20141104 {
        bottom: -13px;
    }

    .national-bop .bop-sitting-notes span.bop-sitting-note {
        width: 40%;
        display: inline-block;
    }

    .map-key-inline {
        width: 100%;
        text-align: center;
    }

    .map-key-inline .key-group {
        display: inline-block;
        padding: 0 10px;
    }

    .visual-analysis .elex-sig p.sig1 {
        font-size: 18px;
    }

    .visual-analysis .elex-sig img {
        max-height: 22px;
        margin: 0px 6px 6px;
    }

    .visual-analysis .elex-sig p.sig2 {
        font-size: 16px;
    }

    .featured-stories .content-item-img {
        width: 61px;
        height: 61px !important;
    }

    .featured-stories .content-item .content-item-text {
        padding: 0 0 0 81px;
    }
}
