body {
	margin: 0;
	padding: 0;
	font-family: "Gotham", sans-serif;
}

/* general */
.dwellsy-button {
  background: transparent;
  color: #000000;
  font-weight: 400;
  white-space: nowrap;
  border: none;
  font-family: Gotham,sans-serif;
  line-height: 21px;
  font-size: 14px;
  padding: 6px 20px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  min-height: 32px;
  border-radius: 26px;
  background: #7172e8;
  color: #ffffff !important;
  font-weight: 500 !important;
}
.dwellsy-arrow{
	width: 22px;
}
.sidebar-bottom .dwellsy-arrow {
	margin-top: -10px;
}
#amount .dwellsy-arrow{
	width: 15px;
}
.dwellsy-arrow path {
	fill: #7172e8;
}

.navbar .navbar-collapse {
	z-index: 1000;
	background: white;
	font-size: 16px;
	font-weight: bold;
	margin-left: -12px;
	margin-right: -12px;
}
.navbar .navbar-nav .nav-item .nav-link {
	text-align: right;
  margin-right: 15px;
  font-size: 16px;
}
.mobile-show {
	display: none;
}
.small-font-tooltip {
	font-size: 12px;
	text-align: justify;
}

/* Fonts */
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff2/Gotham-Light_Web.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-Light_Web.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/Gotham-LightItalic_Web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-LightItalic_Web-webfont.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/gotham-book_web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/gotham-book_web-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/Gotham-BookItalic_Web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-BookItalic_Web-webfont.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/gotham-medium_web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/gotham-medium_web-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/Gotham-MediumItalic_Web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-MediumItalic_Web-webfont.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff2/Gotham-Bold_Web.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-Bold_Web.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham/woff/Gotham-BoldItalic_Web-webfont.woff2") format("woff2"),
    url("../fonts/Gotham/woff/Gotham-BoldItalic_Web-webfont.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Menu */
.navbar.bg-light {
	background-color: white;
	height: 73px;
}
.autocomplete-container {
	width: 600px;
}
.autocomplete-container #autocomplete .mapboxgl-ctrl-geocoder {
	width: 100%;
	max-width: 100%;
  box-shadow: none;
}
.autocomplete-container #autocomplete .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon {
	top: 13px;
}
.autocomplete-container #autocomplete input.mapboxgl-ctrl-geocoder--input {
	width: 100%;
	height: unset;
	padding: 12px;
	padding-left: 40px;
	box-shadow: none;
	border: 1px solid #bdbae2;
	border-radius: 4px;
	-webkit-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
	width: 100%;
}
.autocomplete-container #autocomplete .mapboxgl-ctrl-geocoder--icon-search {
  background-image: url(/img/icon-search.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center center;
}
.autocomplete-container #autocomplete .mapboxgl-ctrl-geocoder--icon-search path {
	display: none;
}
.nav-item a {
	font-size: 12px;
	margin-top: 3px;
	text-align: center;
}

#map {
	position: absolute;
	top: 0;
	margin-top: 73px;
	bottom: 0;
	width: 100%;
	z-index: -100;
}
/* Main toggler */
.sidebar {
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 73px;
}
.sidebar .buttons, .sidebar .dataset-buttons {
	display: flex;
	padding: 10px;
	background: white;
}
.sidebar-button {
  height: 100%;
  width: 100%;
  margin-left: 0px;
  position: relative;
  display: flex;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  padding-left: 8px;
  padding-right: 8px;
	background: #FFFFFF;
	color: #7172e8 !important;
	border: #7172e8 thin solid;
	margin-bottom: 10px;
	margin-right: 10px;
}
.sidebar-button.active {
	background: #7172e8;
	color: #ffffff !important;
}
.sidebar-button:hover {
	background: #7172e8;
	color: #ffffff !important;
}
.sidebar-button svg {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	align-items: center;
}
.sidebar-button svg path, .sidebar-button svg polygon, .sidebar-button svg circle {
	fill: #7172e8;
}
.sidebar-button.active svg path, .sidebar-button.active svg polygon, .sidebar-button.active svg circle {
	fill: #FFFFFF;
}
.sidebar-button:hover svg path, .sidebar-button:hover svg polygon, .sidebar-button:hover svg circle {
	fill: #FFFFFF;
}

