/* map */
#map {
	height: 100%;
	outline: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	background-color: #262626;
}
#controls {
	display: none;
	position: absolute;
	left: 54px;
	top: 11px;
	z-index: 1000;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 1px 7px rgba(0,0,0,0.65);
	padding: 6px;
}
#controls button {
	border-radius: 5px;
}
#last_update {
	position: absolute;
	bottom: 0;
	right: 0;
	color: #333;
	font-size: 11px;
	background: #fff;
	background: rgba(255, 255, 255, 0.7);
	margin: 0;
	padding: 0 5px;
	z-index: 1000;
}


/*******************/
/* loading loader */
/*******************/
.loader_wrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 3000;
	background-color: rgba(51, 51, 51, 0.9);
}
.loader {
	left: 50%;
	top: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}

.loader > div {
	width: 18px;
	height: 18px;
	background-color: rgba(255, 152, 0, 0.9);
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bounce 1.4s infinite ease-in-out both;
	animation: bounce 1.4s infinite ease-in-out both;
}

.loader .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.loader .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
@-webkit-keyframes bounce {
	0%, 80%, 100% {
		-webkit-transform: scale(0)
	}
	40% {
		-webkit-transform: scale(1.0)
	}
}
@keyframes bounce {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}


/* basemap switcher */
.basemaps {
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	margin-left: 6px !important;
}
.basemaps-button {
	background-color: white;
	padding-bottom: 7px;
	text-align: left;
	padding: 3px 3.4px;
	border-radius: 4px;
	width: 155px;
	cursor: pointer;
}
.basemaps-menu {
	display: none;
	background-color: #fff;
    border-radius: 4px;
	border-radius: 4px 4px 0px 0px;
	width: 155px;
    /* box-shadow: 0 3px 14px rgba(0,0,0,0.4); */
}
.basemaps-tr:hover {
	background-color: #ccc;
	border-radius: 0px 0px 4px 4px;
	cursor: pointer;
}
.basemaps-img-main {
	height: 40px;
	border-radius: 3px;
}
.basemaps-img {
	height: 40px;
	border-radius: 3px;
}
.basemaps-img-td {
	padding: 3px 0px;
}
.basemaps-name-td {
	padding-right: 4px;
}


/* custom buttons */
.leaflet-touch .leaflet-bar button {
	background-color: #fff0;
	width: 83px;
    height: 76px;
    margin-left: -10px;
    margin-top: -1px;
}
.info {
	background-color: white;
	background-image: url(images/info.svg);
	background-position: 3px 4px;
	background-repeat: no-repeat;
	background-size: 24px;
	cursor: pointer;
	height: 30px;
	width: 30px;
}
.prtscn {
	background-color: white;
	background-image: url(images/camera.svg);
	background-position: 3px 5px;
	background-repeat: no-repeat;
	background-size: 24px;
	cursor: pointer;
	height: 30px;
	width: 30px;
}
.fullscreen {
	background-color: white;
	background-image: url(images/fullscreen.svg);
	background-position: 3px 3px;
	background-repeat: no-repeat;
	background-size: 24px;
	cursor: pointer;
	height: 30px;
	width: 30px;
}
.hotspots {
	background-color: white;
	background-image: url(images/fire-on.svg);
	background-position: 5px 2px;
	background-repeat: no-repeat;
	background-size: 20px;
	cursor: pointer;
	height: 30px;
	width: 30px;
}
.hotspots-off {
	background-color: white;
	background-image: url(images/fire.svg);
	background-position: 5px 2px;
	background-repeat: no-repeat;
	background-size: 20px;
	cursor: pointer;
	height: 30px;
	width: 30px;
}


/* Calendar */
.calendar {
	background-color: white;
	background-image: url(images/calendar.svg);
	background-position: 3px 2px;
	background-repeat: no-repeat;
	background-size: 24px;
	cursor: pointer;
	height: 30px;
	width: 30px;
	display: none;
}
#date {
	width: 70px;
}


