/*
Theme Name: Custom Theme
Theme URI: http://wordpress.org/themes/twentythirteen
Author: John Dev
Author URI: http://johndev.com/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.gallery {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 10px;
      /*height: 400px;*/
    }

    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
    }/*parwanat */
.banner-locations {
    display: none !important;
}
.purpose-tab.tabs.new {
    display: none !important;
}
.cities-tab.tabs {
    display: none !important;
}
.purpose-tab.tabs.new {
    display: none !important;
}
/*end */

    .gallery .large {
      grid-row: 1 / span 2;
    }

    .overlay {
      position: relative;
      cursor: pointer;
    }

    .overlay[data-overlay]::after {
      content: attr(data-overlay);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: bold;
      border-radius: 10px;
    }
    
    
    #propertyGallery a.lg-hidden {
        display: none !important;
      }
      /*
      #propertyGallery a.overlay[data-overlay]:after{
        content: attr(data-overlay);
        position:absolute; inset:0;
        display:flex; align-items:center; justify-content:center;
        background:rgba(0,0,0,.45); color:#fff; font-weight:600; font-size:18px;
      }
      */

    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
      }

      .gallery .large {
        grid-row: auto;
        grid-column: span 2;
        height: 250px;
      }
    }


.for-stuck .filterbar {
    grid-template-columns: auto 1fr repeat(5, auto);
}
button.search-filt {
    background: #f9fafb;
    border: 1px solid #80808033;
    padding: 8px 30px;
    border-radius: 6px;
}
.page-id-9 .fixed-top {
  
    background: #0c0c0c !important
}


/* google search */
.live-search-list {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-top: 6px;
  max-width: 570px;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
  z-index: 9999;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: none;
}

.live-search-list li a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #222;
  line-height: 1.3;
  font-size: 14px;
	width: 100%;
}

.live-search-list li a small {
  color: #777;
}

.live-search-list li.active a,
.live-search-list li a:hover {
  background: #f1f3f4;
}

.live-search-list mark {
  background: none;
  color: #1a73e8;
  font-weight: 600;
	padding: 0;
}
/* google search */


/* Main menu container */
.responsive-links {
    width: 100%; /* Ensure full width */
}

/* Main menu scrolling */
.responsive-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 80vh; /* Use viewport height for flexibility (adjustable) */
    overflow-y: auto; /* Enable vertical scrolling */
     /* Optional: background for visibility */
     /* Optional: border for clarity */
}

/* Main menu items */
.responsive-links ul li {
    margin: 5px 0;
}

.responsive-links ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px; /* Increased padding for better spacing */
}

/* Submenu parent */
.responsive-links ul li.has-submenu {
    position: relative;
    cursor: pointer;
}

.responsive-links ul li.has-submenu .toggle-link {
    display: flex;
    align-items: center;
    padding: 10px;
}

/* Toggle icon */
.responsive-links ul li.has-submenu .toggle-icon {
    margin-left: 5px;
    font-size: 14px; /* Adjust icon size */
    transition: all 0.3s ease;
}

/* Submenu scrolling */
.responsive-links ul.submenu {
    display: none; /* Hidden by default for toggle */
    list-style: none;
    padding-left: 20px;
    margin: 0;
    max-height: 50vh; /* Use viewport height for submenu (adjustable) */
    overflow-y: auto; /* Enable vertical scrolling */
    background-color: #fff; /* Different background for submenu */
    border: 1px solid #ccc; /* Optional: border for visibility */
}

/* Submenu items */
.responsive-links ul.submenu li {
    margin: 5px 0;
}

.responsive-links ul.submenu li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 0;
}

/* Scrollbar styling for both main menu and submenu */
.responsive-links ul::-webkit-scrollbar,
.responsive-links ul.submenu::-webkit-scrollbar {
    width: 8px;
}

.responsive-links ul::-webkit-scrollbar-track,
.responsive-links ul.submenu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.responsive-links ul::-webkit-scrollbar-thumb,
.responsive-links ul.submenu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.responsive-links ul::-webkit-scrollbar-thumb:hover,
.responsive-links ul.submenu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ensure parent container doesn’t restrict visibility */
.responsive-menu,
.responsive-menu-main {
    height: auto; /* Allow full height */
    overflow: visible; /* Prevent clipping */
}

.staff-company img {
    width: 90px;
}

.pro_content_link:hover{
    color: var(--c1);
}


/* search filter */
.live-search-list {
  position: absolute;
  background: #fff;
  width: 100%;
  z-index: 99;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 4px;
  list-style: none;
  padding: 0;
}

.live-search-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.live-search-list li:hover,
.live-search-list li.active {
  background: #f5f5f5;
}

/* search filter */