/* font-family:"Good Regular"; */
@font-face {
  font-family: 'AP Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Good OT Regular'), local('good_regular.otf'),
    url('fonts/good_regular.woff') format('woff'), 
    url('fonts/good_regular.woff2') format('woff2');
}
.ap-header-default {
  position: relative;
  margin-bottom: 30px;
  border-bottom: 3px solid #ececec;
  line-height: 0.5;
}
.ap-header-default .header-default, .footer-bottom {
  position: relative;
  display: flex;
  line-height: none;
}
.footer-bottom a {
  color: #FFFFFF;
}
.us-flag{
  margin-left: 10px;
}
.uncontested-race-text{
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 14px;
  color: #000080;
}
#election-results .results-title h1 {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 2.25rem;
  border-bottom: 1px solid #818181;
  margin-bottom: 17px;
  margin-top: 0;
  font-weight: bold;
}
#election-results .results-title {
  margin-top: 20px;
  margin-bottom: 1rem;
}
#election-results h3 {
  color: #424242;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 35px;
  font-size: 22px;
}
#election-results .reporting {
  font-size: 13px;
  color: #000000;
}
#election-results .timestamp {
  color: #424242;
  font-size: 13px;
}
#election-results h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 0;
}
#election-results .results-table-header {
  margin-bottom: .2rem;
  overflow: hidden;
  width: 100%;
}
#election-results .region-branding{
  display:table;
}
#election-results .region-branding  span{
  padding-right: 15px;
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0px 0px;
  margin-right: 20px;
}
#election-results .region-branding  .logo img{
  max-height: 60px;
  padding-right: 15px;
  width: auto;
  height: auto;
  max-width: 100%;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 14px;
}
.ap-header-default .region-branding .logo.navbar-btn:after {
  position: absolute;
  content: " ";
  height: 50%;
  width: 1px;
  background: #ccc;
  top: 25%;
  right: 0;
}
.ap-header-default .navbar-header .region-branding .navbar-brand {
  font-family: 'AP Sans';
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 1px;
  padding-left: 15px;
  word-spacing: 2px;
  color: rgba(0, 0, 0, 0.82);
}
.region-branding .name {
  font-family: 'AP Sans';
  color: #282828;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 800;
}
.region-branding .name img{
  margin-right: 10px;
  max-height: 50px;
  padding-bottom: 5px;
  padding-top: 5px;
}
.navbar-nav  a {
  font-family: 'AP Sans';
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  font-size:16px;
}
.results-table table thead {
  background: #ffffff;
  border-top: 2px solid #818181;
}
table {
  background: #FFFFFF;
  border: solid 1px #DDDDDD;
  margin-bottom: 1.25rem;
  table-layout: auto;
}
#election-results .results-table table {
  margin-top: 5px;
  border-bottom: 1px solid #818181;
  border-left: 0;
  border-right: 0;
  border-collapse: collapse;
  border-spacing: 2px;
  margin-bottom: .6rem;
  width: 100%;
}
#election-results .results-table table {
  margin-top: 5px;
  border-bottom: 1px solid #818181;
  border-left: 0;
  border-right: 0;
  border-collapse: collapse;
  border-spacing: 2px;
  margin-bottom: .6rem;
  width: 100%;
}
#election-results .navbar-light .navbar-nav .nav-link{
  color: rgba(0, 0, 0, 1);
}
#election-results .navbar{
  padding: 0.9rem 1rem;
}
.results-table table thead tr th, .results-table table tbody tr td {
  font-size: 13px;
  color: #000;
}
.results-table table thead tr td {
  padding-left: 0px;
  color: #000;
  font-weight: normal;
  font-size: 13px;
}
.results-table table tbody tr td {
  padding-left: 0px;
}
tbody {
  border-top: 1px solid #ccc;
}
table tr.even, table tr.alt, table tr:nth-of-type(even) {
  background: #F9F9F9;
}
.results-table table thead tr th, .results-table table tbody tr td {
  font-size: 13px;
  color: #000;
}
table thead tr th, table tfoot tr th, table tfoot tr td, table tbody tr th, table tbody tr td, table tr td {
  display: table-cell;
  line-height: 1.125rem;
}
#election-results .token-party-rep {
  color: #c43d49;
}
#election-results .token-party {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  font-size: .775rem;
  font-weight: 700;
  text-align: center;
}
#election-results .token-party-dem {
  color: #5186b4;
}
table tr th, table tr td {
  padding: 0.5625rem 0.625rem;
  text-align: left;
}
#election-results .progress-bar {
  display: block;
  width: 200px;
  background: #ececec;
  position: relative;
}
#election-results .progress-bar-percentage {
  background: #222222;
}
#election-results .progress-bar-rep, #election-results .progress-bar-yes {
  background: #c43d49;
}
#election-results .progress-bar-percentage {
  padding: 6px 0px;
  text-align: center;
  height: 2px;
}
#election-results .progress-bar-dem {
  background: #5186b4;
}
.ap-header-default #navbarText ul li{
  padding-top: 3px;
  padding-bottom: 3px;
}
#election-results .results-table .legend .inline-list .incumbent span, #election-results .results-table table tr td span.incumbent {
  font-weight: 700;
  margin-right: 3px;
  color: #b82dc1;
  display: inline-block;
}
#election-results .results-table .legend .inline-list .incumbent span:before, #election-results .results-table table tr td span.incumbent:before{
  content: "(";
  color: #424242;
  padding-right: 1px;
}
#election-results .results-table .legend .inline-list .incumbent span:after, #election-results .results-table table tr td span.incumbent:after {
  content: ")";
  color: #424242;
  padding-left: 1px;
}
#election-results .results-table .legend .inline-list .runoff:before {
  content: "R";
  font-weight: 700;
  margin-right: 3px;
}
.winner img, .check-winner img{
  width: 12px;
  margin-right: 2px;
  margin-top: -3px;
}
.check-winner{
  display: inline-block;
  margin-left: 3px;
}
#election-results .results-table .legend .inline-list {
  font-size: 13px;
  color: #424242;
  margin: 0 auto;
}
#election-results .results-table .legend .inline-list {
  font-size: 13px;
  color: #424242;
  margin: 0 auto;
}
.inline-list {
  list-style: none;
  margin-left: -1.375rem;
  margin-right: 0;
  margin: 0 auto 1.0625rem auto;
  overflow: hidden;
  padding: 0;
}
#election-results .results-table .legend {
  display: inline-block;
  float: right;
}
footer {
  margin: 0 auto;
  max-width: 90rem;
  width: 100%;
  background: #434141;
  color: #FFFFFF;
  margin-top: 50px;
  padding: 2rem 0 1.5rem 0;
  max-width: 100%;
}
footer:before, footer:after {
  content: " ";
  display: table;
}
footer .footer-bottom {
  border-top: none;
  font-size: 0.625rem;
  line-height: 0.75rem;
  padding: .5rem 1.1rem 0 1.1rem;
}
.row {
  margin: 0 auto;
  max-width: 90rem;
  width: 100%;
}
.row:before, .row:after {
  content: " ";
  display: table;
}
footer .footer-bottom .company {
  font-weight: 700;
  text-transform: uppercase;
}
footer .footer-bottom li {
  font-size: 0.625rem;
  line-height: 1rem;
}
.inline-list > li {
  display: block;
  float: left;
  list-style: none;
  margin: 0 0 0 .5rem !important;
}
.county-results{
  margin-top: 25px;
  margin-bottom: 10px;
}
#election-results .alert {
  border: 1px solid #ff322e;
  color: #FF312D;
  display: inline-block;
  font-size: 13px;
  outline: none;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  border-radius: 0;
  font-weight: bold;
}
.election-filters select{
  border-radius: 0;
}
#social-btn-cotent {
  background-color: #f2f2f2;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  padding: 5px 0;
  display: flex;
  margin-bottom: 20px;
}
.SocialMediaShareButton{
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 3px;
}
#social-btn-cotent .share-amount, #social-btn-cotent-xlarge .share-amount {
  font-weight: bold;
  line-height: 1rem;
  display: inline-block;
  padding-left: 30px;
  padding-right: 30px;
}
#social-btn-cotent .text-center, #social-btn-cotent-xlarge .text-center {
  text-align: center;
}
#social-btn-cotent .text-center span, #social-btn-cotent-xlarge .text-center span{
  font-size: 0.8rem;
  color: #9c9c9c;
}

