@import url(http://fonts.googleapis.com/css?family=Lato:400,700);

* {
	box-sizing: border-box;
}

html{
	height:100%;
}
body{
	position:relative;
	height:100%;
	font:13px/1.53 'Lato', Arial, Helvetica, sans-serif;
	color:#181c21;
	margin:0;
}
a{
	text-decoration:none;
	color: rgba(255, 195, 52, 1);
}
a:hover{
	text-decoration:none;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#loader {
	display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: 10px;
    margin-left: 10px;
	background: url(../images/spinner.png) center;
	background-size: contain;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#map { 
	width:100%; 
	height:100%; 
	margin: 0;
}

#charts {
	position: fixed;
	display: none;
	top: 160px;
	right: -800px;
	z-index: 3000;
	background-color: rgba(255,255,255,0.8);
	padding: 10px;
	width: 100%;
	bottom: 33px;
	overflow-y: auto;
	transition: all 0.5s ease;
}

#charts.on-screen {
	right: 0px;
}

@media screen and (min-width: 500px) {
	#charts {
		top: 93px;
		bottom: 33px;
    }
	#charts.on-screen {
		top: 93px;
		right: 0px;
    }
}

@media screen and (min-width: 800px) {
	#charts, #charts.on-screen {
		right: 0px;
		width: 45%;
		top: 61px;
		max-width: 500px;
		bottom: 33px;
    }
}

.charts-trigger {
	background: #2274b4;
	position: absolute;
	height: 40px;
	width: 40px;
	top: 40px;
	right: 20px;
	border-radius: 5px;
}

@media screen and (min-width: 500px) {
	.charts-trigger {
		top: 25px;
	}
}

.charts-trigger img {
	padding: 14px;
}

.charts-trigger .close-icon {
	display: none;
}

.charts-trigger.on-screen .close-icon {
	display: block;
}

.charts-trigger.on-screen .chart-icon {
	display: none;
}

@media screen and (min-width: 800px) {
	.charts-trigger {
		display: none;
	}
}

.leaflet-grid-label .lng {
	margin-left: 8px;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.leaflet-grid-label .lat, 
.leaflet-grid-label .lng {
	text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;
}

.leaflet-top .leaflet-control {
	margin-top: 0;
}

.leaflet-control-attribution.leaflet-control {
	position: fixed;
	left: 0;
	bottom: 33px;
}

.leaflet-left .leaflet-control {
	margin-left: 20px;
}
.leaflet-bar a, .leaflet-bar a:hover {
	background-color: #232930;
	border-bottom: 1px solid #3d444d;
	width: 32px;
	height: 32px;
	line-height: 32px;
	color:#e6e6e6;
}
.leaflet-bar {
	box-shadow: none;
	border-radius: 3px;
	position:absolute;
	top:50%;
	margin-top:-32px;
}

.leaflet-top {
	top:50%;
}

.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}
	


.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
	background-color: rgba(255, 195, 52, .25);
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
	background-color: rgba(255, 195, 52, 1);
}


.marker-cluster {
	background-clip: padding-box;
}

.marker-cluster-medium {
	border-radius: 27px;
}
.marker-cluster-medium div {
	width: 34px;
	height: 34px;
	margin-left:10px;
	margin-top:10px;
	text-align: center;
	border-radius: 17px;
	font-size:16px;
	font-weight:bold;
	color: #fff;
}

.marker-cluster-small {
	border-radius: 15px;
}

.marker-cluster-small div {
	width: 10px;
	height: 10px;
	border-radius: 5px;
	font-size:0px;
	margin-left:10px;
	margin-top:10px;
}


.marker-cluster-medium span {
	line-height: 34px;
}

.popup-title {
	font-size:24px;
	line-height:1.1;
	font-weight:bold;
	color:#2274b4;
	margin:0;
}

.popup-content {
	display:block;
	color: #fff;
	min-width:400px;
	margin:20px 0;
}

.leaflet-container .popup-btn {
	display:inline-block;
	vertical-align:top;
	margin:0;
	padding:0;
	border:none;
	outline:none;
	text-decoration:none;
	color:#fff;
	font-size:13px;
	line-height:18px;
	padding:8px 18px;
	border-radius:4px;
	background:#2274b4;
}

.leaflet-container .popup-btn:before {
	display:inline-block;
	vertical-align:top;
	content:'';
	background:url(../images/ico-arr.png) no-repeat 0 50%;
	width:8px;
	height:18px;
	margin-right:10px;
}

.leaflet-container .popup-btn:hover {
	opacity:.75;
}

.layout {
	position:relative;
	overflow:hidden;
	height:100%;
}

header {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	z-index:2;
	padding:10px 20px 0;
	background:#1E232A;
	overflow:hidden;
}

@media screen and (min-width: 500px) {
	header {
		padding:10px 20px;
	}
}

@media screen and (min-width: 800px) {
	.logo {
		float:left;
	}
}

.logo img {
	height:30px;
	width:auto;
	vertical-align:top;
}

@media screen and (min-width: 500px) {
	.logo img {
		height:40px;
	}
}

.tools {
	padding:8px 0;
}

@media screen and (min-width: 800px) {

	.tools {
		float:right;
	}

}

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

@media screen and (min-width: 767px) {
	.leaflet-control-attribution {
		display: block;
	}
}

.tool-box {
	margin: 0 10px 10px;
	line-height:24px;
	display: block;
}

@media screen and (min-width: 500px) {
	.tool-box {
		margin: 0 10px;
		float:left;
	}
}

.tool-box .ico {
	height:24px;
	line-height:24px;
	display:inline-block;
	vertical-align:top;
	margin:0 10px 0 0;
}

.tool-box .ico img {
	vertical-align:middle;
}
.tool-box .text {
	color:#919599;
	font-size:12px;
	line-height:18px;
	padding:3px 10px;
	background: rgba(255,255,255,.06);
	border-radius: 3px;
	position:relative;
	display:inline-block;
	vertical-align:top;
	margin:0 10px;
}
.tool-box .text:before {
	content:'';
	position:absolute;
	right:100%;
	top:50%;
	margin-top:-4px;
	border:none;
	border-right:5px solid rgba(255,255,255,.06);
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}
.tool-box .text strong {
	color:#c2c6cc;
	font-size:13px;
	margin-right:2px;
}
footer {
	font-size:12px;
	position:absolute;
	left:0;
	bottom:0;
	z-index:2;
	width:100%;
	padding:5px 20px;
	white-space:nowrap;
	color:#b2b2b2;
	background:#292c31;
}
footer a {
	text-decoration:none;
	color:#2274b4;
	font-weight:bold;
}
footer .msg {
	margin-right:30px;
}
footer .holder{
	margin-left:-90px;
}

.hidden{
    display: none;
}

.dc-chart .axis path, .dc-chart .axis line {
	stroke: #b7b7b7 !important;
}