body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #d5dadc;
}
html, body, #map {
    height: 100%;
    width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
#map.leaflet-container {
    background-color: #d5dadc;
}
.leaflet-marker-icon svg {
    -webkit-filter: drop-shadow(0 0 1px rgba(0,0,0,.3));
    filter: drop-shadow(0 0 1px rgba(0,0,0,.3));
}
.highlight .leaflet-marker-icon svg {
    -webkit-filter: drop-shadow(0, 0, 1px, rgb(57 66 156));
    filter: drop-shadow(0, 0, 1px, rgb(57 66 156));
}
.highlight path {
    fill: #39429c;
}
.highlight circle {
    stroke: #39429c;
}
.highlight .cluster circle {
    fill: #39429c;
}
.cluster text {
    font-size: 14px;
    font-weight: bold;
    fill: #fff;
    text-shadow: 0 0 1px #000;
    text-anchor: middle;
}
.leaflet-container a.leaflet-popup-close-button {
    display: none;
}
#search {
    width: 228px;
    max-width: calc(100vw - 40px);
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 400;
}
#search input {
    display: block;
	box-sizing: border-box;
	width: 100%;
	height: 30px;
    padding: 5px 9px;
    color: #333;
    border: 1px solid #919dab;
    border-radius: 5px;
}
#clear {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 0 5px;
    line-height: 26px;
    cursor: pointer;
    color: #666;
    background-color: #FFF;
    border-radius: 0 5px 5px 0;
}
#clear:hover {
	color: #333;
}
#search ul {
    display: block;
    width: 100%;
    max-height: calc(100vh - 50px);
    margin: 0;
    padding: 0;
    overflow: auto;
}
#search li {
    display: block;
    margin: 2px 0;
    padding: 5px 9px;
    font-size: 13px;
    color: #333;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #919dab;
    border-radius: 5px;
	cursor: pointer;
}
#search li:hover {
    background-color: rgba(255,255,255,0.8);
}
#map.active {
	cursor: crosshair;
}
#clue {
    position: absolute;
    left: 232px;
    top: 8px;
    font-size: 12px;
    white-space: nowrap;
    color: #333;
    text-shadow: -1px -1px 0px #FFF, -1px 1px 0px #FFF, 1px 1px 0px #FFF, 1px -1px 0px #FFF;
}
.result .leaflet-popup-content-wrapper {
    padding: 0;
	overflow: hidden;
}
.result .leaflet-popup-content {
    width: 366px !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.result circle {
	fill: rgb(233, 214, 216, 0.5);
}
.result rect.sum {
	fill: rgba(57, 66, 156, 0.5);
}
.result .months {
    padding: 0 0 4px 0;
}
.result .months div {
    display: inline-block;
    width: 8.33%;
    text-align: center;
	color: #666;
}
.result text {
	font-size: 14px;
	fill: #333;
}
.result g text {
	fill: #FFF;
    font-size: 12px;
    text-anchor: middle;
}
.result text tspan {
    font-weight: bold;
}
.result text tspan.small {
    font-size: 11px;
    font-weight: normal;
	fill: #666;
}
.result .panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
}
.result .panel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 12px 0 0;
	cursor: pointer;
}
.result text.right {
    text-anchor: end;
}
#bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(1px);
    background-color: rgba(255,255,255,0.5);
}

.timeline {
    position: relative;
    overflow: hidden;
    height: 90px;
}
.timeline:before, .timeline:after {
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 90px;
    background-color: #FFF;
    box-shadow: 0 0 5px 5px #FFF;
	z-index: 1;
}
.timeline:after {
	top: 0;
	right: 0;
}
.timeline > div {
	padding: 0 10px;
	overflow: hidden;
	touch-action: none; /* Add also this */
	user-select: none; /* Prevent text highlighting */
    white-space: nowrap;
	cursor: grab;
}
.timeline > div:active {
	cursor: grabbing;
}
.timeline > div > div {
    display: inline-block;
    width: 60px;
    height: 90px;
    line-height: 20px;
    text-align: center;
    opacity: 0.5;
}
.timeline > div > div.current {
    opacity: 1;
    box-shadow: inset 0 0 2px #F00;
    background-color: rgba(255, 0, 0, 0.1);
}
.timeline > div > div > b {
    font-size: 16px;
}
.timeline > div > div > b:first-child {
    line-height: 30px;
    padding: 5px;
    color: #FFF;
    background-color: #000;
    border-radius: 50%;
}
.metadata {
	width: 100%;
	height: 30px;
}
.metadata > div {
    display: inline-block;
    width: 33.3333%;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
}
.metadata > div > b {
    font-size: 16px;
}
.pixels {
    font-size: 0;
    text-align: center;
}
.pixels > div {
    display: inline-block;
    margin: 18px 12px 0 12px;
	position: relative;
	width: 90px;
	height: 110px;
    vertical-align: bottom;
}
.pixels > div > p {
	display: block;
	height: 20px;
    font-size: 14px;
    margin: 0;
}
.pixels > div > span {
    display: block;
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 30px;
    height: 30px;
    border: 2px solid #ffd500;
}
.pixels > div > div > div {
    display: inline-block;
    width: 30px;
    height: 30px;
}
.pixels > div > div > div {
    display: inline-block;
    width: 30px;
    height: 30px;
}
.graph {
	height: 200px;
}
.graph svg {
	cursor: pointer;
}
.graph svg > text {
    font-size: 10px;
}
.subscribe a {
    display: block;
    width: fit-content;
    height: 40px;
    margin: 10px auto;
    padding: 0 15px;
    background-color: #179cde;
    text-align: center;
    border-radius: 20px;
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    line-height: 27px;
}
.subscribe a img {
    vertical-align: bottom;
    filter: invert(100%);
    margin: 4px 0 0 10px;
}

/* Fading polygones BEGIN */
path.leaflet-interactive {
  -webkit-animation: fadein 0.3s;
  -moz-animation: fadein 0.3s;
  -ms-animation: fadein 0.3s;
  -o-animation: fadein 0.3s;
  animation: fadein 0.3s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Fading polygones END */

@media (max-width:599px) {
	.leaflet-popup.result.leaflet-zoom-animated {
		margin-left: -5px;
	}
	.leaflet-popup.result.leaflet-zoom-animated .leaflet-popup-tip-container {
		margin-left: -15px;
	}
	.result .leaflet-popup-content-wrapper {
		border-radius: 0;
	}
	.result .leaflet-popup-content {
		width: 100vw !important;
	}
	.result svg {
		width: 100%;
	}
	.result .panel img {
		border-radius: 0;
	}
	.mob-hidden {
		display: none;
	}
}