/* Web Fonts from fontspring.com  All OpenType features and all extended glyphs have been removed. Fully installable fonts can be purchased at http://www.fontspring.com  The fonts included in this stylesheet are subject to the End User License you purchased from Fontspring. The fonts are protected under domestic and international trademark and  copyright law. You are prohibited from modifying, reverse engineering, duplicating, or distributing this font software.  (c) 2010-2012 Fontspring     The fonts included are copyrighted by the vendor listed below.  Vendor:      exljbris Font Foundry License URL: http://www.fontspring.com/fflicense/exljbris   */
@font-face { font-family: 'museoslab'; src: url("../font/Museo_Slab_500-webfont.eot"); src: url("../font/Museo_Slab_500-webfont.eot?#iefix") format("embedded-opentype"), url("../font/Museo_Slab_500-webfont.woff") format("woff"), url("../font/Museo_Slab_500-webfont.ttf") format("truetype"), url("../font/Museo_Slab_500-webfont.svg#MuseoSlab500Regular") format("svg"); font-weight: normal; font-style: normal; }
/**
* 
* The fonts listed in this notice are subject to the End User License
* Agreement(s) entered into by the website owner. All other parties are 
* explicitly restricted from using the Licensed Webfonts(s).
* 
* You may obtain a valid license at the URLs below.
* 
* Webfont: Museo Sans 100 by exljbris
* URL: http://www.myfonts.com/fonts/exljbris/museo-sans/100/
* Copyright: Copyright (c) 2008 by Jos Buivenga. All rights reserved.
* Licensed pageviews: Unlimited
* 
* copyright 2014 MyFonts Inc
*/
@font-face { font-family: 'museosans'; src: url("../font/exljbris_-_museosans-100-webfont.eot"); src: url("../font/exljbris_-_museosans-100-webfont.eot?#iefix") format("embedded-opentype"), url("../font/exljbris_-_museosans-100-webfont.woff") format("woff"), url("../font/exljbris_-_museosans-100-webfont.ttf") format("truetype"), url("../font/exljbris_-_museosans-100-webfont.svg#museo_sans100") format("svg"); font-weight: normal; font-style: normal; }
/**
* 
* The fonts listed in this notice are subject to the End User License
* Agreement(s) entered into by the website owner. All other parties are 
* explicitly restricted from using the Licensed Webfonts(s).
* 
* You may obtain a valid license at the URLs below.
* 
* Webfont: Museo Sans 500 by exljbris
* URL: http://www.myfonts.com/fonts/exljbris/museo-sans/500/
* Copyright: Copyright (c) 2008 by Jos Buivenga. All rights reserved.
* Licensed pageviews: Unlimited
* 
* copyright 2014 MyFonts Inc
*/
@font-face { font-family: 'museosans'; src: url("../font/exljbris_-_museosans-500-webfont.eot"); src: url("../font/exljbris_-_museosans-500-webfont.eot?#iefix") format("embedded-opentype"), url("../font/exljbris_-_museosans-500-webfont.woff") format("woff"), url("../font/exljbris_-_museosans-500-webfont.ttf") format("truetype"), url("../font/exljbris_-_museosans-500-webfont.svg#museo_sans500") format("svg"); font-weight: bold; font-style: normal; }
@font-face { font-family: 'StateFaceRegular'; src: url("../font/stateface-regular-webfont.eot"); src: url("../font/stateface-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/stateface-regular-webfont.woff") format("woff"), url("../font/stateface-regular-webfont.ttf") format("truetype"), url("../font/stateface-regular-webfont.svg#StateFaceRegular") format("svg"); font-weight: normal; font-style: normal; }
.stateface:before { font-family: StateFaceRegular; margin-right: 5px; }

.stateface-replace { text-indent: -999em; display: inline-block; position: relative; min-width: 1em; }

.stateface-replace:before { position: absolute; left: 0; top: 0; text-indent: 0; }

.stateface-ak:before { content: "A"; }

.stateface-al:before { content: "B"; }

.stateface-ar:before { content: "C"; }

.stateface-az:before { content: "D"; }

.stateface-ca:before { content: "E"; }

.stateface-co:before { content: "F"; }

.stateface-ct:before { content: "G"; }

.stateface-dc:before { content: "y"; }

.stateface-de:before { content: "H"; }

.stateface-fl:before { content: "I"; }

.stateface-ga:before { content: "J"; }

.stateface-hi:before { content: "K"; }

.stateface-ia:before { content: "L"; }