#social-btn-cotent-xlarge{
  position: absolute;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  float: left;
  width: 16.66667%;
  left: -117px;
}
#social-btn-cotent-xlarge .SocialMediaShareButton{
  display: block;
  margin-left: 30px;
}
.SocialMediaShareButton div{
  cursor: pointer;
}

.SocialMediaShareButton:focus{
  outline: none;
}

@media (min-width: 1400px) {
  #election-results .progress-bar {
    width: 300px;
  }
}

@media (min-width: 1200px) {
  .container-fluid .col-sm-8{
    width: 83.33333%;
    position: relative;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    margin-left: 90px;
  }
  .results-table table thead tr td, .results-table table tbody tr td, 
  #election-results .timestamp, #election-results .reporting{
    font-size: 15px;
  }
}
@media (min-width: 640px) {
  #election-results .results-title h1 {
    font-size: 27px;
    line-height: 2.25rem;
    border-bottom: 2px solid #818181;
    margin-bottom: 1rem;
  }
}
.navbar-fixed-top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
}
#election-results .navbar-fixed-top .region-branding .logo img {
  max-height: 40px;
}
#election-results .navbar-fixed-top .region-branding .logo {
  height: 40px;
}
#election-results .navbar-fixed-top .region-branding .us-flag img {
  max-height: 32px;
}
#election-results .navbar-fixed-top .region-branding .us-flag {
  height: 32px;
  font-size: 18px;
}
#election-results .navbar-fixed-top .region-branding .logo.navbar-btn:after {
  top: 11px;
}
#election-results .navbar-fixed-top .region-branding span{
  margin-right: 15px;
}
#election-results .navbar-fixed-top .navbar{
  padding-top: 5px; 
  padding-bottom: 5px;
}
#election-results .region-branding span.wl-name {
  font-family: 'AP Sans';
  color: #282828;
  font-size: 20px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding-top: 22px;
  padding-right: 10px;
}
.ap-header-default .region-branding .logo.logo-navbar-text:after{
  position: absolute;
  content: " ";
  height: 32px;
  width: 1px;
  background: #ccc;
  top: 12px;
  right: 0;
}

#election-results .navbar-fixed-top .region-branding .logo.logo-navbar-text:after {
  top: 11px;
  height: 22px;
}
#election-results .navbar-fixed-top .region-branding span.wl-name {
  padding-top: 16px;
  font-size: 16px;
}

.test-elections-results{
  background-image: url(../images/banner-test-data.png);
  background-size: 160px 160px;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
}
