/* 1.8.1: only the plugin homepage; keep Enfold's native links and menu handlers. */
@media (min-width:990px){
  /* :visited, :focus and retained :hover after browser Back must stay legible. */
  html.responsive #top.yoost-home-refined #wrap_all #header.av_header_transparency:not(.header-scrolled) #header_main #avia-menu>li:not(.av-menu-button)>a,
  html.responsive #top.yoost-home-refined #wrap_all #header.av_header_transparency:not(.header-scrolled) #header_main #avia-menu>li:not(.av-menu-button)>a .avia-menu-text{color:#fff!important}
  #top.yoost-home-refined #wrap_all #header #avia-menu>li.av-menu-button>a .avia-menu-text{color:#fff!important}
  html.responsive #top.yoost-home-refined #wrap_all #header.header-scrolled #header_main #avia-menu>li:not(.av-menu-button)>a,
  html.responsive #top.yoost-home-refined #wrap_all #header.header-scrolled #header_main #avia-menu>li:not(.av-menu-button)>a .avia-menu-text{color:#33442f!important}
  #top.yoost-home-refined #wrap_all #header.header-scrolled .logo>a>img{opacity:1!important}
  #top.yoost-home-refined #wrap_all #header.header-scrolled .logo .subtext{display:none!important}
  #top.yoost-home-refined #wrap_all #header.header-scrolled #menu-item-search>a::before{color:#33442f!important}
  /* Existing theme CSS applies 75px to ALL links on scroll. Limit dropdown rows. */
  #top.yoost-home-refined #wrap_all #header #header_main .main_menu #avia-menu .sub-menu li{height:auto!important;min-height:0!important;margin:0!important}
  #top.yoost-home-refined #wrap_all #header #header_main .main_menu #avia-menu .sub-menu li>a{height:auto!important;min-height:0!important;line-height:1.4!important;padding:11px 16px!important;white-space:normal}
  #top.yoost-home-refined #wrap_all #header #header_main .main_menu #avia-menu .sub-menu li>a .avia-menu-text{line-height:inherit!important}
}
@media (max-width:989px){
  /* Compact fixed white header, hamburger left, original green logo right. */
  #top.yoost-home-refined #wrap_all #header{position:fixed!important;top:var(--yoost-mobile-admin-offset,0px)!important;left:0!important;right:0!important;width:100%!important;height:84px!important;min-height:84px!important;background:#fff!important;box-shadow:0 1px 7px rgb(20 45 25 / 8%)}
  html.responsive #top.yoost-home-refined #wrap_all #main{padding-top:84px!important}
  #top.yoost-home-refined #wrap_all #header #header_main{height:84px!important;min-height:0!important}
  #top.yoost-home-refined #wrap_all #header #header_main>.container{width:calc(100% - 36px)!important;max-width:none!important;padding:0!important;height:84px!important;min-height:0!important}
  #top.yoost-home-refined #wrap_all #header .inner-container{position:relative;height:84px!important}
  #top.yoost-home-refined #wrap_all #header .logo{position:absolute!important;left:auto!important;right:0!important;top:0!important;float:none!important;width:160px!important;height:84px!important;max-width:calc(100% - 76px)!important;transform:none!important}
  #top.yoost-home-refined #wrap_all #header .logo>a{position:static!important;display:flex!important;align-items:center;justify-content:flex-end;height:84px!important;width:100%!important;overflow:visible}
  #top.yoost-home-refined #wrap_all #header .logo>a>img{position:static!important;display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:78px!important;opacity:1!important;transform:none!important}
  #top.yoost-home-refined #wrap_all #header .logo .subtext{display:none!important}
  #top.yoost-home-refined #wrap_all #header .main_menu{position:absolute!important;left:0!important;right:auto!important;top:0!important;height:84px!important;margin:0!important}
  #top.yoost-home-refined #wrap_all #header .av-main-nav-wrap,#top.yoost-home-refined #wrap_all #header #avia-menu{float:none!important;height:84px!important;margin:0!important;padding:0!important}
  #top.yoost-home-refined #wrap_all #header #avia-menu>li{display:none!important}
  #top.yoost-home-refined #wrap_all #header #avia-menu>li.av-burger-menu-main{display:block!important;height:84px!important;margin:0!important}
  #top.yoost-home-refined #wrap_all #header #avia-menu>li.av-burger-menu-main>a{display:flex!important;align-items:center;justify-content:center;width:48px!important;height:84px!important;line-height:1!important;padding:0!important;margin:0!important;color:#173d27!important}
  #top.yoost-home-refined #wrap_all #header .av-burger-menu-main .avia-menu-text,#top.yoost-home-refined #wrap_all #header .av-hamburger strong{display:none!important}
  #top.yoost-home-refined #wrap_all #header .av-hamburger{padding:10px 8px!important;height:auto!important;line-height:1!important}
  #top.yoost-home-refined #wrap_all #header .av-hamburger-box{vertical-align:middle!important}
  #top.yoost-home-refined #wrap_all #header .av-hamburger-inner,
  #top.yoost-home-refined #wrap_all #header .av-hamburger-inner::before,
  #top.yoost-home-refined #wrap_all #header .av-hamburger-inner::after{background-color:#173d27!important}
  #top.yoost-home-refined #wrap_all #av-burger-menu-ul{padding-top:96px!important;padding-bottom:30px!important}
  #top.yoost-home-refined #wrap_all .av-burger-overlay-inner #av-burger-menu-ul li{margin-top:0!important;margin-bottom:0!important}
  #top.yoost-home-refined #wrap_all .av-burger-overlay-inner #av-burger-menu-ul li>a{height:auto!important;min-height:44px!important;line-height:1.4!important;padding-top:10px!important;padding-bottom:10px!important}
}
