/* colors */

/*

9FCC3B	light vivid green	main nav link hover
007BAF	bright blue			main nav selected link background, footer link
F59426	orange				alerts background
*/
@font-face {
	font-family: 'Pathway Gothic One';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/PathwayGothicOne-Regular.ttf') format('truetype');
}

* {
	margin: 0px;
	padding: 0px;
}

body {
	font-family: Arial, Helvetica, Lucida Grande, sans-serif;
	background: #007baf;
	font-size: 100%;
}

body * {
	/* For troubleshooting*/
	/* border: solid red 1px; */
}

#pg_div {
	/* Gets rid of Loading... box in map */
	display: none;
	/* border: solid red 1px; */
}




a, a:visited, a:active {
	text-decoration: none;
	color: #000;
}

img {
	border: 0px;
}

.cline {
	clear:both;
}

/********************** WRAPPER STYLES **********************/
#wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	background: #FFFFFF;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/********************** HEADER STYLES **********************/
header {
	width: 100%;
	height: 84px;
	position: relative;
	background: url("../images/background_header.jpg");
	background-size: cover;
}

.top-header {
	background: url("../images/logo_header.png") no-repeat;
	height: 84px;
	padding-left: 67px;
	background-position: 10px 8px;
}

header h1 {
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 2.25em;
	color: #fff;
}

header h2 {
	font-family: Arial, Helvetica, Lucida Grande, sans-serif;
	font-size: 1.125em;
	text-transform: uppercase;
	color: #fff;
	padding-top: 15px;
}

#logout {
	position: absolute;
	right: 20px;
	top: 5px;
}

#logout a {
	font-family: 'Pathway Gothic One', sans-serif;
	color: #fff;
	font-weight: bold;
	font-size: 1.3em;
}

/** NAVIGATION STYLES **/
#nav {
	min-width: 400px;
	width: 50%;
	text-align: right;
	position: absolute;
	right: 0;
	bottom: 5px;
}

#nav ul {
	margin: 0px 20px 0px 0px;
}

#nav ul li {
	padding: 5px 10px;
	display: inline-block;
}

#nav ul li a {
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-size: 1.5em;
}

#nav ul li a:link, #nav ul li a:visited {
	color: #FFFFFF;
}

#nav ul li a:hover, #nav ul li a:active {
	color: #9FCC3B;
}

#nav ul li.selected {
	background: #007BAF;
}

/** ALERTS STYLES **/
#alerts {
	width: 100%;
	background: #fff;
	padding: 4px 0px;
}

#alerts .alert {
	background: #F59426;
	margin-bottom: 4px;
}

.fireweather {
	padding-left: 20px;
}

#alerts .alert, #alerts .fireweather {
	width: 100%;
	min-height: 50px;
}

#alerts .fireweather {
	background: #E6E7E8;
}

#alerts .alert .heading, #alerts .fireweather .heading {
	height: 50px;
	line-height: 50px;
	float: left;
	padding: 0 20px;
}

#alerts .alert .heading {
	background: #861619;
}

#alerts .alert .heading h2, #alerts .fireweather .heading h2 {
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-size: 2.25em;
	font-weight: normal;
}

#alerts .alert .heading h2 {
	color: #fff;
}

#alerts .fireweather .heading h2 {
	color: #444;
}

#alerts .alert .textblock, #alerts .fireweather .textblock {
	height: 50px;
	padding-left: 10px;
	display: table-cell;
	vertical-align: middle;
}

#alerts .alert .textblock p {
	font-size: 1.1em;
	font-weight: bold;
}

#alerts .fireweather .textblock p {
	font-size: 1em;
}

#alerts .alert {
	display: none;
}



/********************** CONTENT STYLES **********************/
#content {
	position: relative;
	width: 100%;
}

#content h3 {
	font-family: Arial, Helvetica, Lucida Grande, sans-serif;
	font-size: 1.125em;
	text-transform: uppercase;
	color: #fff;
	padding-top: 15px;
}
#content #google-map {
	height: 620px;
	width: 100%;
}

#content #google-map-legend {
	position: absolute;
	display: table;
	z-index: 100;
	top: 20px;
	right: 20px;
	background-color: #FFFFFF;
}
/* Legend styles */
#content #google-map-legend .legend-item {
	width: 85px;
	height: 50px;
	font-weight: bold;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}

#content #google-map-legend .legend-item.extreme {
	background-color: #e19286dd;
}

