html,
body {
	color: #333;
	font-family: "Roboto", sans-serif;
	-webkit-font-smoothing: antialiased;
	height: 100%;
	width: 100%;
}
.container {
	height: 100%;
	padding: 0;
	width: 100%;
	max-width: none;
}

.gm-style-mtc-bbw {
	display: none;
}

/* Links */
a {
	transition: background-color 0.2s, color 0.2s;
}
a:hover,
a:focus {
	text-decoration: none;
}

/* Headers */
h1 {
	font-size: 3.3em;
	margin: 30px 0 22px;
}
h2 {
	font-size: 2.2em;
	margin: 12px 0 0;
}
h3 {
	font-size: 1.8em;
	margin: 28px 0 0;
}
h4 {
	font-size: 1.6em;
	margin: 28px 0 0;
}
h5 {
	font-size: 1.4em;
	margin: 26px 0 0;
}
h6 {
	font-size: 1.3em;
	margin: 26px 0 0;
}

/* Paragraphs & Lists */
p {
	line-height: 1.5em;
	margin: 16px 0 6px;
}
ul,
ol {
	margin: 16px 0 10px;
}
li {
	line-height: 1.4em;
	margin-bottom: 8px;
}

/* Forms */
form {
	margin: 18px 0;
}
label {
	display: block;
	margin: 10px 0 8px;
	width: 100%;
}
input[type="text"] {
	margin-bottom: 8px;
	padding-left: 3px;
	width: 100%;
}
textarea {
	height: 80px;
	margin-bottom: 8px;
	padding: 3px 5px;
	resize: none;
	width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
	margin: 0 4px 0 2px;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
	display: inline-block;
	margin-right: 14px;
	position: relative;
	top: -1px;
	width: auto;
}
input[type="submit"],
input[type="reset"] {
	background-color: #c47;
	border-radius: 14px;
	border: 0;
	color: #fff;
	letter-spacing: 0.05em;
	margin-top: 14px;
	padding: 4px 16px;
	transition: background-color 0.2s;
}
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
	background-color: #b16;
}

/** Intro Page */
#splash-page {
	background-color: #afc9e0;
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	transition: opacity 0.6s ease-in-out 0.2s, left 0s ease-in-out 0.8s;
	width: 100%;
	z-index: 1601;
}
#splash-page img[src*="bg"] {
	left: 0;
	max-width: 800%;
	opacity: 1;
	position: relative;
	top: 0;
	width: 100%;
}
#splash-page img[src*="logo"] {
	left: 40%;
	position: absolute;
	top: 11%;
	transition: top 0.7s ease-in-out 0.1s;
	width: 20%;
}
#splash-page > div {
	bottom: 0;
	left: 0;
	position: absolute;
	width: 100%;
}
#blue-bg {
	background-color: #00b2d5;
	bottom: 0;
	height: 280px;
	padding-top: 22px;
	position: absolute;
	text-align: center;
	transition: 0.55s ease-in-out 0.15s;
	width: 100%;
}
#blue-bg h1 {
	font-size: 2.4em;
	line-height: 0.9em;
	margin: 0;
}
#blue-bg h1 span {
	display: block;
	font-size: 0.65em;
	font-weight: 400;
}
#blue-bg p {
	font-size: 1.2em;
	line-height: 1.4em;
	margin: 26px auto 34px;
	width: 60%;
}
#blue-bg a {
	background-color: #b61d6c;
	border-radius: 60px;
	box-shadow: 0 0 10px 0 #555;
	color: #fff;
	display: inline-block;
	font-size: 1.2em;
	line-height: 1.3em;
	padding: 12px 24px;
	width: 420px;
}
#blue-bg a:hover {
	background-color: #a10b59;
}

.introduced #map-bg {
	bottom: -580px;
}
.introduced #blue-bg {
	bottom: -240px;
}
.introduced #splash-page img[src*="logo"] {
	top: -190%;
}
.introduced #splash-page {
	left: -100%;
	opacity: 0;
}

/* Map Specific */
#map-area {
	height: 100%;
	overflow: hidden;
	position: relative;
	width: 100%;
}
#map {
	height: 100%;
	width: 100%;
}
#flash {
	background-color: transparent;
	border-radius: 50%;
	height: 350px;
	left: 50%;
	margin: -195px 0 0 -175px;
	position: absolute;
	top: -100%;
	transition: background-color 0.3s, height 0.3s, width 0.3s, margin 0.3s,
		top 0s ease-in-out 0.3s;
	width: 350px;
}
#flash.go {
	background-color: rgba(125, 0, 0, 0.6);
	height: 250px;
	margin: -145px 0 0 -125px;
	top: 50%;
	transition: 0s;
	width: 250px;
}

