/* Site-wide layout of zaninvenezia.com: header on the same 1200 px grid as the new footer (scripts/zv-footer.css).
   Elementor header 554 (IT and EN, different element ids): structural selectors only. Added by migliorie.py (layout). */

/* header bar: same width as the footer (1200 px wrap, 24 px side padding), lighter and lower */
header.elementor-location-header > .e-con{
  --min-height:76px!important;min-height:76px!important;
  padding-left:max(24px,calc((100% - 1152px) / 2))!important;padding-right:max(24px,calc((100% - 1152px) / 2))!important;
  align-items:center!important;justify-content:space-between!important;
  background-color:rgba(255,255,255,.94)!important;-webkit-backdrop-filter:saturate(1.2) blur(8px);backdrop-filter:saturate(1.2) blur(8px);
  border-bottom:1px solid #ece9e3!important}
header.elementor-location-header > .e-con > .e-con{--width:auto!important;width:auto!important;flex:0 0 auto!important;padding:0!important;margin:0!important;
  min-height:0!important;--min-height:0!important;justify-content:center!important}
header.elementor-location-header > .e-con > .e-con:last-child{flex:1 1 auto!important;align-items:flex-end!important}

/* logo: fixed size instead of a percentage of the screen */
header.elementor-location-header .elementor-widget-theme-site-logo,
header.elementor-location-header .elementor-widget-theme-site-logo .elementor-widget-container{margin:0!important;padding:0!important;width:auto!important}
header.elementor-location-header .elementor-widget-theme-site-logo img{width:52px!important;height:auto!important;max-width:none!important;display:block}

/* main menu: the footer's typography (Montserrat, small caps-like, spaced) */
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item{
  font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:500!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;color:#1f1f1f!important;padding:10px 0!important;margin:0 0 0 30px!important;line-height:1.4!important}
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item:hover,
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item.elementor-item-active,
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item.highlighted{
  color:#1f1f1f!important;text-decoration:underline!important;text-underline-offset:7px;text-decoration-thickness:1px}
header.elementor-location-header .elementor-nav-menu--main .sub-arrow{padding-left:6px!important}
header.elementor-location-header .elementor-nav-menu--main .sub-arrow svg,
header.elementor-location-header .elementor-nav-menu--main .sub-arrow i{width:8px!important;height:8px!important;font-size:8px!important;opacity:.6}
/* language switch (last item): small outlined pill */
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li:last-child > a.elementor-item{
  margin-left:36px!important;padding:5px 11px!important;border:1px solid #d6d1c7;border-radius:999px;text-decoration:none!important}
header.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li:last-child > a.elementor-item:hover{border-color:#1f1f1f}

/* dropdowns: white panel with a soft shadow, readable items */
header.elementor-location-header .elementor-nav-menu--main .sub-menu{
  background:#fff!important;border:1px solid #ece9e3!important;box-shadow:0 14px 36px rgba(0,0,0,.08)!important;padding:8px 0!important;min-width:250px!important}
header.elementor-location-header .elementor-nav-menu--main .sub-menu a.elementor-sub-item{
  font-family:Montserrat,Arial,sans-serif!important;font-size:13.5px!important;font-weight:400!important;letter-spacing:.01em!important;
  text-transform:none!important;color:#1f1f1f!important;background:transparent!important;padding:9px 20px!important;border:0!important}
header.elementor-location-header .elementor-nav-menu--main .sub-menu a.elementor-sub-item:hover,
header.elementor-location-header .elementor-nav-menu--main .sub-menu a.elementor-sub-item.highlighted{background:#f6f4f0!important;color:#1f1f1f!important}

/* phone/tablet: hamburger and full-width panel */
header.elementor-location-header .elementor-menu-toggle{background:transparent!important;color:#1f1f1f!important;padding:6px!important;font-size:22px!important}
header.elementor-location-header .elementor-menu-toggle svg{fill:#1f1f1f!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown{background:#fff!important;border-top:1px solid #ece9e3!important;box-shadow:0 18px 30px rgba(0,0,0,.08)!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown a{font-family:Montserrat,Arial,sans-serif!important;font-size:15px!important;font-weight:500!important;
  color:#1f1f1f!important;background:#fff!important;padding:14px 24px!important;border-bottom:1px solid #f1eee8!important;text-transform:none!important;letter-spacing:.01em!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown .sub-menu a{font-weight:400!important;padding-left:40px!important;font-size:14.5px!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown a:hover,
header.elementor-location-header nav.elementor-nav-menu--dropdown a.highlighted{background:#f6f4f0!important}
@media (max-width:767px){
  header.elementor-location-header > .e-con{--min-height:64px!important;min-height:64px!important;padding-left:16px!important;padding-right:16px!important}
  header.elementor-location-header .elementor-widget-theme-site-logo img{width:44px!important}
}
/* phone menu: left aligned, arrow on the right (it was white for the old dark panel), one divider only */
header.elementor-location-header nav.elementor-nav-menu--dropdown li{border:0!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown a{justify-content:space-between!important;text-align:left!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow{color:#1f1f1f!important;padding:0 0 0 12px!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow svg{fill:#1f1f1f!important;width:12px!important;height:12px!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow i{color:#1f1f1f!important}
header.elementor-location-header nav.elementor-nav-menu--dropdown .sub-menu{background:#faf9f6!important}
