body {
  font-family: "ROBOTO", sans-serif;
  font-size: 16px;
}

a:not([href]) {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

.polls-header h1,
.polls-social,
#under-title,
#under-title-mobile,
#under-title-small,
#rcp_admap,
#candidate-snapshot,
.chart_wrapper {
  display: none;
}
h2.page_title {
  font-size: 1.2em;
  font-weight: 900;
  font-family: "Helvetical Neue", sans-serif;
}

h3.red-bar-section {
  margin: 20px 0 0;
  text-align: center;
  background-color: #dc0000;
  padding: 3px 0;
  color: #fff;
}

#polling-data-rcp,
#polling-data-full {
  clear: both;
  overflow: auto;
}
  #polling-data-rcp .mobile_pollster_name,
  #polling-data-full .mobile_pollster_name {
    display: none;
  }
    #polling-data-rcp .foot,
    #polling-data-full .foot {
      margin: 0px 0px 20px;
      text-align: center;
      font-size: 12px;
      padding: 2px 0px;
      background: #F5F5F5;
      border-bottom: 1px solid #eee;
      font-weight: bold;
    }
  #polling-data-rcp.small_table,
  #polling-data-full.small_table {
    display: none;
  }
  #polling-data-rcp.flipped_table,
  #polling-data-full.flipped_table {
    display: none;
  }
#polling-data-rcp h3,
#polling-data-full h3,
h3.red-bar-section {
  margin: 20px 0 0;
  text-align: center;
  background-color: #DC0000;
  color: #fff;
  padding: 3px 0;
}
h3.red-bar-section a {
  color: #fff;
}
body.polls.comparison #polling-data-rcp h3,
body.polls.comparison #polling-data-full h3,
body.polls.comparison h3.red-bar-section {
  background: #ddd;
  color: #000;
  float: left;
  width: 100%;
  margin-top: 20px;
}

@media ( max-width : 567px ) {
  h3.red-bar-section .mobile_hide {
    display: none;
  }
}

#polling-data-rcp table.data,
#polling-data-full table.data {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%
}
  #polling-data-rcp table.data .rcpAvg,
  #polling-data-full table.data .rcpAvg,
  #polling-data-rcp table.data .rcpAvg2,
  #polling-data-full table.data .rcpAvg2 {
    font-weight: bold;
  }
  #polling-data-rcp table.data tr td,
  #polling-data-full table.data tr td {
    border-bottom: 1px solid #EEEEEE;
    background-color: #F5F5F5;
  }
  #polling-data-rcp table.data tr.header th,
  #polling-data-full table.data tr.header th {
    border-bottom: 1px solid #272727;
    background-color: #000000;
    color: #fff;
  }
  #polling-data-rcp table.data tr.rcpAvg td,
  #polling-data-full table.data tr.rcpAvg td,
  #polling-data-rcp table.data tr.final td,
  #polling-data-full table.data tr.final td {
    border-bottom: 1px solid #E5D364;
    background-color: #F0DF6B;
  }
  #polling-data-rcp table.data tr.rcpAvg2 td,
  #polling-data-full table.data tr.rcpAvg2 td {
    border-bottom: 1px solid #bbb;
    background-color: #ccc;
  }
  #polling-data-rcp table.data tr.alt td,
  #polling-data-full table.data tr.alt td {
    background-color: #fff;
  }
  #polling-data-full table.data tr.isInRcpAvg td {
    background-color: #ddd;
    border-bottom: 1px solid #ccc;
  }
  #polling-data-full table.data tr.isInRcpAvg td {
    border-left: 1px solid #ccc;
  }
  #polling-data-rcp table.data tr th,
  #polling-data-full table.data tr th {
    border-left: 1px solid #272727;
    padding: 3px 0;
    word-break: break-all;
  }
  #polling-data-rcp table.data.large tr.header th,
  #polling-data-full table.data.large tr.header th {
    border-left: 1px solid #070707;
  }
  #polling-data-rcp table.data tr.rcpAvg td,
  #polling-data-full table.data tr.rcpAvg td {
    border-left: 1px solid #E5D364;
    padding: 3px 0;
    text-align: center;
  }
  #polling-data-rcp table.data tr.rcpAvg2 td,
  #polling-data-full table.data tr.rcpAvg2 td {
    border-left: 1px solid #bbb;
    padding: 3px 0;
    text-align: center;
  }
  #polling-data-rcp table.data tr td,
  #polling-data-full table.data tr td {
    border-left: 1px solid #EEEEEE;
    padding: 3px 0;
    text-align: center;
    /*word-break: keep-all;*/
    white-space: nowrap;
  }
  #polling-data-rcp table.data tr td:first-child,
  #polling-data-full table.data tr td:first-child {
    text-align: left;
    padding: 3px 0 3px 10px;
    min-width: 76px;
  }
  #polling-data-rcp table.data tr.final td,
  #polling-data-full table.data tr.final td {
    border-left: 1px solid #E5D364;
    /*padding: 2px 0;*/
    font-weight: bold;
  }
  #polling-data-rcp table.data tr td:first-child,
  #polling-data-full table.data tr td:first-child {
    border-left: none;
    word-wrap: break-word;
    white-space: normal;
  }
  #polling-data-rcp table.data tr td.spread .dem,
  #polling-data-full table.data tr td.spread .dem {
    color:#00F;
  }
  #polling-data-rcp table.data tr td.spread .gop,
  #polling-data-full table.data tr td.spread .gop,
  #polling-data-rcp table.data tr td.spread .rep,
  #polling-data-full table.data tr td.spread .rep {
    color:#ff0000;
  }

