@font-face {
	font-family: 'font-awesome';
	src:
		url('https://www.mubawab-media.com/assets/common/font-awesome/Maps_V2.woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "font-awesome";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-angle-right:before {
  content: "\e900";
}
.icon-angle-left:before {
  content: "\e901";
}
.icon-bus:before {
  content: "\b000";
}
.icon-h-square:before {
  content: "\b001";
}
.icon-shopping-basket:before {
  content: "\b002";
}
.icon-graduation-cap:before {
  content: "\b003";
}

#map-controls {
	z-index: 1001;
	position: absolute;
	left: 30px;
	top: 0px;
}

#map-controls .controls {
	background-color: #fff;
	margin-left: 10px;
	margin-top: 10px;
	box-shadow: 3px 3px 11px 0 rgba(0, 0, 0, .22);
	border-radius: 8px;
	overflow: hidden;
	line-height: 16px;
	padding: 4px 2px 5px 2px;
	width: 105px;
}

#map-controls .controls .iconTextElement a {
	padding: 8px;
	display: block;
	text-decoration: none;
}

#map-controls .controls .iconTextElement {
	display: inline-block;
	float: left;
	width: 46%;
	margin-left: 1%;
	margin-right: 1%;
	text-align: center;
	cursor: pointer;
}

#map-controls .iconTextElement.checked a {
	background-color: #eff0f1;
	border-radius: 8px;
}

#map-controls .controls .iconTextElement:hover {
	color: #ff6600;
}

#map-controls .controls p {
	font-size: 30px;
}

#map-controls .controls .iconServiceMap {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
}

#map-controls .controls .greyIcon {
	color: #858585;
}

#map-controls .controls .darkgreenIcon {
	color: #009b65;
}

#map-controls .controls .darkredIcon {
	color: #b80012;
}

#map-controls .controls .darkblueIcon {
	color: #00659a;
}

#map-canvas .H_ib_body {
	bottom: 0.8em;
	right: -5.4em;
	background: none;
}

#map-canvas .H_ib_close {
	font-size: .45em;
	top: 3px;
	right: 3px;
}

#map-canvas .H_ib_content {
	font-size: 11px;
	line-height: normal;
	margin: 0;
}

#map-canvas .H_ib_content .bubble-text {
	min-width: 140px;
}

#map-canvas .H_ib_content .bubble-image {
	margin-top: 5px;
}

#map-canvas .H_ib_content .bubble-image img {
	max-width: 170px;
}

#map-canvas .H_ib_tail {
	display: none;
}

.mapMarkerOverlay {
	height: 30px;
	width: 770px;
	background: #E1591E;
	opacity: 0.9;
	z-index: 2;
	text-align: center;
	position: absolute;
	font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;
	font-size: 14px;
	color: white;
	line-height: 30px;
}

.mapNote {
	pointer-events: none;
	position: absolute;
	background: #fff;
	width: 50%;
	text-align: center;
	margin: 2% 25%;
	border-radius: 5px;
	font-size: 12px;
	color: #ff6600;
	-webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .25);
	box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .25);
	cursor: default;
}

.leaflet-container a.leaflet-popup-close-button {
	font: 20px/24px Tahoma, Verdana, sans-serif;
}

#mapOpen {
	position: relative;
}

.locationIcon.locate {
	position: absolute;
	opacity: .6;
	top: 50%;
	margin-top: -52.5px;
	text-align: center;
	left: 50%;
	margin-left: -51px;
	pointer-events: none;
	z-index: 400;
}

/* TOOLTIPS */
.leaflet-tooltip {
	font-family: Arial, Helvetica, sans-serif;
	border-bottom: 1px dotted #666;
	background-color: #0093ff;
	text-align: left;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: none;
}

.leaflet-tooltip-top:before {
	border-top-color: #0093ff;
}

