#corporate {
  background-color: white; }

.toolTipPoliticalTwoElementsDiv, .toolTipPoliticalSingleElementDiv, .toolTipRS100Div {
  position: absolute;
  z-index: 10;
  border: grey;
  border-style: solid;
  border-width: 1px;
  display: none; }

.toolTipPoliticalTwoElementsDiv {
  height: 12vmax;
  width: 15vmax;
  background-color: rgba(230, 230, 230, 0.5); }

.toolTipPoliticalSingleElementDiv {
  height: 16vmax;
  width: 9vmax;
  background-color: rgba(230, 230, 230, 0.7); }

.toolTipPoliticalContainerDiv {
  height: 100%;
  width: 100%; }

.toolTipPoliticalStateNameDiv, .toolTipSenatorField {
  text-align: center;
  width: 100%; }

.toolTipPoliticalStateNameDiv {
  margin-bottom: 5px;
  height: 5px; }

.toolTipSenatorField {
  font-size: 0.9vmax;
  height: 10%; }

.politicalProfileDivSingle, .politicalProfileDivDouble {
  height: 80%; }

.politicalProfileDivSingle {
  width: 100%; }

.politicalProfileDivDouble {
  width: 45%;
  float: left; }

.demPartyCount, .repPartyCount {
  font-size: 5vmax;
  float: left;
  width: 40%; }

.demPartyCount {
  color: blue; }

.repPartyCount {
  color: #CC0000; }

#distro {
  text-align: center; }

#selectorDiv {
  width: 22%;
  height: 80%;
  background-color: rgba(255, 255, 255, 0);
  position: absolute;
  right: 5px;
  top: 25px;
  overflow: auto;
  font-size: 10;
  margin: 10px; }

.selectorRow {
  width: 100%; }

.stateName {
  width: 62%;
  float: left;
  margin-right: 5px;
  text-align: right; }

.party {
  width: 15%;
  height: 1.5vmax;
  float: left;
  border: #e6e6e6;
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
  opacity: 0.8; }

.redParty {
  background-color: #CC0000; }

.blueParty {
  background-color: blue; }

.visTitle {
  color: #050505;
  margin-left: 1.5vmax;
  font-size: 1.15vmax;
  letter-spacing: 2px;
  margin-bottom: 5px;
  font-weight: 500; }

.buttonBar {
  margin-left: 1.5vmax;
  font-size: 1.5vmin;
  height: 5%; }

.textButton {
  float: left;
  margin-right: 1vmax;
  color: green; }

.textButton:hover {
  cursor: pointer;
  color: black; }

/* @media (min-width: 600px) {
	.buttonBar {
	   font-size: 0.8vw;
	}	
}

@media (min-width: 1300px) {
    .buttonBar {
       font-size: 1.5vw;
    }   
} */
.links line {
  stroke: #999;
  stroke-opacity: 0.6; }

.nodes circle {
  stroke: #fff;
  stroke-width: 1.5px; }

.targetState {
  opacity: 0.8; }

.targetState:hover {
  opacity: 1; }

.state-borders {
  fill: none;
  stroke: #fff;
  stroke-width: 0.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none; }

/* Main View */
#mainVis {
  height: 85%;
  width: 100%; }

.visPanel {
  height: 50%;
  width: 40%;
  background-color: white;
  position: absolute;
  border-style: solid;
  border-color: #808080;
  border-width: 1px; }

.visPanel:hover {
  opacity: 1; }

/*  Main Menu */
.mainMenu {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3vmin;
  cursor: pointer; }

.mainMenu:hover, .mainMenu:focus {
  background-color: #FEFEFE; }

.mainMenuDiv {
  position: relative;
  display: inline-block; }

#mainMenuContents {
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #fafafa;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1; }

.mainMenu-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block; }

.mainMenuItem {
  display: none;
  font-size: 1.5vmin;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  color: black;
  z-index: 1;
  white-space: nowrap;
  text-align: center; }

.mainMenuItem:hover {
  background-color: #e6e6e6;
  text-decoration: none; }

.titleBar {
  height: 5%;
  width: 100%;
  text-align: right; }

.visPanelFooter {
  position: absolute;
  font-size: 1.5vmin;
  bottom: 5px;
  margin-left: 10px;
  letter-spacing: 5px; }

.visPanelFooter:hover {
  opacity: 1; }

.fullScreenButton {
  margin-right: 5px;
  margin-top: 5px;
  font-size: 2vmin;
  color: grey; }

.fullScreenButton:hover {
  cursor: pointer;
  color: black; }

.grid {
  opacity: 0.2; }

.axis {
  font-family: arial;
  font-size: 1.5vmin;
  text-transform: uppercase; }

.bar {
  stroke-width: 1px;
  stroke: #001100; }

#title {
  font-size: 5vmin;
  padding-left: 10px;
  opacity: 1;
  color: black;
  letter-spacing: 1em;
  text-align: center; }

