/* Hide filters on mobile and tablet */
@media (max-width: 768px) {
	#filters {
		display: none;
		flex-direction: column; /* Stack the children vertically */
	}
	.hidden-on-desktop {
		display: inline;
	}
}

/* Show filters on desktop */
@media (min-width: 769px) {
	#filters {
		display: flex; /* Or block, inline-block, etc., depending on your layout */
		flex-direction: row; /* Align the children horizontally */
	}
	.hidden-on-desktop {
		display: none;
	}
}

.buy_rent-container {
	visibility: hidden!important;
	display:non!important;
}

#show-filters {
	margin: 6px 0px;
}

/* Full-width elements when filters are shown on mobile/tablet */
#filters.show-on-mobile select {
	width: 100%;
	box-sizing: border-box;
	display: block !important; /* Use !important to override other styles */
}

.sold-text {
	transform: rotate(-10deg);
}

#header-area {
	padding: 1px 10px;
	background-color: #efefef;
	margin-bottom:20px;
	border-radius: 6px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

button {
	width: 100%;
	padding: 6px;
	/*margin-bottom: 5px;*/
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	font-size: 14px;
	cursor: pointer;
	background-color: #f9f9f9;
	color: #333;
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: #eee;
}


.filter-button-container {
	margin-bottom:10px;
}

.property-address {
	color: #fff!important;
	font-size:20px!important;
	font-weight: 600!important;
}
a.property-address {
	color: #fff!important;
}
.property-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

#price-slider {
	margin: 12px 16px 10px;
}

.property-item {
	min-width: 0;
	width: 100%;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	font-weight: 600;
	text-shadow: 0.08em 0.08em 0.08em rgb(0 0 0 / 60%);
	border-radius: 6px;
	color: #fff!important;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.property-item::before {
	content: "";
	display: block;
	padding-top: 66%;  /* This sets the height as 70% of the width */
}

.property-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Hide the .hidden-text by default */
.property-item .hidden-text {
	visibility: hidden;
	opacity: 0;
}

/* Show the .hidden-text when .property-item is hovered */
.property-item:hover .hidden-text {
	visibility: visible;
	opacity: 1;
}

/* Tablet view */
@media (max-width: 1300px) and (min-width: 901px) {
	.property-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile view */
@media (max-width: 900px) {
	.property-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.txt_suburb, .txt_sold, .property-price {
	text-transform: uppercase;
	font-weight: 800!important;
}
.txt_sold {
	background-color: red;
}
/* Style the slider track */
input[type=range] {
	-webkit-appearance: none;
	width: 100%;
	height: 10px;
	border-radius: 5px;
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	transition: opacity 0.2s;
}

/* Style the slider thumb */
input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #4caf50;
	cursor: pointer;
}

input[type=range]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #4caf50;
	cursor: pointer;
}

/* Display min and max labels */
.range-labels {
	display: flex;
	justify-content: space-between;
}

.property-item {
	cursor: pointer;
}

.range-labels span {
	font-size: 14px;
}

/*.noUi-connect {
background: #122156;
}*/

/* Common styles for all screen sizes */
.selection-container {
	display: grid;
	gap: 10px;
	width:100%;
}

/* Desktop view */
@media (min-width: 769px) {
	.selection-container {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.location-container {
		grid-column: 1 / 2;
		grid-row: 1 / 3; /* Span 2 rows */
	}
	.bedrooms-container {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
	.status-container {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
	.bathrooms-container {
		grid-column: 3 / 4;
		grid-row: 1 / 2;
	}
	.type-container {
		grid-column: 3 / 4;
		grid-row: 2 / 3;
	}
	.carspaces-container {
		grid-column: 4 / 5;
		grid-row: 1 / 2;
	}
	.buy_rent-container {
		grid-column: 4 / 5;
		grid-row: 2 / 3;
	}
	.reset-container {
		grid-column: 4 / 5;
		grid-row: 2 / 3;
	}
}

/* Mobile view */
@media (max-width: 768px) {
	.selection-container {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto auto auto;
	}
	.location-container {
		grid-column: 1 / 2;
		grid-row: 1 / 3; /* Span 2 rows */
	}
	.status-container {
		grid-column: 1 / 2;
		grid-row: 3 / 4;
	}
	.type-container {
		grid-column: 1 / 2;
		grid-row: 4 / 5;
	}
	.bedrooms-container {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
	.bathrooms-container {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
	.carspaces-container {
		grid-column: 2 / 3;
		grid-row: 3 / 4;
	}
	.buy_rent-container {
		grid-column: 2 / 3;
		grid-row: 4 / 5;
	}
	.reset-container {
		grid-column: 2 / 3;
		grid-row: 4 / 5;
	}
}



/* Style for the selection boxes */
select {
	width: 100% !important;
	padding: 6px !important;
	margin: 0px !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	font-size: 14px !important;
	appearance: none !important;
	background-color: #fff !important;
}


/* Style for the multi-select dropdown */
select[multiple] {
	height: 78px; /* Set a specific height */
	max-height: 78px; /* Or set a maximum height */
	overflow-y: auto; /* Enable vertical scrolling */
}

/* Style for the option elements */
option {
	padding: 4px 6px;
	font-size: 14px;
}

/* Style for the disabled option */
option:disabled {
	background-color: #f1f1f1;
	color: #ccc;
}