html, body { 
	padding: 0px; 
	margin: 0px; 
	width: 100%; 
	height: 100%; 
}
body {
	overflow:hidden;
	font-family: "Signika", sans-serif;
	font-size: 13pt;
	font-weight: 300;
	line-height: 1.65;
}
#map {
	width: 100%;
	height: 100%;
	/*height: 600px; 
	border: 1px solid #ccc;*/
}
.leaflet-pane {
	user-select: none; /* Try to stop selecting text on the map itself */
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

#progress {
	display: none;
	position: absolute;
	z-index: 1000;
	left: 400px;
	top: 300px;
	width: 200px;
	height: 20px;
	margin-top: -20px;
	margin-left: -100px;
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	padding: 2px;
}

#progress-bar {
	width: 0;
	height: 100%;
	background-color: #76A6FC;
	border-radius: 4px;
}
#mapSearchContainer{
	position:fixed;
	top:20px;
	right: 40px;
	height:30px;
	width:180px;
	z-index:110;
	font-size:10pt;
	color:#5d5d5d;
	border:solid 1px #bbb;
	background-color:#f8f8f8;
}
.leaflet-div-icon {
	background: none;
	border: 0;
}

.info {
	/* width: 400px; */
	margin:20px;
}
.extrainfo, .bfainfo, .flickrinfo, .geoinfo {
	border:solid 1px #bbb;
	border-radius: 8px;
	padding: 8px;
	margin-top:8px;
}
.bfainfo div, .geoinfo div{
	line-height:0;
	text-align: center;
}
.bfainfo img, .geoinfo img{
	padding:2px;
}
.flickrHeaderArea
{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: min-content;
	gap: 5px;
	justify-items: center;
}
.flickrLowerArea
{
	text-align: center;
}
/*.flickrHeaderArea { grid-area: flickrHeaderArea; }
.flickrLowerArea { grid-area: flickrLowerArea; } */

.flickrHeaderImage
{
	position: relative; 
	display: inline-block;
}
.flickrHeaderImage img{
	max-width:360px;
	max-height:360px;
}
.flickrHeaderImage .copyright
{
	position: absolute;
	bottom:5px;
	right:5px;
	color: white;
}
.flickrHeaderImage .edobstar
{
	position: absolute;
	top:5px;
	right:5px;
	color: white;
}
.flickrImage, .geoImage{
	display: inline-block;
	position: relative;
	line-height:0;
	text-align: center;
	margin:10px;
}
.flickrImage img{
	max-width:100px;
	max-height:100px;
}
.flickrImage .copyright, .geoImage .copyright
{
	position: absolute;
	bottom:2px;
	right:2px;
	color: white;
}
#cookie-bar{
	font-family: "Signika", sans-serif;
	font-size: 13pt;
	font-weight: 300;
	line-height: 1.65;
}
.leaflet-sidebar .close {
	z-index: 1000;
}
.leaflet-control{
	padding:0px !important;
}
.easy-button-button{
	/* #font-size: 150%; */
	padding:0;
}
.easy-button-button .fa {
	color: #4f4f4f;
	/* #font-size: 150%; */
	/* #line-height:150%; */
}
.legend h1{
	font-family: Signika, sans-serif
}
.legend-list{
	list-style-type:none;
	margin-top:0;
}
.legend-list img{
	vertical-align: middle;
	padding-right: 5pt;
}
.legend-list-color{
	display: flex;
	justify-content: space-between;
	
	list-style-type:none;
}
.legend-list-color li{
	float: left;
	text-align: center;
	/* display: inline-block; */
	margin-right: 1em;
}
.legend-list-lines{
	list-style-type:none;
	margin-top:0;
	column-count: 3;
    column-rule: 1px solid lightblue;
}
.legend-list-lines li{
	display:block;
	break-inside: avoid;
	padding-bottom: 2em;
}
.legend-list-lines svg{
	vertical-align: middle;
	padding-right: 5pt;
}
#sidebar h4{
	margin-bottom: 0;
}

.legend p, .legend ul{
	padding-bottom: 2em;
}

.sidebarcross{
	display:initial;
}
.sidebararrow{
	display:none;
	margin-right: 0.5em;
}
.share{
		float:right;
		clear: both;
		cursor: pointer;
		margin: 0.3em;
}
@media (max-width: 767px) {
	.sidebartop{
		position: fixed;
		top:0;
		z-index:1000;
	}
	#sidebar .info{
		margin-top:4em;
	}
	.share{
		margin-top:5em;
		margin-right:1em;
	}
	.sidebarcross{
		display:none;
	}
	.sidebararrow{
		display:initial;
	}
}
.sidebartop{
	background:black;
	color:white;
	width:100%;
	font-family: "Signika", sans-serif;
	font-size:2em;
	font-weight: bold;
	font: bold 2em/1.5 "Signika", sans-serif;
}
.sidebartop img
{
	vertical-align:middle;
	height:1.7em;
	margin-right:0.3em;
	margin-left:0.3em;
}
.sidebartop span
{
	position: relative;
	top: 0.1em;
}
.sidebarclose
{
	cursor: pointer;
	float:right;
	margin: 0.25em;
}