.stateface-id:before { content: "M"; }

.stateface-il:before { content: "N"; }

.stateface-in:before { content: "O"; }

.stateface-ks:before { content: "P"; }

.stateface-ky:before { content: "Q"; }

.stateface-la:before { content: "R"; }

.stateface-ma:before { content: "S"; }

.stateface-md:before { content: "T"; }

.stateface-me:before { content: "U"; }

.stateface-mi:before { content: "V"; }

.stateface-mn:before { content: "W"; }

.stateface-mo:before { content: "X"; }

.stateface-ms:before { content: "Y"; }

.stateface-mt:before { content: "Z"; }

.stateface-nc:before { content: "a"; }

.stateface-nd:before { content: "b"; }

.stateface-ne:before { content: "c"; }

.stateface-nh:before { content: "d"; }

.stateface-nj:before { content: "e"; }

.stateface-nm:before { content: "f"; }

.stateface-nv:before { content: "g"; }

.stateface-ny:before { content: "h"; }

.stateface-oh:before { content: "i"; }

.stateface-ok:before { content: "j"; }

.stateface-or:before { content: "k"; }

.stateface-pa:before { content: "l"; }

.stateface-pr:before { content: "3"; }

.stateface-ri:before { content: "m"; }

.stateface-sc:before { content: "n"; }

.stateface-sd:before { content: "o"; }

.stateface-tn:before { content: "p"; }

.stateface-tx:before { content: "q"; }

.stateface-us:before { content: "z"; }

.stateface-ut:before { content: "r"; }

.stateface-va:before { content: "s"; }

.stateface-vt:before { content: "t"; }

.stateface-wa:before { content: "u"; }

.stateface-wi:before { content: "v"; }

.stateface-wv:before { content: "w"; }

.stateface-wy:before { content: "x"; }