@media ( max-width : 549px ){

  #polling-data-rcp .normal_pollster_name,
  #polling-data-full .normal_pollster_name {
    display: none;
  }
  #polling-data-rcp .mobile_pollster_name,
  #polling-data-full .mobile_pollster_name {
    display: inline;
  }

  /* implement all diag styles that used to be applied 1139 */
  #polling-data-rcp  table.data.large tr.header th,
  #polling-data-full  table.data.large tr.header th,
  .polling_summary table.data.large tr.header th {
    background: none;
    color: #000;
  }
  #polling-data-rcp  table.data.large tr.header th.diag,
  #polling-data-full  table.data.large tr.header th.diag,
  .polling_summary table.data.large tr.header th.diag
  {
    height: 70px;
    white-space: nowrap;
    /*width: 30px;*/
  }

  #polling-data-rcp table.data.large tr.header th.diag > div,
  #polling-data-full table.data.large tr.header th.diag > div,
  .polling_summary table.data.large tr.header th.diag > div
  {
    color: #000;
    transform: translate(15px, -1px) rotate(315deg);
    -ms-transform: translate(15px, -1px) rotate(315deg);
    -webkit-transform: translate(15px, -1px) rotate(315deg);
    width: 23px;
    float: right;
  }
  #polling-data-rcp.go_diag  table.data.large tr.header th.diag > div,
  #polling-data-full.go_diag  table.data.large tr.header th.diag > div
  {
    /* Makes sure go_diag table is back to -1px instead of -3px */
    transform: translate(15px, -1px) rotate(315deg);
    -ms-transform: translate(15px, -1px) rotate(315deg);
    -webkit-transform: translate(15px, -1px) rotate(315deg);
  }

  #polling-data-rcp  table.data.large tr.header th.diag > div > span,
  #polling-data-full  table.data.large tr.header th.diag > div > span,
  .polling_summary table.data.large tr.header th.diag > div > span
  {
    border-bottom: 1px solid #070707;
    width: 100px;
    display: inline-block;
    text-align: left;
  }

  #polling-data-rcp  table.data.large tr.header,
  #polling-data-full  table.data.large tr.header,
  .polling_summary table.data.large tr.header {
    background: none;
    color: #000;
    vertical-align: bottom;
  }

  #polling-data-rcp  table.data.large tr.header th,
  #polling-data-full  table.data.large tr.header th,
  .polling_summary table.data.large tr.header th {
    border-left: none;
  }

  #polling-data-rcp  table.data.large tr.header th.spread,
  #polling-data-full  table.data.large tr.header th.spread,
  .polling_summary  table.data.large tr.header th.spread {
    text-align: right;
  }

  #polling-data-rcp  table.data.large tr td.cell_date,
  #polling-data-full  table.data.large tr td.cell_date,
  .polling_summary table.data.large tr td.cell_date,
  #polling-data-rcp  table.data.large tr th.cell_date,
  #polling-data-full  table.data.large tr th.cell_date,
  .polling_summary table.data.large tr th.cell_date {
    display: none;
  }
}

/*#candidate-snapshot {
  overflow: auto;
  width: 100%;
}
#candidate-snapshot h3 {
  margin-top: 0;
}
  #candidate-snapshot #candidates {
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #000;
    padding: 3px 3px 10px;
    margin-top: 10px;
    min-height: 230px;
  }
    #candidate-snapshot #candidates .candidate {
      display: inline-block;
      padding: 20px 10px 0;
    }
      #candidate-snapshot #candidates .candidate img {
        width: 87px;
      }
      #candidate-snapshot #candidates .candidate p {
        margin: 0;
      }
  #candidate-snapshot #snapshot {
        box-sizing: border-box;
        border: 1px solid #000;
        padding: 3px 3px 0;
        margin-top: 10px;
        min-height: 230px;
  }
    #candidate-snapshot #snapshot p {
      font-size:13px;
      line-height:1;
    }*/