 body {
    font-family: 'Montserrat' !important;
   
} 

.search-container {
    width: 100%;
    background: white;
    border-bottom: 1px solid #00000028;
  /*  border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    padding: 30px 5%;
    margin: 10px auto;
    margin-top: 0;
    z-index: 12;
}

#et-boc > header {
    background-color: #fff;
    -webkit-box-shadow: 1px 4px 11px 0px rgba(0,0,0,0.28);
-moz-box-shadow: 1px 4px 11px 0px rgba(0,0,0,0.28);
box-shadow: 1px 4px 11px 0px rgba(0,0,0,0.28);
position: relative;
z-index: 999;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 500; 
    color: #000000ad !important;
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    font-size: 20px;
}

.search-bar .filters-btn {
    border: 1px solid #000 !important;
    color: #000;
    background: white;
}

.search-bar .map-btn {
   
    color: #fff;
    background: #ED203C;
    border: 1px solid #ED203C !important;

}

.search-bar .map-btn:hover {
    border: 1px solid #ED203C !important;
    background: #fff;
    color: #ED203C;
}

.search-bar .filters-btn:hover {
    background: #000;
    color: white;
}

.search-bar .save-btn {
    background: #673ab7;
    color: white;
}

.search-bar .icon ,
.save-btn .icon {
    font-size: 24px;
}

.search-bar .save-btn:hover {
    background: #5e35b1;
}

.additional-links {
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.additional-links a {
    color: #0072e3;
    text-decoration: none;
    font-size: 14px;
}

.additional-links a:hover {
    text-decoration: underline;
}
/* Sliding Filter Panel */
.filter-panel {
position: fixed;
top: 0;
right: -100%; /* Hidden by default */
width: 400px;
height: 100%;
background: white;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
overflow-y: auto;
transition: right 0.3s ease-in-out;
z-index: 1000;
padding: 20px;
}

.filter-panel.open {
right: 0; /* Slide in */
}

.filter-panel h2 {
font-size: 18px;
margin-bottom: 20px;
}

.filter-panel .filter-group {
margin-bottom: 20px;
}

.filter-panel .filter-group label {
display: block;
font-size: 14px;
margin-bottom: 5px;
}

.filter-panel .filter-group input,
.filter-panel .filter-group select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}

.filter-panel .apply-filters-btn {
width: 100%;
padding: 10px;
background: #0072e3;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}

/* Close Button */
.close-btn {
position: absolute;
top: 10px;
right: 10px;
background: transparent;
border: none;
font-size: 20px;
cursor: pointer;
}

/* Overlay */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
display: none; /* Hidden by default */
}

.overlay.visible {
display: block; /* Visible when filter panel is open */
}

/* Filter Group Styling */
.filter-group {
margin-bottom: 20px;
}

.filter-group label {
display: block;
font-size: 14px;
margin-bottom: 5px;
}

.filter-group input,
.filter-group select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}

/* Inline Buttons (Include, Exclude, Show Only) */
.filter-group button {
padding: 5px 10px;
font-size: 14px;
margin-right: 5px;
border: 1px solid #ccc;
border-radius: 5px;
background: white;
cursor: pointer;
}

