@import 'https://fonts.googleapis.com/css?family=Roboto+Slab|Roboto:400,700';

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

a, a:visited {
  color: #444;
  text-decoration:none;
}

a:active, a:hover {
  color: #772031;
  text-decoration:none;
}

h1 {
  font-size:30px;
  letter-spacing: .025em;
  color: #444;
  text-align:center;
  font-family: 'Roboto', sans-serif;
}

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:14px 15px;
  border: 2px solid #ED392A;
  background-color: #fff;
  line-height: 1em;
  font-size: 12px;
  color: #444;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  border-radius:2px;
  margin:3px 5px;
}

.button:hover, .button.active {
  background-color:#772132;
  color:#fff;
  border-color:#772132;
}

#years {
  border: 2px solid #ED392A;  
  border-radius:2px;
  color:#444;
  overflow: hidden; 
  position: relative;
  display: inline-block;
  background-color:#fff;
  vertical-align:middle;
}

#years:after {
  font-family:FontAwesome;
  content: '\f078';
  padding:11px 15px;
  position: absolute;
  right: -5px;
  top: 0;    
  z-index: 1;
  text-align: center;     
  pointer-events: none;
  box-sizing: border-box;
  color:#772132; 
}

select.dropdown {
    padding:14px 30px 13px 15px;
    text-align:center;
    background:transparent;
    border: 0;
    outline: none;
    font-size: 12px;
    line-height:1em;       
   -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Roboto', sans-serif;
  font-weight:bold;
}

#regionFilter {
  text-align:center;
}

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

#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 {
  margin-bottom: 10px;
  text-align:center;
}

.year, .devLevelTitle {
  font-size:20px;
  fill:#ED392A;
  font-family: 'Roboto Slab', serif;
}

.devLevel {
  font-size:16px;
  fill:#444;
  font-family: 'Roboto Slab', 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 Slab', serif;
  color:#444;
}

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

.bubbleInfo {
  font-size: 13px;
  font-family: 'Roboto Slab', 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 #f2efef;
  outline: none;
  vertical-align:middle;
  font-family: 'Roboto', sans-serif;
  font-size:16px;
}

.typeahead {
  background-color: #fff;
}

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

.tt-hint {
  color: #444
}

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

.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 {
  text-align:right;
  font-size: 9px;
  max-width: 970px;
  margin: auto;
}

#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) {
  #vis {
    height:350px;
  }
  .visibleMobile {
    display:block !important;
  }
  .hiddenMobile {
    display:none;
  }
  .button {
    padding:10px 11px;
  }
  select.dropdown {
    padding:10px 20px 9px 10px;
  }
  #years:after {
    font-size:10px;
    padding:11px 10px;
  }
}

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