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CmAAMAAQQJAAoANAE0bGVhZmxldC1odG1sLWxlZ2VuZABsAGUAYQBmAGwAZQB0AC0AaAB0AG0AbAAtAGwAZQBnAGUAbgBkVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwbGVhZmxldC1odG1sLWxlZ2VuZABsAGUAYQBmAGwAZQB0AC0AaAB0AG0AbAAtAGwAZQBnAGUAbgBkbGVhZmxldC1odG1sLWxlZ2VuZABsAGUAYQBmAGwAZQB0AC0AaAB0AG0AbAAtAGwAZQBnAGUAbgBkUmVndWxhcgBSAGUAZwB1AGwAYQBybGVhZmxldC1odG1sLWxlZ2VuZABsAGUAYQBmAGwAZQB0AC0AaAB0AG0AbAAtAGwAZQBnAGUAbgBkRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==);
    font-weight: 400;
    font-style: normal
}

[class*=leaflet-html-legend-icon] {
    font-family: leaflet-html-legend-icon !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.leaflet-html-legend-icon-remove:before {
    content: "\ea0d"
}

.leaflet-html-legend-icon-eye-slash:before {
    content: "\e9d1"
}

.leaflet-html-legend-icon-eye:before {
    content: "\e9ce"
}

.legend-layer-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.legend-layer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-layer-settings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bring-to-front-toggle {
    cursor: pointer;
    color: #666;
    font-size: 14px;
    line-height: 1;
}

.bring-to-front-toggle:hover {
    color: #222;
}

.legend-layer-remove {
    cursor: pointer;
    color: #8a8a8a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.legend-layer-remove:hover {
    color: #b71c1c;
}

.leaflet-html-legend {
    background: #fff;
    border: 2px solid #fff;
    padding: 6px;
    max-height: 250px;
    overflow-y: auto;
    line-height: 1.2;
    width: 320px
}

.leaflet-html-legend h4 {
    margin: 0 0 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700
}

.leaflet-html-legend h4:hover {
    background: #f6f6f6
}

.leaflet-html-legend h4>span {
    margin-left: 18px;
    color: #333
}

.leaflet-html-legend h4.closed+.legend-elements {
    display: none
}

.leaflet-html-legend .legend-elements {
    padding-left: 5px
}

.leaflet-html-legend .symbol {
    margin-right: 6px;
    display: inline-flex;
    vertical-align: middle
}

.leaflet-html-legend label {
    max-width: 200px;
    display: inline-block;
    vertical-align: middle;
    word-wrap: break-word;
    color: #555;
    font-size: 11px;
    font-weight: 400
}

.legend-block {
    position: relative;
    width: 100%
}

.legend-block+.legend-block {
    margin-top: 8px;
    border-top: 1px solid #eee;
    padding-top: 4px
}

.leaflet-html-legend::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px
}

.leaflet-html-legend::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px hsla(0, 0%, 100%, .5)
}

.leaflet-html-legend::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .7)
}

.leaflet-html-legend .legend-caret {
    position: relative;
    display: inline-block;
    vertical-align: top;
    top: .5em;
    left: 0
}

.leaflet-html-legend .legend-caret:before {
    content: "";
    position: absolute;
    top: -2px;
    left: 3px;
    border-top: .5em solid #555;
    border-left: .5em solid transparent;
    border-right: .5em solid transparent
}

.leaflet-html-legend h4.closed .legend-caret {
    top: .25em;
    left: .25em
}

.leaflet-html-legend h4.closed .legend-caret:before {
    border-left: .5em solid #555;
    border-top: .5em solid transparent;
    border-bottom: .5em solid transparent
}

.leaflet-html-legend .remove-button {
    position: absolute;
    top: 5px;
    right: 30px;
    cursor: pointer
}

.leaflet-html-legend .slider-label {
    font-size: .8em;
    margin-right: 10px
}

.leaflet-html-legend .opacity-slider {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-right: 6px;
    order: 1;
    padding: 0;
    font-size: 14px;
    margin-top: 0
}