#back-to-site-link {
	background-color: #c47;
	color: #fff;
	font-size: 1.1em;
	height: 34px;
	padding: 6px 10px;
	position: absolute;
	top: 0;
	transition: 0.5s;
	width: 100%;
}
#back-to-site-link:hover {
	letter-spacing: 0.08em;
	padding-left: 18px;
}
#back-to-site-link i {
	margin-right: 5px;
}

#form-area {
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
	padding: 12px 30px;
	position: absolute;
	right: 0;
	top: -150%;
	transition: top 0.8s;
	width: 100%;
    overflow: hidden
}
#form-area.showing {
	top: 0;
	transition: top 1.1s;
    overflow: auto;
}
#form-area form {
	background-color: #eee;
	box-shadow: 2px 68px 84px 0 #000;
	height: 80%;
	margin: -66px auto 0;
	overflow: auto;
	padding: 18px 38px 84px;
	transition: 1.3s ease-in-out 0.3s;
	width: 60%;
}
#form-area.showing form {
	box-shadow: 2px 18px 44px 0 #000;
	margin-top: 36px;
}
#form-area form input[type="submit"] {
	float: right;
	font-size: 1.2em;
}

#thank-you {
	background-color: #fff;
	border: 2px solid #c47;
	border-radius: 8px;
	box-shadow: 3px 8px 24px 0 #444;
	padding: 6px 34px 6px 26px;
	position: absolute;
	top: -264px;
	transition: top 0.8s;
	left: 28px;
}
#thank-you span {
	cursor: pointer;
	font-size: 1.4em;
	line-height: 0.6em;
	padding: 8px;
	position: absolute;
	right: 0;
	top: 0;
}
#thank-you p {
	margin-top: 8px;
}
#thank-you.showing {
	top: 138px;
}

#buttons {
	top: 24px;
	height: 80px;
	padding: 28px;
	position: absolute;
	z-index: 100;
}
#buttons button {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #154973;
	border: 0;
	box-shadow: 0 0 11px -1px #333;
	color: #fff;
	cursor: pointer;
	float: left;
	font-size: 0.8rem;
	font-weight: 700;
	height: 100px;
	letter-spacing: 0.07em;
	line-height: 1.2em;
	position: absolute;
	text-align: center;
	top: 0;
	transition: background-color 0.2s, top 0.6s ease-in-out 0s;
	width: 104px;
}
#buttons button:hover {
	background-color: #457AA5;
}
#buttons button img {
	display: block;
	height: 30px;
	margin: 14px auto 11px;
	filter: brightness(0) invert(1);
}
#buttons #view-comment-button {
	left: 146px;
	transition: background-color 0.2s, top 0.6s ease-in-out 0.15s;
}
#buttons #cancel-add-button,
#buttons #cancel-view-button {
	background-color: #a00;
	left: 28px;
	top: -150px;
	transition: background-color 0.2s, top 0.6s;
}
#buttons #cancel-add-button:hover,
#buttons #cancel-view-button:hover {
	background-color: #690101;
}
#buttons #cancel-form-button {
	background-color: #6999a9;
	left: 146px;
	top: -150px;
}
#buttons #cancel-form-button:hover {
	background-color: #567985;
}
.gm-style-iw-d div {
	padding: 5px;
	min-width: 300px;
}
.gm-style-iw-d div a {
	background-color: #c47;
	border-radius: 6px;
	color: #fff;
	display: block;
	font-weight: 700;
	margin: 0 auto;
	padding: 4px 0;
	text-align: center;
	width: 170px;
}
.gm-style-iw-d div a:hover {
	background-color: #b16;
}

#buttons.adding #add-comment-button,
#buttons.viewing #add-comment-button {
	top: -150px;
	transition: background-color 0.2s, top 0.6s ease-in-out 0.15s;
}
#buttons.adding #view-comment-button,
#buttons.viewing #view-comment-button {
	top: -150px;
	transition: background-color 0.2s, top 0.6s ease-in-out 0s;
}
#buttons.adding #cancel-add-button,
#buttons.viewing #cancel-view-button {
	top: -4px;
	transition: background-color 0.2s, top 0.8s ease-in-out 0.4s;
}
#buttons.commenting #cancel-form-button {
	top: -4px;
}

/*********************************************/
/******   Custom CSS  ************************/
/*********************************************/