#content #google-map-legend .legend-item.veryhigh {
	background-color: #d9c79cdd;
	
}

#content #google-map-legend .legend-item.high {
	background-color: #e7f791dd;
	
}

#content #google-map-legend .legend-item.moderate {
	background-color: #94aec4dd;
	
}

#content #google-map-legend .legend-item.low {
	background-color: #83c496dd;
	
}

#content #google-map-legend .legend-item.snow {
	background-color: #eeeeee;
	
}
#content #google-map-legend .legend-item.unknown {
	/* display: none; */
	background-color: #86868699;
	

	
}

#content #google-map .zoneLabel {
	width: auto;
	min-width: 1em;
/*
	-webkit-text-stroke: .5px white;
    -webkit-text-fill-color: black;
*/
	background-color: none;
	/* border: solid #555555 1px; */
    
    filter: drop-shadow(1px 1px 2px #999);
	z-index: 1000;
}

/*
#content #google-map-legend .legend-item.extreme {
	background-color: rgba(236, 34, 43, .5);
	color: rgba(255, 255, 255, 1);
}

#content #google-map-legend .legend-item.veryhigh {
	background-color: rgba(246, 149, 38, 0.5);
	color: rgba(0, 0, 0, 1);
}

#content #google-map-legend .legend-item.high {
	background-color: rgba(236, 232, 44, 0.5);
	color: rgba(0, 0, 0, 1);
}

#content #google-map-legend .legend-item.moderate {
	background-color: rgba(57, 83, 162, 0.5);
	color: rgba(255, 255, 255, 1);
}

#content #google-map-legend .legend-item.low {
	background-color: rgba(11, 128, 66, 0.5);
	color: rgba(255, 255, 255, 1);
}

#content #google-map-legend .legend-item.unknown {
	background-color: rgba(115, 115, 115, 0.5);
	color:rgba(255, 255, 255, 1);
}

*/


#topbar {
	height: 40px;
	padding: 4px 0;
	box-shadow: 0 10px 10px -5px #aaa;
	-moz-box-shadow: 0 10px 10px -5px #aaa;
	-webkit-box-shadow: 0 10px 10px -5px #aaa;
	width: 100%;
	margin-bottom: 14px;
}

#titlebar {
	height: 40px;
	width: 98%;
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-size: 1.9em;
	padding-left: 2%;
	line-height: 40px;
	background-color: #e6e7e8;
	color:#444;
}

#station-circle {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #e12c13;
    position: absolute;
/*
    bottom: 0px;
    right: 0px;
*/
}

.other-station-circle {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: #bbbbbb;
    position: absolute;
/*
    bottom: 0px;
    right: 0px;
*/
}

#selectbox {
	width: 200px;
	height: 24px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	border: 2px solid #b8b9bc;
	background-color: #e6e7e8;
	padding: 8px 10px 0px;
	font-size: .9em;
	font-weight: bold;
	margin-bottom: 10px;
	cursor: pointer;
	position: relative;
	display: inline-block;
}

#panelcontainer #error {
	font-weight: bold;
	color: red;
	margin-left: 30px;
	padding: 2px;
	display: inline-block;
	max-height: 24px;
}


#stationselector {
	display: none;
	position: absolute;
	left: -2px;
	top: 28px;
	width: 220px;
	font-size: 1em;
	font-weight: normal;
	list-style: none;
	background-color: #e6e7e8;
	padding: 10px 0px 0px;
	z-index: 100;
	border-left: 2px solid #b8b9bc;
	border-bottom: 2px solid #b8b9bc;
	border-right: 2px solid #b8b9bc;
	border-radius: 0px 0px 4px 4px;
	-webkit-border-radius: 0px 0px 4px 4px;
	-o-border-radius: 0px 0px 4px 4px;
}

#stationselector li {
	padding: 4px 10px;
}

#stationselector li a {
	font-size: 1em;
	font-weight: normal;
	text-decoration: none;
	color: #000;
	display: block;
	width: 100%;
}

#stationselector li:hover {
	background: #ccc;
}

#stationselector li.selected, #stationselector li.selected:hover  {
	background: #aaa;
}

#droparrow {
	display: inline-block;
	float: right;
}

#panelcontainer {
	width: 96%;
	padding: 0 2%;
}

#datapanel {
	width: 100%;
	min-height: 164px;
	min-height: 245px;
	height: auto;
	margin-bottom: 14px;
	display: flex;
}

