
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#map {
	width: 100%;
	height: 100%;
	margin: 45px 0 0 0;
	display: block;
	position: absolute;
	height: auto;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
}

#banner {
	position:absolute;
	left: 0;
	top: 0;
	height: 45px;
	width:100%;
	background:#007;
	color: white;
	font-weight: bold;
	padding:5px;
	clear: both;
	z-index: 9999;
}

#banner input,
#banner button {
	margin-top: 4px;
	margin-left: 15px;
}

div.leaflet-right {
	height: 100%;
}

form.leaflet-control-layers-list {
	max-height: 80%;
	overflow-x: hidden;
	overflow-y: auto;
}

#download-wrapper a {
	text-decoration: none;
	color: #fff;
	margin-top: 10px;
	margin-right: 20px;
	display: inline-block;
}

.share-div {
	float: right;
}

.share-div span {
	text-decoration: none;
	color: #fff;
	margin-top: 10px;
	margin-right: 20px;
	display: inline-block;	
}

.share-div input {
	margin-top: 5px;
	margin-right: 20px;
	display: inline-block;	
}

.openDescription {
	cursor: pointer;
	opacity: 0;
	margin-top: 10px;
	margin-right: 20px;
}

.featherlight-content {
	max-width: 520px;
}

.share-overlay {
	position: fixed;
	bottom: 30px;
	left: 10px;
}

.logo-overlay {
	position: fixed;
	bottom: 10px;
	right: 10px;
}

.loading-overlay {
	background: rgba(0, 0, 0, 0.4);
	position: fixed;
	z-index: 999999;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;
}

.loading-overlay img {
	display: block;
	margin: 0 auto;
	position: relative;
	top: 45%;
}

.leaflet-control-attribution {
	display: none;
}

.featherlight:last-of-type {
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0% 0% !important;
}

.leaflet-popup-content h2 {
	font-weight: bold;
	font-style: italic; 
	font-size: 16px;
}

p {
	margin-bottom: 0.6em !important;
}

.featherlight > .featherlight-content {
	background: transparent !important;
}

#mylightbox > .featherlight-content {
	background: #FFF none repeat scroll 0% 0% !important;
}


@media (max-width: 600px) {

	#banner {
		height: auto;
	}
	
	.share-overlay {
		bottom: 2px;
		left: 2px;	
	}

	.share-overlay img {
		width: 45% !important;
	}

	.logo-overlay {
		bottom: 2px;
		right: 2px;
	}

	.logo-overlay img {
		/*width: 45% !important;*/
		display: none;
	}

	#banner input,
	#banner button {
		display: inline-block;
		width: 95%;
	}

	#map {
		margin-top: 100px;
	}
}


