body {
    margin: 0;
}

.leaflet-container path{
  transition: fill-opacity .75s;
}

.overlay {
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    position: fixed;
    z-index: 500;
    background-color: white;
}

.logo {
    opacity: 0.8;
    transition: opacity 400ms ease-in-out;
}

.leaflet-control {
    opacity: 0.8;
    transition: opacity 400ms ease-in-out;
}

.logo:hover {
    opacity: 1;
}

.leaflet-control:hover {
    opacity: 1;
}

.logo_afap {
    width: 170px;
    right: 180px;
    top: 0px;
    background-color: white;
}

.logo_ng {
    width: 140px;
    right: 0px;
    bottom: 16px;
    /* background-color: white; */
}

.license {
    bottom: 20px;
    right: 10px;
}

.download-icon {
    height: 20px;
    width: 20px;
}

#map {
    width: 100vw;
    height: 100vh;
    background: white;
}

.buttonDownload {
    display: inline-block;
    bottom: 10px;
    left: 10px;
    padding: 10px 10px 10px 25px;
    border-radius: 5px;
  
	background-color: #4CC713;
	color: white;
  
	font-family: sans-serif;
	text-decoration: none;
	font-size: 0.9em;
	text-align: center;
	text-indent: 15px;
}

.buttonDownload:hover {
	background-color: #333;
	color: white;
}

.buttonDownload:before, .buttonDownload:after {
	content: ' ';
	display: block;
	position: absolute;
	left: 15px;
	top: 20px;
}

/* Download box shape  */
.buttonDownload:before {
	width: 10px;
	height: 2px;
	border-style: solid;
	border-width: 0 2px 2px;
}

/* Download arrow shape */
.buttonDownload:after {
	width: 0;
	height: 0;
	margin-left: 3px;
	margin-top: -7px;
  
	border-style: solid;
	border-width: 4px 4px 0 4px;
	border-color: transparent;
	border-top-color: inherit;
	
	animation: downloadArrow 2s linear infinite;
	animation-play-state: paused;
}

.buttonDownload:hover:before {
	border-color: #4CC713;
}

.buttonDownload:hover:after {
	border-top-color: #4CC713;
	animation-play-state: running;
}

/* keyframes for the download icon anim */
@keyframes downloadArrow {
	/* 0% and 0.001% keyframes used as a hackish way of having the button frozen on a nice looking frame by default */
	0% {
		margin-top: -7px;
		opacity: 1;
	}
	
	0.001% {
		margin-top: -15px;
		opacity: 0;
	}
	
	50% {
		opacity: 1;
	}
	
	100% {
		margin-top: 0;
		opacity: 0;
	}
}

.buttonDownload .license {
	height: 1em;
	vertical-align: middle;
	margin-left: 5px;
}

.floating-box {
    color: black;
    background: white;
    font-size: 14px;
    padding: 0.6em;
    border-radius: 5px;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    opacity: 0.7;
    transition: opacity 400ms ease-in-out;
}

.floating-box:hover {
    opacity: 1;
}

#app-stats div {
    margin-left: 0.5rem;
}

#app-stats p {
    margin: 0;
    line-height: 1.2;
    padding-bottom: 1px;
    font-weight: bold;
}

#legend {
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    text-align: left;
    right: 10px;
    bottom: 30px;
}
#legend p {
    margin: 0;
    line-height: 1.2;
    padding-bottom: 1px;
    font-weight: bold;
}

#legend p.selectable.invisible {
    background-color: rgb(220, 220, 220);
}

#legend p.selectable:hover {
    opacity: 0.6
}

#legend p.selectable:active {
    background-color: rgb(200, 200, 200);
}

#legend i, #legend img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 8px;
}

#bookmarks p {
    cursor: pointer;
    font-size: 1.3em;
    margin: 0.5rem;
}

.side-data-panel {
    font-size: 1.3em;
}
.side-data-panel td {
    padding-right: 8px;
}
.side-data-panel__heading {
    margin: 10px 0;
    font-size: 1.4em;
}

#fade-in-nigeria-btn {
    right:  10px;
    bottom:  350px;
}
