/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
#contact_form label {
    display: none;
}
#contact_form .form_group {
    margin-bottom: 10px;
}
.real-estate-item-image {
	position: relative;
	aspect-ratio: 3 / 2; /* 3 wide x 2 tall, adjust if needed */
	overflow: hidden;
}

.real-estate-item-image > a{
    display: block;
    width: 100%;
    height: 100%;
}
.real-estate-item-image img {
    min-height: 100%;
	object-fit: fill;      /* fills the box, cropping as needed */
	object-position: center;
	display: block;
}


/* Range Slider
------------------------------------- */
.range-slider label {
	color:#333;
	font-size: 16px;
	margin-bottom: 25px;
}

.range-slider .ui-slider {
	position: relative;
	text-align: left;
}

.range-slider .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #66676b;
	cursor: w-resize;
	background: #fff;
	outline: none;
	top: -8px;
	margin-left: -8px;
	box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.15);
}

.range-slider .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background-position: 0 0;
}

.range-slider .ui-widget-content {
	background-color: #e8e8e8;
}

.range-slider .ui-widget-header {
	background-color: #66676b;
}


.range-slider .ui-slider.ui-state-disabled .ui-slider-handle,
.range-slider .ui-slider.ui-state-disabled .ui-slider-range {
	filter: inherit;
}

.range-slider .ui-slider-horizontal {
	height: 3px;
	border-radius: 10px;
	width: calc(100% - 16px);
	margin-left: 8px;
}

.range-slider .ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
}
.range-slider .ui-slider-horizontal .ui-slider-range-min {
	left: 0;
}
.range-slider .ui-slider-horizontal .ui-slider-range-max {
	right: 0;
}

input.first-slider-value:focus,
input.second-slider-value:focus,
input.first-slider-value,
input.second-slider-value {
	width: 40%;
	display: inline-block;
	border: 0;
	background-color: transparent;
	padding: 0;
	margin: 12px 0 0 0;
	cursor: default;
}

input.first-slider-value {
	float: left;
	margin-left: -8px;
	width: 40%;
}

input.second-slider-value {
	float: right; 
	width: 40%;
	text-align: right;
	margin-right: -8px;
}


/*----------------------------------- */
/* Custom Checkboxes
------------------------------------- */
.checkboxes {
	list-style: none;
	padding: 0;
}

.checkboxes.in-row label { margin-top: 9px;}
.checkboxes.one-in-row label { margin-top: 9px; width: 100%; }

.checkboxes li { padding: 4px 0; }
.checkboxes li:last-child { margin-bottom: -8px; }

.checkboxes label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 28px;
	margin-right: 20px;
	margin-bottom: 0;
	font-size: 15px;
}

.checkboxes label span {
	color: #909090;
	font-size: 15px;
}

.checkboxes input[type=checkbox] { display: none; }

.checkboxes label:before {
	content: "";
	display: inline-block;
	width: 19px;
	height: 19px;
	margin-right: 10px;
	position: absolute;
	left: 0;
	top: 3px;
	background-color: #fff;
	border: 2px solid #d0d0d0;
	border-radius: 2px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	transition: border-color 0.3s;
}

.checkboxes input[type=checkbox]:checked + label:before {
	content: "\f00c";
	font-family: "FontAwesome";
	font-size: 12px;
	color: #fff;
	text-align: center;
	line-height: 15px;
	background-color: #66676b;
	border: 2px solid transparent;
	transition: border-color 0s;
}

/* Desktop: 10 per row */
@media (min-width: 992px) {
    #property-gallery .flex-control-nav.flex-control-thumbs li {
        width: 12.5% !important; /* 100 / 10 */
    }
}

/* ADD SMALL GAP BETWEEN THUMBNAILS */
#property-gallery .flex-control-thumbs li {
    padding: 2px !important; /* space between thumbs */
    box-sizing: border-box;
}

/* Maintain 3:2 ratio */
#property-gallery .flex-control-thumbs li {
    position: relative;
    overflow: hidden;
}
#property-gallery .flex-control-thumbs li::before {
    content: "";
    display: block;
    padding-top: 66.6667%; /* 3:2 ratio */
}
#property-gallery .flex-control-thumbs li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Force main image into 3:2 horizontal ratio and crop vertically if needed */
#property-gallery .flexslider {
    position: relative;
}
#property-gallery .flexslider .slider-wrap {
    position: relative;
}
#property-gallery .flexslider .slider-wrap .slide {
    position: relative;
    overflow: hidden;
}
#property-gallery .flexslider .slider-wrap .slide::before {
    content: "";
    display: block;
    padding-top: 66.6667%; /* 3:2 ratio */
}
#property-gallery .flexslider .slider-wrap .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cols-responsive {
    columns: 1;
}

@media (min-width: 576px) {
    .cols-responsive {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .cols-responsive {
        columns: 3;
    }
}

.cols-responsive li {
    break-inside: avoid;
}

/* Automatically insert the check icon before each <li> */
.iconlist li {
    position: relative;
    padding-left: 1.25rem; /* space for the icon */
}

.iconlist li::before {
    content: "\F26A"; /* Bootstrap Icons: check-circle */
    font-family: "bootstrap-icons";
    font-size: 1rem;
    color: var(--bs-primary, #0d6efd); /* or any color */
    position: absolute;
    left: 0;
    top: 0.15rem;
    line-height: 1;
}

.ratio-2x3 {
    position: relative;
    width: 100%;
    padding-top: 67%; /* 2:3 ratio → height = width × 1.5 */
}

.ratio-2x3 img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}