body { color: #333; font-family: museosans, sans-serif; }

h1, h2, h3, h4, h5, h6 { color: #444; font-family: museoslab, Georgia, times, serif; }

.navbar { /* Use a thinner header than the Bootstrap default of 40px */ min-height: 30px; /* Get rid of bottom padding so there's no gap below logo */ margin-bottom: 0; }

.navbar-header:after { clear: none; }

.navbar-nav > li > a.external:before { content: '> '; }

.navbar-icons > li { float: left; }

#logo-wrapper { padding: 30px 0; margin-bottom: 20px; background-color: #dfd1cd; }
#logo-wrapper img { width: 100%; max-width: 371px; }

@media (min-width: 768px) { .navbar-nav > li > a { padding-top: 5px; padding-bottom: 5px; }
  .navbar-nav > li:first-child > a { margin-left: -15px; }
  .navbar-nav > li:last-child > a { padding-right: 0; } }
#footer { margin-top: 20px; padding: 40px 0; background-color: #e0e0e0; }
#footer h4 { padding-bottom: 10px; border-bottom: 1px solid #999; }
#footer .links { padding-left: 0; list-style-type: none; }
#footer .links li { padding: 5px 0; }
#footer .links li a { color: #777; }

.person { min-height: 80px; clear: both; margin-bottom: 40px; }
.person .headshot { display: block; float: left; margin-right: 20px; }

.core-team { min-height: 180px; }

#toggle { margin-bottom: 10px; }

.btn-toggle, .btn-toggle:focus, .btn-toggle:hover { border-color: transparent; box-shadow: none; outline: 0; }

.btn-toggle { color: #fff; background-color: #cacaca; font-weight: bold; text-transform: uppercase; font-size: 0.74em; padding: 1px 2px; }

.metadata .btn-metadata, .results .btn-results { background-color: #4f4f4f; }

.legend { clear: both; float: none; display: inline-block; }

#legend-results { display: none; }

.legend dt { width: 40px; height: 20px; float: left; margin-bottom: 10px; }

.legend dd { padding: 0 40px 0 45px; margin-bottom: 10px; font-size: 1.3em; line-height: 1.2em; font-weight: bold; }

#map { padding-bottom: 40px; }

.not-started, .metadata .metadata-not-started, .results .results-not-started { background-color: #30358c; fill: #30358c; }

.partial, .metadata .metadata-partial, .results .results-partial { background-color: #2f98cc; fill: #2f98cc; }

.up-to-date, .raw, .metadata .metadata-up-to-date, .results .results-raw { background-color: #79a888; fill: #79a888; }

.clean, .results .results-clean { background-color: #ed4c6b; fill: #ed4c6b; }

.default-instructions { margin-top: 20px; }

.infobox.results .metadata, .infobox.results .results-detail, .infobox.metadata .results, .infobox.metadata .results-detail, .infobox.results-detail .metadata, .infobox.results-detail .results, .metadata .table-states.results, .results .table-states.metadata { display: none; }

dt.results-status, dt.detail-link, dt.map-link { display: none; }

dd.results-status, dd.detail-link, dd.map-link { text-transform: uppercase; font-family: museoslab, Georgia, times, serif; font-size: 1.3em; line-height: 1.3em; }

dd.results-status { color: #4f4f4f; }

dd.detail-link, dd.map-link { margin-top: 20px; color: #ed4c6b; }
dd.detail-link a, dd.map-link a { color: #ed4c6b; }
dd.detail-link a:after, dd.map-link a:after { position: relative; top: 2px; padding-left: 4px; }

dd.detail-link a:after { content: url("../img/icon/pink_arrow_right.png"); }

dd.map-link a:after { content: url("../img/icon/pink_arrow_left.png"); }

@media screen and (min-width: 520px) { body.map #sidebar { text-align: right; }
  body.map #main > h2:first-child { float: left; }
  #toggle { float: left; margin-top: 24px; margin-left: 25px; }
  .legend { width: 100%; margin-top: 20px; margin-bottom: 40px; }
  .legend dd { float: left; padding-left: 10px; }
  body.map .legend dd { width: 170px; }
  .default-instructions { vertical-align: bottom; line-height: 1.1; padding-top: 12px; }
  .infobox dl { margin-top: 10px; } }
.table-states td:first-child a { color: #ed4c6b; font-weight: bold; }

.results-heading { text-transform: uppercase; float: left; }

#office-filter-container, #race-type-filter-container { margin-left: 20px; margin-top: 8px; text-align: right; }
#office-filter-container label, #race-type-filter-container label { margin-right: 10px; color: #22262a; }

#race-type-filter-container { margin-top: 20px; }

label[for="race_type-filter"]:before { content: "Filter by "; }

#results-table td { border-top-color: #dedfe0; }
#results-table thead th { font-weight: bold; padding: 2px 8px; border-color: #6a6e72; border-top: none; color: #6a6e72; }
#results-table thead tr:first-child { border: none; }
#results-table thead tr:first-child th { border: none; padding: 0 8px; color: #22262a; font-family: museoslab, Georgia, times, serif; font-weight: normal; font-size: 1.1em; }
#results-table thead tr:first-child th:first-child { min-width: 140px; }
#results-table thead tr:first-child th:nth-child(2) { min-width: 85px; }
#results-table tbody td, #results-table tbody th { padding: 4px 8px; }

tr.year-heading + tr td { border-top-color: #b2b2b2 !important; }

th.year-heading { font-size: 1.1em; color: #22262a; }
th.year-heading:before { display: inline-block; content: url("../img/icon/grey_arrow_right.png"); margin-right: 10px; }
th.year-heading.open:before { content: url("../img/icon/grey_arrow_down.png"); }

tr.election { display: none; }
tr.election.open { display: table-row; }
tr.election td { color: #5e5e5e; }
tr.election a { color: #ed4c6b; }

td.download { text-align: center; padding-top: 2px !important; }

.results-visualization { padding-top: 48px; padding-bottom: 34px; }
.results-visualization .help-block { font-size: 12px; margin: 0; padding-top: 20px; }

.elections-viz .hlines .hline { stroke-width: 1; stroke: #ccc; }
.elections-viz .bar { fill: #f4f4f4; }
.elections-viz .runoff { fill: #79a888; }
.elections-viz .special-primary { fill: #cacae0; }
.elections-viz .primary { fill: #30358c; }
.elections-viz .special-general { fill: #aae3e8; }
.elections-viz .general { fill: #2f98cc; }
.elections-viz .axis line { fill: none; stroke: #000; shape-rendering: crispEdges; }
.elections-viz .axis .domain { fill: none; stroke: none; }
.elections-viz .tick text { font-size: 9px; }
.elections-viz .legend-item text { font-size: 12px; }
.elections-viz .regular-item text, .elections-viz .special-item text { font-size: 9px; }
.elections-viz .regular-item circle, .elections-viz .regular-item rect, .elections-viz .special-item circle, .elections-viz .special-item rect { fill: #ccc; }

.slider .background { fill: #ccc; }
.slider .extent { fill: #6a6e72; }
.slider .resize circle { fill: #ed4c6b; }
