/*
 * LandHub v5.20.3 site refinements
 * Header, About page, homepage bands, project cards, forms and sticky project nav.
 */

:root{
  --lh5203-header-height:100px;
  --lh5203-green:#009946;
  --lh5203-green-dark:#003b1c;
  --lh5203-gold:#c88a1a;
}

/* Header: theme green, sticky shell and a clear scroll state. */
body .lh-elementor-header,
body .elementor-location-header{
  position:sticky!important;
  top:0!important;
  z-index:99990!important;
  width:100%!important;
  background:var(--lh5203-green)!important;
  background-color:var(--lh5203-green)!important;
}

body .lh-elementor-header .main-header,
body .elementor-location-header .main-header,
body .lhseed-header{
  /*position:relative!important;*/
  top:auto!important;
  left:auto!important;
  width:100%!important;
  background:var(--lh5203-green)!important;
  background-color:var(--lh5203-green)!important;
}

body .lh-site-header,
body header.site-header,
body header.lh5-header,
body .lh5-header{
  position:sticky!important;
  top:0!important;
  z-index:99990!important;
  width:100%!important;
  background:var(--lh5203-green)!important;
  background-color:var(--lh5203-green)!important;
}

body.admin-bar .lh-elementor-header,
body.admin-bar .elementor-location-header,
body.admin-bar .lh-site-header,
body.admin-bar header.site-header,
body.admin-bar header.lh5-header,
body.admin-bar .lh5-header{
  top:32px!important;
}

body .lh-elementor-header.is-scrolled,
body .elementor-location-header.is-scrolled,
body .main-header.header-scrolled,
body .lh-site-header.is-scrolled,
body .lhseed-header.is-scrolled{
  box-shadow:0 7px 24px rgba(0,59,28,.24)!important;
}

/* Desktop/fallback navigation: white default, deep-green hover, gold marker. */
body .lh5138-desktop-menu>li>a,
body .lhseed-nav>a,
body .lh-main-nav>ul>li>a,
body .lh-menu>li>a{
  position:relative!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

body .lh5138-desktop-menu>li>a:after,
body .lhseed-nav>a:after,
body .lh-main-nav>ul>li>a:after,
body .lh-menu>li>a:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:6px!important;
  height:2px!important;
  border-radius:2px!important;
  background:transparent;
  transform:scaleX(0)!important;
  transform-origin:center!important;
  transition:transform .2s ease!important;
}

body .lh5138-desktop-menu>li>a:hover,
body .lh5138-desktop-menu>li.current-menu-item>a,
body .lh5138-desktop-menu>li.current-menu-ancestor>a,
body .lhseed-nav>a:hover,
body .lh-main-nav>ul>li>a:hover,
body .lh-main-nav>ul>li.current-menu-item>a,
body .lh-menu>li>a:hover,
body .lh-menu>li.current-menu-item>a{
  color:var(--lh5203-green-dark)!important;
  -webkit-text-fill-color:var(--lh5203-green-dark)!important;
}

