﻿/*-----------------------------------*/
/* Accessibility Utilities */
/*-----------------------------------*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #00539b;
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #ticker-tape {
        animation: none !important;
        position: static !important;
    }
}

/* Focus indicators for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
#top-menu li:focus-visible,
#toggle-menu li:focus-visible,
.search-results li:focus-visible {
    outline: 3px solid #e51b24;
    outline-offset: 2px;
}

/* Ensure menu items show focus */
#top-menu li:focus,
#toggle-menu li:focus {
    background-color: rgba(255,255,255,0.2);
}

/* Search results focus */
.search-results li:focus {
    background-color: #00539b;
    color: #fff;
}

/* High contrast mode support */
@media (forced-colors: active) {
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    [tabindex]:focus-visible {
        outline: 3px solid CanvasText;
    }
}

/*-----------------------------------*/

form {
	margin: 0;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
body, li {
	line-height: normal;
}
* {
    box-sizing: border-box
}
:before,:after {
    box-sizing: border-box
}
a {
	color: #428bca;
	text-decoration: none;
}
a:hover,a:focus {
	color: #2a6496;
	text-decoration: underline
}
::-ms-clear {
	display: none;
}
button {
    /* outline: none; - REMOVED for accessibility */
}
button:focus-visible {
    outline: 3px solid #e51b24;
    outline-offset: 2px;
}

.scroller {
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	left: 0; right: 0;
	top: 0; bottom: 0;
}

.map-instruction {
	font-size: 20px;
	color: #000;
	text-shadow: 0 0 10px #0f0;
	position: absolute;
	left: 50%;
	top: 70px;
	font-weight: bold;
}

button.round {
	border: none;
	padding: 0;
	position: relative;
	width: 32px;
	height: 32px;
	background: none;
}
button.round:before {
	position: absolute;
	top: 0; left: 0;
	right: 0; bottom: 0;
/*	width: 32px;
	height: 32px;*/
	padding: 0;
	line-height: 29px;
	/*text-shadow: 0px 1px 1px #000;*/
	text-align: center;
	background-color: #00539b;
	color: #fff;
	border-radius: 50%;
	border: 2px solid #eee;
/*	border-bottom: 2px solid #ccc;
	border-right: 2px solid #bbb;*/
    box-shadow: 0 2px 3px #666;
    cursor: pointer;
}
button.round:hover:before {
	border: 2px solid #fff;
    box-shadow: 0 2px 3px #00a;
}

button.btn-close:before {
	font-size: 25px;
	padding-left: 1px;
	line-height: 28px;
}
button.btn-help:before {
	content: '?';
	font-weight: bold;
	font-size: 23px;
}
button.btn-i:before {
	/*content: 'i';*/
	font-size: 23px;
	line-height: 34px;
	border: none !important;
}
button.btn-lines:before {
	font-size: 23px;
}

/****************************
COMMON CONTROLS
*****************************/
.search-field {
	position: relative;
	display: block;
	font: 12px Arial,Helvetica,sans-serif;
}
.search-field:before {
	position: absolute;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	left: 7px;
	top: 50%;
	font-size: 14px;
	margin-top: -9px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	opacity: .5;
	color: #fff
}
.search-clear {
	position: absolute;
	right: 7px;
	top: 50%;
	font-size: 16px;
	margin-top: -9px;
	width: 18px;
	height: 18px;
	border-radius: 9px;
	line-height: 18px;
	text-align: center;
	cursor: pointer;
	display: none;
	color: #fff;
}
/* Reset button styling for search clear */
button.search-clear {
	background: #00539b;
	border: none;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
/* Ensure FontAwesome icon renders on button */
button.search-clear.fa:before {
	font-family: "FontAwesome";
}
.search-field input {
	padding: 6px;
	padding-left: 28px;
	padding-right: 23px;
	/*border-radius: 8px;
	border: 1px solid #888;*/
}
.search-field input:hover {
	box-shadow: 0 0 3px #aaf;
}

/****************************
ACCORDION
*****************************/
ul.accordion {
}
.acc-heading {
	cursor: pointer;
}
.acc-heading span {
	vertical-align: middle;
}
.acc-heading .icon {
	display: inline-block;
	margin-right: 10px;
}
ul.accordion.big-headings > li > .acc-heading {
	font-size: 20px;
	padding: 5px;
	margin: 5px 0;
	background-color: #eee;
}
ul.acc-content {
	padding-left: 10px;
	overflow-y: hidden;
}

/****************************
LISTS
*****************************/

ul.feature-list {
}
.feature-list li {
	cursor: pointer;
	padding: 5px;
	border-top: 1px solid #ccc;
}
.feature-list li:first-child {
	border-top: none;
}
.feature-list li:nth-child(even) {
	background-color: #f2f2f2;
}
.feature-list .selrow {
	font-weight: bold;
}
/*
TODO: Lucity-results needs to only highlight the heading?
.feature-list li:hover .acc-heading {
	font-weight: bold;
}
.feature-list .hilite .acc-heading {
	font-weight: bold;
}*/

ul.radio-list {
}
ul.radio-list li {
	transition: padding-left 0.3s ease;
	cursor: pointer;
	padding: 5px;
	padding-left: 15px;
}
ul.radio-list li.active {
	font-weight: bold;
	padding-left: 5px;
	text-shadow: 0 0 3px #fff;
}

ul.link-list {
}
ul.link-list > li {
	cursor: pointer;
	font-size: 16px;
	padding: 10px 0;
}
ul.link-list > li:hover {
	text-shadow: 0 0 5px #00f;
	background-color: #fafafa;
}

.button-menu button {
	display: block;
	width: 100%;
	margin-bottom: 5px;
}
.button-menu .active {
	display: none !important;
}

/****************************
MAP POPUP
*****************************/
.esriPopup a {
	cursor: pointer;
}
.esriPopup .contentPane {
	font-size: 13px;
	line-height: 14px;
}
.esriPopup .titleButton.maximize {
	display: none;
}
.esriPopup .titleButton.close {
/*	right: -15px;
	top: -15px;
	width: 32px;
	height: 32px;
	opacity: 1;
	background-position: 0 0;
	background-image: url(../images/x.png);
	background-size: contain;*/
	display: none;
}
.popup .btn-close {
	position: absolute;
	right: -10px;
	top: -10px;
}

/* Title bar */
.esriPopup .sizer:first-child {
	z-index: 3;
}
.esriPopup .actionsPane {
	display: none;
}

/****************************
UI POPUP
*****************************/

.modal-popup {
	position: absolute;
	left: 50%; top: 50%;
	width: 600px;
	height: 300px;
	margin-left: -300px;
	margin-top: -150px;
	background-color: #fff;
	z-index: 3000;
}
.modal-popup > .content {
/*	top: 10px; left: 10px;
	bottom: 10px; right: 10px;*/
	padding: 10px;
}
.popup-bg {
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 0;
	background-color: #000;
	opacity: 0.5;
	z-index: 1010;
}
.modal-popup > .btn-close {
	position: absolute;
	right: -10px;
	top: -10px;
/*	width: 32px;
	height: 32px;
	opacity: 1;
	background-position: 0 0;
	background-image: url(../images/x.png);
	background-size: contain;*/
}

/* do not group these rules */
input.dark::-webkit-input-placeholder { color: #ddd }
input.dark:-moz-placeholder { color: #ddd }
input.dark::-moz-placeholder { color: #ddd }
input.dark:-ms-input-placeholder { color: #ddd }

/* Accessible placeholder contrast (4.5:1 minimum) */
input::-webkit-input-placeholder { color: #555 }
input:-moz-placeholder { color: #555 }
input::-moz-placeholder { color: #555 }
input:-ms-input-placeholder { color: #555 }
input::placeholder { color: #555 }

.base-toggle {
	position: absolute;
	top: 50px;
	right: 30px;
	padding: 1px;
	background: #fff;
	border: 1px solid #57585A;
	cursor: pointer;
	border-radius: 5px;
}
.base-toggle img {
	width: 60px;
	height: 60px;
	border-radius: 5px 5px 0 0;
}
.base-toggle .title {
	color: #4C4C4C;
	margin: 1px 0 0;
	font-size: 10px;
	line-height: 16px;
	width: 60px;
	padding: 0;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*-----------------------------------------------------------------------------*/
/* Editor Widget */
/*-----------------------------------------------------------------------------*/
#permit-toggle-group label {
	font-size: 12px;
}
#permit-toggle-group input {
	width: 93%;
	display: block;
}
#permit-toggle-group textarea {
	width: 93%;
}
#permit-toggle-group select {
	display: block;
	width: 98%;
	margin: 0;
}
#permit-toggle-group .date {
	display: block;
}
#permit-toggle-group .date input {
	display: inline-block;
	width: 85%;
}

/*-----------------------------------------------*/
/* Measure Widget */
.msrTools {
	cursor: pointer;
}
.measureToolsSelected {
	border-radius: 5%;
	border: 1px solid #fff;  
	-webkit-box-shadow: 3px 3px 3px #111;
		  box-shadow: 3px 3px 3px #111; 
}

.measureClear {
	display: none;
	padding-left: 10px;
	padding-right: 10px;
}

/******************
ICONS
*******************/
/*.icon {
    font-family: "foundation-icons";
    width: 18px;
    height: 18px
}

.arrows>li {
	position: relative;
	padding-right: 20px !important;
}
.arrows>li:before {
	position: absolute;
	right: 2px;
	top: 50%;
	font-family: "foundation-icons";
	content: "\f198";
	opacity: 0.2;
	font-size: 18px;
	margin-top: -9px
}*/
.search-field:before {
	background-color: #666;
	background-color: rgba(0,0,0,.4);
/*	background-image: url(icons-18-white.png);
	background-repeat: no-repeat;*/
	-webkit-border-radius: 9px;
	border-radius: 9px
}

/*-----------------------------------*/
/* Screen size adjustments */
/*-----------------------------------*/
@media (min-width: 600px) {
	.mobile-only {
		display: none !important;
	}
}
@media (max-width: 599px) {
	.not-mobile {
		display: none !important;
	}
}
@media (max-width: 999px) {
	.desktop-only {
		display: none !important;
	}
}
@media (min-width: 1000px) {
	.not-desktop {
		display: none !important;
	}
}



html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}
body {
    font: 12px Arial,Helvetica,sans-serif;
    -webkit-text-size-adjust: none;
}

#header {
	position: relative;
	z-index: 502;
	background-color: #00539b;
	color: #fff;
	padding: 0;
	border-bottom: 3px solid #e51b24;
	box-shadow: 0 3px 5px #969;
}
#header img {
	max-height: 50px;
	max-width: 100%;
}
#header button {
	position: absolute;
	top: 50%;
	margin: 0 10px;
	margin-top: -16px;
}
#btn-menu.open:before {
	content: "\f217"
}
.header-row {
	padding: 10px;
	position: relative;
}
.fade-at-start {
	opacity: 0;
}

.modal-popup {
	width: 300px;
	height: auto;
	margin-left: -150px;
	margin-top: -25%;
	background-color: rgba(0,6,27,0.7);
	border-radius: 5px;
	border: 2px solid #fff;
	color: #fff;
	font-size: 1.2em;
}

.landing-page {
	width: 300px;
	height: 340px;
	margin-left: -150px;
	margin-top: -170px;
}
.landing-page .content {
	padding: 15px;
}
.landing-page h1 {
	font-size: 20px;
	font-weight: normal;
	margin: 0;
	margin-bottom: 10px;
	text-align: center;
}
.landing-page p {
	margin: 0 0 10px;
}

#ticker-open {
	width: 100px;
	position: absolute;
	left: 50%;
	margin-left: -50px;
   	z-index: 500;

	text-align: center;
	font-size: 17px;
	padding: 5px 0;
	background-color: rgba(200,200,200,0.5);
	color: #000;
	cursor: pointer;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
#ticker-box {
    display: none;
	position: absolute;
	top: 0;
	left: 25%;
	right: 25%;
	z-index: 500;

	background-color: rgba(239,239,239,0.8);
	color: #555;
	font-weight: bold;
	font-style: italic;
}
#ticker-pause {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #00539b;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
}
#ticker-box:hover #ticker-pause,
#ticker-box:focus-within #ticker-pause,
#ticker-pause:focus {
    opacity: 1;
}
#ticker-pause:focus-visible {
    outline: 2px solid #e51b24;
    outline-offset: 2px;
}
#ticker {
	position: relative;
	overflow: hidden;
	height: 23px;
    font-size: 16px;
}
#ticker-tape {
	position: absolute;
	right: 0;
	bottom: 2px;
	white-space: nowrap;
}