#loader
{
	padding-left: 50%;
	padding-top: 50vh;
	z-index: 10000;
	
	animation: fadein 200ms;
}
@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.lds-dual-ring {
	display: inline-block;
	width: 80px;
	height: 80px;
}
.lds-dual-ring:after {
	content: " ";
	display: block;
	width: 64px;
	height: 64px;
	margin: 8px;
	border-radius: 50%;
	border: 6px solid #fff;
	border-color: #fff transparent #fff transparent;
	animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
	0% {
	transform: rotate(0deg);
	}
	100% {
	transform: rotate(360deg);
	}
}
.lds-dual-ring.hidden {
	display: none;
}
.lds-dual-ring.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,.8);
	z-index: 999;
	opacity: 1;
	transition: all 0.5s;
}
.titletext
{
	position: relative;
	top: 0.1em;
	font: bold 2em/1.5 "Signika", sans-serif;
	display: inline;
	font-size: inherit;
}
.fa-copy{
	color:#999;
	cursor: pointer;
}
.latlontable{
	margin-left:2em;
	line-height: initial;
}
.latlontable td{
	padding-bottom: 0.5em;
}
.latlontable td:nth-child(3){
	padding-left: 5px;
}
.externallinks img{
	width:1.7em;
	height:1.7em;
	vertical-align: middle;
	margin-bottom: 0.3em;
	margin-right: 0.3em;
}
#mySidepanelRight .sidepanel-content a.disabled {
	/* Make the disabled links grayish*/
	color: gray;
	/* And disable the pointer events */
	pointer-events: none;
}
#mySidepanelRight .sidepanel-content a {
	color: rgb(0, 0, 255);
}
#mySidepanelRight .sidepanel-content a:not(.disabled) {
	font-weight: bold;
}

/* Make everything round */
.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 20px;
	background-color: white;
}
.leaflet-bar button, .leaflet-bar button:hover {
	background-color: transparent;
}
.leaflet-bar a {
	background-color: transparent;
	/* color: #4f4f4f; */
	color:black;
}
.leaflet-bar a:hover, .leaflet-bar a:focus {
	background-color: transparent;
	text-decoration: none;
}
.leaflet-control-layers {
	border-radius: 20px;
}
.leaflet-control-layers-list
{
	padding:5px;
}
.leaflet-bar a.leaflet-disabled {
	background-color: transparent;
}
/* Make home button pill shape */
.easy-button-container button[title="Home"]{
	width:110px;
	margin-top:3px;
}
.easy-button-container button[title='Home'] h1{
	top: -1px;
	padding-left:3px;
}
.easy-button-container button[title='Home'] img{
	margin-bottom: 2px;
}
/* Change layer selector logo */
.leaflet-control-layers-toggle{
	background-image: url("/images/multiple-layers-icon-black.svg") !important;
	background-size: 60% !important;
	width:30px !important;
	height:30px !important;
}
/* Make all easy buttons less grey */
.easy-button-button .button-state {
	filter: contrast(13);
}

/* TODO Trying to fix attrib, not working yet */
.leaflet-control-attribution{
	text-overflow: ellipsis;
	/* max-height: 1em;
	margin-bottom: 0.2em !important; */
}


#mySidepanelRight b, #mySidepanelRight strong {
    font-weight: 600;
}
	
/* Add disabled tabs */
#mySidepanelRight .sidepanel-tab[aria-disabled="true"]{
	cursor: not-allowed;
}
#mySidepanelRight:not(.sidepanel-dark) .sidepanel-tab[aria-disabled="true"]{
	background: #f0f6fc;
}
#mySidepanelRight .sidepanel-tab[aria-disabled="true"] .sidebar-tab-link {
	border-bottom-color: #768390;
	pointer-events: none;
}
#mySidepanelRight:not(.sidepanel-dark) .sidepanel-tab[aria-disabled="true"] .sidebar-tab-link {
	color: #e1e4e8;
} 
#mySidepanelRight .sidepanel-content{
	width:100%;
	height:100%;
}
#mySidepanelRight .sidepanel-tab-content.active[aria-disabled="true"]{
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tooltip{
	z-index:3001;
}
.sidepanel-tab-content .fa-info-circle{
	float:right;
}
.leaflet-control-geocoder-alternatives img{
	width:32px;
	vertical-align:middle;
}
ul.leaflet-control-geocoder-alternatives li:last-child{ /*otherwise highlight goes outside of box*/
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}
ul.leaflet-control-geocoder-alternatives{ /*make li fill box*/
	width: 100%;
}