.filter-group button:hover {
background: #0072e3;
color: white;
border-color: #0072e3;
}
/* Map View Button */
.map-view-btn {
background: #0072e3;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}

.map-view-btn:hover {
background: #005bb5;
}

/* Map Popup */
.map-popup {
position: fixed;
top: 0;
right: -100%; /* Hidden initially */
width: 100%;
height: 100%;
background: white;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
overflow-y: auto;
z-index: 1000;
transition: right 0.3s ease-in-out;
display: flex;
flex-direction: column;
}

.map-popup.open {
right: 0; /* Slide into view */
}

/* Close Button */
.close-map-btn {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
}

/* Map Popup Content */
.map-popup-content {
display: flex;
height: 100%;
}

/* Map Sidebar */
.map-sidebar {
width: 40%;
border-right: 1px solid #ddd;
overflow-y: auto;
padding: 20px;
}

.map-sidebar h3 {
font-size: 18px;
margin-bottom: 20px;
}

.property-list {
display: flex;
flex-direction: column;
gap: 20px;
}

.property-item {
display: flex;
gap: 10px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
}

.property-item img {
width: 100px;
height: 100px;
object-fit: cover;
}

.property-details {
padding: 10px;
}

.property-details h4 {
font-size: 16px;
margin-bottom: 5px;
}

.property-details p {
font-size: 14px;
margin-bottom: 5px;
}

.property-actions button {
background: #0072e3;
color: white;
padding: 5px 10px;
border: none;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
}

.property-actions button:hover {
background: #005bb5;
}

/* Map Container */
.map-container {
flex: 1;
background: #f8f8f8;
height: 100%;
}
/* Close Button */
.close-map-btn {
position: absolute;
top: 15px;
left: 15px; /* Position on the top-left corner */
background: #fff;
border: 1px solid #ccc;
font-size: 24px;
font-weight: bold;
color: #333;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s, color 0.3s;
z-index: 1001; /* Ensure it stays on top */
}

.close-map-btn:hover {
background: #0072e3;
color: white;
border-color: #0072e3;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0;
}
.property-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.property-image-slider {
    position: relative;
    flex: 1 1 50%;
    overflow: hidden;
    max-height: 400px;
}
.property-image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 100%;
    transition: transform 0.5s ease-in-out;
}
.property-image-slider img.active {
    left: 0;
    transform: translateX(0);
}
.property-details {
    flex: 1 1 50%;
    padding: 20px;
}
.property-details h3 {
    margin: 0 0 10px;
    font-weight: 600;
}
.property-details p {
    margin: 0 0 5px;
    line-height: 1.6;
}
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}
.price-tag {
    color: #d9534f;
    font-weight: 600;
    margin-bottom: 10px;
}
.actions {
    margin-top: 20px;
}
.actions button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.actions button:hover {
    background: #0056b3;
}
.custom-marker {
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
color: white;
background: rgba(0, 123, 255, 0.9);
padding: 6px 10px;
border-radius: 10px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
position: relative;
transition: background 0.3s ease;
}

.custom-marker:hover {
background: #ff5722;
cursor: pointer;
}

.custom-marker::after {
content: '';
position: absolute;
bottom: -6px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid rgba(0, 123, 255, 0.9);
}

.property-item {
display: flex;
gap: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 10px;
background: white;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-item:hover {
transform: scale(1.02);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.property-item img {
border-radius: 5px;
width: 80px;
height: 80px;
object-fit: cover;
}

.property-details h4 {
font-size: 14px;
font-weight: bold;
color: #007bff;
margin: 0;
}

.property-details p {
font-size: 12px;
margin: 2px 0;
color: #555;
}

.lightbox {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
z-index: 9999;
justify-content: center;
align-items: center;
}

.lightbox-content {
background-color: #fff;
padding: 20px;
border-radius: 10px;
max-width: 90%;
max-height: 90%;
overflow: auto;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
text-align: center;
}

.close-lightbox {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
font-weight: bold;
color: #fff;
cursor: pointer;
}

.custom-marker {
position: relative;
display: inline-block;
background: rgba(0, 123, 255, 0.9);
color: #fff;
padding: 6px 10px;
border-radius: 10px;
font-weight: bold;
text-align: center;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: transform 0.2s ease-in-out;
}

.custom-marker:hover {
transform: scale(1.1);
background: rgba(0, 123, 255, 1);
}

#property-lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
align-items: center;
justify-content: center;
z-index: 9999;
}

#lightbox-content {
background: #fff;
border-radius: 10px;
overflow: hidden;
max-width: 600px;
width: 90%;
text-align: center;
padding: 20px;
animation: fadeIn 0.3s ease-in-out;
}

