@import "https://fonts.googleapis.com/css?family=Roboto:400,700";

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

a,
a:visited {
  color: #ed392a;
  text-decoration: none;
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

a:active,
a:hover {
  color: #ed392a;
  box-shadow: inset 0px -2px 0px 0 #d4d0cb;
}

h1 {
  margin: 1rem auto;
  color: #000;
  font-family: Roboto, sans-serif;
  font-size: 25px;
  font-size: 1.5625rem;
  font-weight: 400;
  line-height: 1.36;
  text-align: center;
}

p {
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
}

.container {
  width: 90%;
  min-width: 210px;
  max-width: 1000px;
  margin: auto;
}

.button {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d4d0cb;
  background-color: #f1f1f1;
  line-height: 1em;
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  border-radius: 2px;
  margin: 3px 5px;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out,
    border 0.3s ease-in-out;
}

.button:hover,
.button.active {
  background-color: #455a64;
  color: #fff;
  border-color: #303f46;
}

#years {
  margin: 3px 5px;
}

select.dropdown {
  display: inline-block;
  box-sizing: border-box;
  min-width: 100px;
  height: 30px;
  margin: 0;
  padding: 3px 35px 3px 7px;
  color: #333;
  font-size: 15px;
  line-height: 1.28571em;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #fff;
  background-image: url("../img/arrow-down.svg"),
    linear-gradient(to right, #455a64, #455a64);
  background-repeat: no-repeat;
  background-position: 100% center;
  background-size: 30px 30px, 30px 100%;
  border: 2px solid #455a64;
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
}

#regionFilter {
  text-align: center;
}

.checkbox {
  display: inline-block;
  margin-right: 10px;
}

.checkbox label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox input[type="checkbox"] {
  margin-right: 0.25rem;
}

#regionFilter label {
  line-height: 1em;
  font-size: 12px;
  color: #444;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
}

#vis {
  width: 100%;
  height: 500px;
  clear: both;
  margin-bottom: 10px;
  margin-top: 20px;
}

#toolbar,
#type {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  text-align: center;
}

.year,
.devLevelTitle {
  font-size: 20px;
  fill: #000;
  font-family: "Roboto", serif;
}

.devLevel {
  font-size: 16px;
  fill: #444;
  font-family: "Roboto", serif;
  font-weight: bold;
}

.tooltip {
  position: absolute;
  top: 100px;
  left: 100px;
  -moz-border-radius: 5px;
  border-radius: 2px;
  border: 2px solid #f2efef;
  background: #fff;
  padding: 10px;
  font-size: 13px;
  z-index: 10;
  font-family: "Roboto", serif;
  color: #444;
}

.tooltip .name {
  font-weight: bold;
}

.bubbleInfo {
  font-size: 13px;
  font-family: "Roboto", serif;
  color: #444;
  fill: #444;
}

#searchContainer {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

#searchContainer label {
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  vertical-align: middle;
  text-transform: uppercase;
  margin-top: 5px;
}

#searchContainer span {
  vertical-align: middle;
}

.typeahead,
.tt-query,
.tt-hint {
  padding: 5px;
  border: 2px solid #d4d0cb;
  background-color: #fff;
  outline: none;
  vertical-align: middle;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.typeahead {
  background-color: #fff;
  transition: border 0.3s ease-in-out;
}

.typeahead:focus {
  border: 2px solid #455a64;
}

.tt-hint {
  color: #444;
}

.tt-menu {
  width: 300px;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 2px solid #d4d0cb;
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
  text-align: left;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #444;
  background-color: #f2efef;
}

.tt-suggestion.tt-cursor {
  color: #444;
  background-color: #f2efef;
}

.tt-suggestion p {
  margin: 0;
}

#loading {
  text-align: center;
  padding-top: 20%;
}

#loading span {
  margin-top: 10px;
}

#sizeLegend {
  font-size: 13px;
  font-style: italic;
  max-width: 970px;
  margin: auto;
}

#source {
  max-width: 970px;
  margin: auto;
  color: rgb(128, 128, 129);
  font-size: 12.8px;
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: right;
}

#source .logo {
  display: block;
  max-width: 300px;
  margin: 0 0 0 auto;
  box-shadow: none !important;
}

#disclaimer {
  text-align: center;
  font-size: 12px;
  display: none;
}

/* Legend */
.scaleCircleLabel {
  vertical-align: middle;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #444;
  font-weight: bold;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 23px;
    font-size: 1.4375rem;
  }

  #vis {
    height: 350px;
  }
  .visibleMobile {
    display: block !important;
  }
  .hiddenMobile {
    display: none;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #searchContainer {
    display: none !important;
  }
}
