a{
    color: #183D6D;
}
a:hover{
    color: #8f982f;
}
.searchFilter {
    width: 100%;
    padding: 5px;
    margin: 0 !important;
}

.searchFilter:focus,
.searchFilter:active {
    box-shadow: none;
    outline: none;
}

#result {
    width: 48%;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: 0px 0px 5px 0px #0000003b;
}

.filterdata {
    /* padding: 7px 10px; */
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.filterdata:hover {
    background: #2B2D6C;
    color: white;
}

.map-container {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    align-items: center;
    justify-content: space-around;
}

.map-container svg {
    width: 40%;
}

.region {
    fill: #2c3e50;
    stroke: #ffffff;
    stroke-width: 1px;
    transition: fill 0.3s ease;
}

.region:hover,
.region.active {
    /* fill: #f39c12 !important; */
    fill: #929a34 !important;
}

/* Region List Styling */
.region-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 200px;
    background-color: transparent;
    /* border-radius: 5px; */
    display: block;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.region-list li,
#back-button {
    padding: 10px;
    margin: 0;
    cursor: pointer;
    text-align: left;
    color: grey;
    font-weight: lighter;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
}

.region-list li .counter {
    background: #2B2D6C;
    color: white;
    padding: 5px 10px;
    border-radius: 5%;
    font-size: 12px;
    font-weight: bold;
}

.region-list li:nth-child(odd) {
    background-color: #f4f4f4;
}

.region-list li:hover,
#back-button:hover,
.region-list li.active {
    /* background-color: #f39c12; */
    background-color: #929a34;
    color: #ffffff;
}

.region-label {
    fill: white;
    font-size: 14px;
    font-weight: bold;
    text-anchor: middle;
    pointer-events: none;
}

#back-button {
    background-color: #2B2D6C;
    color: white;
    position: absolute;
    left: -58px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    width: 32%;
    overflow: hidden;
    padding: 20px;
}

@media(max-width: 768px) {
    .card {
        width: 49%;
    }
}
@media(max-width: 567px) {
    .card {
        width: 100%;
    }
}


.card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
    margin: 15px 0;
}

.card .more-info-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #ffc107;
    color: #000;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.card .more-info-btn:hover {
    background-color: #e0a800;
}

.single-line-text {
    white-space: nowrap;
    /* Prevents the text from wrapping */
    overflow: hidden;
    /* Hides the overflow text */
    text-overflow: ellipsis;
    /* Adds an ellipsis (...) at the end */
}
.gallery-viewport img {
    visibility: visible;
}

.listing_details_video_img {
    position: relative;
}