#static-msgs {
    list-style: none;
    margin: 0;
    padding: 0;
}

#static-msgs li {
    background: #00539b;
    font-size: 1.3em;
    color: #fff;
    box-shadow: 0 8px 3px -5px #888;
    padding: 10px;
    margin: 15px 0;
}
#static-msgs a {
    color: #A5B7FD !important
}

#main {
    position: absolute;
    top: 76px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

#mapbox {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
	right: 0;
}
#map {
    width: 100%;
    height: 100%;
    background: none;
}

#HomeButton {
    position: absolute;
    top: 90px;
    left: 16px;
    z-index: 50;
}
#HomeButton .home {
	background-color: #00539b;
}
#HomeButton .home:hover {
    background-color: #0073bb;
}
/*#map-loading {
	position: absolute;
	width: 100%; height: 100%;
	background-color: #000;
	opacity: 0.7;
	z-index: 2;
	display: none;
}
#map-loading > div {
	position: absolute;
	width: 150px;
	height: 100px;
	left: 50%; top: 50%;
	margin-left: -75px;
	margin-top: -50px;
	background-color: #fff;
	color: #000;
	font-size: 18px;
	text-align: center;
	border-radius: 10px;
	padding: 5px;
}
#map-loading > div > div {
	margin-top: 10px;
}*/
#banner {
    display: none;
    position: absolute;
    bottom: 50%;
    left: 0;
    z-index: 699;
    text-align: center;
    width: 100%;
		user-select: none;
    pointer-events: none;
}
#banner-text {
	color: black;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	letter-spacing: 0.2em;
	font-size: 2.5em;
	user-select: none;
	pointer-events: none;
}
@supports(-webkit-text-stroke: 1px black) {
    #banner-text {
        color: transparent;
        -webkit-text-stroke: 3px black;
        text-shadow: none;
    }
}
#map-icons {
	position: absolute;
	right: 10px;
	top: 20px;
	z-index: 2;
	opacity: 0;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}