.tooltipMap .tooltipMapText {
	max-width: 200px;
	padding: 5px;
	color: #fff;
	font-weight: normal;
	font-size: 14px;
	border-radius: 360px;
	text-align: center;
	min-width: 50px;
	z-index: 1;
	box-sizing: border-box;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.tooltipMap .top {
	max-width: 200px;
	padding: 5px;
	color: #fff;
	background-color: #0093ff;
	font-weight: normal;
	font-size: 14px;
	border-radius: 360px;
	text-align: center;
	min-width: 50px;
	z-index: 1;
	box-sizing: border-box;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.toolTipMap .H_ib_close {
	display: none;
}

.leaflet-tooltip.active .tooltipMap .top {
	background-color: #4ab2ff;
	cursor: pointer;
}

.tooltipMap.selected .top, .tooltipMap.selected {
	background-color: #104a7a;
	cursor: pointer;
}

.tooltipMap .top i {
	position: absolute;
	top: 100%;
	left: 10px;
	width: 30px;
	height: 15px;
	overflow: hidden;
}

.tooltipMap .top p {
	white-space: nowrap;
	margin: 0;
}

.tooltipGroup {
	font-family: Arial, Helvetica, sans-serif;
	width: 34px;
	height: 34px;
	margin-left: -17px;
	margin-top: -17px;
	background: #33cc00;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	border-radius: 100%;
	box-shadow: 0px 0px 0px 6px rgba(173, 235, 153, 0.75);
	position: absolute;
	z-index: 1;
	line-height: 1.7em;
	text-align: center;
	cursor: pointer;
}

.tooltipGroup.active {
	background: #2aa800;
	box-shadow: 0px 0px 0px 8px rgba(173, 235, 153, 0.75);
}

.darkBlue {
	color: #00659a;
}

.cPointer {
	cursor: pointer;
}

#mapLoading {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	width: 100%;
	min-height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}

#mapTooltip {
	position: absolute;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0093ff;
	color: #fff;
	text-align: left;
	padding: 0;
	box-shadow: none;
	border: none;
	display: none;
	padding: 5px 10px;
	border-radius: 8px;
}

.ol-viewport .ol-zoom {
	bottom: .5em;
	left: .5em;
	top: unset;
}

/* Píndoles de preu interactives */
.property-price-pill {
    background-color: #ffffff;
    color: #222222;
    padding: 6px 11px;
    border-radius: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.property-price-pill:hover {
    transform: scale(1.08);
    z-index: 900 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.property-price-pill.selected {
    background-color: #222222 !important;
    color: #ffffff !important;
    z-index: 1000 !important;
    transform: scale(1.04);
}

/* Targeta popup de l'anunci */
.property-card-popup {
    position: relative; 
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    width: 280px;
    z-index: 1000;
    overflow: hidden;
    font-family: Montserrat, Roboto, sans-serif;
}
.property-card-popup .sliderArrows {
    position: absolute;
    min-height: 20px;
    z-index: 10;
    width: 100%;
    top: 50%;
    margin-top: -62px;
}
.property-card-popup .sliderArrows .arrowIcon {
    color: #222222;
    background-color: #fff;
    font-size: 24px;
    width: 26px;
    height: 26px;
    margin: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    pointer-events: auto;
    transition: scale 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.property-card-popup .sliderArrows .arrowIcon:hover {
    scale: 1.08;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #000000;
}
.property-card-popup .sliderArrows .arrowIcon:active {
    scale: 0.96;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.property-card-popup .photoMask {
    background-image: url(https://mubawab-test.s3.amazonaws.com/assets/logos/mubawab.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8e9ea;
}
.property-card-popup img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.property-card-content {
    padding: 10px 12px;
}
.property-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-card-details {
    font-size: 12px;
    color: #717171;
    margin-bottom: 6px;
}
.property-card-price {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.property-card-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #222222;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.property-card-close:hover {
    transform: scale(1.08);
    background: #ffffff;
}
.rtl .rotate180, .rotate {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    display: inline-block;
}
.float-left {
    float: left;
}
.rtl .float-left {
    float: right;
}
.float-right {
    float: right;
}
.rtl .float-right {
    float: left;
}