/*
 Theme Name:   DaleelPro
 Theme URI:    http://studio.cridio.com/listingpro/
 Description:  Listingpro Child Theme
 Author:       cridio team
 Author URI:   http://cridio.com/
 Template:     listingpro
 Version:      1.0.0
 Tags:         listingpro, directory, listing, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  listingpro
*/
.downloadpdffullinv {
    display: none;
}

.lp-camp-bottom-summary {
    display: none;
}

.lp-listing-favrt .fa.fa-heart-o:before{
content: "\f08a";
}

.grid_view.lp-grid-box-contianer1 img {
    opacity: 0.9; /* Adjust the opacity value (0.0 to 1.0) */
}



/* Change background color of the sidebar-brand */
#sidebar_menu .sidebar-brand {
    background-color: #000000 !important; /* Replace with your desired color */
}


/* Ensure all listings have the same size */
.container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer {
    width: 30%; /* 3 listings per row */
    margin-bottom: 20px; /* Space below each listing */
    margin-right: 2%; /* Space between listings */
    height: 350px; /* Set a fixed height for all listings */
    overflow: hidden; /* Hide any content that exceeds the container */
}

.container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer:nth-child(3n) {
    margin-right: 0; /* Remove right margin for the last item in each row */
}

/* Adjust content inside listing to fit within the fixed height */
.container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer .lp-listing {
    height: 100%; /* Make the listing content fill the container */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure images scale properly and fit within the listing container */
.container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer img {
    max-width: 100%;
    height: auto;
    max-height: 150px; /* Set a maximum height for images */
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer {
        width: 45%; /* Two listings per row on medium screens */
        height: auto; /* Allow listings to adjust in height for smaller screens */
        margin-right: 5%;
    }

    .container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .container.page-container-four .lp-list-page-grid .lp-listings-inner-wrap .lp-grid-box-contianer {
        width: 100%; /* One listing per row on small screens */
        height: auto; /* Remove fixed height for smaller screens */
        margin-right: 0;
    }
}

/* Adjust the login form width for mobile */
@media only screen and (max-width: 600px) {
    body.login {
        background-color: #f0f0f0; /* Background color */
    }

    #login {
        width: 90% !important; /* Make the form wider on mobile */
        margin: 0 auto !important;
        padding: 20px !important;
        border-radius: 10px; /* Rounded corners */
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    }

    #loginform {
        width: 100% !important; /* Ensure form uses full width */
    }

    #login h1 a {
        width: 100% !important; /* Ensure logo is responsive */
        height: auto !important;
        max-width: 200px; /* Optional: Adjust logo size */
    }

    .login form {
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
        border: none;
        border-radius: 8px;
    }

    .login #nav, .login #backtoblog {
        text-align: center;
    }
}