.slider {
	padding: 5px 20px 10px 20px;
	width: 200px;
	background: white;
}
.slider #amount {
	width: 100%;
	text-align: center;
	font-size: 14px;
	color: #333 !important;
}
.slider-range-container {
	/* padding: 20px; */
}
.breakdown {
	position: absolute;
	margin-top: -120px;
	margin-left: 448px;
	background: white;
	height: 120px;
	width: 50px;
  flex-direction: column;
  align-items: stretch;
  display: flex;
}
.breakdown > div {
	width: 50px;
	height: 40px;
  text-align: center;
  flex: 1;
  display: flex;
	align-items: center;
	justify-content: center;
	color: #7172e8;
  font-size: 12px;
  font-weight: 500;
	cursor: pointer;
}
.breakdown > div:hover {
	background: #eee;
}
.breakdown > div > svg path {
	fill: #7172e8;
}
.breakdown > div.active {
	background: #eee;
}

@media only screen and (max-width: 600px) {
	.breakdown {
		margin-right: 0;
		margin-left: auto;
		right: 0;
		margin-top: 28px;
		width: 120px;
		height: 40px;
		flex-direction: row;
	}
}


.ui-slider-range {
	background: #7172e8;
}
@media only screen and (max-width: 600px) {
	.slider {
		padding-top: 10px;
	}
	.slider-range-container {
		padding: 10px;
	}
}



@media only screen and (max-width: 600px) {
	.mapboxgl-ctrl-geocoder {
		min-width: 0px;
	}
	.mapboxgl-ctrl-geocoder--input {
		width: 200px;
	}
	hr {
		display: none;
	}
}

.sidebar-bottom {
	padding: 10px;
	margin: 10px;
	position: absolute;
	left: 0;
	bottom: 0;
	border-radius: 5px;
	box-shadow: 2px 2px 10px #ccc;
	background: white;
	margin-bottom: 40px;
	width: 220px;
}
.sidebar-bottom p {
	margin: 0px;
}
@media only screen and (max-width: 600px) {
	.sidebar-bottom {
		display: none;
	}
}
.sidebar-bottom h5,
.sidebar-bottom h4 {
	padding: 0; margin: 0;
}
.sidebar-bottom .msa-name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	display: block;
}
.sidebar-bottom .msa-data2 {
	font-weight: 500;
	line-height: 1.2;
	font-size: calc(1.275rem + .3vw);
	display: block;
}
.mapboxgl-popup-content {
	/* width: 300px; */

}
.mapboxgl-popup-content h5 {
	padding: 0; margin: 0;
	/* text-align: center; */
}
.mapboxgl-popup-content h4 {
	padding: 0; margin: 0;
}
.mapboxgl-popup-content .msa-name {
	font-size: 14px;
}

#legend {
	position: absolute;
	bottom: 0;
	right: 0;
	margin-right: 10px;
	margin-bottom: 30px;
	width: 300px;
	padding: 5px;
	background: white;
	height: 30px;
	border-radius:5px;
	box-shadow: 2px 2px 10px #ccc;
}
#legend > div {
	display: flex;
}
#legend > div > div {
	width: 20%;
	height: 10px;
}
#legend > div > div > div {
	font-size: 12px;
	margin-top: 10px;
	color: #333;
	text-align: center;
}
.leg1 {
	background: #C6E8F9;
}
.leg2 {
	background: #ABDFF5;
}
.leg3 {
	background: #C6C5E3;
}
.leg4 {
	background: #8E89C1;
}
.leg5 {
	background: #5658A5;
}
.leg6 {
	background: #000000;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

@media only screen and (max-width: 600px) {
	.mobile-show {
		display: block;
	}
	.desktop-show {
		display: none;
	}
	.sidebar {
		width: 100%;
	}
	.sidebar .buttons, .sidebar .dataset-buttons {
		padding: 5px;
		padding-top: 0px;
    margin-top: -5px;
	}
	.sidebar .buttons .sidebar-button, .sidebar .dataset-buttons .sidebar-button {
		font-size: 12px;
	}
	.sidebar .buttons .sidebar-button svg, .sidebar .dataset-buttons .sidebar-button svg {
		margin-right: 5px;
		width: 15px;
		height: 15px;
		margin-top: 2.3px;
	}
	.slider {
		display: flex;
		width: 100%;
		padding: 5px;
		margin-top: -10px;
	}
	.slider #amount {
		width: 50%;
	}
	.slider .slider-range-container {
		width: 45%;
		margin-top: -5px;
	}
	#map {
		margin-top: 118px;
	}
}
