body:has(.map-container.map-open) .fp-hc-scope {
	display: none;
}

.map-container .map-filters-bar.fp-map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: none;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	z-index: 10001;
	overflow: visible;
	pointer-events: none;
}

.fp-map-drawer,
.fp-map-toolbar,
.fp-map-legend,
.fp-map-reopen {
	pointer-events: auto;
}

.fp-map-drawer {
	position: absolute;
	top: 12px;
	left: 12px;
	bottom: 72px;
	width: 320px;
	background: #fff;
	border: 1px solid #009587;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .22);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.map-filters-bar.drawer-closed .fp-map-drawer,
.map-filters-bar.drawer-closed .fp-map-toolbar {
	display: none;
}

.fp-map-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	font-weight: 700;
	padding: 10px 12px;
}

.fp-map-drawer-close {
	color: #fff;
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
}

.fp-map-drawer-body {
	flex: 1;
	overflow: auto;
	padding: 12px 14px;
}

.fp-map-field-title {
	margin: 12px 0 6px;
	font-size: 13px;
}

.fp-map-drawer-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #e0e0e0;
}

.fp-map-clear,
.fp-map-apply,
.fp-map-list {
	display: inline-block;
	flex-shrink: 0;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.fp-map-clear {
	color: #455a64;
}

.fp-map-apply,
.fp-map-apply:hover,
.fp-map-apply:focus,
.fp-map-apply:active,
.fp-map-apply:visited,
.fp-map-list,
.fp-map-list:hover,
.fp-map-list:focus,
.fp-map-list:active,
.fp-map-list:visited {
	color: #fff;
}

.fp-map-clear:hover,
.fp-map-clear:focus,
.fp-map-drawer-close:hover,
.fp-map-drawer-close:focus {
	text-decoration: none;
	color: #455a64;
}

.fp-map-reopen {
	display: none;
	position: absolute;
	top: 12px;
	left: 12px;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	color: #fff;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	text-decoration: none;
}

.map-filters-bar.drawer-closed .fp-map-reopen {
	display: flex;
}

.fp-map-reopen i {
	font-size: 22px;
	line-height: 40px;
}

.fp-map-toolbar {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 320px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	padding: 6px 8px;
}

.map-filters-bar-label {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	color: #757575;
	white-space: nowrap;
}

.fp-map-colorby {
	position: relative;
	flex: 1;
	min-width: 0;
}

.fp-map-toolbar select.map-filters-colorby {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.fp-map-colorby-btn {
	width: 100%;
	height: 34px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	color: #455a64;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	padding: 0 28px 0 10px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fp-map-colorby-btn:after {
	content: '';
	position: absolute;
	right: 10px;
	top: 14px;
	border-width: 5px 4px 0;
	border-style: solid;
	border-color: #607d8b transparent transparent;
}

.fp-map-colorby-list {
	display: none;
	position: absolute;
	bottom: 38px;
	left: 0;
	width: 220px;
	max-height: 280px;
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
	z-index: 20;
	padding: 6px 0;
}

.fp-map-colorby-list.open {
	display: block;
}

.fp-map-colorby-item {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	color: #455a64;
	font-size: 13px;
	text-align: left;
	padding: 8px 14px;
	cursor: pointer;
}

.fp-map-colorby-item:hover {
	background: #f5f5f5;
}

.fp-map-colorby-item.selected {
	color: var(--fp-colorby, #009587);
	font-weight: 700;
	background: transparent;
}

.fp-map-legend {
	position: absolute;
	right: 16px;
	bottom: 24px;
	width: 240px;
	max-height: 42%;
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
	padding: 12px 14px;
}

.fp-map-legend-title {
	font-weight: 700;
	margin-bottom: 8px;
}

.map-filters-legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #455a64;
	margin-bottom: 6px;
}

.map-filters-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
}

.map-filters-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.map-filters-chip {
	border: 1px solid #009587;
	color: #009587;
	border-radius: 16px;
	padding: 4px 10px;
	font-size: 12px;
	white-space: nowrap;
	display: inline-block;
}

.map-filters-nocoord {
	margin-top: 8px;
	font-size: 12px;
	color: #757575;
}

.map-container.map-open:not(:has(.map-filters-bar.drawer-closed)) .assign-on-map {
	left: 344px;
	top: auto;
	bottom: 24px;
}

.map-container.map-open:has(.map-filters-bar.drawer-closed) .assign-on-map {
	left: 60px;
}

.fp-map-filter-hosted.collapse,
.fp-map-filter-hosted.filter-bar-detail {
	display: block !important;
	position: static;
	top: auto;
	left: auto;
	width: auto;
	height: auto !important;
	border: 0;
	box-shadow: none;
	margin: 0;
	z-index: auto;
	background: transparent;
}

.fp-map-filter-hosted .panel-footer {
	display: none;
}

.fp-map-filter-hosted .panel-body {
	padding: 0;
}

.fp-map-filter-hosted .row {
	margin-left: 0;
	margin-right: 0;
}

.fp-map-filter-hosted .col-xs-1,
.fp-map-filter-hosted .col-xs-3,
.fp-map-filter-hosted .col-xs-4,
.fp-map-filter-hosted .col-xs-5,
.fp-map-filter-hosted .col-xs-6,
.fp-map-filter-hosted .col-md-4 {
	width: 100%;
	float: none;
	padding-left: 0;
	padding-right: 0;
}

.fp-map-filter-hosted .col-xs-1 {
	position: relative;
	clear: both;
	float: none;
	margin-top: 6px;
	margin-bottom: 6px;
}

.fp-map-filter-hosted .col-xs-1 label,
.fp-map-filter-hosted label[style*="margin-left"] {
	margin-left: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-left: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-weight: 400;
	font-size: 13px;
	color: #555;
	line-height: 1.4;
}

.fp-map-filter-hosted .col-xs-1 label input[type="checkbox"],
.fp-map-filter-hosted label[style*="margin-left"] input[type="checkbox"] {
	margin: 0 !important;
	position: static !important;
	vertical-align: middle;
	cursor: pointer;
}

.fp-map-filter-hosted .form-group {
	position: relative;
	clear: both;
	float: none;
	margin-top: 18px;
	margin-bottom: 4px;
}

.fp-map-filter-hosted .SumoSelect,
.fp-map-filter-hosted .chosen-container,
.fp-map-filter-hosted .form-control {
	display: block;
	width: 100% !important;
	max-width: 100%;
}

.fp-map-filter-hosted .SumoSelect > .CaptionCont {
	min-height: 36px;
	padding-top: 14px;
	box-sizing: border-box;
}

.fp-map-filter-hosted .SumoSelect > .CaptionCont > .custom-placeholder,
.fp-map-filter-hosted .SumoSelect > .CaptionCont > .custom-placeholder.active-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 11px;
	line-height: 14px;
}

.fp-map-filter-hosted .SumoSelect > .CaptionCont > span {
	position: relative !important;
	top: auto !important;
	display: block;
	min-height: 20px;
	line-height: 20px;
	margin-bottom: 0;
}

.fp-map-filter-hosted .SumoSelect > .optWrapper.open {
	top: 100%;
}

.fp-map-filter-hosted .chosen-container {
	position: relative;
	margin-top: 12px;
}

.fp-map-filter-hosted .chosen-container .floating-label,
.fp-map-filter-hosted .form-control-wrapper .floating-label {
	top: 0;
	font-size: 11px;
	line-height: 14px;
	opacity: 1;
}

.fp-map-filter-hosted .chosen-container .chosen-single {
	height: auto;
	min-height: 36px;
	padding-top: 14px;
	line-height: 20px;
}

.fp-map-filter-hosted .form-control {
	margin-top: 12px;
}

.fp-map-drawer .map-filters-nocoord,
.fp-map-drawer .map-filters-nocoord p {
	clear: both;
	position: static;
	display: block;
	float: none;
	width: 100%;
	margin: 10px 0 4px;
	white-space: normal;
}
