@font-face {
    font-family:Rubik Regular;
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:local("Rubik Regular"),
    url(../fonts/Rubik/static/Rubik-Regular.ttf) format("truetype")
}
@font-face {
    font-family:Rubik Regular italic;
    font-style:italic;
    font-weight:400;
    font-display:swap;
    src:local("Rubik Regular italic"),
    url(../fonts/Rubik/static/Rubik-Italic.ttf) format("truetype")
}
@font-face {
    font-family:Rubik Medium;
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:local("Rubik Medium"),
    url(../fonts/Rubik/static/Rubik-Medium.ttf) format("truetype")
}
@font-face {
    font-family:Rubik Medium italic;
    font-style:italic;
    font-weight:500;
    font-display:swap;
    src:local("Rubik Medium italic"),
    url(../fonts/Rubik/static/Rubik-MediumItalic.ttf) format("truetype")
}

* {
    box-sizing: border-box;
}
html {
    font-family: "Rubik Regular", Arial, sans-serif;
    font-size: 0.9rem;
    color: #333;
}
body {
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Rubik Medium", Arial, sans-serif;
    font-weight: normal;
    color: rgb(163, 171, 41);
}
h2 {
    margin: 10px 0;
}
#filter {
    background: rgba(255,255,255,0.8);
    padding: 5px 5px 0px 10px;
    box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.2);
    border-radius: 3px;
}
.icons {
    text-align: center;
}
.projectIcon {
    margin-right: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.projectIcon.removed {
    display: none;
}
.projectIcon:hover {
    transform: scale(1.1);
}
.projectIcon.inactive {
    filter: grayscale(100%);
}
#cat1.inactive {
    opacity: 0.3;
}
#cat2.inactive {
    opacity: 0.2;
}
#cat3.inactive {
    opacity: 0.15;
}
#cat4.inactive {
    opacity: 0.3;
}
#cat5.inactive {
    opacity: 0.3;
}
#cat6.inactive {
    opacity: 0.3;
}
.projectIcon.inactive:hover {
    transform: scale(1);
}
#projectName {
    text-align: center;
    min-width: 120px;
    font-family: "Rubik Medium", Arial, sans-serif;
    font-weight: normal;
    color: rgb(163, 171, 41);
}

/* fullscreen info on smartphone */
#fullScreenInfo {
    display: none;
}
#fullScreenInfo img {
    width: 100%;
    height: auto;
}
#fullScreenClose {
    position: absolute;
    right: -10px;
    top: -10px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    font: 16px/14px Tahoma, Verdana, sans-serif;
    color: #c3c3c3;
    font-weight: bold;
}
.overscroll {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
#fullScreenContent {
    position: absolute;
    width: 100%;
    height: 100%;
}
@media (max-width: 512px) {
    #fullScreenInfo.visible {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 3000;
        background-color: #fff;
        padding: 20px;
    }
}
/* map */
#map {
    width: 100vw;
    height: 100vh;
}
/* markercluster */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(163, 171, 41, 0.5) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(163, 171, 41, 1) !important;
}
.marker-cluster span {
    color: #fff;
}
/* popup */
.leaflet-popup-content {
    line-height: 1.3;
}
.leaflet-popup-content p {
    margin: 0;
}
.leaflet-popup-content p + p {
    margin-top: 10px;
}
.leaflet-popup-content ul {
    margin: 10px 0;
}
ul {
    padding-left: 10px;
    /*margin-left: 10px;*/
}
.img {
    position: relative;
}
.img img {
    border-radius: 20px;
    max-width: 100% !important;
}
.copy {
    font-size: 0.7em;
    text-align: right;
}
.copy::before {
    content: "© ";
}

.leaflet-container {
    font-family: "Rubik Regular", Arial, sans-serif;
    color: #333;
    background-color: #eee;
    font-size: 0.9rem;
}
a, .leaflet-popup-content a, #fullScreenContent a {
    color: rgb(163, 171, 41);
    text-decoration: none;
}
a:hover, .leaflet-popup-content a:hover, #fullScreenContent a:hover {
    text-decoration: underline;
}
.leaflet-popup-content-wrapper {
    border-radius: 20px;
}
.leaflet-container a.leaflet-popup-close-button {
    top: 2px;
    right: 4px;
}