#property-lightbox .close-btn {
position: absolute;
top: 20px;
right: 20px;
background: transparent;
border: none;
color: #fff;
font-size: 24px;
cursor: pointer;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}


.property-item.highlight {
background-color: #f0f0f0;
border: 1px solid #ED203C;
}
/* button {
font-size: 16px;
padding: 10px 15px;
border: none;
border-radius: 5px;
margin: 5px;
cursor: pointer;
}

button:disabled {
background: #ccc;
cursor: not-allowed;
}

#start-drawing {
background: #007BFF;
color: white;
}

#delete-drawing {
background: #FF5722;
color: white;
} */



.property-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.property-card-header .property-highlight {
    background: #7f00ff;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 5px 5px;
}

.property-card-body {
    display: flex;
    flex-direction: row;
    /* padding: 15px; */
}

.slider-wrapper {
    flex: 1;
    position: relative;
}

.property-slider {
    display: flex;
    overflow: hidden;
    /* border-radius: 8px; */
}

.slider-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    height: 300px;
    transition: transform 0.3s ease-in-out;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-prev,
.slider-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.property-info {
    flex: 2;
    padding: 10px 20px;
}

.property-info h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.property-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.property-actions {
    margin-top: 15px;
}

.property-actions .btn {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.btn-call {
    background: #007bff;
    color: #fff;
}

.btn-email {
    background: #28a745;
    color: #fff;
}

.property-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-image {
    flex: none;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}





/* General Property Card Styling */
.property-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
    font-family: 'Montserrat' !important;
}

/* Property Card Body (Flex Container for Slider and Info) */
.property-card-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

/* Slider Section */
.slider-wrapper {
    flex: 1; /* Take 50% of the width */
    max-width: 40%;
    position: relative;
    height: 100%; /* Adjusts to content */
    overflow: hidden;
}

.property-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider-image {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: 300px;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    transition: background-color 0.3s ease;
}

.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Property Info Section */
.property-info {
    flex: 1; /* Take 50% of the width */
    position: relative;
    max-width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: none; */
    padding: 30px;
    overflow: hidden;
}

.property-info h3 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 0 !important;
    color: #333;
    padding-bottom: 4px;
}

.property-info p {
    font-size: 12px;
    color: #000;
    margin: 0 0;
    padding-bottom: 0px;
    /* line-height: 1.6; */
}

/* Actions Section */
.property-actions {
    display: flex; /* Keep buttons aligned */
    gap: 10px; /* Add spacing between buttons */
    position: absolute; /* Enable absolute positioning */
    bottom: 15px; /* Space from the bottom of the parent */
    right: 15px; /* Space from the right of the parent */
}

.property-actions .btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.property-actions .btn-email {
    background: #1c1c1c;
    color: white;
}

.property-actions .btn-call {
    background: #1c1c1c;
    color: white;
}

.property-actions .btn-link {
    background: #ED203C;
    color: white;
    text-align: left;
}



.property-actions .btn:hover {
    background: #1c1c1c9f;
}



/* Main content layout */
.main-content {
    margin: 40px auto;
    width: 90%;
    display: flex;
    gap: 20px; /* Space between property listings and sidebar */
    align-items: flex-start;
}

/* Container for the property listings */
.container {
    flex: 2; /* Take more space than the sidebar */
}

/* Sidebar styling */
.sidebar {
    flex: 1; /* Take less space than the container */
    padding: 20px;  
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Montserrat' !important;
}

/* Sidebar buttons */
.sidebar-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    background-color: white;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background-color: #000;
    color: white;
}

/* Sidebar links */
.sidebar-links a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.sidebar-links a:hover {
    color: #82CCBD;
}

/* Sidebar ads */
.sidebar-ads .ad {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 12px;
    text-align: center;
    color: #333;
}


.thetitlesb {
    font-weight: 600;
}