#subTitle {
  font-size: 3vmin;
  padding-left: 10px;
  opacity: 1;
  color: #DDDDFF;
  letter-spacing: .50em;
  text-align: center;
  color: black; }

.mainVisPanel {
  height: 85%;
  width: 100%; }

#mainVisPanel1 {
  height: 90%;
  width: 50%;
  float: left; }

#mainVisPanel2 {
  height: 90%;
  width: 50%;
  float: left; }

.graphToolBar {
  text-align: right;
  margin-right: 5px;
  font-size: 11px;
  float: right; }

.yearSelect {
  float: left;
  font-size: 12px; }

.backgroundGraphName {
  font-size: 8vmax;
  opacity: 0.1;
  fill: black; }

.backgroundGraphNameSmall {
  font-size: 4vmax; }

.sortArrow {
  margin-right: 5px; }

.xAxisLabel {
  fill: black;
  text-anchor: end; }

/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: arial;
  font-weight: bold; }

.custom-select select {
  display: none;
  /*hide original SELECT element:*/ }

.select-selected {
  background-color: rgba(255, 255, 255, 0.9);
  right: 50px; }

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  bottom: 5px;
  right: 10px;
  width: 0;
  height: 0; }

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  bottom: 5px; }

/*style the items (options), including the selected item:*/
.select-items div, .select-selected {
  color: #141010;
  padding: 8px 16px;
  cursor: pointer; }

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  bottom: 30;
  right: 0;
  z-index: 99;
  white-space: nowrap; }

/*hide the items when the select box is closed:*/
.select-hide {
  display: none; }

.select-items div:hover {
  background-color: rgba(0, 0, 0, 0.1); }

#menu {
  position: absolute;
  top: 20px;
  left: 30px; }

#menu .item {
  margin-bottom: 12px; }

#menu .item input {
  width: 100px; }

#menu select {
  margin-top: 4px; }

#menu .item .value {
  font-weight: bold; }

#menu .item span, #menu .item input {
  vertical-align: middle;
  float: left;
  margin-left: 5px; }

#menu .item .low {
  display: inline-block;
  width: 30px;
  text-align: right;
  margin-right: 5px; }

.country {
  fill: #FFFFFF;
  /* country colour */
  stroke: #2A2C39;
  /* country border colour */
  stroke-width: 0.5;
  /* country border width */ }

.country-on {
  fill: #4B5358;
  /* highlight colour for selected country */ }

.countryLabel {
  display: none;
  /* hide all country labels by default */ }

.countryName {
  font-size: 12;
  fill: #000000;
  /* country label text  */ }

.countryLabelBg {
  fill: #e9f1f3;
  /* country label background colour */ }

#usStates5 {
  height: 95%;
  width: 65%;
  margin-left: 10px; }

#challenges {
  margin-left: 10px;
  margin-right: 10px;
  height: 90%;
  width: 30%;
  float: left; }

#challengesHeader {
  text-align: center;
  letter-spacing: 5px;
  font-size: 12px;
  cursor: pointer; }

#headerSocial {
  height: 20%; }

#challengeSelect {
  height: 100%;
  width: 100%; }

#challengeList {
  font-size: 12px; }

#rsTitle {
  font-size: 1.5vmax; }

.toolTipRS100Div {
  height: 22vmax;
  width: 22vmax;
  background-color: rgba(230, 230, 230, 0.9);
  font-size: 12px;
  padding: 10px; }

.leaflet-pane,
.leaflet-container,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane,
.leaflet-map-pane canvas,
.leaflet-map-pane svg {
  z-index: 0; }

.circleMarker {
  stroke: red; }

.custom .leaflet-popup-tip,
.custom .leaflet-popup-content-wrapper {
  background: #e6e6e6;
  border: blue;
  border-width: 2px;
  border-style: solid;
  border-radius: 1px; }

#whoPanel, #whatPanel, #contactPanel {
  top: 100px;
  height: 500px;
  width: 500px;
  display: none;
  position: absolute;
  border: #a0a0a3;
  border-width: 1px;
  border-style: solid;
  z-index: 1;
  background-color: #f8f1f1; }

#contactPanel {
  height: 125px;
  width: 200px;
  padding-top: 10px;
  text-align: center; }

.menuPanel {
  padding: 10px; }

.titleBar.menuPanelX {
  padding-right: 5px;
  padding-top: 2px;
  cursor: pointer; }

.list-group.explain {
  text-align: center; }

.explainTitle {
  font-size: 18px;
  letter-spacing: 5px;
  text-align: center;
  padding: 15px;
  font-weight: 500; }

.explainFooter {
  font-size: 16px;
  letter-spacing: 5px;
  text-align: center;
  padding: 15px;
  font-weight: 500; }

.list-group.explain.contact {
  padding-top: 20px; }

.wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto; }

.header {
  grid-column: span 2; }

.finTitle {
  grid-column: span 2; }

.finGraph {
  grid-column: span 1;
  height: 80%;
  width: 50%; }

.finFooter {
  grid-column: span 2; }
