#figure {
  height: 510px;
}

#datatable td {
  text-align: right;
  padding-left: 8px;
  padding-right: 8px;
}

#datatable th {
  padding-left: 8px;
  padding-right: 8px;
}

td.stub, th.stub {
  text-align: left;
  font-weight: bold;
}

td.notes {
  text-align: left;
}

em {
  font-style: italic;
}

svg text {
  font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
  fill:#333333;
  font-size: 11px;
}

#title {
  font-size: 20px;
  font-weight: bold;
  font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
  color: #444444;
  line-height: 1.2rem;
}

#temp {
  font-size: 20px;
  font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
  position: absolute;
  visibility: hidden;
  height: auto;
  width: auto;
  white-space: nowrap;
}

.axislabel {
  color: #797979;
}

text#youngerlabel, text#olderlabel {
  font-size: 14px;
}

select#selectButtonNational {

  /* styling */
  font-size: 17px;
  font-weight: bold;
  font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
  background-color: white;
  border: none;
  border-bottom: solid orange;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0 1em 0 0 ;
  font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
  outline: 0;
  width: 80px;

  /* reset */

  margin: 0;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select option {
    background-color: #ffffff;
    border: none;
    font-size: 17px;
    font-weight: bold;
    font-family: "Gotham SSm A","Gotham SSm B","Proxima Nova",sans-serif;
}

select.minimal, select.minimal:focus {
  background-image:
    linear-gradient(45deg, transparent 50%, orange 50%),
    linear-gradient(135deg, orange 50%, transparent 50%);

    background-position:
    calc(100% - 8px) calc(.6em + 2px),
    calc(100% - 3px) calc(.6em + 2px),
    calc(100% - .5em) 0.5em;
    
    background-size:
    5px 5px,
    5px 5px,
    1px .8em;

  background-repeat: no-repeat;
}

.grid line {
  stroke: #d3d3d3;
  shape-rendering: crispEdges;
}
.xaxis .tick line {
  stroke: #000000;
}

.tick text {
  font-size: 12px;
}

span.legend1 {
  color: #ED724E;
}

span.legend2 {
  color: #337789;
}

path.domain  {
  stroke: #d3d3d3;
}

@media only screen and (max-width: 560px) {
  #figure {
   height: 280px;
  }

  #title {
    font-size: 16px;
    line-height: 1.5em;
  }

  #temp {
    font-size: 16px;
  }

  select#selectButtonNational {
    width: 67px;
  }
}

#datatable a, #tab-3 a {
  color: #00788A;
}

#tab-3 p {
    margin-top: 1.5rem;
}