.leaflet-tooltip {
    background: none;
    position: absolute;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    width: 140px;
    text-align: center;
    text-shadow: 3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 2px 2px #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 2px 3px 2px #fff, -2px 3px 2px #fff, 2px -3px 2px #fff, -2px -3px 2px #fff, 3px 2px 2px #fff, -3px 2px 2px #fff, 3px -2px 2px #fff, -3px -2px 2px #fff, 1px 2px 2px #fff, -1px 2px 2px #fff, 1px -2px 2px #fff, -1px -2px 2px #fff, 2px 1px 2px #fff, -2px 1px 2px #fff, 2px -1px 2px #fff, -2px -1px 2px #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    color: #333;
    box-shadow: none;
    padding: unset;
    border: none;
    white-space: unset;
}

.leaflet-container {
    /*border: 1px solid var(--component-border-color);*/
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: var(--background-color);
    color: var(--text-color);
}

.leaflet-popup-content-wrapper {
    border-radius: unset;
    overflow: auto;
}

.leaflet-bar {
    border-radius: 0;
}

.leaflet-popup-content {
    margin: 17px;
}

.leaflet-popup-scrolled {
    border-bottom: 1px solid var(--component-border-color);
    border-top: 1px solid var(--component-border-color);
}

.leaflet-bar a, .leaflet-bar a:first-child:hover {
    border-bottom: 1px solid var(--component-border-color);
}

.leaflet-bar a:hover {
    background-color: var(--component-hover-background-color) !important;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
    color: var(--text-color) !important;
    background-color: var(--background-color) !important;
}

.leaflet-container .leaflet-control-attribution {
    background-color: var(--leaflet-control-transparent-background);
    color: var(--text-color);
}

.leaflet-bar a {
    border-radius: unset !important;
}

.leaflet-marker-icon > * {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);

    color: var(--marker-color);
}
.leaflet-marker-icon i.wrap-text-img {
    font-size: 3em;
}
.focused-marker * { /* similar to focused-cell */
    text-shadow: var(--focus-color) 0 0 10px !important;
}
.focused-marker .wrap-text-div > *,
.focused-marker img.wrap-text-img { /* similar to focused-cell */
    box-shadow: 0 0 10px var(--focus-color) !important;
}

.leaflet-edit-marker-selected {
    border-color: transparent;
    background: none;
}

.leaflet-marker-cluster {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -15px; /* -half size + margin marker icon (6) - border */
    top: -15px; /* -half size + margin marker icon (6) - border */
    border: 1px solid var(--component-border-color);
}

.leaflet-marker-cluster-text {
    padding: 10px 0;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px black;
    text-align: center;
}

:root {
    /*override in StyleDefaults init*/
    --focused-cell-background-color: var(--selection-color-rgba);
}
