.pagination-container ul {
    list-style-type: none;
    padding: 0;
}
.pagination-container li {
    display: inline;
    margin-right: 5px;
}
.pagination-container li a {
    text-decoration: none;
    color: #007bff;
}
.pagination-container li.active a {
    font-weight: bold;
}

.location-icon {
    display: inline-block;
    vertical-align: middle; /* Adjust if the icon is not aligning perfectly */
}

#location_suggest {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    z-index: 1000; 
    float: left; 
    width: 350px; 
    padding: 5px 0; 
    margin: 2px 0 0; 
    font-size: 14px; 
    text-align: left; 
    list-style: none; 
    background-color: #ffffff; 
    border: 1px solid rgba(0,0,0,.15); 
    border-radius: 4px; 
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

#autocomplete-results {
    position: absolute;
    top: 100%;  /* Positions the dropdown right below the input field */
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1050;  /* Use a higher value if necessary */
    display: none; /* Ensures it only shows when needed */
}

/* Style each item in the dropdown for better interactivity */
#autocomplete-results div {
    padding: 8px 12px;
    cursor: pointer;
    line-height: normal; /* Adjust based on your preference */
}

/* Highlighting on hover for better user experience */
#autocomplete-results div:hover {
    background-color: #f8f8f8;
}

.row, .col-md-8, .col-md-2, .col-md-1 {
    align-items: center; /* This will vertically center the children */
}

.form .input--style-1, 
.form .input--style-1.js-select-simple {
    height: 30px; /* Standard height for all input types */
    padding: 5px 5px; /* Padding to make text vertically centered */
      font-size: 14px; /* Uniform font size */
    color: #666; /* Text color */
    border: 0px solid #ccc; /* Add border to make inputs distinct */
    background-color: #fff; /* Background color for inputs */
    display: block; /* Ensures full width and correct display */
    width: 100%; /* Ensures input takes full container width */
    -webkit-border-radius: 5px; /* Rounded corners for aesthetics */
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/* Adjustments for select elements to override browser defaults more robustly */
.form select.input--style-1.js-select-simple {
    -webkit-appearance: none; /* Removes default styling by browsers */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="30" viewBox="0 0 24 24" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); /* Adds custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right -1px center; /* Position for the dropdown arrow */
    background-size: 20px; /* Size of the dropdown arrow */
    padding-right: 5px; /* Adjust padding for select element */
}

/* Reset padding and border for better alignment */
.input-group .input--style-1,
.input-group .input--style-1.js-select-simple {
  border: 0px solid #ddd; /* Lighter border for better aesthetics */
}




.label {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  display: block;
  font-weight: 700;
  text-align: left;
}


.btn-submit {
  height: 45px;
  width: 80px;
  display: inline-block;
  line-height: 45px; /* Adjust to match button height for vertical centering */
  font-family: inherit;
  background: #ffe151;
  border-radius: 10px;
  text-transform: capitalize;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  text-align: center; /* Ensures horizontal centering */
  transition: all 0.4s ease;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  padding: 0; /* Reset padding to eliminate unwanted spacing */
  border: none; /* Ensures no borders are affecting size */
}

.btn-submit:hover {
  background: #ebcd3d;
}


.p-t-395 {
  padding-top: 10px;
}

@media (max-width: 767px) {
  .p-t-395 {
    padding-top: 5px;
  }
}

#autocomplete-results {
    z-index: 5000;  // Increase the z-index to a high value to ensure visibility over other elements
    position: absolute;
    width: 100%;  // Adjust the width as necessary
    max-height: 300px;  // Manage the max height to ensure it doesn't overflow the viewport
    overflow-y: auto;  // Make it scrollable
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);  // Optional for better visibility
}

#autocomplete-results div {
    padding: 10px;
    background-color: white;
}
#autocomplete-results div:hover {
    background-color: #f0f0f0;
}

