
        #map {
            background-color: #ededed
        }
        html, body, #map {
			overflow: hidden;
        }
        .col9{
			height: 100%!important;
		}
		.col3{
			height: 100%;
			overflow: auto;
		}
        .info {
            padding: 6px 8px;
            font: 14px/16px Arial, Helvetica, sans-serif;
            background-color:#f8f8f8 !important;
            color: #444444 !important;
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
            border-radius: 5px;
        }
        .info h2 {
            margin: 0;
        }
        .leaflet-control.map-header-control {
            position: relative;
            display: flex;
            width: calc(100vw - 20px);
            box-sizing: border-box;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            box-shadow: none !important;
            border-radius: 0;
            pointer-events: none;
        }
        .map-title-panel {
            flex: 0 1 620px;
            min-width: 0;
            max-width: 620px;
            box-sizing: border-box;
            pointer-events: auto;
        }
        .map-title-panel h2 {
            overflow-wrap: break-word;
        }
        .leaflet-container {
            background: #fff;
            padding-right: 10px;
        }
        .leaflet-popup-scrolled {
            border-bottom: unset!important;
            border-top: unset!important;
        }
        .leaflet-popup-content{
            max-height: 70vh;
            max-width: 70vw;
        }
        .leaflet-popup-content.media{
            width: auto!important;
            height: auto!important;
            overflow: auto;
        }
        .leaflet-popup-content th {
            text-align: left;
            vertical-align: top;
            min-width: 75px;
        }
        .leaflet-popup-content td {
            min-width: 75px;
        }
        .leaflet-popup-content td img {
            max-height: 60vh;
            max-width: 60vw;
        }

        .leaflet-tooltip {
            background: none;
            box-shadow: none;
            border: none;
        }
        .leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
            border: 0px;
        }
        .fa, .leaflet-container, a {
            color: #444444 !important;
        }
        .leaflet-control-zoom-in, .leaflet-control-zoom-out,
        .leaflet-control-locate a,
        .leaflet-touch .leaflet-control-geocoder-icon,
        .leaflet-control-search .search-button,
         .leaflet-control-measure {
            background-color: #f8f8f8 !important;
            border-radius: 0px !important;
            color: #444444 !important;
        }
        .abstract-button {
            font: bold 18px 'Lucida Console', Monaco, monospace;
            text-indent: 1px;
            background-color: #f8f8f8 !important;
            color: #444444 !important;
            cursor: pointer;
        }
        .leaflet-touch .abstract-button {
            font-size: 22px;
        }
        .abstract-control.abstract-expanded {
            box-shadow: none !important;
            border-radius: 0;
        }
        .abstractUncollapsed {
            padding: 6px 8px;
            font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
            background-color:#f8f8f8 !important;
            color: #444444 !important;
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
            border-radius: 5px;
            width: min(420px, calc(100vw - 40px));
            max-width: calc(100vw - 40px);
            max-height: calc(100vh - 120px);
            box-sizing: border-box;
            overflow-y: auto;
            cursor: pointer;
        }
        .leaflet-control {
            box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4)!important;
            border-radius: 4px;
        }
        .leaflet-touch .leaflet-control-layers,
        .leaflet-touch .leaflet-bar,
        .leaflet-control-search,
        .leaflet-control-measure {
            border: 3px solid rgba(255,255,255,.4) !important;
        }
        .leaflet-control-attribution a {
            color: #0078A8 !important;
        }
        .leaflet-control-scale-line {
            border: 2px solid #f8f8f8 !important;
            border-top: none !important;
            color: black !important;
        }
        .leaflet-control-search .search-button {
            width: 30px !important;
            height: 30px !important;
            font-size: 13px !important;
            text-align: center !important;
            cursor: pointer;
        }
        .search-button.fa.fa-binoculars{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .leaflet-control-measure .leaflet-control {
            width: 30px !important;
            height: 30px !important;
        }
        .leaflet-container .leaflet-control-search{
            background: none !important;
        }
        .leaflet-control-search .search-input {
            margin: 0px 0px 0px 0px !important;
            height: 30px !important;
        }
        .leaflet-control-measure {
            background: none!important;
            border-radius: 4px !important;
        }
        .leaflet-control-measure .leaflet-control-measure-interaction {
            background-color: #f8f8f8 !important;
        }
        .leaflet-touch .leaflet-control-measure
        .leaflet-control-measure-toggle,
        .leaflet-touch .leaflet-control-measure
        .leaflet-control-measure-toggle:hover {
            width: 30px !important;
            height: 30px !important;
            border-radius: 0px !important;
            background-color: #f8f8f8 !important;
            color: #444444 !important;
            font-size: 13px;
            line-height: 30px;
            text-align: center;
            text-indent: 0%;
        }
        .leaflet-control-layers {
			padding: 2px;
			display: flex;
			flex-direction: column;
			align-items: flex-end;
            background-color: #f8f8f8 !important;
            color: #444444 !important;

		}
        .leaflet-control-layers-expanded {
			padding-left: 6px;
		}	
        .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
            display: block;
            background-image: none;
			text-decoration: none;
            margin-bottom: 3px;
        }
        .leaflet-control-layers-expanded .leaflet-control-layers-toggle::after {
            content: '»';
            font-size: x-large;
            color: #444444 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            text-align: center;
        }
        .leaflet-overlay-pane {
            z-index: 550;
        }
        .leaflet-popup-pane {
            z-index: 700;
        }
        #gcd-button-control {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .leaflet-marker-icon{
            white-space: nowrap;
        }
