#g-vis h1 {
  font-weight: bold;
}
#g-vis .lead {
  font-weight: normal;
}

#g-vis-container {
  max-width: 850px;
  margin: 1% auto;
  font-family: "Lato";
}

.g-tip {
  position: absolute;
  width: 300px;
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  z-index: 1001;
  font-size: 12px;
  box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
  padding: 1em 1.32em;
}

.g-tip-mobile {
  left: 0;
  position: fixed;
  width: 100%;
  bottom: 0;
  border: none;
  border-radius: 0;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.legislator {
  position: absolute;
  left: 0;
  width: 100%;
  height: 28px;
  padding: 0 0 0 .25em;
  display: flex;
  align-items: center;
  /*margin-bottom: 1em;*/
}

.candidate-type {
  float: left;
  display: flex;
  align-items: normal;
  text-transform: capitalize;
  margin-bottom: 16px;
}

.candidate-type input {
  margin-right: 4px;
}

.candidate-type label {
  margin-right: 16px;
  cursor: pointer;
}

.left-col {
  line-height: 1em;
  padding: .35em 0 ;
}

.bar {
  height: 28px;
  /*float: left;*/
  position: absolute;
  background-color: #000;
  transform: translateY(-50%);
  /*border-right: 1px solid #fff;*/
}


.business_lobbyist {
  background-color: #1b9e77;
}
.party_source {
  background-color: #d95f02;
}
.single_interest {
  background-color: #7570b3;
}
.individual {
  background-color: #e7298a;
}
.other {
  background-color: #66a61e;
}
.small_donors {
  background-color: #e6ab02;
}

#g-vis label.form-check-label {
  font-weight: normal;
}


.faded {
  opacity: .35;
}

#g-vis button.btn {
  margin-bottom: .35em;
  border-color: #fff !important;
  opacity: .5;
  border-radius: 0px !important;
  outline: none;
}


#g-vis button.btn.active {
  opacity: 1;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);

}

.text-end {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: .45em .35em 0 0;
  font-size: 12px;
  color: #fff;
  text-align: right;

}

.form-check * {
  cursor: pointer;
}

table.table.g-table > thead > tr > th {

  padding: 2px;
  text-transform: uppercase;
  font-size: 10px;
  border-bottom: 1px solid #000;
  font-weight: normal;

}

table.table.g-table > tbody > tr > td {
  border: none;
  font-size: 12px;
  padding: 4px;
  border-bottom: 1px solid #eee;

}

table.table.g-table > tbody > tr > td span.key-block {
  width: 8px;
  height: 8px;
  display: block;
  float: left;
  margin: .5em .35em 0 0;
}

table.table.g-table {
  margin-bottom: 0;
}

.tip-header {
  font-size: 18px;
  text-align: center;
  margin-bottom: .15em;
}

.tip-subheader {
  font-size: 15px;
  margin-bottom: .5em;
  color: #777;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.type-sentence {
  font-size: 15px;
  margin: .35em 0 1em;
  font-weight: bold;
  min-height: 21px;
}

@media (min-width: 992px) {
  div.g-form-check {
/*    float: right;
    margin-top: .35em;*/
  }
}

.notes {
  margin: .32em 0;
}

.notes:first-child {
  margin-top: 1.5em;
}

.chamber-toggle {
    float: left;
    margin: 0 1em .25em 0;
    cursor: pointer;
}

.chamber-toggle:first-child {
  border-right: 1px solid #ddd;
  padding-right: calc(1em / 2);
  margin-right: calc(1em / 2);
}

.chamber-toggle.active {
  font-weight: bold;
}

span.text-end.outer {
    color: #000;
    left: 100%;
    z-index: 1000;
    padding: .45em 0 0 .35em;
    text-align: left;
}

span.text-end.outer.invert-color {
  color: #000;
}

div.is-hovered {
  background: #eee;
}

.g-radios div {
  float: left;
}

.g-radios input {
  margin-right: 4px;
}

.g-radios label {
  margin-right: 16px; 
}

.key-block {
	width: 10px;
	height: 10px;
	background-color: rgb(132, 185, 216);
	border-radius: 50%;
	display: inline-block;
	margin-right: .35em;
}

.key-block.republican {
	background-color: rgb(233, 74, 66);
}

.key-block.independent {
	background-color: rgb(249, 191, 100);
}