#map-icons img {
	cursor: pointer;
	display: block;
}

#mapbox .btn-legend {
	position: absolute;
	z-index: 501;
	bottom: 40px;
	right: 5px;
	font-size: 18px;
}
.btn-legend {
	display: none;
}

#top-menu {
	position: absolute;
	left: 250px;
	right: 50px;
	bottom: 0;
	height: 100%;
	font-size: 16px;
	display: none;
}
#top-menu ol {
	counter-reset: li;
	margin: 0;
	padding: 0;
	height: 100%;
	white-space: nowrap;
}
#top-menu li {
	display: inline-block;
	white-space: normal;
	list-style: none;
	padding-left: 1.7em;
	padding-right: 2px;
	width: 50%;
	height: 100%;
	line-height: 70px;
	cursor: pointer;
	vertical-align:top;
}
#top-menu li span {
	position: relative;
	line-height: normal;
	display: inline-block;
	vertical-align: middle;
	text-shadow: 2px 2px 1px #1F405D;
}
#top-menu .active {
	border-bottom: 5px solid #e51b24;
}
#top-menu li:hover {
	background-color: rgba(0,0,0,0.3);
}
#top-menu li span:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -0.6em;
    top: 50%;
    font-size: 50px;
    margin-top: -0.6em;
    color: #1F405D;
    text-shadow: none;
    z-index: -1;
}
#top-menu li.active span:before {
    color: #CAE3F9;
}

