/* Transparent header: floats over the photo at the top of the page, turns white with brand-coloured text once you scroll.
   Only active on pages that get body class .ibe-th (Engine > Brand colours > Header). */
body.ibe-th .elementor-location-header:not(:has(.ibe-header)){position:absolute!important;top:0;left:0;right:0;width:100%;z-index:9990;background:transparent!important;transition:background-color .25s,box-shadow .25s}
body.ibe-th.admin-bar .elementor-location-header:not(:has(.ibe-header)){top:32px}
body.ibe-th .elementor-location-header:not(:has(.ibe-header))::before{content:"";position:absolute;inset:0 0 -40px 0;background:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0));pointer-events:none;transition:opacity .25s;z-index:0}
body.ibe-th .elementor-location-header:not(:has(.ibe-header))>*{position:relative;z-index:1}
body.ibe-th .elementor-location-header:not(:has(.ibe-header)) div,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) section,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) header,body.ibe-th .elementor-location-header:not(:has(.ibe-header))>.elementor{background-color:transparent!important;background-image:none!important;box-shadow:none!important}
body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--main .elementor-item,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) a:not(.elementor-button):not(.elementor-item-anchor):not([class*=button]),body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-heading-title,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-icon-list-text,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-menu-toggle,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-icon{color:#fff!important}
body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-icon svg,body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-menu-toggle svg{fill:#fff!important}
body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown a{color:var(--ibe-dark,#222)!important}
body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--main .elementor-item:hover{opacity:.8}
body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)){position:fixed!important;background:#fff!important;box-shadow:0 4px 18px rgba(0,0,0,.14)}
body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--main .elementor-item,body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) a:not(.elementor-button):not(.elementor-item-anchor):not([class*=button]),body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-heading-title,body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-icon-list-text,body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-menu-toggle,body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-icon{color:var(--ibe-primary,#1391A4)!important}
body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-icon svg,body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-menu-toggle svg{fill:var(--ibe-primary,#1391A4)!important}
body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--main .elementor-item:hover{color:var(--ibe-accent,#F47120)!important;opacity:1}
body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header))::before{opacity:0}
@media(max-width:782px){body.ibe-th.admin-bar .elementor-location-header:not(:has(.ibe-header)){top:46px}}
/* Old Ramada pages carry a hidden MotoPress search that took 40px of space and pushed the hero down once the header floats; it is kept in the page but taken out of the layout. */
body.ibe-th .universal-form.ibhide{position:absolute!important;left:-9999px;height:0;overflow:hidden}
body.ibe-th .elementor-location-header:not(:has(.ibe-header))>.elementor-section{margin-bottom:0!important}
/* Phone / tablet menu on transparent-header pages: the header rule turns every link white, so the dropdown panel is forced to a white card with dark links. Works whatever colour the site's own panel is (Aussie: white, Ramada: dark navy). */
@media(max-width:1024px){
html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-item,html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-sub-item,html body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-item,html body.ibe-th.ibe-scrolled .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-sub-item{color:var(--ibe-dark,#16181F)!important;background:transparent!important}
html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-item:hover,html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container a.elementor-sub-item:hover{color:var(--ibe-primary,#1391A4)!important}
html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-widget-nav-menu{position:relative}
html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container{position:absolute;top:100%;right:0;left:auto!important;width:min(86vw,300px)!important;margin-top:10px;box-shadow:0 14px 34px rgba(0,0,0,.2);border-radius:14px;z-index:99999;background:#fff!important}
html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container ul,html body.ibe-th .elementor-location-header:not(:has(.ibe-header)) .elementor-nav-menu--dropdown.elementor-nav-menu__container li{background:transparent!important}
}