#mapdata {
	width: 160px;
	/* height: 200px; */
	border: 2px solid #75a4c5;
	background-color: #fff;
	float: left;
	background: #fff url('../images/diagram_maine-map.png') no-repeat center center;
	position: relative;
	margin-right: 1%;
}

#maptitle {
	background-color: #e6e7e8;
	height: 18px;
	width: 160px;
	font-size: .75em;
	line-height: 18px;
	text-align: center;
	position: absolute;
	bottom: 0px;
	left: 0px;
}

.gm-style .gmnoprint img {
	z-index: 1100001;
}

#conditionsdata, #dangerdata {
	border: 2px solid #75a4c5;
	min-width: 40%;
/*note1200 39% @ 1000px width*/
	min-height: 200px;
	float: right;
	margin-left: 2%;
}
#dangerdata {
	border: none;
}
#conditionsdata table td, #dangerdata table td {
	text-align: left;
	border-top: 1px solid #ccc;
	padding: 2px 0px;
}

#conditionsdata table td.wvalue, #dangerdata table td.wvalue {
	text-align: right;
	vertical-align: top;
	padding-right: 15px;
	font-weight: bold;
}

.databoxheader, #zoneInfo h1 {
	height: 35px;
	background: url('../images/background_table-header.png') repeat-x;
	font-size: 1.5em;
	color: #fff;
	line-height: 35px;
	padding-left: 6px;
}
.databoxheader #conditionUpdate {
	font-weight: bold;
	float: right;
	font-size: .8em;
	margin-right: 1em;
}
.databoxheader #conditionUpdate span {

}
.datatablebox {
	padding: 2%;
}

.datatable {
	line-height: 18px;
	font-size: .9em;
	width: 100%;
	border-spacing: 0px;
}

td + td {
	text-align: right;
}

#graphpanel {
	width: 99.5%;
	border: 2px solid #75a4c5;
	margin-bottom: 14px;
}

#graphpanel #graphcontainer {
	height: 350px;
}

#graphtitle {
	border-bottom: 2px solid #f2f3f3;
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-size: 1.5em;
	padding: 5px 0px 5px 14px;
}

.graph.timeframe {
	padding-left: 10px;
}

.graph.timeframe span {
	width: 12%;
	margin-right: 1%;
}

.timeframe:after {
	content: "";
	display: block;
	clear: both;
}

.timeframe span {
	float: left;
	color: #818285;
	background: #d5d5d5;
	line-height: 36px;
	cursor: pointer;
	border-radius: 5px 5px 0px 0px;
	text-align: center;
}

.timeframe span.selected {
	color: #FFFFFF;
	background: #818285;
}

.after-legend {
	text-align: center;
	color: #777;
	padding-bottom: 5px;
	font-size: .8em;
	font-style: italic;
	margin-top: -3px;
}

.smalltext {
	font-size: .6875em;
	color: #444;
}

#content .settings-alert span.add-to-report {
	margin-right: 60px;
}

/****************** LOGIN AND ADMIN FORMS ******************/
#loginform {
	width: 300px;
	margin: 35px auto 30px;
	padding: 10px;
	text-align: center;
}

.formline {
	margin: 5px auto 0px auto;
	width: 220px;
	padding: 0px 0px 10px 0px;
}

.formline label {
	display: block;
	font-size: 12pt;
	padding: 5px;
	color: #444444;
	width: 200px;
	text-align: left;
}

.formline .text {
	width: 200px;
	height: 20px;
	border: 2px solid #444444;
	padding: 3px;
}

.formline.submit {
	margin: 25px auto 0px;
}

#submit {
	background-color: #9FCC3B;
	border-radius: 7px;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 13pt;
	width: 210px;
	height: 40px;
	border: 0;
	cursor: pointer;
}

.formline .forgot {
	text-align: left;
	text-decoration: none;
	font-size: 9pt;
	color: #444444;
	display: block;
	margin-left: 10px;
}

.formline .forgot:hover {
	text-decoration: underline;
}

#errmsg {
	text-align: center;
	color: red;
	font-weight: bold;
	margin-top: 15px;
	display: block;
}

/********************** FOOTER STYLES **********************/
#footer {
	background: #E6E7E8;
	border-top: 4px solid #D1D2D4;
	padding: 2%;
}

#footer .identify {
	width: 64%;
	text-align: left;
	float: left;
}

#footer .identify p {
	vertical-align: middle;
}

#footer .identify p img {
	margin-right: 10px;
	vertical-align: middle;
}

