html,
body,
#map {
    width: 100vw;
}

.leaflet-container {
    line-height: normal;
}

.leaflet-control-attribution {
    font-size: 0.75rem;
}

.leaflet-popup-content {
    min-width: 200px;
    max-height: 300px;
    overflow: auto;
    font-size: 1rem;
    word-wrap: break-word;
}

div>details:nth-of-type(2n+1) {
    background-color: #ddd;
}

.bookmark {
    float: right;
}

.custom-panel-layers>form {
    margin: auto;
}

.custom-panel-layers.leaflet-panel-layers {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    box-shadow: none;
}

.custom-panel-layers .leaflet-control-layers-toggle {
    width: 30px;
    height: 30px;
    background-image: url(/images/filter.png);
    background-size: 26px;
}

.custom-panel-layers:not(.leaflet-control-layers-expanded) {
    background-color: #fff;
    background-clip: padding-box;
}

.custom-panel-layers .leaflet-panel-layers-group.collapsible:not(.expanded),
.custom-panel-layers .leaflet-panel-layers-group.collapsible:not(.expanded) .leaflet-panel-layers-grouplabel {
    height: auto;
}

.custom-panel-layers .leaflet-panel-layers-icon {
    line-height: inherit;
}

.custom-panel-layers>.leaflet-panel-layers-list {
    max-height: 300px !important;
    height: auto !important;
    overflow: auto;
}

.leaflet-panel-layers-title,
.leaflet-panel-layers-item .leaflet-panel-layers-title {
    display: block;
    min-width: 150px;
    white-space: normal;
}

.custom-panel-layers .leaflet-panel-layers-grouplabel .leaflet-panel-layers-selector {
    visibility: visible;
}

.custom-panel-layers .leaflet-panel-layers-overlays>.leaflet-panel-layers-group:nth-of-type(2n) {
    color: var(--text-main-color);
}

.custom-panel-layers .leaflet-panel-layers-selector {
    height: 1.5rem;
    margin: auto auto auto 0.5rem;
}

.custom-panel-layers .leaflet-panel-layers-base .leaflet-panel-layers-selector {
    margin: auto 0.5rem auto auto;
}

.leaflet-panel-layers-item.child {
    display: list-item;
}

/* Search */
.leaflet-control-search .search-input,
.leaflet-control-search .search-alert {
    font-size: 1rem;
}

.leaflet-control-search .search-input {
    height: 30px;
    padding-left: 5px;
}

.leaflet-control-search .search-alert {
    font-weight: 600;
}

.leaflet-control-search .search-button:hover,
.leaflet-control-search .search-button {
    background: url(/images/search.png) no-repeat #fff;
    background-position: 50% 50%;
    background-size: 26px;
    padding: 4px;
    width: 30px;
    height: 30px;
}

.leaflet-control-search .search-button:hover,
.custom-panel-layers:not(.leaflet-control-layers-expanded):hover {
    background-color: #f4f4f4;
}

.leaflet-control-search .search-cancel {
    background-position: 0px -59px;
    width: 30px;
    height: 30px;
    right: 40px;
}

.leaflet-control-search .search-tooltip {
    margin-top: 5px;
}

.leaflet-control-search .search-tip {
    padding: 2px 4px;
}

/* End Search */

.navigation-marker-icon {
    background-image: url('/images/navigation-marker-icon.png');
    background-size: contain;
    text-align: center;
    color: white;
}

.booth-marker {
    animation: pulsate 1s ease-out;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    opacity: 0.0
}

.line-arrow {
    stroke: #a0a1a4;
    fill: #a0a1a4;
    animation: animate-line-arrow 8s infinite;
}

@keyframes animate-line-arrow {
    0% {
        opacity: 0.0;
    }

    50% {
        opacity: 1.0;
    }
}

@keyframes pulsate {
    0% {
        opacity: 0.0;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        opacity: 0.0;
    }
}