html body:not(#landhub-header-scope) .main-header,
html body:not(#landhub-header-scope) .lhseed-header{
  background:var(--lh5203-green)!important;
  background-color:var(--lh5203-green)!important;
}

html body:not(#landhub-header-scope) .lh5138-desktop-menu>li>a:hover,
html body:not(#landhub-header-scope) .lh5138-desktop-menu>li.current-menu-item>a,
html body:not(#landhub-header-scope) .lh5138-desktop-menu>li.current-menu-ancestor>a{
  color:#e3e3e3!important;
  -webkit-text-fill-color:#e3e3e3!important;
}

html body:not(#landhub-header-scope) .lh-elementor-header nav>ul>li>a:hover,
html body:not(#landhub-header-scope) .lh-elementor-header nav>ul>li.current-menu-item>a,
html body:not(#landhub-header-scope) .elementor-location-header nav>ul>li>a:hover,
html body:not(#landhub-header-scope) .elementor-location-header nav>ul>li.current-menu-item>a,
html body:not(#landhub-header-scope) .lh-site-header nav>ul>li>a:hover,
html body:not(#landhub-header-scope) .lh-site-header nav>ul>li.current-menu-item>a{
  color:#e4e4e4!important
  -webkit-text-fill-color:#e4e4e4!important
}

body .lh5138-desktop-menu>li>a:hover:after,
body .lh5138-desktop-menu>li.current-menu-item>a:after,
body .lh5138-desktop-menu>li.current-menu-ancestor>a:after,
body .lhseed-nav>a:hover:after,
body .lh-main-nav>ul>li>a:hover:after,
body .lh-main-nav>ul>li.current-menu-item>a:after,
body .lh-menu>li>a:hover:after,
body .lh-menu>li.current-menu-item>a:after{
  transform:scaleX(1)!important;
}

/* Submenus always use readable dark copy on a white panel. */
body .lh-elementor-header .sub-menu,
body .elementor-location-header .sub-menu,
body .lh-site-header .sub-menu{
  background:#fff!important;
  border:1px solid #dce9e2!important;
}

body .lh-elementor-header .sub-menu a,
body .elementor-location-header .sub-menu a,
body .lh-site-header .sub-menu a,
body .lh5138-desktop-menu .sub-menu a{
  background:#fff!important;
  color:var(--lh5203-green-dark)!important;
  -webkit-text-fill-color:var(--lh5203-green-dark)!important;
}

body .lh-elementor-header .sub-menu a:hover,
body .elementor-location-header .sub-menu a:hover,
body .lh-site-header .sub-menu a:hover,
body .lh5138-desktop-menu .sub-menu a:hover,
body .lh-elementor-header .sub-menu .current-menu-item>a{
  background:#eaf8f0!important;
  color:var(--lh5203-green)!important;
  -webkit-text-fill-color:var(--lh5203-green)!important;
}

/* About banner: same green left-to-right overlay used by the inner pages. */
body .lh57-about-hero{
  position:relative!important;
  overflow:hidden!important;
  background-color:#005329!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

body .lh57-about-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(0,59,28,.92),rgba(0,83,41,.78) 46%,rgba(0,83,41,.28) 78%)!important;
}

body .lh57-about-hero>.elementor-container{
  position:relative!important;
  z-index:1!important;
}

/* About final CTA: use the same deep-green family as other final bands. */
body .lh57-next{
  min-height:365px!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  background:linear-gradient(135deg,#003b1c 0%,#005329 58%,#006f34 100%)!important;
  color:#fff!important;
}

body .lh57-next>.elementor-container{
  min-height:365px!important;
  align-items:center!important;
}

body .lh57-next .elementor-heading-title{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:"DM Serif Display",Georgia,serif!important;
  font-weight:400!important;
  line-height:1.05!important;
}

body .lh57-next .elementor-heading-title span{
  color:var(--lh5203-gold)!important;
  -webkit-text-fill-color:var(--lh5203-gold)!important;
}

body .lh57-next .elementor-widget-text-editor,
body .lh57-next .elementor-widget-text-editor p{
  color:#e3f1e8!important;
  -webkit-text-fill-color:#e3f1e8!important;
}

body .lh57-next .elementor-button{
    background: #009946 !important;
    background-color: #009946;
  -webkit-text-fill-color:#fff!important;
}

body .lh57-next .elementor-button:hover{
    background: #007a38 !important;
    background-color: #007a38 !important;
}

/* Homepage Signature Projects and Get In Touch match the footer colour. */
body.home .lh54-signature,
body.home .lh54-enquiry,
body.home .lh54-contact{
  background:var(--lh5203-green-dark)!important;
  background-color:var(--lh5203-green-dark)!important;
}

body.home .lh54-signature-head .elementor-heading-title,
body.home .lh54-enquiry .elementor-heading-title,
body.home .lh54-enquiry .elementor-widget-text-editor,
body.home .lh54-enquiry .elementor-widget-text-editor p,
body.home .lh54-contact .elementor-heading-title,
body.home .lh54-contact p{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

body.home .lh54-signature .lh5-kicker,
body.home .lh54-enquiry .lh5-kicker,
body.home .lh54-contact .lh5-kicker{
  color:var(--lh5203-gold)!important;
  -webkit-text-fill-color:var(--lh5203-gold)!important;
}

/* All project cards share the filled CTA used on status archive pages. */
body .lh53-card .lh5-bottom>a{
  min-height:40px!important;
  padding:11px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--lh5203-green)!important;
  border-radius:5px!important;
  background:var(--lh5203-green)!important;
  background-color:var(--lh5203-green)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:none!important;
}

body .lh53-card .lh5-bottom>a:hover{
  border-color:#007a38!important;
  background:#007a38!important;
  background-color:#007a38!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Gold property-type label on Home, All Projects and every status archive. */
body .lh53-card .lh53-type,
body .lh58-tabs .lh53-type,
body .lh5-project-grid .lh53-type{
  color:#b18118!important;
  -webkit-text-fill-color:#b18118!important;
}

/* Hide Fluent Forms field labels visually without removing their accessibility text. */
body:not(.wp-admin) .fluentform .ff-el-input--label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Classic and Premium project menus stay immediately below the sticky header. */
body.single-landhub_project{
  overflow-x:hidden!important;
}

body.single-landhub_project .lh511-project,
body.lh5200-premium-layout .lh5200-project{
  overflow:visible!important;
}

body.lh5200-premium-layout .lh5200-project{
  padding-top:0!important;
}

body.single-landhub_project .lh511-sticky,
body.lh5200-premium-layout .lh5200-project-nav{
  position:sticky!important;
  top:var(--lh5203-header-height,100px)!important;
  z-index:9990!important;
}

@media(max-width:767px){
  :root{
    --lh5203-header-height:76px;
  }

  body .lh57-next,
  body .lh57-next>.elementor-container{
    min-height:330px!important;
  }

  body .lh5138-desktop-menu>li>a:after,
  body .lhseed-nav>a:after,
  body .lh-main-nav>ul>li>a:after,
  body .lh-menu>li>a:after{
    content:none!important;
  }

  body.admin-bar .lh-elementor-header,
  body.admin-bar .elementor-location-header,
  body.admin-bar .lh-site-header,
  body.admin-bar header.site-header,
  body.admin-bar header.lh5-header,
  body.admin-bar .lh5-header{
    top:46px!important;
  }
}

@media (max-width: 999px) {
    body .lh-elementor-header .sub-menu {
    background: transparent !important;
    border: 0px !important;
    }
    
    body .lh-elementor-header .sub-menu a {
            background: transparent !important;
            color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}


body #gallery .lh5200-gallery-stage button {
	-webkit-text-fill-color: #fff !important;
	color: #ffffff !important;
	font-size: 32px !important;
	font-weight: 500px !important;
}

body .lh5200-project .lh5200-lightbox {
		-webkit-text-fill-color: #fff !important;
	color: #ffffff !important;
	font-size: 32px !important;
	font-weight: 500px !important;
}