/* Unsure if SCSS is being used on this site, so creating this file to keep
things separate and avoid overwriting the main CSS file by compiling the SASS. */
.print-only-header {
  display: none;
}
.hero-hidden {
  margin-top: 35px;
}
div.map-wrp {
  max-width: 1200px;
}

/* jQuery UI Tabs */
div.judicial-tabs {
  border: none;
  background: none;
  color: inherit;
}
div.judicial-tabs > ul  {
  border: none;
  border-bottom: 1px solid #DDDDDD;
  padding: 0;
  background: transparent;
}
.judicial-tabs h3 {
  text-align: center;
  color: #20419B;
  clear: left;
}
.judicial-tabs h4 {
  text-align: center;
  color: #AE001A;
}
.judicial-tabs h5 {
  text-align: center;
  font-size: 18px;
  margin: 10px 0;
}
.description.single-item div.judicial-tabs > ul > li {
  float: left;
  margin-bottom: -1px;
  padding-left: 0;
  background-color: #f5f7fa;
  margin-right: 15px;
}
.description.single-item div.judicial-tabs > ul > li.ui-tabs-active,
.description.single-item div.judicial-tabs > ul > li:hover {
  background: white;
}
div.judicial-tabs > ul > li:before {
  display: none;
}
li.ui-state-active a,
li.ui-state-active a:link,
li.ui-state-active a:visited {
  color: #20419B;
  font-weight: bold;
  text-decoration: none;
}
.judicial-tabs h2 {
  text-align: center;
  color: #20419B;
  font-weight: bold;
  font-size: 26px;
  margin-bottom: 35px;
  margin-top: 20px;
}
@media(max-width: 767px) {
  .judicial-tabs>ul>li,
  .judicial-tabs>ul>li>a {
    width: 100%;
    word-break: break-all;
    word-wrap: break-word;
    font-size: 16px;
  }
}

/* Tabby Tabs */
.judicial-tabs [data-tabs] {
  margin-bottom: 25px;
}
[data-tabs] a {
  border-radius: 0;
  font-family: Tahoma, sans-serif;
  padding: 20px;
  font-size: 18px;
}
.site-content .senate-vote-tabs {
  margin-bottom: 35px;
}
.site-content .senate-vote-tabs li {
  margin-bottom: 0;
  padding-left: 0;
}
.site-content .senate-vote-tabs li:before {
  display: none;
}
.senate-vote-tabs a {
  border-radius: 0;
  font-family: Tahoma, sans-serif;
  padding: 20px;
  font-size: 18px;
}

/* Map popup */
h2.district-circuit-heading {
  color: #20419B;
  text-align: center;
  font-weight: bold;
}
div.featherlight .featherlight-content {
  width: 80%;
  max-width: 1200px;
  min-height: 90vh;
}
div.featherlight .featherlight-close-icon {
  line-height: 75px;
  width: 75px;
  font-size: 50px;
  color: #20419B;
}
@media(max-width: 767px) {
  div.featherlight .featherlight-content {
    width: 95%;
  }
  div.featherlight .featherlight-close-icon {
    line-height: 50px;
    width: 50px;
    font-size: 30px;
  }
}