#toggle-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    font-size: 14px;
    background: #00539b;
    color: #eee;
    border-top: 5px solid #3275c0;
}
#toggle-menu li {
    width: 50%;
    line-height: 35px;
    display: inline-block;
    margin: 0;
    text-align: center;
    cursor: pointer;
}
#toggle-menu li.active {
    color: #fff;
    font-weight: bold;
    background: #3275c0;
    box-shadow: 0 4px 5px #222;
}/*
#toggle-menu li:hover {
    background: #00539b;
    text-shadow: 0 0 3px #f00;
}*/

#panel-box {
	display: none;
	position: absolute;
	left: 0; bottom: 0;
	background-color: #fff;
	padding: 10px;
	z-index: 501;
	overflow-y: auto;
}
.panel-heading {
	padding: 5px;
	padding-bottom: 2px;
	font-size: 20px;
	text-align: center
}

.panel-item {
	padding: 5px;
	padding-top: 2px;
}

#panel-tabs {
	height: 150px;
}
#panel-tabs a {
	color: #ccc;
}
#panel-tabs li.active a {
	color: #fff;
	background-color: #00539b;
}
#panel-tabs .tab-pane {
	padding-top: 5px;
}

#panel-carousel h5 {
	color: #ccc;
}
#panel-carousel .carousel-control .glyphicon {
	margin-top: -10px;
	margin-left: -10px;
	right: auto;
	left: auto;
}
#panel-carousel .carousel-indicators {
	bottom: 5px;
	margin-bottom: 0;
}
#panel-carousel .carousel-inner > div {
	padding: 0 15%;
	height: 150px;
}