.thumbnail {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.listing_details_video_btn_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button {
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.play-button:hover {
    opacity: 1;
}

/* @media (max-width: 991px) { */
.caroufredsel_wrapper {
    /* position: absolute !important; */
    /* opacity: 0;
    z-index: -10 !important; */
}

.gallery-thumbnails .thumbs-prev {
    position: absolute !important;
    top: -300px !important;
    left: 0 !important;
}

.gallery-thumbnails .thumbs-next {
    position: absolute !important;
    top: -300px !important;
    right: 0 !important;
}

.gallery-thumbnails .counter-overlay {
    opacity: 0 !important;
}

.thumb-navigation {
    position: absolute !important;
    z-index: -100 !important;
    opacity: 0 !important;
}

.gallery-thumbnails {
    height: 0 !important
}

/*  */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.d-flex{
    display: flex;
}
.justify-content-center{
    justify-content: center;
}
.align-items-center{
    align-items: center;
}
.flex-column{
    flex-direction: column;
}
.flex-wrap{
    flex-wrap: wrap;
}
.flex-grow-1{
    flex-grow: 1;
}
.flex-shrink-1{
    flex-shrink: 1;
}
.flex-grow-0{
    flex-grow: 0;
}
.flex-shrink-0{
    flex-shrink: 0;
}
.flex-nowrap{
    flex-wrap: nowrap;
}
.flex-wrap-reverse{
    flex-wrap: wrap-reverse;
}
.flex-column-reverse{
    flex-direction: column-reverse;
}
.flex-row-reverse{
    flex-direction: row-reverse;
}
.justify-content-start{
    justify-content: flex-start;
}
.justify-content-end{
    justify-content: flex-end;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-around{
    justify-content: space-around;
}
.align-items-start{
    align-items: flex-start;
}
.align-items-end{
    align-items: flex-end;
}
.align-items-baseline{
    align-items: baseline;
}
.align-items-stretch{
    align-items: stretch;
}
.align-content-start{
    align-content: flex-start;
}
.align-content-end{
    align-content: flex-end;
}
.align-content-center{
    align-content: center;
}
.align-content-between{
    align-content: space-between;
}
.align-content-around{
    align-content: space-around;
}
.align-content-stretch{
    align-content: stretch;
}
.align-self-auto{
    align-self: auto;
}
.align-self-start{
    align-self: flex-start;
}
.align-self-end{
    align-self: flex-end;
}
.align-self-center{
    align-self: center;
}
.align-self-baseline{
    align-self: baseline;
}
.align-self-stretch{
    align-self: stretch;
}
/* gap */
.gap-0{
    gap: 0;
}
.gap-1{
    gap: 0.5rem;
}
.gap-2{
    gap: 1rem;
}

/* make width custom value */
.w-100{
    width: 100%;
}
.w-50{
    width: 50%;
}
.w-25{
    width: 25%;
}
.w-75{
    width: 75%;
}
.w-33{
    width: 33.333333%;
}
.w-66{
    width: 66.666667%;
}
.w-20{
    width: 20%;
}
.w-40{
    width: 40%;
}
.w-60{
    width: 60%;
}
.w-80{
    width: 80%;
}
.w-30{
    width: 30%;
}

/* margin and padding */
.m-0{
    margin: 0;
}
.m-1{
    margin: 1rem;
}
.m-2{
    margin: 2rem;
}
.m-3{
    margin: 3rem;
}
.m-4{
    margin: 4rem;
}
.m-5{
    margin: 5rem;
}
/* mb */
.mb-0{
    margin-bottom: 0;
}
.mb-1{
    margin-bottom: 1rem;
}
.mb-2{
    margin-bottom: 2rem;
}
.mb-3{
    margin-bottom: 3rem;
}
.mb-4{
    margin-bottom: 4rem;
}
.mb-5{
    margin-bottom: 5rem;
}
.p-1{
    padding: 0;
}
.p-1{
    padding: 1rem;
}
.p-2{
    padding: 2rem;
}
.p-3{
    padding: 3rem;
}
.p-4{
    padding: 4rem;
}
.p-5{
    padding: 5rem;
}
.px-1{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.px-2{
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-3{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.px-4{
    padding-left: 2rem;
    padding-right: 2rem;
}
.px-5{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
.py-1{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-2{
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-3{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.py-4{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.py-5{
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}



.form-control{
    width: 100%;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    height: 30px;
}
.form-control:focus{
    outline: none;
    border-color: #f8c426;
}
.form-control::placeholder{
    color: #ccc;
}

.text-center{
    text-align: center;
}
.m-auto{
    margin: auto;
}

@media(max-width:767px){
    .w-20, .w-25, .w-30, .w-33, .w-40, .w-50, .w-60, .w-66, .w-75, .w-80{
        width: 100%;
    }
    .flex-sm-wrap{
        flex-wrap: wrap;
    }
    .form_end{
        width: 100%;
        float: unset;
        text-align: center;
        display: block;
    }
}

.d-none{
    display: none;
}


.featured-slider .listing-images{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.custom-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 45, 108, 1); /* Semi-transparent background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-loader.notactive{
    display: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light gray */
    border-top: 5px solid #ffce34; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.menu-toggle {
    display: none;
}
@media(min-width: 767px) and (max-width: 991px)
{
    #pd-footer img{
       width: 30% !important;
    }
}
/* Hide the menu by default on small screens */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #fff; /* Optional background for mobile menu */
        position: absolute;
        top: 80px; /* Adjust based on header height */
        right: 0;
        left: 0;
        z-index: 1000;
    }

    .menu-content{
        margin: 0;
    }
    .menu-bg>ul>li{
        display: block;
        float: unset;
    }
    .menu.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1001;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 4px;
    }

    .menu-toggle:focus {
        outline: none;
    }
    .menu-item {
        border-bottom: 1px solid #ccc;
    }
    
    .menu-item ul {
        display: none; /* Hide dropdowns initially */
        height: auto;
        position: unset;
        display: inline-block;
        margin-left: 40px;
    }
    .menu-item ul.show {
        display: block; /* Show dropdowns on click */
    }
    
    .menu-item:last-child {
        border-bottom: none;
    }
    .fadeInUp .menu-bg>ul>li>ul{
        display: none; 
        height: auto;
        position: unset;
        margin-left: 40px;
    }
    .fadeInUp .menu-bg>ul>li>ul.show{
        display: block;
    }
    .menu-item-text{
        width: 100%;
        display: block;
    }
    #footer-copyright img{
        width: 30% !important;
    }
    #footer-copyright .grid_4,
    #footer-social,
    #footer-copyright .grid_8{
        float: unset;
    }
    #footer-social .footer-social-links{
        position: unset;
    }
    #footer-social{
        display: none;;
    }
    #results-list .property-list-item .property-list-details,
    #results-list .property-list-item .property-list-image-thumb{
        width: 100%;
    }
    #results-list .property-list-item .property-list-details{
        margin-top: 10px;
    }
    .caroufredsel_wrapper{
        min-width: 350px;
    }
    .listing-features-content .full{
        width: 100%;
    }
    .listing-features-content .full  .third{
        width: 50%;
    }
    #sidebar-quick-links{
        position: unset;
    }
}
@media(max-width: 567px){
    .caroufredsel_wrapper{
        min-width: 150px
    }
    #footer-copyright img{
        width: 80% !important;
    }
    #footer-top,
    #pd-footer{
        text-align: center;
    }
    .industry-logo{
        width: 70% !important;
        max-width: 70% !important;
        margin: auto !important;
        text-align: center !important;
        display: block !important;
    }
    .industry-logo img{
        margin: 0 !important;
    }
}

