/********* Table Widgets Base Styles ********/
/*------------------------------------*/
.table-widget-wrapper {
  min-width: 298px;
  position: relative;
  border: 1px solid transparent;
  line-height: 16px;
  background-color: transparent;
  font-family: Verdana, Arial, Geneva, sans-serif;
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  text-align: left;
  /*width:298px;*/
}

.table-widget-wrapper * {
  box-sizing: border-box;
  text-indent: 0px;
  font-family: Verdana, Arial, Geneva, sans-serif;
}

.title-block {
  background: transparent;
  border: 1px solid transparent;
  height: 38px;
  margin-bottom: 8px;
  overflow: hidden;
}

.title-block h1.widget-title {
  margin: 0;
  padding: 0 81px 0 0;
  position: relative;
  font-family: inherit;
  font-size: 15px;
  line-height: 17px;
  color: #000;
}

.title-block h1.widget-title:hover {
  color: #146994;
}

.title-block h1.widget-title label {
  cursor: pointer;
}

.race-block {
  background: #f9f9f9;
  border: 1px solid #ececec;
  margin-bottom: 12px;
  padding: 8px;
  position: relative;
}

.race-block .race {
  display: inline-block;
  font-size: 15px;
  width: 75%;
}

.race-block .nav-arrows {
  display: inline-block;
  position: absolute;
  right: 8px;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 24px;
}

.results-block {
  margin-bottom: 0; /*10px*/
}

.results-block h2 {
  margin: 0 0 4px 0;
  padding: 0 81px 0 0;
  position: relative;
  font-family: inherit;
  font-size: 14px;
  line-height: 14px;
  color: #104ba5;
  text-transform: uppercase;
}

.results-block span {
  font-weight: 700;
}
.ap-ele-wdt thead span {
  font-weight: bold;
}

.legend-block {
  position: relative;
}

.legend-block.verticle {
  position: relative;
  float: none;
}

.legend-block ul {
  list-style-type: none;
  padding-left: 0;
}

.legend-block li {
  display: inline-block;
  margin-right: 10px;
}

.legend-block li:first-child {
  margin-right: 10px;
}

.legend-block .incumbent:before {
  font-weight: 700;
  margin-right: 5px;
}

.legend-block .runoff:before {
  content: "R";
  font-weight: 700;
  margin-right: 5px;
}

.legend-block .winner:before {
  content: url(../images/check.png);
  vertical-align: top;
}

.ap-content-wrapper {
  float: left;
  width: 100%;
  padding-bottom: 3%;
  /* overflow: hidden; */
}

.ap-content-wrapper .inner-frame {
  border: 1px #ccc solid;
  padding: 0 1px
}

.ap-content-wrapper .inner-frame table {
  padding: 0;
  margin: 0;
  border-collapse: collapse;
  width: 100%;
}

.ap-content-wrapper .inner-frame table th {
  height: 20px;
  line-height: 20px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px #ccc solid;
  background-color: #fff;
  text-align: left;
  padding-left: 8px;
}

.ap-content-wrapper .inner-frame table th.col1 {
  text-align: center;
  padding-left: 0;
}

.ap-content-wrapper .col1 {
  min-width: 34px;
  width: auto;
  text-align: center;
}

.ap-content-wrapper .col2 {
  width: 50%;
}

.ap-content-wrapper .col3 {
  width: 50%;
}

.ap-content-wrapper .inner-frame table td {
  padding: 0 8px;
  vertical-align: middle;
  border-bottom-width: 1px;
  border-top-width: 1px;
  text-align: left;
  cursor: pointer;
  height: 45px;
}

.ap-content-wrapper .inner-frame .outer-cell {
  height: 33px;
  overflow: hidden;
}

.ap-content-wrapper .inner-frame .inner-cell {
  display: table-cell;
  vertical-align: middle;
  height: 33px;
}

.ap-content-wrapper .inner-frame table td.col1 {
  text-align: center;
  border-right-width: 1px;
}

.ap-content-wrapper .inner-frame table td.col1 span.row-number {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
  color: #fff;
  background: #69f;
  font-weight: 700;
  display: block;
}

.ap-content-wrapper .inner-frame table td.col2 {
  border-right-width: 1px;
}

.ap-content-wrapper .inner-frame table tbody tr.tr-even td {
  background-color: #fff;
}

.ap-content-wrapper .inner-frame table tbody tr.tr-odd td {
  background-color: #f9f9f9;
}

.ap-content-wrapper .content-block {
  margin-bottom: 10px;
  margin-top: 5px;
}

.ap-content-wrapper .featured-block {
  display: none;
}

.ap-content-wrapper button {
  height: 42px;
  line-height: 42px;
  background-color: #1c94d0;
  display: inline-block;
  width: 51% !important;
  position: absolute;
  border: 1px transparent solid;
  margin-top: 2px;
  margin-left: -2px;
  color: #fff;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  padding: 0px !important;
}