.leaflet-html-legend .opacity-slider .slider-label {
    white-space: nowrap;
}

.leaflet-html-legend .opacity-slider .icon {
    margin: 0 3px;
    font-size: .8em
}

.leaflet-html-legend .opacity-slider input[type=range] {
    -webkit-appearance: none;
    flex: 1 1 auto;
    cursor: ew-resize;
    opacity: .5;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    -moz-transform: translateY(-.3em)
}

.leaflet-html-legend .opacity-slider input[type=range]:focus {
    outline: none
}

.leaflet-html-legend .opacity-slider input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    animate: .2s;
    background: #ddd;
    border: none
}

.leaflet-html-legend .opacity-slider input[type=range]::-webkit-slider-thumb {
    border: 0 solid #000;
    height: 12px;
    width: 12px;
    border-radius: 7px;
    background: #333;
    -webkit-appearance: none;
    margin-top: -3.6px
}

.leaflet-html-legend .opacity-slider input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ddd
}

.leaflet-html-legend .opacity-slider input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    animate: .2s;
    background: #ddd;
    border: none
}

.leaflet-html-legend .opacity-slider input[type=range]::-moz-range-thumb {
    border: none;
    height: 12px;
    width: 12px;
    border-radius: 7px;
    background: #333
}

.leaflet-html-legend .opacity-slider input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    animate: .2s;
    background: transparent;
    border-color: transparent;
    border-width: 39px 0;
    color: transparent
}

.leaflet-html-legend .opacity-slider input[type=range]::-ms-fill-lower,
.leaflet-html-legend .opacity-slider input[type=range]::-ms-fill-upper {
    background: #ddd;
    border: none
}

.leaflet-html-legend .opacity-slider input[type=range]::-ms-thumb {
    border: 0 solid #000;
    height: 12px;
    width: 12px;
    border-radius: 7px;
    background: #333
}

.leaflet-html-legend .opacity-slider input[type=range]:focus::-ms-fill-lower,
.leaflet-html-legend .opacity-slider input[type=range]:focus::-ms-fill-upper {
    background: #ddd
}

.leaflet-html-legend {
    position: relative;
}

.leaflet-html-legend-icon-eye {
    color: #666;
}

.leaflet-html-legend .visibility-toggle {
    cursor: pointer;
    color: #666;
    transition: color .15s ease, opacity .15s ease;
    order: 2;
}

.leaflet-html-legend .visibility-toggle:hover {
    color: #222;
}

.leaflet-html-legend .visibility-toggle.disabled {
    opacity: .35;
    color: #9e9e9e;
}

.leaflet-html-legend .visibility-toggle,
.leaflet-html-legend .legend-layer-remove,
.leaflet-html-legend .bring-to-front-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.leaflet-html-legend .legend-layer-remove {
    order: 5;
}

.leaflet-html-legend .bring-to-front-toggle {
    order: 3;
}

.leaflet-html-legend .blend-mode-dropdown {
    width: 100%;
}

.leaflet-html-legend-collapse-btn:after {
    content: '\00d7';
}

.leaflet-html-legend select {
    display: inline-block;
}
.leaflet-html-legend-collapse-btn {
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 24px;
    color: #ccc;
    font-weight: 700;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    z-index: 1;
}

.leaflet-html-legend.closed {
    width: 30px !important;
    height: 30px !important;
    overflow: hidden;
    position: relative;
}

button.leaflet-html-legend-collapse-btn:focus {
    outline: none;
    background-color: transparent;
}

.leaflet-html-legend.closed .leaflet-html-legend-collapse-btn {
    top: 0;
    right: 3px;
}

.leaflet-html-legend.closed .leaflet-html-legend-collapse-btn:after {
    content: '\2139';
}


.leaflet-html-legend.closed .legend-block,
.leaflet-html-legend.closed .legend-elements,
.leaflet-html-legend.closed .legend-layer-controls {
    display: none; /* Ukryj zawartość */
}