.key {
	text-align: center;
	font-size: 14px;
	line-height: 25px;
	padding: 7px;
	margin-top: 25px;
	background-color: #fff;
    box-shadow: 0 1px 3px #888;
    border-radius: 20px;
}
.key-header {
	color: #fff;
	border-bottom: 1px solid #888;
	margin-bottom: 10px;
}
.key-items {
	display: inline-block;
	margin-right: 15px;
	vertical-align: middle;
	text-align: center;
}
.key-items .priority {
	font-size: 11px;
	color: #888;
	text-transform: uppercase;
}
.key-items .key-icon {
	display: inline-block;
	width: 40px;
	text-align: center;
	vertical-align: middle
}
.key-items .line {
	height: 2px;
}
.key button {
	vertical-align: middle;
}
.crop-icon::before {
	font-family: "foundation-icons";
	content: '\f136';	
}
.full-help {
	display: none;
}

.legend {
	margin: 0 auto;
}
.legend div {
	width: 10px;
	height: 5px;
	border-radius: 3px;
}
.legend td:nth-child(2) {
	padding-right: 20px;
}

.breadcrumbs tr:hover {
	background-color: #1C8BD5;
	cursor: pointer;
}
.breadcrumbs td:not(:last-child) {
	border-right: 1px solid #fff;
	padding-right: 3px;
}
.breadcrumbs td:not(:first-child) {
	padding-left: 3px;
}

#bottom-filler {
	display: none;
}

