body {
    padding: 0;
    margin: 0;
}

html, body, #map {
    height: 100%;
    width: 100%;
}

/* || Collectibles sidebar listing */

.collectibles_list {
    list-style: none;
    padding: 0%;
    display: grid;
}

@media (max-width: 1199px) {
    .collectibles_list {
        grid-template-columns: repeat(1, auto) !important;
    }
}

@font-face {
  font-family: "Old-Fenris";
  src: url('OldFenris-Regular.otf');
}

.collectibles_list li {
    display: flex;
    align-content: center;
    border-bottom: 1px solid #dddddd;
}

.collectibles_list li:last-child {
    border-bottom: 0;
}

.collectibles_list li input:checked + label {
    background: #dddddd;
    text-decoration: line-through;
}

.collectibles_list li input[type="checkbox"] {
    margin: 10px;
}

.collectibles_list li label {
    margin: 0;
    padding: 10px;
    transition: background 0.2s;
    flex: 1;
    /* font-family:'helvetica neue'; */
    font-size: 14px;
    font-weight: 200;
    border-left: 1px solid #dddddd;
}

.collectibles_list li button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #79654d;
}

.leaflet-container {
    background: #000;
}

.leaflet-control-attribution {
    display: none;
}

.leaflet-sidebar-tabs {
   background-color: #000;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #222;
    color: #f0f0f0;
    border: 1px solid black;
    font-family: "Old-Fenris";
}

.leaflet-container a.leaflet-popup-close-button {
    color: #fff;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #a6a6a6;
}

.leaflet-bar a {
   background-color: #aea088;
}

.leaflet-touch .leaflet-control-layers {
   border: 2px solid rgb(204, 13, 13);
   background-color: #000;
}

.leaflet-control-layers-overlays {
   color: #ffffff;
   font-family: "Old-Fenris";
   font-size: 18px;
}

.leaflet-control-layers label {
   padding: 10px;
}

.leaflet-sidebar-tabs > ul > li {
   height: 50px;
}

.leaflet-sidebar-header {
   background-color: #79654d;
}

.leaflet-sidebar-pane {
   font-family: "Old-Fenris";
   background-color: #000;
   color: #fff;
}

.leaflet-sidebar-tabs > ul > li.active {
   background-color: #79654d;
}

.is-fullwidth {
    display: flex;
    width: 100%;
}

.popup-checkbox {
    border-width: 1px;
    padding: calc(0.5em - 1px) 0;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    appearance: none;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
}

.popup-title {
    text-align: center;
    min-width: max-content;
}

.popup-media {
    max-width: min(500px, 75vw);
    max-height: min(500px, 25vh);
}

.flex-grow-0 {
    flex-grow: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

.sidebar-image {
    width: 100%;
}

/* || Place icons in the middle of the marker */

.map-marker-foreground {
    width: 15px !important;
    display: table-cell;
    vertical-align: bottom;
    text-align: center;
}

.map-marker-foreground-wrapper {
    display: table;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 3px;
    left: 5px;
}

/* || Firefox warning about will-change */

/* https://github.com/Leaflet/Leaflet/issues/4686#issuecomment-476738312 */
.leaflet-fade-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-zoom-animated {
    will-change: auto !important;
}

/* || Allow scrolling through sidebar tabs */

.leaflet-sidebar-tabs {
    display: flex;
    flex-flow: column;
    scrollbar-width: none;
}

.leaflet-sidebar-tabs > ul {
    flex: 1 0 auto;
    position: unset;
}

.leaflet-sidebar-tabs > ul + ul {
    flex: 0 0 auto;
}

/* || Styling adjustments for sidebar content */

.leaflet-sidebar-header {
    position: sticky;
    top: 0px;
}

.leaflet-sidebar-content {
    scrollbar-width: none;
    background-color: #000;
}

/* || Highlight marker
    https://cssdeck.com/labs/tedyvui4
*/

.map-marker-ping {
    background: #000000;
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 69%;
    top: 53%;
    margin: 11px 0px 0px -12px;
    transform: rotateX(55deg);
    z-index: -2;
    animation: pulsate_inner 2s ease-out;
    animation-iteration-count: infinite;
}

.map-marker-ping::before {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate_outer 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #ffffff;
}

.map-marker-ping::after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate_outer 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #000000;
    animation-delay: 0.1s;
}

@keyframes pulsate_outer {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes pulsate_inner {
    50% {
        background-color: white;
    }

    100% {
        background-color: black;
    }
}

.footer-notice {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: #000;
    color: #7c765e;
    padding: 15px;
    font-size: 12px;
    border: 2px solid gray;
    text-align: center;
}

.footer-notice a {
    text-decoration: auto;
    color: #beb39d;
}