html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "proxima-nova-condensed", sans-serif;
	font-weight: 300;
	box-sizing: border-box;
}

#map-container {
  position: absolute;
  top: 0;
  left: 25px;
  right: 0;
  bottom: 0;
}

#map {
	width: 100%;
	height: 100%;
	color: #1d1d1b;
	background: #f6f8fa;
}

@keyframes loading-anim-bg {
	0% {
    transform: rotate(0deg);
  }
  100% {
		transform: rotate(360deg)
  }
}

#loading {
  background: none;
  position: fixed;
	left: 50%;
	top: 50%;
	margin-left: -100px;
	margin-top: -100px;
  width: 200px;
  height: 200px;
	z-index: 1;
	transform: scale(1.5);
}
#loading > svg {
  animation: loading-anim-bg 1.6s linear infinite;
}
#loading path {
	fill: none;
	stroke-linecap: round;
	stroke: #61c3d9;
	stroke-width: 8px;
}

#fb-link {
	background: #0090d3;
	padding: 4px 12px;
	color: white;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 12px;
	font-weight: 600;
}
#fb-link:hover {
	background: #00aae5;
	color: white;
}

#legend {
	z-index: 1000;
	width: 300px;
	height: 100%;
	top: 0; left: 0;
	position: fixed;
	background: none;
	color: white;
}
#legend-content {
	background: #61c3d9;
	padding: 24px;
	float: left;
	width: 100%;
	position: absolute;
	height: 100%;
	/*overflow: scroll;*/
	box-sizing: border-box;
	overflow-x: hidden;
}

h1 {
	font-weight: 700;
	font-size: 42px;
	line-height: 90%;
	margin-top: 0;
	margin-bottom: 0;
}
h2 {
	font-weight: 600;
	font-size: 18px;
	line-height: 100%;
}

#close {
	z-index: 2000;
	background: #0090d3;
	color: white;
	box-sizing: border-box;
	position: relative;
	float: right;
	right: -25px;
	text-align: center;
	width: 25px;
	font-weight: 700;
	font-size: 24px;
	cursor: pointer;
	height: 100%;
	line-height: 100vh;
}
#close:hover {
	background: #00aae5;
	color: white;
}
#legend-content table {
	font-weight: 400;
	color: white;
	padding: 0;
}
#legend-content table img {
	width: 85px;
}
#legend-content td {
	padding: 0 0 8px 0;
	line-height: 100%;
	vertical-align: middle;
}
#legend-content td:first-child {
	padding-right: 12px;
	padding-top: 2px;
}

#line-colors td > div {
	width: 85px;
	height: 6px;
	float: left;
}

#line-colors {
	margin-bottom: 12px;
}

#hclose {
	display: none;

	z-index: 2000;
	background: #0090d3;
	color: white;
	box-sizing: border-box;
	position: absolute;
	bottom: -32px;
	left: 0; right: 30px;
	height: 32px;
	text-align: center;
	width: 100vw;
	font-weight: 700;
	font-size: 24px;
	cursor: pointer;
}
#varr {
	transform: rotate(-90deg);
}
#hclose:hover {
	background: #00aae5;
	color: white;
}


@media (max-width: 600px) {
	#legend {
		width: 100%;
		height: 50%;
		min-height: 100px;
		max-height: 250px;
	}
	#close {
		display: none;
	}
	#hclose {
		display: block;
	}
}