.ap-content-wrapper button:hover {
  background-color: #146994;
}

.ap-content-wrapper button.button-right {
  margin-left: 0px;
  left: 51%;
}

.ap-content-wrapper button.button-left span:after {
  content: "";
  margin-left: 6px;
}

.ap-content-wrapper button.button-left span:before {
  content: url(../images/dots_icn.png);
  margin-right: 6px;
}

.ap-content-wrapper button.button-right span:after {
  content: url(../images/house_icn.png);
  margin-left: 6px;
}

.ap-content-wrapper button.button-right span:before {
  content: "";
  margin-right: 6px;
}

.ap-content-wrapper .nav-wrapper {
  position: relative;
  width: 98.2%;
}
.election-results .ap-content-wrapper .nav-wrapper{
    width: 100%;
}
.election-results .ap-content-wrapper .nav-wrapper  a {
    width:49%;
    height: 42px;
    display: inline-block
}

.ad-block {
  width: 300px;
  height: 250px;
  position: absolute;
  right: 0px;
}

.ad-block span.description {
  position: absolute;
  left: 0px;
  color: #999;
  text-transform: uppercase;
  width: 300px;
  text-align: center;
  font-size: 10px;
  margin-top: 256px;
}

.ad-block .ad-container, .ad-container-small {
  width: 300px;
  height: 250px;
  background-color: #b6b6ab;
  text-align: center;
}

.ad-container-small {
  right: 0px;
  width: 81px;
  height: 31px;
  position: absolute;
  top: 0px;
  color: #fff;
  line-height: 28px;
}

/*-------------Table Widgets Verticle Styles-----------------*/

.election-results.table-widget-wrapper.verticle .ap-content-wrapper .col1 {
  width: 60px;
  padding: 0;
}

.election-results.table-widget-wrapper.verticle .ap-content-wrapper .col2 {
  width: 75%;
}

.election-results.table-widget-wrapper.verticle .ap-content-wrapper .col3 {
  width: 6%;
}

.election-results.table-widget-wrapper.verticle .ap-content-wrapper .col4 {
  width: 20%;
}

/*----------- Table Widget Election Results  -----------------*/

.election-results .results-block div.state-name{  
    color: #777777;
    font-weight: bold;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 13px;
    border-bottom: 2px solid #888888;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    padding-bottom: 3px;
}