.search-container {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .search-container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .search-container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .search-container {
    width: 1170px;
  }
}

.custom-div-icon .speech-bubble {
    position: relative;
    background: #0000FF; /* Blue background */
    border: 2px solid white; /* White border */
    border-radius: 10px; /* Rounded corners */
    color: white; /* White text */
    padding: 5px;
    text-align: center;
    width: 50px;
}
.custom-div-icon .speech-bubble:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #0000FF; /* Blue arrow */
}
.custom-div-icon .speech-bubble-highlighted {
    position: relative;
    background: red;
    border: 2px solid white; /* White border */
    border-radius: 10px; /* Rounded corners */
    color: white;
    padding: 5px;
    text-align: center;
    width: 50px;
}
.custom-div-icon .speech-bubble-highlighted:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid red;
}
.button-container {
    display: flex;
    gap: 10px;
    margin: 10px;
}

.draw-button, .cancel-button, .apply-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.cancel-button, .apply-button {
    display: none;
}

.draw-button:hover, .cancel-button:hover, .apply-button:hover {
    background-color: #0056b3;
}

.draw-button:disabled {
    background-color: #d3d3d3;
    cursor: not-allowed;
}




#location_suggest {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    z-index: 1000; 
    float: left; 
    width: 350px; 
    padding: 5px 0; 
    margin: 2px 0 0; 
    font-size: 14px; 
    text-align: left; 
    list-style: none; 
    background-color: #ffffff; 
    border: 1px solid rgba(0,0,0,.15); 
    border-radius: 4px; 
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.form-group #location_suggest.dropdown-menu {
    width: 350px !important;
}

.form-variant-1 .form-group #location_suggest.dropdown-menu {
    width: 350px !important;
}

.intro-banner-search-form {
    position: relative;  /* Add this line */
    margin: 20px auto;
    display: block;
    width: 80%;
    background-color: #ffffff;
    z-index: 1001;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    padding: 6px;
}

@media (min-width: 992px) {
    .intro-banner-search-form {
        background-color: #ffffff;
        z-index: 1001;
        width: 80%;
        border-radius: 6px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.09);
        margin-top: 20px;
        padding: 6px;
        margin: 20px auto;
    }
}

.main-search-form {
    background: #ffffff !important;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    padding: 6px;
    margin-top: 20px;
}

#autocomplete-results {
    display: block;
    position: absolute;
    z-index: 1000;
    background: white;
    width: 100%;
    max-height: 240px; /* Adjust the height based on your item height, 6 items x 40px each */
    overflow-y: auto; /* Makes the dropdown scrollable */
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    font-size: 16px; /* Increased font size */
}

.main-search-field {
    height: 40px; /* Maintain or adjust height as needed */
    padding: 6px 12px; /* Maintain or adjust padding for text alignment */
    line-height: 28px; /* Adjust line height to center text vertically */
    font-size: 18px; /* Increased font size for readability */
    border: none; /* Removes any border, including horizontal grey lines */
    background-color: transparent; /* Ensures background transparency */
    box-shadow: none; /* Removes any box shadow which might cause lines */
    outline: none; /* Removes focus outline which could introduce lines */
}

.main-search-field:focus {
    border: none; /* Ensures no border is applied on focus */
    box-shadow: none; /* Ensures no shadow is applied on focus */
    outline: none; /* Ensures no outline is visible on focus */
}


/* Style each item in the dropdown for better interactivity */
#autocomplete-results div {
    padding: 4px 6px;
    cursor: pointer;
    line-height: normal; /* Adjust based on your preference */
}

/* Highlighting on hover for better user experience */
#autocomplete-results div:hover {
    background-color: #f8f8f8;
}


.main-search-field {
    height: 40px; /* Increase or adjust the height as needed */
    padding: 6px 12px; /* Adjust padding to align text vertically */
    line-height: 28px; /* Line height should be adjusted to vertically center text */
    font-size: 18px; /* Maintain or adjust font size */
    border: 1px solid transparent; /* Remove border or set to transparent */
    background-color: transparent; /* Ensure background is transparent */
    box-shadow: none; /* Remove any box shadow */
    outline: none; /* Remove focus outline */
}

