/*
Theme Name: Houzez Child
Theme URI: http://www.favethemes.com/
Author: Favethemes
Author URI: http://www.favethemes.com/
Description: Houzez is a premium WordPress theme for real estate agents where modern aesthetics are combined with tasteful simplicity, and where the ease of use is achieved without compromise in your ability to customise the design. Whether you are a real estate agent looking to build a website for your company or a web developer seeking a perfect WordPress theme for your next project, you are certain to appreciate the numerous features and benefits that our theme provides.
Version: 1.1.0
Tags: white, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: houzez
Template: houzez
*/


@import url("../houzez/style.css");

/* Your CSS code goes here
-------------------------------------- */

/* remvove delete and duplicate action button for editor role*/

body.editor .houzez-data-table .dropdown-menu .dropdown-item.delete-property,
body.editor .houzez-data-table .dropdown-menu .dropdown-item.clone-property{
    display: none !important;
}

/* remvove delete and duplicate, approve, disaprove action button for manager role*/

body.houzez_manager .houzez-data-table .dropdown-menu .dropdown-item {
    display: none !important;
}


body.houzez_manager .houzez-data-table .dropdown-menu li:first-child .dropdown-item,
body.houzez_manager .houzez-data-table .dropdown-menu li:nth-child(2) .dropdown-item {
    display: block !important;
}
body.houzez_manager .houzez-data-table .dropdown-menu a.dropdown-item.delete-property {
    display: none !important;
}
/* Fix for property banner images to maintain consistent dimensions */
.property-banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.property-banner-item a {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  position: relative;
  overflow: hidden;
}

.property-banner-item img.img-fluid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Specific styling for the first large image */
.property-banner-inner-left .property-banner-item a {
  padding-bottom: 66.67%; /* Same aspect ratio for consistency */
}

/* Ensure the grid layout maintains consistent spacing */
.property-banner-grid-wrap,
.property-banner-inner-rght {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/*css to fix overlayed search nav in home page */
.advanced-search-nav {
    position: relative;
    z-index: 10;
}

.dashboard-search-filter .filter-inner .form-group ul {
    display:block;
}