footer {
    position: absolute;
    bottom: 5px;
    left: 10px;
    z-index: 500;
}
footer p {
    margin: 0
}

#floating-search {
    position: absolute;
    z-index: 500;
    left: 50px;
    right: 50px;
}

#panel-box .search-field {
    margin-right: 35px;
}

/*-----------------------------------*/
/* Controls */
/*-----------------------------------*/
.search-field {
	margin: 5px 0;
    position: relative;
	font-size: 15px;
}
.search-field input {
	width: 100%;
	border: 2px solid #ddd;
	padding-top: 10px;
	padding-bottom: 10px;
}
.search-field:before, .search-clear {
	background-color: #00539b;
}
.geolocate-only {
    display: none;
}
.geolocate-only span {
    display: inline-block;
}
.geolocate-search {
    float: right;
    font-size: 20px;
    cursor: pointer;
    background: #00539b;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px #888;
    padding: 0;
    margin: 0;
    line-height: 1;
}
/* Reset button styling for geolocate */
button.geolocate-search {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.geolocate-search .fa-map-marker {
	font: 20px Arial,Helvetica,sans-serif;
}
.geolocate-search .fa-map-marker:before {
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
}
.geolocate-search:hover {
    box-shadow: 0 2px 3px #00a;
}
.geolocate-search span {
    padding: 5px 8px;
}
.geolocate-search .fa-spinner {
    padding: 5px 5px;
}
.search-results {
	margin-left: 0;
	background-color: #fff;
	position: absolute;
	left: 0;
	right: 0;
	text-transform: none;
	font-weight: normal;
	font-size: 16px;
	z-index: 2;
	top: 38px;
	box-shadow: 2px 2px 3px #aaa;
	display: none
}
.search-results .query {
    text-transform: uppercase;
	padding: 5px;
    padding-left: 15px;
}
.search-results .no-results {
	padding: 5px;
    padding-left: 15px;
}
.search-results .loading {
    display: block;
    width: 24px;
    position: absolute;
    right: 2px;
    top: 2px;
}
.search-results ul {
    list-style-type: none;
    margin: 0;
}
.search-results li {
    color: #00539b;
    padding: 5px;
	padding-left: 15px;
	position: relative;
	cursor: pointer;
}
.search-results li:hover {
    background-color: #00539b;
    color: #fff;
}
.search-results li:before {
	position: absolute;
	top: 50%;
	left: 1px;
	margin-top: -10px;
}

/*-----------------------------------*/
/* Map popup customizations */

.popup {
    font-size: 14px;
}
.popup .title {
    margin: 0;
    margin-bottom: 10px;
}

.popup.no-treat .title {
	font-size: 18px;
}

.popup .subtitle {
	font-size: 1.2em;
	margin-top: -8px;
	margin-bottom: 15px;
}

.popup.hr3 .esriPopupWrapper,
.popup.hr3 .leaflet-popup-content-wrapper,
.popup.hr3 .leaflet-popup-tip {
    box-shadow: 0 3px 12px #FFA500;
}
.popup.hr3 .title {
	color: #FFA500;
}
.popup.hr3 .btn-close:before {
	background-color: #FFA500;
}
.popup.hr6 .esriPopupWrapper,
.popup.hr6 .leaflet-popup-content-wrapper,
.popup.hr6 .leaflet-popup-tip {
    box-shadow: 0 3px 12px #38A800;
}
.popup.hr6 .title {
	color: #38A800;
}
.popup.hr6 .btn-close:before {
	background-color: #38A800;
}
.popup.hr12 .esriPopupWrapper,
.popup.hr12 .leaflet-popup-content-wrapper,
.popup.hr12 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #89CD66;
}
.popup.hr12 .title {
	color: #89CD66;
}
.popup.hr12 .btn-close:before {
	background-color: #89CD66;
}
.popup.hr24 .esriPopupWrapper,
.popup.hr24 .leaflet-popup-content-wrapper,
.popup.hr24 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #8400A8;
}
.popup.hr24 .title {
	color: #8400A8;
}
.popup.hr24 .btn-close:before {
	background-color: #8400A8;
}
.popup.hr72 .esriPopupWrapper,
.popup.hr72 .leaflet-popup-content-wrapper,
.popup.hr72 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #DF73FF;
}
.popup.hr72 .title {
	color: #DF73FF;
}
.popup.hr72 .btn-close:before {
	background-color: #DF73FF;
}

