/**
 * Property map page (6766) — full viewport + popup styles.
 */

body.fph-map-page {
	overflow: hidden;
	height: 100%;
}

body.fph-map-page #page,
body.fph-map-page .site-content,
body.fph-map-page .site-footer,
body.fph-map-page .sidebar,
body.fph-map-page .widget-area,
body.fph-map-page .FixedMenuSection {
	display: none !important;
}

body.fph-map-page #map {
	position: fixed !important;
	top: var(--fph-map-header-offset, 72px);
	left: 0;
	right: 0;
	width: 100% !important;
	height: calc(100vh - var(--fph-map-header-offset, 72px)) !important;
	margin: 0 !important;
	z-index: 500;
}

@media screen and (max-width: 640px) {
	body.fph-map-page #map {
		--fph-map-header-offset: 60px;
	}
}

#map:fullscreen,
#map:-webkit-full-screen {
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	z-index: 999999;
}

.leaflet-popup-content .map-list {
	margin: 0;
}

.leaflet-popup-content .map-list p {
	margin: 0 !important;
	font-size: 16px !important;
}

.leaflet-popup-content .property-price {
	color: #ef5f00;
}

.leaflet-popup-content .button-line {
	margin-bottom: 10px;
}