/*********************************************/
/****** Media Queries ************************/
/*********************************************/
@media screen and (max-width: 1270px) {
	#form-area form {
		margin: -66px 0 0 34%;
		width: 56%;
	}
}

@media screen and (max-width: 790px) {
	#form-area {
		padding: 0;
	}
	#form-area form {
		height: 78%;
		margin: -66px auto 0;
		padding: 6px 12px 44px;
		width: 90%;
	}
	#form-area.showing form {
		margin-top: 70px;
	}
	label {
		font-size: 0.8em;
		margin: 4px 0 1px;
	}
	input[type="text"],
	textarea {
		font-size: 0.9em;
	}
	#form-area form input[type="submit"] {
		font-size: 0.8em;
	}
	#thank-you {
		left: 14px;
		padding: 2px 14px 5px;
		width: 210px;
	}
	#thank-you p {
		font-size: 0.85em;
		line-height: 1.2em;
	}
	#thank-you.showing {
		top: 74px;
	}
	#back-to-site-link {
		font-size: 0.9em;
		height: 26px;
		padding: 4px 8px;
	}

	#splash-page img[src*="bg"] {
		left: -50%;
		width: 200%;
	}
	#splash-page img[src*="logo"] {
		left: 50%;
		margin-left: -90px;
		top: 24px;
		width: 180px;
	}
	#blue-bg {
		font-size: 0.85em;
		padding-top: 12px;
		padding-bottom: 18px;
	}
	#blue-bg h1 {
		font-size: 2em;
		padding: 0 14px;
	}
	#blue-bg p {
		line-height: 1.2em;
		margin: 14px auto 16px;
		width: 90%;
	}
	#blue-bg a {
		line-height: 1.22em;
		padding: 6px 14px;
		width: 80%;
	}

	#buttons {
		padding: 0;
		top: 0;
	}
	#buttons button {
		box-shadow: 0;
		font-size: 0.8em;
		height: 60px;
		left: 0;
		line-height: 1.1em;
		top: 0;
		width: 90px;
	}
	#buttons button img {
		display: block;
		height: 16px;
		margin: 2px auto 5px;
	}

	#buttons #view-comment-button {
		top: 75px;
	}

	#buttons #view-comment-button,
	#buttons #cancel-form-button {
		left: 0;
		/* top: 75px; */
	}
	#buttons #cancel-add-button,
	#buttons #cancel-view-button {
		left: 0;
	}
	.gm-style-iw-d div {
		font-size: 0.85em;
		padding: 1px;
		min-width: 0;
	}
	.gm-style-iw-d div a {
		font-size: 0.95em;
		line-height: 1em;
		margin-top: 10px;
		padding: 6px 6px;
		width: 90%;
	}
}

.legend {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #fff;
	padding: 15px;
	max-width: 240px;
}

@media (min-width: 992px) {
	.legend {
		max-width: 275px;
		top: 10px;
		right: 10px;
	}
}

.legend .title {
	font-size: 1.0625rem;
	display: block;
	max-width: 166px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-align: center;
	margin-top: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 10px;
	border-bottom: 1px solid #006671;
}

@media (min-width: 992px) {
	.legend .title {
		margin-bottom: 25px;
	}
}

.legend ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.legend form {
	margin: 0;
}

.legend ul li {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

@media (min-width: 992px) {
	.legend ul li {
		margin-bottom: 15px;
	}
}

.legend ul li label {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.legend ul li input {
	margin-right: 10px;
}

.legend ul li .graphic {
	display: inline-block;
}

.legend ul li .graphic.line {
	width: 24px;
	height: 5px;
	margin-right: 10px;
	background-color: #000;
	margin-bottom: 2px;
    border: 1px solid #000;
}

.legend ul li .graphic.line.orange {
	background-color: #d57d2b;
}
.legend ul li .graphic.line.red {
	background-color: #aa2f22;
}
.legend ul li .graphic.line.green {
	background-color: #4c7300;
}
.legend ul li .graphic.line.brown {
	background-color: #734c00;
}
.legend ul li .graphic.line.blue {
	background-color: #0084a8;
}
.legend ul li .graphic.line.yellow {
	background-color: #ffc712;
}

.legend ul li.icon-item .icon {
	width: 21px;
	height: auto;
	margin-left: 2px;
	margin-right: 11px;
}

.legend .label-text {
	display: block;
	flex: 1;
}

.legend .btn {
	width: 210px;
	background-color: #154973;
	transition: background-color 150ms ease-in-out;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.legend .btn:hover {
	background-color: #457AA5;
}

@media (min-width: 992px) {
	.legend .btn {
		width: 250px;
	}
}
