#map {
    height: calc(100vh - 60px);
    width: calc(100% - 2px);
}

a.pin div.category {
    text-wrap: nowrap;
    font-weight: bold;
    font-size: 9px;
    padding: 2px;
    padding-right: 4px;
    padding-left: 4px;
    background-color: #0059a8;
    color: #fff;
    border-radius: 2px;
    display: flex;
    line-height: 11px;
    height: 11px;
    padding-top: 4px;
}
a.pin div.category div.icon {
    padding-right: 3px;
}
a.pin div.category div.text {
    margin-right: 8px;
}
a.pin div.map-headline {
    font-weight: bold;
    font-size: 1.1em;
    color: #0059a8;
}
a.pin div.created {
    font-size: 9px;
    font-style: italic;
}
#eventlist {
    overflow-y: auto;
    border: 1px solid #aaa;
    box-shadow: 3px 3px 3px #666;
    width: 250px;
    height: auto;
    max-height: 60vh;
    position: absolute;
    z-index: 900;
    background-color: #fff;
    left: 60px;
    top: calc(60px + 11px);
    border-radius: 4px;
}
#eventlist .head {
    background-color: #0059a8;
    padding: 6px;
    font-weight: bold;
    color: #fff;
    font-size: 1.1em;
}
#eventlist .hidden-items {
    padding: 4px;
    text-align: center;
    font-style: italic;
    font-size: 0.85em;
}
#eventlist .items {
    padding: 6px;
}
#eventlist .items a.item {
    color: #666;
    display: block;
    margin-bottom: 6px;
    padding: 6px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#eventlist .items a.item:hover {
    background-color: #ddd;
}
#eventlist .items a.item div.icon {
    float: right;
    color: #0059a8;
}
#eventlist .items a.item div.category {
    font-weight: bold;
    font-size: 9px;
    padding: 2px;
    padding-right: 4px;
    padding-left: 4px;
    background-color: #0059a8;
    color: #fff;
    border-radius: 2px;
    display: inline-block;
}
#eventlist .items a.item div.map-headline {
    font-weight: bold;
    font-size: 1.1em;
    color: #0059a8;
}
#eventlist .items a.item div.created {
    font-size: 9px;
    font-style: italic;
}
#eventlist .items a.item:last-child {
    margin-bottom: 0;
}
#categorylist {
    overflow-y: auto;
    border: 1px solid #aaa;
    box-shadow: 3px 3px 3px #666;
    width: 100px;
    height: auto;
    max-height: 60vh;
    position: absolute;
    z-index: 900;
    background-color: #fff;
    right: 20px;
    top: calc(60px + 11px);
    border-radius: 4px;
}
#categorylist .head {
    background-color: #0059a8;
    padding: 6px;
    font-weight: bold;
    color: #fff;
    font-size: 1.1em;
}
#categorylist .items {
    padding: 6px;
}
#categorylist .items a {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: none;
    color: #333;
    margin-bottom: 6px;
}
#categorylist .items a:hover {
    background-color: #ddd;
}
#categorylist .items a.active {
    background-color: #0059a8;
}
#categorylist .items a.active .icon {
    color: #fff;
}
#categorylist .items a.active .text {
    color: #fff;
}
#categorylist .items a:last-child {
    margin-bottom: 0;
}
#categorylist .items a .icon {
    margin-top: 6px;
    line-height: 32px;
    height: 32px;
    font-size: 32px;
    color: #999;
}
#categorylist .items a .text {
    margin: 2px;
    font-size: 0.85em;
}
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading {
    font-family: monospace;
    font-size: 24px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}
.loading span::after {
    content: "";
    animation: dots 1s steps(4, end) infinite;
}
@keyframes dots {
    0% {
        content: "";
    }
    25% {
        content: ".";
    }
    50% {
        content: "..";
    }
    75% {
        content: "...";
    }
    100% {
        content: "";
    }
}