/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

a {
    text-decoration: none; 
}

.en {
	font-style: italic;
}


body {
	padding: 0;
	margin: 0;
	font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

html, body, #mapCanvas {
	height: 100vh;
	width: 100vw;
}

#mapCanvas {
	background-color: black;
}

#mapCenter {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -15px; 
	margin-top: -15px;
	height: 30px;
	width: 30px;
	border-radius: 50%;
	opacity: 0.4;
	background-color: white;
	z-index: 550;
	pointer-events: none;
}

#mapGrid {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -50px; 
	margin-top: -50px;
	height: 100px;
	width: 100px;
	z-index: 550;
	pointer-events: none;
	
	opacity: 0.7;
	stroke: black;
}

#infoBar {
	background-color: white;
	padding: 20px;
	text-align: center;
	
	font-size: 1.3em;
	position: absolute;
	top: 0%;
	left: 50%;
	margin-left: -200px; 
	margin-top: 20px;
	height: 100px;
	width: 400px;
	z-index: 550;
	pointer-events: none;
	
	opacity: 0.5;
	stroke: black;
	
	display: none;
}

.leaflet-map-pane img.leaflet-tile {
	filter: brightness(60%);
}

.leaflet-control-zoomslider,  .leaflet-control-zoom, .sidebar-tabs {
	opacity: 0.8;
}


/* Sidebar */
.sidebar-header {
    color: white;
	background-color: #008800;
	font-size: 20px;
	line-height: 20px;
    text-align: center;
}

.sidebar-tabs > li.active, .sidebar-tabs > ul > li.active {
	color: #fff;
	background-color: #008800; 
}

.sidebar .fa {
	font-size: 24px;
}

.sidebar .text-panel {
	font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
	color: black;
}
.sidebar .text-panel .fa {
	font-size: 10pt;
}

.sidebar .text-panel section {
	margin-bottom: 12px;
	border-bottom: solid 1px;
	border-color: white;
}

.sidebar .text-panel p {
	margin-bottom: 8px;
}

/* Markers */
div.circle {
    background-color: yellow;
   	border-color: black;
    border-radius:50%;
   	border-style: solid;
   	border-width: 1px;
   	opacity: 1;
}

div.circle.hover {
    background-color: #ff0000;
}

div.circle.selected {
    background-color: #008800;
}

/* Channels (sidebar) */
#channelList {
	margin-top: 10px;
}

.channel {
	height: 40px;
	clear: left;
	cursor: pointer;
	color: white;
    background-color: black;
font-weight: bold;
}

.channel:hover {
	color: black;
    font-weight: bold;
    background-color: yellow;
    
}

.channel.selected {
	background-color: yellow;
    color: black;
}

.channel .imgContainer {
	float: left;
}

.channel .imgContainer img {
	height: 40px;
	width: 40px; 
	pointer-events: none;
}

.channel .titleContainer {
	position: relative;
	margin-left: 45px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.channel a:link, .channel a:visited, .channel a:active {
	color: grey;
}

.channel a:hover {
	color: black;
}

/* Popups */
.leaflet-popup .title, .leaflet-popup img, .leaflet-popup .cmdContainer {
	width: 160px; 
} 

.leaflet-popup.tooltip .leaflet-popup-content-wrapper {
	background-color: white;
}

.leaflet-popup .leaflet-popup-content-wrapper {
	background-color: black;
}
.leaflet-popup .title {
	position: absolute; 
	top: 0px; 
	text-align: center;
	color: white;
	font-size: 1em;
	background-color: #008800;
}

.leaflet-popup img {
	height: 120px;
	margin-top: 0px;
}

.leaflet-popup .cmdContainer {
	position: absolute;
	bottom: 0;
	text-align: center;
	background-color: rgba(0,0,0,0.2);
}

.leaflet-popup .cmdContainer .fa {
	margin-bottom: 3px;
	font-size: 25px;
	margin-left: 10px;
	margin-right: 10px;
	color: white;
}

.leaflet-popup .cmdContainer .fa:hover {
	color: #008800;
}

@media (min-width: 992px) {
	.leaflet-popup .title, .leaflet-popup img, .leaflet-popup .cmdContainer {
		width: 200px; 
	} 
	
	.leaflet-popup .title {
		font-size: 1.4em;
		line-height: 1.4em;
	}
	
	.leaflet-popup img {
		height: 200px;
	}
	
	.leaflet-popup .cmdContainer .fa {
		font-size: 27px;
		margin-left: 20px;
		margin-right: 20px;
	}
}

/* Posts (sidebar) */ 
.postContent {
	height: 120px;
	width: 160px; 
	margin-top: 10px;
	margin-right: 10px;
}

.postContent img {
	height: 120px;
	width: 160px; 
}

.postContent h4 {
	color: white;
	position: relative;
	top: -120px;
	text-align: center;
	font-size: 1em;
	background-color: rgba(0,0,0,0.5);
	padding: 0 1px 0 1px;
}