#mls-list {
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.quick-info {
    color: white;
    background-color: #565656;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0 !important;
}

.wp-image-container {
    width: 100%;
    height: 255px;
}

/* Force all images to be the same size */
.wp-image {
    width: 223px !important; /* Set a fixed width for all images */
    object-fit: cover; /* This will make sure the images maintain their proportions */
}

.heading-container {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin: 20px;
}

/* mls featured view page */


.info-container {
    width: 300px;             
    height: 300px;            
    display: flex;            
    flex-direction: column;   
    justify-content: center;  
    align-items: center;      
    overflow: hidden;         
    background-color: #f0f0f0;
}

.wp-image {
    width: 100%;              
    height: 70%;              
    object-fit: cover;        
    overflow: hidden;
}

.wp-image-featured {
    width: 100% !important; /* Set a fixed width for all images */
    height: 100% !important; /* Set a fixed height for all images */
    object-fit: cover; /* This will make sure the images maintain their proportions */
	overflow: hidden !important;
}

.wp-image-featured-home {
    width: 100% !important; /* Set a fixed width for all images */
    height: 83% !important; /* Set a fixed height for all images */
    object-fit: cover; /* This will make sure the images maintain their proportions */
	overflow: hidden !important;
}

#mls-container-featured {
  
}


#form-container {
    width: 100%;
    margin-left: 0 !important;
    max-width: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    padding-top: 60px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input.form-control {
    color: black !important;
}

#searchProperties {
    margin: 20px 0;
    align-self: start;
}

#searchContainer {
}

#property-view-container {
    margin-top: 40px;
    display: flex;
}

#features-list {
    list-style: none;
    margin: 0 10px;
    padding: 0;
}


.indicators {
    width: 100%;
    height: 50vh !important;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: scroll;
}

.indicators::-webkit-scrollbar {
    display: none;  /* For Chrome, Safari, and Opera */
}

.slide-button {
    padding: 0 !important;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.view-data {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.carousel-data {
    width: 50vw !important;
    display: flex;
    flex-direction: column;
}

.property-data {
    width: 50vw !important;
}

.carousel-item {
    height: 100% !important;
    width: 100% !important;
}

.carousel-item > img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
    display: none;
}

.property-view-container {
    padding-top: 40px !important;
}

.property-link {
    text-decoration: none;
}

.property-link-featured {
    text-decoration: none;
    flex: 1;
}

#listing-courtesy-of {
    text-align: center;
}

/* Quick Search */
.my-plugin-image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.my-plugin-image {
    position: relative;       /* Relative positioning for overlay */
    flex: 1 1 200px;
    width: 440px;
    height: 330px;
    overflow: hidden;
}

.my-plugin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);  /* Slightly darken the image for better text contrast */
}

.my-plugin-image:hover img {
    transform: scale(1.05);
    filter: brightness(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Overlay styling */
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.851);
}

.overlay-content > h3 {
    color: white;
}

/* quick search inputs */

#search-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    justify-content: center;
    align-items: center;
}

.form-group {
    flex: 1; /* Allows each input to take up available space */
    min-width: 150px; /* Set a minimum width to avoid collapsing */
}

#searchInputContainer {
    max-width: 100%;
}

@media (max-width: 992px) {
    /* On smaller screens, allow wrapping */
    .form-group {
        flex: 1 1 100%; /* Allows each input to go full width */
    }
}

#searchInputContainer {
    width: 100%;
    margin: 0 auto;    /* Center the container within the page */
}

.heading-container h1 {
    text-align: center;
}

.property-row {
    width: 100%;
    display: flex;
    gap: 40px;
}

.property-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bold {
    font-weight: bold !important;
}

#mls-featured-page-list > li {
    list-style: none !important;
    padding: 10px 20px;
}

#mls-featured-page-list {
    padding: 0;
}

.row-container {
    display: flex;
    justify-content: space-between;
}

a.btn {

    white-space: nowrap !important;   /* Prevent text from wrapping */
    width: 200px !important;           /* Automatically size to content */
}

a.btn:hover {
    color: lightslategray;
}

.pagination {
    display: flex;
    justify-content: center;

}

.spinner-container {
    position: fixed; /* Stay fixed in the viewport */
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%); /* Adjust to center */
    z-index: 1050; /* Ensure it's above other elements */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: semi-transparent background */
    width: 100vw; /* Full-screen width */
    height: 100vh; /* Full-screen height */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mls-featured-page {
    display: flex;    
    justify-content: center;    
    flex-wrap: wrap;          
    gap: 10px;  
    width: 100%;  
	padding: 0 50px;
}

input::placeholder {
    color: lightgray !important;
    font-style: italic; /* Optional: for additional styling */
    opacity: 1; /* Ensures visibility; browsers often apply a lower opacity by default */
}

.table-mobile {
	display: none;
}

 #listing-courtesy-of {
	 padding: 50px 0 !important;
}

.modal-fullscreen {
	width: 60vw !important;
	height: 80%; /* Ensure modal doesn't exceed 90% of the viewport height */
	margin: 5% auto; /* Centers the modal */
}

.modal-body {
	position: relative;
	padding: 0;
	overflow-y: hidden !important; /* Ensure no scrollbars */
	height: 75vh; /* Ensures the modal height doesn't exceed 75% of the viewport height */
}

@media (max-width: 992px) {
	#mls-list {
		flex-direction: column;
		gap: 60px;
	}
	
	.row-container {
		flex-direction: column;
	}
	
	.property-row {
		flex-direction: column;
	}
	
	.indicators {
		width: 100%;
		margin: 20px 0;
		display: flex;
		justify-content: center;
		gap: 10px;
		overflow-y: scroll;
		flex-wrap: nowrap !important;
		height: 100px !important;
	}
	
	.view-data {
		flex-direction: column;
	}
	
	.carousel-data {
		width: 100% !important;
		padding: 10px !important;
	}
	
	.property-data {
		width: 100% !important;
		padding: 10px !important;
	}
	
	.table {
		display: none;
	}
	
	.table-mobile {
		display: inline-block;
	}
	
	.table-mobile > li {
		display: flex;
		gap: 5px;
		list-style: none;
	}
	
	.mobile-header {
		font-weight: bold;
	}
	
	#listing-courtesy-of {
		padding: 50px 20px !important;
	}
	
	.modal-fullscreen {
		width: 100% !important;
		height: 100% !important;
		padding: 0 10px !important;
		top: 50px;
	}
}

