:root {
	--blue: #255581;
	--light-blue: #a3d3e6;
	--lighter-blue: #edf6fa;
	--dark-blue: #1a3b5a;
	--green: #a6ce39;
	--dark-green: #749028;
	--darker-green: #004953;
	--orange: #d87045;
	--yellow: #fcd378;
	--medium-blue: #daf2fd;
	--light-yellow: #fff7e5;
	--black: #303b42;
	--light-gray: #d3dee7;
	--brand-primary: var(--blue);
	--brand-secondary: var(--yellow);
}

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

/* 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;
}

/* 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;
}

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

#thank-you {
	background-color: #fff;
	border: 2px solid #a00;
	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 {
	font-size: 0.9em;
	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: var(--blue);
	border: 0;
	box-shadow: 0 0 11px -1px #333;
	color: #fff;
	cursor: pointer;
	float: left;
	font-size: 1em;
	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: var(--dark-blue);
}
#buttons button img {
	display: block;
	height: 30px;
	margin: 14px auto 11px;
}
#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: var(--dark-blue);
	left: 146px;
	top: -150px;
}
#buttons #cancel-form-button:hover {
	background-color: var(--blue);
}
.gm-style-iw-d div {
	padding: 5px;
	min-width: 300px;
}
.gm-style-iw-d div a {
	background-color: #a00;
	border-radius: 6px;
	color: #fff;
	display: block;
	font-weight: 700;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	width: 170px;
}
.gm-style-iw-d div a:hover {
	background-color: #690101;
}
.gm-style .gm-style-iw {
	font-size: 18px;
	font-weight: normal;
}

#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;
}

#legend {
	position: absolute;
	right: 210px;
	text-align: right;
	top: 10px;
}
#legend > button {
	background: #000;
	border: 0;
	color: #fff;
	font-size: 1.2em;
	font-weight: 700;
	padding: 8px 16px;
}
#legend ul {
	background: #fff;
	box-shadow: 0 3px 8px -3px #aaa;
	list-style-type: none;
	margin: 0;
	opacity: 0;
	padding: 12px 16px 4px;
	right: 29999px;
	text-align: left;
	transition: 0s;
	position: absolute;
}
#legend ul.showing {
	opacity: 1;
	right: 0;
	transition: right 0s, opacity 0.3s;
	width: 200px;
}
#legend li {
	position: relative;
	display: flex;
	align-items: center;
}

#legend li.line {
    padding-left: 24px;
	padding-left: 24px;
	position: relative;
	display: flex;
	align-items: center;
}

#legend li span {
	background: #000;
	height: 5px;
	left: 0;
	position: absolute;
	top: 7px;
	width: 16px;
}

#legend li span.red {
	background: #0000fe;
}

#legend li span.blue {
	background: #aaff00;
}

#legend li span.green {
	background: #fe7e00;
}
#legend li span.dk-green {
	background: #fe0000;
	/* height: 10px;  */
}
/* #legend li span.dk-green:before {
	background: #0000fe;
	content: "";
	height: 2px; 
	left: -5%; 
	position: absolute;
	top: 50%; 
	transform: translateY(-50%);
	width: 110%;
} */

#legend li span.orange-hashed {
	background: #fff;
	border: 1px solid #fe7e00; 
	height: 12px; 
	overflow: hidden; 
}
#legend li span.orange-hashed:before {
	border: 1px solid #fe7e00;
	content: "";
	height: 150%; 
	left: 25%; 
	position: absolute;
	top: -25%; 
	transform: skewX(-25deg);
	width: 50%;
}

.watermark {
    display: inline-block;
    background-color: #daf2fd;
    padding: 5px;
    font-size: 14px;
    color: #000;
    position: absolute;
    bottom: 5px;
    left: 5px;
}

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

@media screen and (max-width: 860px) {	
	#form-area {
		padding: 0;
	}
	#form-area > div {
		height: 78%;
		margin: 70px auto 0;
		padding: 6px 12px 54px;
		width: 90%;
	}
	label {
		font-size: 0.8em;
		margin: 4px 0 1px;
	}
	input[type="text"],
	textarea {
		font-size: 0.9em;
	}
	#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;
	}

	#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,
	#buttons #cancel-form-button {
		left: 96px;
	}
	#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 {
		right: 10px;
		top: 70px;
	}

	#legend ul.showing { width: 380px; }
	#legend li { display: inline-block; }
}

@media screen and (max-width: 450px) {
	#legend ul.showing { font-size: .8em; width: 280px; }
	#legend li img { height: 22px; }
}
