/* Header */
#wnyc-header-shadow {
  border-bottom: 1px solid rgba(200, 200, 200, 0.1);
  padding-bottom: 1px;
  background: rgba(100, 100, 100, 0.1);
}

#wnyc-header-bottom-wrapper {
  width: 100%;
  background-color: white;
  margin: 0 auto;
  position: relative;
}

#wnyc-header-bottom {
  max-width: 950px;
  margin: auto;
  position: relative;
}

#election-header {
  padding: 0 0 6px 0;
  min-height: 60px;
}

div.sharetools {
  display: none;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 80px;
}

div.sharetools a.twitter,
div.sharetools a.facebook {
  color: #e51133;
  padding: 7px 0;
  width: 40px;
  text-align: center;
  display: block;
  float: left;
  font-size: 1.2em;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

div.sharetools a.twitter:hover,
div.sharetools a.facebook:hover {
  background-color: #e51133;
  color: #fff;
}
/*font-size:1.33333333em;line-height:.75em;vertical-align:-15%*/
a#mobile-logo {
  display: none;
}

a#header-image {
  display: block;
  width: 276px;
  height: 37px;
  background: url('../img/election-2014-header.png') no-repeat;
  background-size: 276px 37px;
  position: absolute;
  left: 8px;
  bottom: 6px;
}

div#info {
  position: absolute;
  right: 8px;
  bottom: 6px;
  text-align: right;
}

div#last-updated,
div#legend {
  float: right;
}

.marker.winner-marker {
  padding-right: 21px;
  background: url('../img/icon_winner.png') no-repeat right center;
  background-size: 16px 16px;
  margin-left: 4px;
}

.marker.incumb-marker {
  padding-right: 21px;
  background: url('../img/icon_incumb.png') no-repeat right center;
  background-size: 16px 16px;
}

div#last-updated {
  color: #999;
  font-size: 12px;
}

div#last-updated > div,
div#legend > div {
  float: right;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  text-align: right;
}

div#legend {
  margin-left: 16px;
}

div#last-updated {
  clear: both;
  margin-top: 6px;
}

div#last-updated div.not-closed,
div#last-updated div.closed {
  display: none;
}

div#last-updated.polls-not-closed div.not-closed {
  display: block;
}

div#last-updated.polls-not-closed div.closed {
  display: none;
}

div#last-updated.polls-closed div.not-closed {
  display: none;
}

div#last-updated.polls-closed div.closed {
  display: block;
}

div#controls-outer {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

div#controls {
  position: relative;
  text-align: left;
  padding: 10px 8px;
  max-width: 950px;
  margin: 0px auto;
  font-size: 14px;
}

div.toggle {
  display: block;
  float: left;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background: #fce7ea;
}

span.word {
  display: block;
  float: left;
  padding: 5px 9px;
  color: #666;
}

a.left {
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  border-bottom-left-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -moz-border-top-left-radius: 2px;
  border-top-left-radius: 2px;
}

a.right {
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
  border-bottom-right-radius: 2px;
  -webkit-border-top-right-radius: 2px;
  -moz-border-top-right-radius: 2px;
  border-top-right-radius: 2px;
}

a.control {
  display: block;
  float: left;
  color: #e51133;
  text-decoration: none;
  padding: 5px 9px;
}

a.control.on {
  color: #fff;
  cursor: auto;
  background: #e51133;
}

a.control:hover,
a.control.on:hover {
  background: #e51133;
  color: #fff;
}

a.scroll {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

div.controls-group {
  float: left;
}

.toggle-mobile {
  display: none;
}
