/**
 * Findhouse header — light bar + compact height (WP “Additional CSS” style).
 * Hook: class `findhouse-nav-reference` on <header>.
 *
 * Palette: bar #d0e4fa; primary links #000; hover/active #f9461d.
 * Desktop submenu: parity with WordPress Vromon `#navbarCollapse` (vromon/assets/css/style.css).
 */

header.header-nav.menu_style_home_one.findhouse-nav-reference {
  position: relative;
  z-index: 99;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  background: #d0e4fa !important;
  box-shadow: none;
}

/* Inner wrapper uses Bootstrap `container` in Blade — centered, responsive max-widths */

header.header-nav.menu_style_home_one.findhouse-nav-reference > .container > nav {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center !important;
  min-height: 0;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Tighter than theme’s ~38px vertical padding — main fix for “huge” bar */
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a {
  padding: 10px 14px 10px 10px !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference a.navbar_brand {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: center;
}

/* Desktop: logo + links stay adjacent; whole row centered in .container */
@media (min-width: 769px) {
  header.header-nav.menu_style_home_one.findhouse-nav-reference > .container > nav {
    justify-content: center !important;
    flex-wrap: nowrap;
    gap: 0;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference a.navbar_brand {
    margin-right: 7px !important;
    flex-shrink: 0;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu.ace-responsive-menu {
    width: auto !important;
    max-width: none;
    flex: 0 1 auto;
    min-width: 0;
    text-align: left !important;
  }

  /* Top-level nav links: 26px padding-right except last item */
  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu.ace-responsive-menu > li:not(:last-child) > a {
    padding: 10px 26px 10px 6px !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu.ace-responsive-menu > li:last-child > a {
    padding: 10px 12px 10px 6px !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu.ace-responsive-menu > li:first-child > a {
    padding-left: 2px !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed #respMenu.ace-responsive-menu > li:not(:last-child) > a {
    padding: 8px 26px 8px 6px !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed #respMenu.ace-responsive-menu > li:last-child > a {
    padding: 8px 12px 8px 6px !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed #respMenu.ace-responsive-menu > li:first-child > a {
    padding-left: 2px !important;
  }

  /* Larger logo on desktop; may extend above/below the bar */
  header.header-nav.menu_style_home_one.findhouse-nav-reference,
  header.header-nav.menu_style_home_one.findhouse-nav-reference > .container,
  header.header-nav.menu_style_home_one.findhouse-nav-reference > .container > nav,
  header.header-nav.menu_style_home_one.findhouse-nav-reference a.navbar_brand {
    overflow: visible !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.header-logo,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.logo1,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.logo2 {
    max-height: 90px !important;
    max-width: 420px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    vertical-align: middle;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.header-logo,
  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.logo1,
  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.logo2 {
    max-height: 90px !important;
    max-width: 400px !important;
  }

  /* WordPress Vromon #navbarCollapse dropdown — see vromon/assets/css/style.css */
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li {
    position: relative !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > ul.sub-menu {
    background: #fff !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 18px 15px !important;
    position: absolute !important;
    text-align: left !important;
    top: 100% !important;
    width: 250px !important;
    z-index: 999 !important;
    list-style: none outside none !important;
    transition: all 0.3s ease 0s !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu:before {
    display: none !important;
    content: none !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li a {
    color: #777 !important;
    display: block !important;
    font-size: 11px !important;
    line-height: 30px !important;
    font-weight: 300 !important;
    padding: 5px 12px !important;
    position: relative !important;
    text-transform: none !important;
    transition: all 0.3s ease 0s !important;
    visibility: inherit !important;
    opacity: inherit !important;
    background: transparent !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li a:hover,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li a:focus {
    color: #fff !important;
    background: #f9461d !important;
    text-decoration: none !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li ul.sub-menu {
    background: #fff !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.08) !important;
    left: 233px !important;
    right: auto !important;
    top: -18px !important;
    margin: 0 !important;
    padding: 18px 15px !important;
    width: 250px !important;
    list-style: none outside none !important;
  }
}

/* Logos (mobile / base): keep bar compact below desktop breakpoint */
@media (max-width: 768px) {
  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.header-logo,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.logo1,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .navbar_brand img.logo2 {
    max-height: 64px !important;
    max-width: 320px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    vertical-align: middle;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.header-logo,
  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.logo1,
  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .navbar_brand img.logo2 {
    max-height: 56px !important;
    max-width: 300px !important;
  }
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed {
  min-height: 0;
  height: auto;
  background: #d0e4fa !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  opacity: 1;
  -webkit-animation: fadeInDown 800ms;
  animation: fadeInDown 800ms;
  -webkit-backface-visibility: hidden;
  border-radius: 0;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed > .container > nav {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Sticky top-level padding: desktop uses #respMenu rules in @media (min-width: 769px) */
@media (max-width: 768px) {
  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu > li > a {
    padding: 8px 14px 8px 10px !important;
  }
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li a {
  font-family: "Montserrat", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a:focus,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li a:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li a:focus,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li.active > a,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li.menu-active > a {
  color: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a.text-white,
header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a .text-white {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a:hover .text-white,
header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a:focus .text-white {
  color: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a:focus {
  color: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a > .arrow:before,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li > a > .arrow:before {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .btn.flaticon-user:before,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu .flaticon-user:before,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu .flaticon-plus:before {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference ul.ace-responsive-menu li.add_listing .flaticon-plus:before {
  color: #fff !important;
}

/* Desktop submenu: full rules under @media (min-width: 769px) — Vromon parity */

header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a.active span,
header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a > span.arrow {
  color: inherit;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item > a.text-white {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item > a.text-white:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item > a.text-white:focus {
  color: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu a {
  color: #777 !important;
  text-transform: none;
  font-weight: 400;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu a:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu a:focus {
  color: #fff !important;
  background: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu .text-white {
  color: #777 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-hr {
  font-weight: normal;
  border-bottom: 1px solid #ddd;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu > li > a,
header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu li a,
header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed a.navbar_brand span {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu > li > a:hover,
header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu li a:hover {
  color: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed #respMenu > li > a.text-white,
header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .login-item > a.text-white {
  color: #000 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu li ul.sub-menu li a {
  color: #777 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed .ace-responsive-menu li ul.sub-menu li a:hover {
  color: #fff !important;
  background: #f9461d !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference ul.ace-responsive-menu li.add_listing a,
header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed ul.ace-responsive-menu li.add_listing a {
  color: #fff !important;
}

/* Theme defaults: 50px-tall pill + negative top — keeps bar oversized */
header.header-nav.menu_style_home_one.findhouse-nav-reference ul.ace-responsive-menu li.add_listing {
  height: auto !important;
  width: auto !important;
  min-width: 0;
  max-width: 220px;
  top: 0 !important;
  align-self: center;
  padding: 0 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference ul.ace-responsive-menu li.add_listing a {
  top: 0 !important;
  padding: 8px 14px !important;
  line-height: 1.2 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed ul.ace-responsive-menu li.add_listing a {
  top: 0 !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference ul.ace-responsive-menu li.list_s:before {
  top: 50% !important;
  transform: translateY(-50%);
  height: 26px !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-toggle .icon-bar {
  background-color: #1a2b48 !important;
  box-shadow: none !important;
}

header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-toggle #menu-btn {
  border-color: #1a2b48;
  background-color: #fff;
  border-radius: 0;
}

@media only screen and (max-width: 768px) {
  header.header-nav.menu_style_home_one.findhouse-nav-reference {
    background: #d0e4fa !important;
    min-height: 0;
    height: auto;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference.stricky-fixed {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background: #d0e4fa !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li a,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a.active span {
    color: #000 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a:hover,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li a:hover {
    color: #f9461d !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu {
    background: transparent !important;
    box-shadow: none !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li a {
    color: #000 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li a:hover {
    color: #fff !important;
    background: #f9461d !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu > li > a.text-white,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item > a.text-white {
    color: #000 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu a {
    color: #777 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .login-item .dropdown-menu a:hover {
    color: #fff !important;
    background: #f9461d !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu > li > a > .arrow:before,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu li ul.sub-menu li > a > .arrow:before {
    color: #000 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .btn.flaticon-user:before,
  header.header-nav.menu_style_home_one.findhouse-nav-reference .ace-responsive-menu .flaticon-user:before {
    color: #000 !important;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference #respMenu.collapse {
    background: transparent;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-toggle {
    position: relative !important;
    width: 100%;
    min-height: 44px;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-toggle .nav_logo_img {
    max-height: 52px !important;
    max-width: 260px !important;
    width: auto !important;
    object-fit: contain;
  }

  header.header-nav.menu_style_home_one.findhouse-nav-reference .menu-toggle #menu-btn {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 9999 !important;
  }
}

@media only screen and (max-width: 768px) {
  #menu.stylehome1.mm-menu_offcanvas ul li a {
    color: rgba(26, 43, 72, 0.92);
  }

  #menu.stylehome1.mm-menu_offcanvas ul li a:hover,
  #menu.stylehome1.mm-menu_offcanvas ul li a:focus {
    color: #f9461d;
  }
}