/* loading spinner */
.loading-sub {
	position: absolute;
	overflow: auto;
	margin: auto;
	top: 55%;
	left: 0;
	right: 0;
	z-index: 1000;
	display: none;
	color: white;
	text-align: center;
}
.loading {
	position: fixed;
	height: 2em;
	width: 2em;
	overflow: show;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1000;
	display: none;
}
.loading:before {
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
}
.loading:not(:required) {
	font: 0/0 a;
	text-shadow: none;
	background-color: transparent;
	border: 0;
	color: white;
}
.loading:not(:required):after {
	content: '';
	display: block;
	font-size: 10px;
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	-webkit-animation: spinner 1500ms infinite linear;
	-moz-animation: spinner 1500ms infinite linear;
	-ms-animation: spinner 1500ms infinite linear;
	-o-animation: spinner 1500ms infinite linear;
	animation: spinner 1500ms infinite linear;
	border-radius: 0.5em;
	-webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.5) -1.5em 0 0 0, rgba(255, 255, 255, 0.5) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
	box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}
@-webkit-keyframes spinner {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@-moz-keyframes spinner {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@-o-keyframes spinner {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes spinner {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


/* block with logos */
.logos {
	z-index: 1000;
	opacity: 0.8;
}
@media (max-width: 999px) {
	.logo-gmh {
		background: url(images/logo-gmh-white.svg) no-repeat;
		background-size: 80px 80px;
		width: 80px;
		height: 80px;
	}
	.logo-gpfire {
		background: url(images/logo-gpfire.png) no-repeat;
		background-size: 50px 50px;
		width: 50px;
		height: 50px;
	}
	.logo-gp {
		background: url(images/logo-gp-white.svg) no-repeat;
		background-size: 100px 20px;
		background-position-x: 5px;
		width: 100px;
		height: 20px;
	}
}
@media (min-width: 1000px) {
	.logo-gmh {
		background: url(images/logo-gmh-white.svg) no-repeat;
		background-size: 100px 100px;
		width: 100px;
		height: 100px;
		margin-bottom: 3px;
		-webkit-filter: drop-shadow(5px 5px 5px #222);
		filter: drop-shadow(5px 5px 5px #222);
	}
	.logo-gpfire {
		background: url(images/logo-gpfire.png) no-repeat;
		background-size: 100px 100px;
		width: 100px;
		height: 100px;
		margin-bottom: 3px;
		-webkit-filter: drop-shadow(5px 5px 5px #222);
		filter: drop-shadow(5px 5px 5px #222);
	}
	.logo-gp {
		background: url(images/logo-gp-white.svg) no-repeat;
		background-size: 130px;
		background-position-x: 10px;
		width: 140px;
		height: 30px;
		margin-bottom: 0px;
		-webkit-filter: drop-shadow(5px 5px 5px #222);
		filter: drop-shadow(5px 5px 5px #222);
	}
}


/* small shhare btns on the map */
.share_block {
	display: flex;
	flex-flow: row;
	margin-bottom: 4rem !important;
}
.logo_fb {
	width: 40px;
	height: 40px;
}
.logo_fb a {
	position: absolute;
	width: 40px;
	height: 40px;
	background: url(images/facebook-square.svg) no-repeat;
	background-size: 40px;
	opacity: 0.7;
}
.logo_tw {
	width: 40px;
	height: 40px;
	margin-left: 5px;
}
.logo_tw a {
	position: absolute;
	width: 40px;
	height: 40px;
	background: url(images/twitter-square.svg) no-repeat;
	background-size: 40px;
	opacity: 0.7;
}


/* info window */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
	font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
	font-size: 12pt;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
	border-radius: 10px;
}
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* legend - satellite button */
.legend {
	display: none;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	padding: 7px;
	opacity: 0.9;
	margin-left: 6px !important;
	font-size: 11px;
}


/* fancy shadows */
.leaflet-touch .leaflet-bar {
	border: 0;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	background-clip: padding-box;
	background-color: none;
}