.popup.priority1 .esriPopupWrapper,
.popup.priority1 .leaflet-popup-content-wrapper,
.popup.priority1 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #BB841C;
}
.popup.priority1 .title {
	color: #BB841C;
	font-size: 1.4em;
}
.popup.priority1 .btn-close:before {
	background-color: #BB841C;
}
.popup.priority2 .esriPopupWrapper,
.popup.priority2 .leaflet-popup-content-wrapper,
.popup.priority2 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #C44795;
}
.popup.priority2 .title {
	color: #C44795;
	font-size: 1.4em;
}
.popup.priority2 .btn-close:before {
	background-color: #C44795;
}
.popup.priority3 .esriPopupWrapper,
.popup.priority3 .leaflet-popup-content-wrapper,
.popup.priority3 .leaflet-popup-tip {
	box-shadow: 0 3px 12px #05f;
}
.popup.priority3 .title {
	color: #05f;
	font-size: 1.4em;
}
.popup.priority3 .btn-close:before {
	background-color: #05f;
}

.leaflet-container {
    font: 18px Arial,Helvetica,sans-serif;
}
.leaflet-control-locate a {
    font-size: 1em;
}
.leaflet-bar a, .leaflet-bar a:hover,
.leaflet-control-layers-toggle {
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
}
.leaflet-retina .leaflet-control-layers-toggle {
    background-size: 23px 23px;
}


.leaflet-overlay-pane canvas {
    z-index: 201;
}


/*-----------------------------------*/
/* Icons */
.round.dark:before {
    background-color: #fff;
    color: #00539b;
}

/*-----------------------------------*/
/* Screen size adjustments */
/*-----------------------------------*/
@media (min-width: 600px) {
	#panel-box {
		top: 0;
		right: auto;
		width: 300px;
		border-right: 2px solid #eee;
        box-shadow: 1px 0 10px #ddd;
	}
	.modal-popup .content {
		position: static;
	}
}
@media (min-width: 1000px) {
	#top-menu {
		left: 230px;
		right: 230px;
		font-size: 25px;
		text-align: center;
	}
}
@media (max-width: 599px) {
	.header-row {
		margin: 0;
        padding: 5px 0;
	}
	#header img {
		max-height: 35px;
	}
	#header {
		text-align: center;
	}
    #main {
        top: 51px;
    }

	#ticker {
		font-size: 12px;
	}

	#ticker-box {
		left: 15%;
		right: 15%;
	}

    #main {
        bottom: 40px;
    }
    
    /*
	#panel-box {
		top: auto;
		right: 0;
		padding: 0;
        z-index: 1500;
	}

    #panel-box .search-results,
    #panel-box .no-results,
    #panel-box .key,
    .panel-heading {
        display: none !important;
    }

    #static-msgs {
        display: none;
    }
    */

    #floating-search.inactive {
        display: none !important;
    }

    .modal-popup {
        top: 51px;
        margin-top: 0;
        margin-left: 0;
        left: 50%;
        margin-left: -50%;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
    }
    .modal-popup .btn-close {
        top: auto;
        right: auto;
        left: 50%;
		margin-left: -20px;
        bottom: 10px;
    }
    .modal-popup .content {
        bottom: 20px;
    }

    #banner-text {
        font-size: 1.7em;
    }
    @supports(-webkit-text-stroke: 2px black) {
        #banner-text {
            -webkit-text-stroke: 2px black;
        }
    }
}