.limit-text-two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." at the end */
  }

  /* For Sold status */
[data-listing-status="Sold"] {
    background-color: green !important;
    color: white; /* Optional: Ensure the text is visible */
}

/* For Inactive status */
[data-listing-status="Inactive"] {
    background-color: red !important;
    color: white; /* Optional: Ensure the text is visible */
}
 
.showOnDesktop{
    display: none;
}
.hideOnMobile{
    display: block;
}
@media(max-width: 767px){
    .hideOnMobile{
        display: none;
    }
    .showOnDesktop{
        display: block;
    }
    #sidebar-quick-links{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    #sidebar-quick-links #sidebar-pdf,
    #sidebar-quick-links #sidebar-print{
        flex: 1 1 50%; /* Basis is 25%, grow is 1, and shrink is 1 */
        box-sizing: border-box; /* Ensures padding and borders are included in the item's size */
    }
    ul.share-buttons{
        align-items: center;
        justify-content: center;
        gap: 5px
    }
    #details-action-sub{
        display: none;
    }
    .map-container{
        flex-wrap: wrap;
    }
    .map-container svg,
    .map-container div{
        width: 100% !important;
    }
}
.footer-logo{
    width: 200px;
}
.footer-logo img{
    width: 100%;
}
#results-sorting{
    margin-top: 25px; 
    display:flex; 
    gap: 5px; 
    justify-content: space-between; 
    align-items: center;
}

@media (max-width:1024px) {
    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11,
    .grid_12 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        /* float: none; */
    }
    body,
    .header-image,
    .container_12{
        width: 100%;
        min-width: 100%;
    }
    .adv_search_container{
        left: 0;
    }
    #sidebar-quick-links{
        position: unset;
    }
}

@media (max-width:767px) {
    .adv_search_container{
        position: unset;
        width: 100%;
    }
    .adv_search_listing_type,
    .adv_search_buy_rent{
        margin-right: 0;
    }
    .adv_search_area{
        position: relative;
    }
    #result{
        width: 100%;
        top: 30px;
    }
    .adv_search_box2.px-2{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .main-content{
        margin-top: 30px;
    }
    #results-sorting{
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .header-content{
        height: 80px;
    }
    .header-content .grid_12{
        height: auto !important;
    }
    .header-content .map-pointer{
        display: none;
    }
}
.menu-toggle {
    display: none;
}
.mainHeaderMenu{
    position: absolute; 
    bottom: -8px; 
    right: 0;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1001;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 4px;
    }
    .mainHeaderMenu{
        position: unset; 
    }
    .menu-bg>ul>li>a{
        line-height:1.2 !important
    }
}
@media (max-width:567px) {
    #logo{
        width: 100px;
        margin-top: 25px;
    }
}
.property-list-image-thumb .centered img{
    object-fit: cover !important;
}