html,body,#container {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

body {
	padding-top: 53px; /* Bootleaf only Menu padding-top*/
	/*padding-top: 129px;*/
	overflow-y: scroll;
}

input[type="radio"],input[type="checkbox"] {
	margin: 0;
}

#map {
	width: auto;
	height: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#loading {
	position: absolute;
	width: 220px;
	height: 19px;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -110px;
	z-index: 20001;
}

#baselayer {
	position: absolute;
	z-index: 5;
	top: 129px;
	left: 10px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
}

#features {
	margin: 0px;
	border: none;
	border-radius: 0px;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.progress-bar-full {
	width: 100%;
}

.white {
	color: #FFFFFF;
}

.feature-row {
	cursor: pointer;
}

.sidebar-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.sidebar-table {
	position: absolute;
	width: 100%;
	top: 124px;
	bottom: 0px;
	overflow: auto;
}

.leaflet-control-layers label {
	font-weight: normal;
	margin-bottom: 0px;
}

.leaflet-control-layers-group-name {
	font-weight: bold;
	margin-bottom: .2em;
	display: block;
}

.leaflet-control-layers-group {
	margin-bottom: .5em;
}

.leaflet-control-layers-group label {
	padding-left: .5em;
}

#tableModal .modal-dialog { /* Resize the table modal to the dimensions of the screen*/
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	max-height: 90%;
}

#tableModal .modal-body {
	padding-bottom: 50px;
}

.county-label {
    position: absolute;
    top:0;
    bottom:0;
    width:50%;
    font-weight: bold;
    font-size: 10px;
    text-shadow: 0px 2px 1px rgba(255,255,255,0.50);
}

@media (min-width: 767px) {
	#tableModal .modal {
		max-height: 100%
	}
}

.navbar .navbar-brand {
	font-weight: bold;
	font-size: 25px;
	color: #FFFFFF;
}

.navbar-collapse.in {
	overflow-y: hidden;
}

.navbar-header .navbar-icon-container {
	margin-right: 15px;
}

.navbar-header .navbar-icon {
	line-height: 50px;
	height: 50px;
}

.navbar-header a.navbar-icon {
	margin-left: 25px;
}

.typeahead {
	background-color: #FFFFFF;
}

.tt-dropdown-menu {
	background-color: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	margin-top: 4px;
	padding: 4px 0;
	width: 100%;
	max-height: 300px;
	overflow: auto;
	z-index: 1001 !important;
}

.tt-suggestion {
	font-size: 14px;
	line-height: 20px;
	padding: 3px 10px;
}

.tt-suggestion.tt-cursor {
	background-color: #0097CF;
	color: #FFFFFF;
	cursor: pointer;
}

.tt-suggestion p {
	margin: 0;
}

.tt-suggestion+.tt-suggestion {
	border-top: 1px solid #ccc;
}

.typeahead-header {
	margin: 0 5px 5px 5px;
	padding: 3px 0;
	border-bottom: 2px solid #333;
}

.has-feedback .form-control-feedback {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
}

/* Hover window */
.info {
	padding: 6px 8px;
	font: 14px/16px Arial, Helvetica, sans-serif;
	background: white;
	/*background: rgba(255,255,255,0.8);*/ /*transparency*/
	background: rgba(255,255,255);
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	border-radius: 5px;
}
.info h4 { /* Hover Window */
	margin: 0 0 5px;
	color: #777;
	font-weight: bold;
}
.info h5 { /* Hover Window */
	font-style: italic;
}
/* Turn off the hover window on smaller devices (most phones) for real estate */
@media screen and (max-width: 700px) {
	.info {
		visibility: hidden;
		padding: 6px 8px;
		font: 14px/16px Arial, Helvetica, sans-serif;
		background: white;
		background: rgba(255,255,255,0.8);
		box-shadow: 0 0 15px rgba(0,0,0,0.2);
		border-radius: 5px;
	}
	.info h4 {
		visibility: hidden;
	}
}

/* Make the navbar header smaller to accommodate smaller browsers, and devices (for screen real estate) */
@media (max-width: 1025px) {
	.navbar .navbar-brand { font-size: 15px; }
}

/* Don't display the hamburger menu if the minimum screen resolution is >= 993px */
@media (min-width: 993px) {
	.navbar-icon { display: none !important; }
}

.form-control {
	width: 100% !important;
}

@media (max-width: 767px) {
	#sidebar {
		display: none;
	}
	.url-break {
		word-break: break-all;
		word-break: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
	.dropdown-menu a i {
		color: #FFFFFF;
	}
}

@media print { /* Print Handling */
	.navbar {
		display: none !important;
	}
	.leaflet-control-container {
		display: none !important;
	}
}

.leaflet-top-pane {
	pointer-events: none;
}

.modal-header {
	background-color: #1a7fc3;
	color: #fff;
}

.modal-header .close {
	color: #fff;
}

.modal-body {
	max-height: 450px;
	overflow-y: auto;
}

.legend {
	line-height: 18px;
}

.legend i {
	width: 18px;
	height: 18px;
	float: left;
	margin-right: 8px;
	opacity: 0.7;
}

.custom-popup .leaflet-popup-content-wrapper,.custom-popup .leaflet-popup-tip
	{ /*Custom Popup*/
	background: #2c3e50;
	color: #fff;
	font-size: 14px;
	line-height: 24px;
	opacity: .75;
}

.custom-popup .leaflet-popup-close-button {
	z-index: 99;
}

.popover-title {
	background-color: #d0cfd4;
	font-weight: bold;
}
:focus {
	border:2px dotted #29AAE2;
	outline: 0;
	-webkit-transition:all 0.15s ease-in-out;
	transition:all 0.15s ease-in-out;
}

.form-control:focus, input[type='radio']:focus, button.btn.btn-default:focus {
	background-color: #f6f6f6;
	outline: 2px dotted #29AAE2;
	-webkit-transition:all 0.15s ease-in-out;
	transition:all 0.15s ease-in-out;
}

button.close:focus {
	outline: 2px dotted #fff;
	-webkit-transition:all 0.15s ease-in-out;
	transition:all 0.15s ease-in-out;
}

#map:focus {
	border: 1px;
	outline: 0;
}

@media screen and (max-width : 480px) {
	.leaflet-bar {
		z-index: 999;
	}
	.leaflet-control-layers {
		position: absolute;
		top: 0;
		right: 1px;
	}
	.leaflet-control-layers-leaflet-control {
		position: absolute;
		top: 5px;
		right: 1px;
	}
	.leaflet-control-layers-list {
		/*height: 300px;  /*For limiting the legend size and if implemented will also need to enable scroll on mobile devices */
		overflow-y: auto;
	}
}

.legend-max-width {
	max-width: 200px;
}

.leaflet-container a.btn-primary {
	color: #fff !important;
}
