/*This is a separate CSS file used just for the single page State Election Analysis 2016
there are no corresponding less files for this. As this page was considered a one off.
Github ticket https://github.com/NationalJournal/babbage/issues/2117
*/

.states {
  stroke: #fff;
  stroke-width: 2.0px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

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

#vizcontainer {
  padding-top: 40px;
  padding-right: 40px;
}

select {
  /* make arrow and background */
  background:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%),
    linear-gradient(to right, #0080AA, #0080AA);
  background-position:
    calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px),
    100% 0;
  background-size:
    5px 5px,
    5px 5px,
    2.5em 2.5em;
  background-repeat: no-repeat;

  /* styling and reset */
  border: thin solid #999;
  font: 300 1em/100% Freight Sans, Freight Sans, sans-serif;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;
	width: 100%;

  /* reset */
  border-radius: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance:none;
  -moz-appearance:none;
}

div.tooltip {
  position: absolute;
  text-align: center;
  width: 75px;
  height: 34px;
  padding: 2px;
  font: 12px Freight Sans, sans-serif;
  background: white;
  border: 0px;
  border-radius: 8px;
  pointer-events: none;
}

h1{
  font-family: Freight Sans, sans-serif;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 80px;
  line-height: 1;
  font-weight: 300;

}

h1.subhead{
  font-size: 30px;
  font-weight: 200;
}

#state-menu{
  padding-top: 10px;
}
