html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'ff-clan-web-pro';
}

#app {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
}

#map-container {
  background: #aaa;
  width: 100%;
  height: 100%;
}

#bottom-bar {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #ffffff99;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: center;
  justify-content: flex-start;
}

#zoom-reset, #tilt-reset, #threed-reset {
  width: 24px;
  margin: 0 5px 0px 10px;
  border: 1px black solid;
  border-radius: 5px;
  cursor: pointer;
}

#boundary-select, #highlight-name, #search-box, #property-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  align-items: center;
  background: #d4dadc;
  color: black;
  font-family: 'ff-clan-web-pro';
  padding: 5px;
  font-size: 12px;
  min-width: 150px;
  border-radius: 5px;
  border: solid 1px black;
  margin: 5px;
}

#highlight-name {
  padding:6px 5px;
  background: rgb(255,241,138);
  display: none;
}

#search-box {
  padding:6px 5px;
}

.mapboxgl-ctrl-bottom-right {
  display: none;
}

#version {
  font-size: xx-small;
  font-family: 'ff-clan-web-pro';
  color: grey;
}

#top-bar {
	position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  background: rgba(200,200,200,0.75);
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	box-shadow: black 0 0 5px 0;
}

#top-bar-left {
  width: 50%;
  height: 45px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: flex-start;
	justify-content: flex-start;
	align-items: center;
}

#top-bar-right {
  width: 50%;
  height: 45px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: flex-end;
	justify-content: flex-end;
	align-items: center;
}

#logo {
    width: 60px;
    height: 40px; 
    margin-right: 15px;
    margin-left: 15px;
}

#title {
font-family: 'ff-clan-web-pro';
    font-size: larger;
    font-weight: bold;
    color: black;
}

.nav-link {
  margin: 10px;
  cursor: pointer;
}

.button {
  padding: 5px 10px;
  border-radius: 5px;
  background: orange;
  color: white;
  font-weight: bold;
  box-shadow: black 0 0 2px 0;
}

.theme-switch-wrapper { display: flex; align-items: center; }
.theme-switch { display: inline-block; height: 25.5px; position: relative; width: 45px; }
.theme-switch input { display:none; }
.slider {
  background-color: #fff;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}
.slider:before {
  background-color: #fff;
  bottom: 3px;
  content: "";
  height: 19.5px;
  left: 3px;
  position: absolute;
  transition: .4s;
  width: 19.5px;
	background: url('../images/bright.png');
	background-size: contain;
}
input:checked + .slider { background-color: #060606; }
input:checked + .slider:before { 
	transform: translateX(19.5px); 
	background: url('../images/dark.png');
	background-size: contain;
}
.slider.round { border-radius: 25.5px; }
.slider.round:before { border-radius: 50%; }


#side-bar{
    position: absolute;
    right: 0px;
    width: 300px;
    top: 65px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: center;
    justify-content: flex-start;
		border
}

.panel {
    background: #ccc;
    width: 100%;
    margin: 10px;
    transform: translate(-10px, 0px);
    box-shadow: black 0 0 5px 0;
}

.panel-title {
	  font-family: 'ff-clan-web-pro';
    font-weight: bold;
    padding: 10px;
    background: #aaa;
}

.info-panel-record {
    display: flex;
    margin: 10px;
    font-family: 'ff-clan-web-pro';
    font-size: small;
    font-weight: bold;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.info-panel-record-parts {
     margin: 0px 5px;
}

#year-slider {
  -webkit-appearance: none;
  width: 150px;
  height: 20px;
  background: #aaa;
  outline: none;
  border-radius: 10px;
  -webkit-transition: .2s;
  transition: opacity .2s;
  margin: 0px 10px;
}

#year-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%; 
  background: #444444;
  cursor: pointer;
}

#year-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #444444;
  cursor: pointer;
}

.tool-title {
  font-family: 'ff-clan-web-pro';
  font-size: small;
  font-weight: bold;
  margin-left: 10px;
}

.tool-title>div {
  font-size: xx-small;
  color: rgb(71,71,71);
}

.legend-container {
  background: #ffffff99;
  padding: 10px;
  float: left;
  top: 100%;
  position: absolute;
  left: 100%;
  transform: translate(-100%, -100%);
  z-index: 2;
  display: flex;
  margin: -10px;
  flex-direction: column;
  justify-content: space-evenly;
  align-content: start;
  align-items: start;
  width: 150px;
}

.legend-row {
  height: 10px;
  margin: 0.75ex;
  display: flex;
  font-size: x-small;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: 'ff-clan-web-pro';
  font-weight: 500;
}

.legend-title {
  font-size: small;
  font-weight: bold;
  margin: 1ex;
}

.legend-color {
  height: 15px;
  width: 15px; 
  margin-right: 10px;
}

.chart-panel-title {
  font-size: small;
  font-family: 'ff-clan-web-pro';
  font-weight: bold;
  margin: 10px;
}

.charts {
  margin: 10px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #ccc;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  max-width: 800px; 
	border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.about-logo {
    display: inline-block;
    max-width: 230px;
    max-height: 95px;
    width: auto;
    height: auto;
    background: white;
}

#about-logos {
	display: flex;
}

.about-logo-wrapper {
    background: white;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