#footer .address {
	width: 35%;
	min-width: 330px;
	font-size: .6875em;
	color: #444;
	float: right;
}

#footer .address p a:link, #footer .address p a:visited {
	color: #007BAF;
	text-decoration: none;
}

#footer .address p a:hover, #footer .address p a:active {
	color: #000;
	text-decoration: none;
}

@media screen and (max-width: 1000px) {
	#wrapper {
		width: 100%;
		max-width: 1000px;
		margin: 0 auto;
		background: #FFFFFF;
	}

	#conditionsdata, #dangerdata {
		border: 2px solid #75a4c5;
		min-width: 39%;
		min-height: 200px;
		float: right;
		margin-left: 2%;
	}
}


/************** SUBSCRIPTION POPUP *************/

#edit-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 9999px;
	height: 9999px;
	background: #333333;
	opacity:0.4;
	overflow: hidden;
	z-index: -1;
	display: none; 
}

#edit-overlay.active, #edit-popup.active {
	z-index: 2000;
	display: block;
}

#edit-popup {
	position: fixed;
	left: 50%;
	top: 80px;
	width: 500px;
	margin-left: -230px;
	background: #e6e7e8;
	text-align: center;
	padding: 20px;
	border: 2px solid #75a4c5;
	z-index: 3000;
	display: none;
}

#edit-popup table {
	width: 100%;
	margin-bottom: 12px;
}

#edit-popup h2 {
	font-size: 1.3em;
	margin: 0 0 5px 0;
	padding: 0;
}

#edit-popup label  {
	font-weight: bold;
}

#edit-popup label.normal  {
	font-weight: normal;
}

#edit-popup img {
	vertical-align: middle;
}

#edit-popup table tr td {
	line-height: 1.3em;
	padding: 3px 5px;
	text-align: left;
	border-bottom: 2px solid #f2f3f3;
}

#edit-popup table tr td .text-input, #edit-popup table tr td input, #edit-popup table tr td select {
	width: 230px;
	margin: 3px;
	padding: 1px;
	font-size: 0.9em;
}

#edit-popup table tr td input.preference {
	width: auto;
}

#edit-popup a#unsubscribe {
	color: #ffffff;
	font-weight: bold;
}

#edit-popup #edit-submit {
	border: 1px solid #aaa;
	cursor: pointer;
	display: inline-block;
	padding: 4px 6px;
	background: #ccc;
	margin: 0px auto 10px;
	border-radius: 4px;
}

#edit-popup p {
	text-align: right;
	width: 100%;
}

#edit-popup p a {
	font-size: 1em;
	text-decoration: underline;
	font-weight: normal;
	cursor: pointer;
}

#edit-popup .error {
	display: none;
	line-height: 1.1em;
	font-weight: bold;
	background-color: #d00;
	width: 98%;
	padding: 1%;
	margin-bottom: 4px;
	text-align: center;
	color: #eeeeee;
}
#updatebox {
	float: right;
	font-weight: bold;
	font-size: 1em;
	margin-right: 1em;
	margin-top: .4em;
}

#updatebox #lastupdate {
	font-weight: normal;
}

/* Zone Info classes */
#zoneInfo {
	min-width: 10em;
	min-height: 5em;
	height: auto;
	padding: 0;
	background-color: #ffffff;
	position: fixed;
	border: solid #007baf 3px;
	border: solid #999 1px;
	border-radius: 4px;
	top: 30%;
	left: 25%;
	z-index: 1000;
	visibility: hidden;
}
#zoneInfo #exit {
	position: relative;
	float: right;
	width: 1em;
	font-size: 14px;
	color: #007baf;
	background-color: #fff;
	padding: .1em;
	margin: 2px;
	text-align: center;
	/*background-image: url("../images/icon_button_delete.png"); */
}

#zoneInfo.active {
	visibility: visible;
}
#zoneInfo h1 {
	font-size: 14px;
	height: 1.5em;
	line-height: 1em;
	padding-top: .3em;
	
}
#zoneInfo #stationList {
	font-size: 13px;
	padding: .2em;
}
#stationList a {
	color: blue;
}
#stationList ul {
	list-style: none;
}
#stationList li {
	padding-left: 1.5em;
	background-repeat: no-repeat;
	background-size: contain;
	color: blue;
	line-height: 1.2em;
}
#stationList li.WIMSicon {
	background-image: url("../images/icon_stationmap-nonRW.png");
}
#stationList li.RWicon {
	background-image: url("../images/icon_stationmap_sm.png");
}