/* Judicial Charts */
.judicial-tabs [id$=tabs-2] > div,
.judicial-tabs [id$=tabs-3] > div {
  float: left;
  width: 50%;
  padding: 0 20px;
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media(max-width: 767px) {
  .judicial-tabs [id$=tabs-2] > div,
  .judicial-tabs [id$=tabs-3] > div {
    float: none;
    width: 100%;
    padding: 0;
  }
}

/* National Overview */
/* Utility */
.text-center {
  text-align: center;
}

/* Judicial Nomination National Overview cards */
.national-overview-heading {
  font-weight: bold;
  color: #003E28;
}
.jnno-card-row {
  gap: 20px;
  margin-bottom: 1em;
}
.jnno-card {
  box-sizing: border-box;
}
.jnno-card .contains-table {
  gap: 10px;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.jnno-card.col {
  width: 100%;
}
.jnno-card * {
  box-sizing: border-box;
}
.jnno-card .type-a,
.jnno-card .type-b {
  padding: 25px 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.jnno-card .type-b {
  background: transparent;
  color: #003E28;
  border: 2px solid #9EC11D;
}
.jnno-card-title {
  margin: 0 0 0.85em;
  font-family: var(--font-serif);
  font-weight: bold;
}
.jnno-card-number {
  box-sizing: border-box;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  /* var(--logo-red); */
  font-family: Tahoma, sans-serif;
  color: #003E28;
}
.type-b .jnno-card-number {
  width: 120px;
  height: 132px;
  font-size: 48px;
  font-family: Tahoma, sans-serif;
  background-color: transparent;
}
.type-b.solid .jnno-card-number {

}
.type-b .jnno-card-title {
  margin-top: -6px;
}
.type-b .num-col {
  flex-basis: 120px;
}
.type-b .table-col {
  width: fit-content;
  height: 132px;
  display: flex;
  align-items: center;
}
.type-b.solid td {
  color: white;
}
.type-a.solid,
.type-b.solid {
  background-color: transparent;
  color: #003E28;
  font-family: Tahoma, sans-serif;
  border: 2px solid #9EC11D;
}
.type-a.solid .jnno-card-title,
.type-b .jnno-card-title {
  color: #003E28;
  font-family: Tahoma, sans-serif;
}
.type-a {
  border: 2px solid #9EC11D;
}
.type-a .jnno-card-title {
  font-family: Tahoma, sans-serif;
}
.type-a.solid .jnno-card-number {
  background-color: #fff;
}
.type-b.solid .jnno-card-number {
  border-color: #fff;
  /*border: 0;
	background-color: #fff;*/
}
.type-b .table-col td {
  color: #003E28;
}
.table-col table {
  border-collapse: collapse;
  border: none;
  margin-left: 8px;
  margin-bottom: 0;
}
.table-col td {
  line-height: 1.2;
  vertical-align: top;
  padding: 3px 4px;
  font-size: 1.05em;
  font-family: Tahoma, sans-serif;
}
.table-col td:first-child {
  text-align: center;
}
@media (min-width: 667px) {
  .jnno-card-row .col-md-4 {
    width: calc(33.333333% - 15px);
  }
  .jnno-card-row .col-md-6 {
    width: calc(50% - 15px);
  }
}

@media (min-width: 992px) {
  .jnno-card-row .col-3 {
    flex: 1 2 calc(25% - 20px);
  }
  .jnno-card-row .col-4_5 {
    flex: 2 1 calc(37.5% - 20px);
  }
  .jnno-card-row .col-6 {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (min-width: 992px) {}

@media (min-width: 1240px) {
  .jnno-card .row {
    flex-wrap: nowrap;
  }
}
@media (max-width: 767px) {
  .table-col table {
    margin-left: 0;
  }
  .table-col td {
    display: block;
  }
}


/* Senate Votes individual page */
label[for=senate-vote-sort] {
  font-weight: bold;
}
.senate-vote-sort-wrap {
  position: relative;
  max-width: 350px;
  margin-bottom: 25px;
}
.senate-vote-sort-wrap i {
  position: absolute;
  bottom: 12px;
  pointer-events: none;
  right: 10px;
}
.senate-data-intro {
  margin-bottom: 35px;
}
.senate-vote-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.senator-card-wrap {
  width: calc(50% - 15px);
  margin-bottom: 30px;
  position: relative;
}
.senator-card {
  text-decoration: none;
}
.senator-card .fa-external-link {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  color: #001489;
}
.senate-votes-download {
  position: absolute;
  bottom: -5px;
  right: 20px;
  font-size: 17px;
  color: #001489;
  text-decoration: none;
  font-family: Tahoma, sans-serif;
}
.senate-votes-download i {
  margin-right: 5px;
}
.senator-card:hover i {
  color: #a6192e;
}
.senator-card-inner {
  display: flex;
  justify-content: space-between;
  border: 4px solid #001489;
  width: 100%;
  padding: 15px;
}
.senator-card:hover .senator-card-inner,
.senator-card:focus .senator-card-inner {
  border-color: #a6192e;
}
.senator-wrap {
  display: flex;
}
.senator-card__photo {
  margin-right: 20px;
}
.senator-card__photo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.state-svg-wrap {
  padding: 10px;
  margin-left: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background-color: #f9f9f9;
  border: 1px solid #efefef;*/
  flex-direction: column;
}
.state-svg {
  width: 100px;
  height: 100px;
}
.state-long {
  margin-top: 10px;
  text-transform: uppercase;
  font-family: tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12x;
}
.senator-name {
  color: #001489;
  margin-bottom: 10px;
}
.senator-card__party {
  color: #55565B;
  margin-bottom: 5px;
}
.senator-card__congress-wrap {
  text-align: center;
}
.senator-card__congress {
  display: inline-block;
  color: white;
  background: #777;
  border-radius: 4px;
  padding: 5px 8px;
  line-height: 1;
  text-align: center;
  font-size: 13px;
  width: auto;
  font-family: Tahoma, sans-serif;
}

.senator-popup {
  display: none;
}
.senator-popup-title h2 {
  text-align: center;
  margin-bottom: 40px;
}
.senator-name-chart-wrap {
  display: flex;
  justify-content: space-evenly;
}
.senator-popup .senator-name {
  margin-bottom: 14px;
}
.featherlight .senator-total,
.senator-popup .senator-name-party {
  display: none;
}
.featherlight .senator-name-party {
  font-weight: normal;
  text-align: center;
}
.featherlight canvas {
  width: 350px !important;
  height: 350px !important;
}
.featherlight .state-svg-wrap {
  margin-left: 0;
  justify-content: flex-start;
}
.state-headshot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.specific-votes {
  border-collapse: collapse;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 300px;
    max-width: 800px;
    margin: 35px auto;
}
.specific-votes thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}
.specific-votes th,
.specific-votes td {
  padding: 12px 15px;
  font-family: Tahoma, sans-serif;
}
.specific-votes tbody tr {
  border-bottom: 1px solid #dddddd;
}
.specific-votes tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
a.btn.senate-votes-button {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  max-width: 470px;
  font-size: 20px;
  padding: 12px 70px 11px 20px;
  margin-top: 35px;
  background-color: #20419B;
  color: white;
  clear: left;
}
@media(max-width: 767px) {
  .specific-votes th,
  .specific-votes td {
    display: table-cell;
    text-align: left;
  }
  a.btn.senate-votes-button {
    font-size: 16px;
    padding: 10px 50px 10px 10px;
    margin-top: 10px;
  }
}

@media(max-width: 1000px) {
  .senator-card__photo {
    display: none;
  }
  .senator-name-chart-wrap {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column-reverse;
    align-items: center;
  }
  .state-headshot-wrap {
    margin-bottom: 15px;
  }
}
@media(max-width: 767px) {
  .senator-card-wrap {
    width: 100%;
  }
  .senator-card-wrap {
    margin-bottom: 15px;
  }
  .senator-popup-title h2 {
    font-size: 23px;
    line-height: 1.4;
    margin-right: 20px;
    margin-left: 15px;
  }
}


/* Search */
#search-results {
  padding-right: 25px;
}
@media(max-width: 768px) {
  #search-results {
    padding-right: 0;
  }
}
div.wpgb-facet .wpgb-checkbox-facet .wpgb-checkbox-control {
  border-radius: 0;
  border-width: 1px;
}
.site-content div.wpgb-checkbox-facet ul li:before,
.site-content ul.wpgb-pagination li:before {
  display: none;
}
div.wpgb-facet .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-control {
  background-color: #001489;
  border-color: #001489;
}
div.wpgb-facet .wpgb-toggle-hidden {
  text-decoration: underline;
  background: transparent;
  padding: 0;
  margin: 10px 0;
}
div.wpgb-facet>fieldset:last-child {
  margin-bottom: 25px;
}
div.wpgb-facet button.wpgb-reset {
  background: #001489;
  color: white;
  border-radius: 0;
  padding: 9px 25px;
}
div.wpgb-facet .wpgb-pagination li a[aria-current] {
  color: #001489;
  text-decoration: underline;
  font-weight: bold;
}

/* Footer */
footer#colophon div.site-info {
  margin-top: 0;
}
.footer-text {
  margin: 10px 0 15px;
}
.footer-text p {
  margin-bottom: 0;
}

/* SCOTUS Updates */
.blog-filters {
  background: #F6F7FA;
  padding: 20px 20px 1px;
  margin-bottom: 30px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
}
.blog-filters .wpgb-facet-10 h4 {
  display: none;
}
.blog-filters .wpgb-facet .wpgb-hierarchical-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.blog-filters .wpgb-facet .wpgb-hierarchical-list li {
  width: 44%;
}
.blog-filters .wpgb-facet .wpgb-hierarchical-list li:nth-child(2) {
  margin-top: 0;
}
.blog-filters .wpgb-facet .wpgb-input,
.blog-filters .wpgb-facet .wpgb-select,
.blog-filters .wpgb-facet .wpgb-button:not(button),
.blog-filters .wpgb-facet .wpgb-radio .wpgb-radio-control,
.blog-filters .wpgb-facet .wpgb-checkbox .wpgb-checkbox-control,
.blog-filters .wpgb-facet .wpgb-checkbox .wpgb-checkbox-control:before {
  border-width: 1px;
  border-radius: 0;
}
.blog-filters .wpgb-facet input::-webkit-input-placeholder,
.blog-filters .wpgb-facet select::-webkit-input-placeholder {
  color: #55565b;
}

@media(max-width: 767px) {
  .sidebar-filters {
    flex-direction: column-reverse;
  }
}