.election-results .results-block div.race-title{
  color: #000;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

.election-results thead tr td:nth-child(3),
.election-results thead tr td:nth-child(4),
.election-results tbody tr td:nth-child(3) div span,
.election-results tbody tr td:nth-child(4) div span{
 text-align: right;
}

.election-results .results-block span{
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
}

.legend-block .max-winners{
  float: left;
  display: inline-block;
}

.legend-block .max-winners span{
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  color: #000000;
  font-size: 12px;
  line-height: 18px;
}
.legend-block .irw{
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  float: right;
  display: inline-block;
}

.election-results.table-widget-wrapper .ap-content-wrapper table{
  margin-top: 5px;
  border-bottom: 1px solid #818181;
  border-left: 0;
  border-right: 0;
  border-collapse: collapse;
  border-spacing: 2px;
  margin-bottom: .6rem;
  padding-bottom: 2px;
  width: 100%;
}

.election-results.table-widget-wrapper .ap-content-wrapper table thead{
  background: #ffffff;
  border-top: 2px solid #818181;
}

.election-results.table-widget-wrapper .ap-content-wrapper table thead tr{
  border-bottom: 1px solid #818181;
 
}

.election-results .content-block table td, .election-results .content-block table tbody tr td span,
.election-results .content-block table thead tr td span{
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  padding-left: 0px;
  font-size: 13px;
  font-weight: normal;
}

.election-results .content-block table td.col1{
  text-align: left;
}

.election-results.table-widget-wrapper .widget-date {
  display: inline-block;
  float: right;
  font-size: 13px;
  padding-top: 1px;
  overflow: hidden;
  color: #424242;
  font-size: 13px;
  font-weight: normal;
}
.election-results  .legend-block .irw ul{
  line-height: normal;
  margin-top: 0px;
}

.election-results  .legend-block .irw ul li{
  display: block;
  float: left;
  list-style: none;
  margin: 0 0 0 .5rem !important;
  font-size: 12px;
  color: #424242;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

.election-results  .legend-block .irw .incumbent span:before,
.election-results .content-block table tr td span.incumbent:before{
  content: "(";
  color: #424242;
  padding-right: 1px;
}

.election-results  .legend-block .irw .incumbent span:after,
.election-results .content-block table tr td span.incumbent:after{
  content: ")";
  color: #424242;
  padding-left: 1px;
}

.election-results  .legend-block .irw .incumbent span,
.election-results .content-block table tr td span.incumbent{
  font-weight: 700;
  margin-right: 3px;
  color: #b82dc1;
  display: inline-block;
}
.election-results  .legend-block .irw .winner:before{
    content: "";
    line-height: 17px;
}

.election-results  .legend-block .irw .winner img{
  margin-right: 2px;
  width: 14px;
  height: 14px;
}

.election-results .content-block  div.check-winner{
  display: inline;
  margin-left: 2px;
}

.election-results .content-block  div.check-winner img{
    display: inline-block;
    width: 14px;
    height: 14px;
}

.fa{
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.election-results .ap-content-wrapper .inner-frame{
 border: none; 
}

.election-results.table-widget-wrapper .ap-content-wrapper th {
  padding: 1px 6px;
  text-align: center;
}

.election-results.table-widget-wrapper .ap-content-wrapper th.col6 {
  border-right: 0;
}

.election-results.table-widget-wrapper .ap-content-wrapper .col1 {
  width: 60px;
  padding: 0;
}

.election-results.table-widget-wrapper .ap-content-wrapper .col2 {
  width: 20%;
}

.election-results.table-widget-wrapper .ap-content-wrapper .col3 {
  width: 6%;
}

.election-results.table-widget-wrapper .ap-content-wrapper .col4 {
  width: 15%;
}

.election-results.table-widget-wrapper .ap-content-wrapper .col5 {
  width: auto;
}

@media only screen and (max-width: 45.063em) {
  .election-results .content-block table thead tr > td:last-of-type {
    /*border-bottom: 1px solid #fff;*/
  }
}

.table-widget-wrapper .ap-content-wrapper .inner-frame table td.col3,
.table-widget-wrapper .ap-content-wrapper .inner-frame table td.col4,
.table-widget-wrapper .ap-content-wrapper .inner-frame table td.col5,
.table-widget-wrapper .ap-content-wrapper .inner-frame table td.col6 {
  border-right-width: 1px;
  text-align: center;
}

.table-widget-wrapper .ap-content-wrapper .inner-frame table td.col6 {
  border-right-width: 0;
}

.table-widget-wrapper .ap-content-wrapper .inner-frame .inner-cell {
  width: 190px; /* 30px */
}

.progress-bar {
  display: block;
  width: 200px;
  background: #ececec;
  position: relative;
  height:auto;
}

/* @media only screen and (min-width: 40.063em) {
.progress-bar {
display: block;
}
}

@media only screen and (min-width: 90.063em) {
.progress-bar {
width: 400px;
}
} */

.progress-bar-percentage {
  padding: 6px 0;
  text-align: center;
  height: 2px;
}

.progress-bar-percentage span {
  display: inline-block;
  position: absolute;
  width: 100%;
  left: 0;
}

.progress-bar-percentage {
  background: #222222;
}

.progress-bar-dem {
  background: #5186b4;
}

.progress-bar-rep {
  background: #c43d49;
}

.progress-bar-lib, .progress-bar-np, .progress-bar-oth {
  background: #777777;
}

.progress-bar-yes {
  background: #c43d49;
}

.progress-bar-no {
  background: #777777;
}

.token-party-dem {
  color: #5186b4;
  font-weight: 700;
}

.token-party-rep {
  color: #c43d49;
  font-weight: 700;
}

.token-party-lib, .token-party-np {
  color: #777777;
  font-weight: 700;
}

.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%;
    font-weight: bold;
    margin-bottom: 20px;
}
.elections-widget-footer{
  border-bottom: 2px solid #818181;
  clear: both;
  padding-top: 10px;
}
.elections-widget-footer .elections-widget-footer-logo{
  float: left;
  width: 35px;
  margin-top: 11px;
}
.elections-widget-footer .elections-widget-footer-logo img{
  width: 35px;
}
.elections-widget-footer .elections-widget-footer-link{
  float: right;
  margin-top: 11px;
}
.elections-widget-footer .elections-widget-footer-link li{
  list-style: none;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  padding-left: 0px;
  font-size: 11px;
  text-align: left;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  text-align: right;
}
.elections-widget-footer .elections-widget-footer-link li a{
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  padding-left: 0px;
  font-size: 11px;
  text-align: left;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
}

.elections-widget-footer .elections-widget-footer-link li a:hover{
  color: #333333;
}

.results-block-wrap{
  margin-bottom: 40px;
}

.election-county-link a {
    float: left;
    text-decoration: none;
    color: #5186b4;
    clear: both;
    margin-bottom: 20px;
    text-transform: uppercase;
}

@media only screen and (max-width: 480px) {
    .election-results.table-widget-wrapper .widget-date {
        float: left;
        clear: both;
        width: 100%;
        margin-top: 5px;
    }
    .election-results  .legend-block .irw {
        float: left;
        clear: both;
        margin-bottom: 5px;
    }
    .election-results .legend-block .irw ul li {
        margin: 0 .5rem 0 0 !important;
    }
    .progress-bar {
        display: none;
    }
}

@media only screen and (min-width: 481px) {
    .progress-bar {
        display: block;
    }
}