/* QGIS Labels layer */
.qgis-map-label.leaflet-tooltip {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 11pt;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: none;
    -webkit-text-stroke-width: 1.6mm;
    -webkit-text-stroke-color: #fafafa;
    paint-order: stroke fill;
}
.qgis-map-label.leaflet-tooltip::before {
    display: none !important;
}
.qgis-map-label-priority {
    color: #d73027;
}
.qgis-map-label-other {
    color: #4b4b4b;
}

/* Responsive map header, map mode toggle, and thematic legend */
.buffer-mode-control {
    display: flex;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 0;
    margin-left: auto;
    background: #f8f8f8;
    font: 12px/1.2 Arial, Helvetica, sans-serif;
    pointer-events: auto;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}
.buffer-mode-option {
    margin: 0;
    padding: 7px 9px;
    border: 0;
    border-right: 1px solid #c8c8c8;
    background: #f8f8f8;
    color: #444;
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}
.buffer-mode-option:last-child {
    border-right: 0;
}
.buffer-mode-option:hover,
.buffer-mode-option:focus-visible {
    background: #ededed;
    outline: none;
}
.buffer-mode-option-active,
.buffer-mode-option-active:hover,
.buffer-mode-option-active:focus-visible {
    background: #444;
    color: #fff;
}
.map-density-legend {
    padding: 8px 10px;
    background: rgba(248, 248, 248, 0.96);
    color: #444;
    font: 12px/1.25 Arial, Helvetica, sans-serif;
    min-width: 185px;
    max-width: 220px;
    box-sizing: border-box;
}
.map-density-legend-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-align: left;
}
.map-density-legend-toggle:focus-visible {
    outline: 2px solid #666;
    outline-offset: 2px;
}
.map-density-legend-toggle-indicator {
    flex: 0 0 auto;
}
.map-density-legend-body {
    margin-top: 5px;
}
.map-density-legend-collapsed {
    min-width: 0;
    width: auto;
    padding: 7px 9px;
}
.map-density-legend-collapsed .map-density-legend-toggle {
    width: auto;
}
.map-density-legend-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 18px;
}
.map-density-legend-swatch {
    box-sizing: border-box;
    width: 24px;
    height: 13px;
    flex: 0 0 24px;
    border: 1px solid #939393;
}
.map-density-legend-separator {
    height: 1px;
    margin: 6px 0;
    background: #d0d0d0;
}
.map-density-legend-region-row {
    align-items: flex-start;
}
.map-density-legend-region-symbol {
    position: relative;
    width: 28px;
    height: 14px;
    flex: 0 0 28px;
    margin-top: 1px;
}
.map-density-legend-region-symbol::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border: 2px solid #fff;
    background: transparent;
    box-shadow: 0 0 1px rgba(0,0,0,0.25);
}
.map-density-legend-region-symbol > span {
    position: absolute;
    inset: 2px;
    box-sizing: border-box;
    border: 2px dashed #4b4b4b;
}
@media (max-width: 700px) {
    .map-header-control {
        display: block;
    }
    .map-title-panel {
        max-width: 100%;
        width: fit-content;
    }
    .buffer-mode-control {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: max-content;
        max-width: calc(100% - 50px);
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .map-title-panel h2 {
        font-size: 20px;
        line-height: 1.08;
    }
    .buffer-mode-option {
        padding: 6px 7px;
        font-size: 11px;
    }
    .abstractUncollapsed {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 170px);
    }
    .map-density-legend {
        min-width: 0;
        max-width: min(220px, calc(100vw - 40px));
    }
}
@media (max-width: 420px) {
    .buffer-mode-control {
        flex-direction: column;
        align-items: stretch;
    }
    .buffer-mode-option {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #c8c8c8;
        text-align: center;
        white-space: normal;
    }
    .buffer-mode-option:last-child {
        border-bottom: 0;
    }
}