.main-search-field:focus {
    border: 1px solid transparent;
    box-shadow: none;
    outline: none;
}

.main-search-field::placeholder {
    color: #888;
}    

.padding-10 {
    padding: 10px;
}

.right-gray-border {
    border-right: 1px solid #ccc;
}


/* Increase font size and adjust padding for larger button appearance */
.intro-banner-search-form .btn-primary {
    font-size: 17px; /* Increase font size */

}

/* Specific adjustment to reduce right-side padding might require targeting a more specific structure, ensuring it doesn't affect other elements */
.intro-banner-search-form .padding-10.wh-100 {
    padding-right: 5px; /* Reduce right padding specifically */
    width: auto; /* Allow button to expand based on content and padding */
}

.row, .col-md-8, .col-md-2, .col-md-1 {
    align-items: center; /* This will vertically center the children */
}


/* Adjust padding and line height for the button to ensure text alignment */
.btn-primary {
    height: 40px; /* Match button height with input and select elements */
    padding: 6px 12px; /* Adjust padding to match input/select styling */
    line-height: 28px; /* Adjust line height for vertical alignment */
    border-radius: 6px; /* Add rounded edges */
    margin-right: 1px; /* Add some spacing between the buttons */
}

/* Last button shouldn't have a right margin */
.btn-primary:last-child {
    margin-right: 0;
}

.input-error::placeholder {
    color: red;
}

.bottom-sticky-image {
    height: 350px;
    width: 100%;
    opacity: 0.04;
    z-index: -1;
    bottom: 0;
    left: 0;
}

#architects {
  font-family: 'Architects Daughter', cursive;
  font-size: 55px;
  font-weight: bold;
  color: white;
}
  


        
        .search-history-item {
            height: 60px;
            width: 220px;
            background-color: white;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.09);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            cursor: pointer;
            transition: background-color 0.3s, border-color 0.3s;
        }
        .search-history-item:hover {
            background-color: #f0f0f0;
            border-color: #b3b3b3;
            cursor: pointer;
        }

        .location-text, .type-text {
            text-align: left;
            padding-left: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .location-text {
            color: #007bff; /* Set color for location text */
            padding-top: 5px;
        }  

        .type-text {
            padding-top: 0px;
        }


.recent-searches-header {
    display: flex;
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Title on left, buttons on right */
    width: 100%; /* Ensure it takes full width */
    margin-bottom: 20px;
}





.search-history {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.search-history-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 5px;
}

.search-history-item {
    width: 220px;
    flex: 0 0 auto;
    margin-right: 10px;
}
    
.featured-listings-wrapper {
    display: flex;
    overflow: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.featured-listing-item {
    flex: 0 0 auto;
    width: 275px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.5s ease;
}

.featured-listing-item.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.featured-listing-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.featured-listing-details {
    padding: 10px;
}

.featured-listing-address {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 5px;
}

.featured-listing-price {
    font-size: 12px;
    color: #888;
}

.carousel-icon[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.recentlyviewed-container {
    position: relative; /* Ensure it has a higher stacking context */
    z-index: 2; /* Higher than the bottom-sticky-image */
}

.recently-viewed-listings-wrapper {
    display: flex;
    overflow: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.recently-viewed-listing-item {
    flex: 0 0 auto;
    width: 275px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.5s ease;
}

.recently-viewed-listing-item.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.recently-viewed-listing-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recently-viewed-listing-details {
    padding: 10px;
}

.recently-viewed-listing-address {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 5px;
}

.recently-viewed-listing-price {
    font-size: 12px;
    color: #888;
}

        #delete-icon {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            display: none;
        }
        .input-container {
            position: relative;
        }    