/* Responsive Header Footer - HEADER CSS only (v2.9.4) */
body.rhf8-replace-theme-header #masthead,
body.rhf8-replace-theme-header .site-header:not(.rhf8-header),
body.rhf8-replace-theme-header header.site-header:not(.rhf8-header),
body.rhf8-replace-theme-header .main-header:not(.rhf8-header),
body.rhf8-replace-theme-header .header-main:not(.rhf8-header),
body.rhf8-replace-theme-header .header-wrapper:not(.rhf8-header),
body.rhf8-replace-theme-header #site-header,
body.rhf8-replace-theme-header .top-header,
body.rhf8-replace-theme-header .header-top,
body.rhf8-replace-theme-header .middle-header,
body.rhf8-replace-theme-header .bottom-header{display:none!important}

.rhf8-header{position:relative;z-index:9998;background:var(--rhf8-bg);color:var(--rhf8-secondary);box-shadow:0 2px 14px rgba(0,0,0,.07)}

.rhf8-header.rhf8-sticky{position:sticky;top:0}

.rhf8-header-inner{min-height:78px;display:flex;align-items:center;gap:28px}

.rhf8-brand{display:inline-flex;align-items:center;text-decoration:none;color:inherit;flex-shrink:0}

.rhf8-logo-img{max-height:52px;width:auto;max-width:210px}

.rhf8-site-title{font-size:24px;font-weight:800}

.rhf8-nav{margin-left:auto;display:block}

.rhf8-menu,
.rhf8-menu ul{list-style:none;margin:0;padding:0}

.rhf8-menu{display:flex;align-items:center;gap:25px}

.rhf8-menu li{position:relative}

.rhf8-menu a{color:inherit;text-decoration:none;font-weight:650;display:block;padding:8px 0}

.rhf8-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:210px;box-shadow:0 12px 30px rgba(0,0,0,.12);padding:10px 16px;z-index:100}

.rhf8-menu li:hover>.sub-menu{display:block}

.rhf8-actions{display:flex;align-items:center;gap:12px;margin-left:10px}

.rhf8-phone-btn,
.rhf8-chat-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

.rhf8-phone-btn{flex-direction:column;align-items:flex-start;color:var(--rhf8-secondary);white-space:nowrap}

.rhf8-phone-btn small{font-size:11px;opacity:.65}

.rhf8-chat-btn{background:var(--rhf8-primary);color:#fff;padding:11px 18px;border-radius:8px;font-weight:700;white-space:nowrap}

.rhf8-menu-toggle{display:none;background:transparent;border:0;padding:8px;cursor:pointer;color:inherit}

.rhf8-menu-toggle span{display:block;width:27px;height:3px;border-radius:4px;background:currentColor;margin:5px}

.rhf8-top-strip{background:var(--rhf8-secondary);color:#fff;font-size:13px}

.rhf8-top-strip .rhf8-container{display:flex;justify-content:space-between;gap:15px;padding:8px 0}

.rhf8-top-actions{display:flex;gap:16px}

.rhf8-top-actions a{color:#fff;text-decoration:none}

.rhf8-no-menu{font-size:13px;opacity:.65;padding:8px}

.rhf8-header-2 .rhf8-header-inner{border-left:6px solid var(--rhf8-primary);padding-left:18px}

.rhf8-header-2 .rhf8-chat-btn{border-radius:999px}

.rhf8-header-3 .rhf8-header-inner{justify-content:center}

.rhf8-header-3 .rhf8-brand{margin-right:auto}

.rhf8-header-3 .rhf8-actions{margin-left:auto}

.rhf8-header-4 .rhf8-header-inner{min-height:72px}

.rhf8-header-5{box-shadow:none;border-bottom:1px solid rgba(0,0,0,.08)}

.rhf8-header-5 .rhf8-chat-btn{background:transparent;color:var(--rhf8-primary);border:2px solid var(--rhf8-primary)}

.rhf8-header-6{background:transparent;box-shadow:none;padding:10px 0}

.rhf8-header-6 .rhf8-header-inner{background:var(--rhf8-bg);border-radius:18px;padding:0 22px;box-shadow:0 10px 30px rgba(0,0,0,.1)}

.rhf8-header-7{background:var(--rhf8-secondary);color:#fff}

.rhf8-header-7 .rhf8-phone-btn,
.rhf8-header-7 .rhf8-menu a{color:#fff}

.rhf8-header-8{background:linear-gradient(115deg,var(--rhf8-secondary),var(--rhf8-primary));color:#fff}

.rhf8-header-8 .rhf8-phone-btn,
.rhf8-header-8 .rhf8-menu a{color:#fff}

.rhf8-header-8 .rhf8-chat-btn{background:#fff;color:var(--rhf8-secondary)}

@media (max-width:900px){
.rhf8-header-inner{min-height:68px;position:relative}
.rhf8-menu-toggle{display:block;margin-left:auto;order:3}
.rhf8-actions{display:none}
.rhf8-nav{display:none!important;position:absolute!important;left:0!important;right:0!important;top:100%!important;margin:0!important;background:var(--rhf8-bg)!important;color:var(--rhf8-secondary)!important;box-shadow:0 12px 22px rgba(0,0,0,.16);padding:12px 5%;z-index:99999}
.rhf8-nav.is-open{display:block!important}
.rhf8-menu{display:block!important}
.rhf8-menu li{display:block;border-bottom:1px solid rgba(128,128,128,.2)}
.rhf8-menu a{display:block!important;padding:13px 0!important;color:inherit!important}
.rhf8-menu .sub-menu{display:block;position:static;box-shadow:none;padding:0 0 0 18px;background:transparent}
.rhf8-top-strip{display:none}
}

@media (max-width:480px){
.rhf8-logo-img{max-height:42px;max-width:170px}
.rhf8-site-title{font-size:20px}
}

@media (min-width:901px){
body.rhf8-desktop-top-enabled .rhf8-header.rhf8-sticky{top:var(--rhf8-desktop-header-top, var(--rhf8-desktop-bar-height)) !important;}
body.admin-bar.rhf8-desktop-top-enabled .rhf8-header.rhf8-sticky{top:calc(var(--rhf8-desktop-header-top, var(--rhf8-desktop-bar-height)) + 32px) !important;}
}

@media (max-width:900px){
body.rhf8-mobile-top-enabled .rhf8-header.rhf8-sticky{top:var(--rhf8-mobile-bar-height) !important;}
body.admin-bar.rhf8-mobile-top-enabled .rhf8-header.rhf8-sticky{top:calc(var(--rhf8-mobile-bar-height) + 46px) !important;}
}

@media (min-width:901px){
body.rhf8-desktop-top-enabled .rhf8-header.rhf8-sticky{top:var(--rhf8-desktop-header-top, 48px) !important;}
}

@media (min-width: 901px){
body.rhf8-desktop-top-enabled .rhf8-header.rhf8-sticky{top: var(--rhf8-desktop-bar-height) !important;}
}

@media (max-width: 900px){
body.rhf8-mobile-top-enabled .rhf8-header.rhf8-sticky{top: var(--rhf8-mobile-bar-height) !important;}
}

#rhf8-custom-header.rhf8-header{background:var(--rhf8-bg) !important;
  color:var(--rhf8-text) !important;}

#rhf8-custom-header.rhf8-header .rhf8-container,
#rhf8-custom-header.rhf8-header .rhf8-header-inner,
#rhf8-custom-header.rhf8-header .rhf8-nav,
#rhf8-custom-header.rhf8-header .rhf8-actions{color:var(--rhf8-text) !important;}

#rhf8-custom-header.rhf8-header a{color:var(--rhf8-header-link-color) !important;}

#rhf8-custom-header.rhf8-header a:visited{color:var(--rhf8-header-visited-link-color) !important;}

#rhf8-custom-header.rhf8-header .rhf8-tfn-link{color:var(--rhf8-tfn-link-color) !important;}

#rhf8-custom-header.rhf8-header .rhf8-chat-trigger{color:var(--rhf8-chat-link-color) !important;}

.rhf8-header,
.rhf8-header *{border-radius:0 !important;}

#rhf8-custom-header .rhf8-header-inner,
#rhf8-custom-header .rhf8-top-strip{text-align:var(--rhf8-header-text-align, left) !important;}

#rhf8-custom-header .rhf8-nav,
#rhf8-custom-header .rhf8-menu{text-align:var(--rhf8-header-menu-align, right) !important;}

#rhf8-custom-header .rhf8-menu{justify-content:var(--rhf8-header-menu-align, right) !important;}

#rhf8-custom-header .rhf8-nav ul{text-align:var(--rhf8-header-menu-align, right) !important;}

#rhf8-custom-header .rhf8-menu{display:flex !important;}

#rhf8-custom-header .rhf8-menu{justify-content:flex-start !important;}

:root[style*="--rhf8-header-menu-align: center"] #rhf8-custom-header .rhf8-menu{justify-content:center !important;}

:root[style*="--rhf8-header-menu-align: right"] #rhf8-custom-header .rhf8-menu{justify-content:flex-end !important;}

@media (max-width:900px){
#rhf8-custom-header .rhf8-menu{display:block !important;
    text-align:var(--rhf8-header-menu-align, left) !important;}
}

.rhf8-header-custom{background:var(--rhf8-custom-bg)!important;color:var(--rhf8-custom-text)!important;padding:var(--rhf8-custom-spacing) 0!important;box-shadow:var(--rhf8-custom-shadow)!important;border-radius:var(--rhf8-custom-radius)!important;text-align:var(--rhf8-custom-align)!important}

.rhf8-header-custom a,
.rhf8-header-custom .rhf8-site-title{color:var(--rhf8-custom-text)!important}

.rhf8-header-custom .rhf8-chat-btn,
.rhf8-header-custom .rhf8-phone-btn{border-color:var(--rhf8-custom-accent)!important}

.rhf8-header-custom .rhf8-chat-btn{background:var(--rhf8-custom-accent)!important;color:#fff!important}

.rhf8-header-custom.rhf8-custom-layout-centered .rhf8-header-inner{flex-direction:column;justify-content:center}

.rhf8-header-custom.rhf8-custom-layout-centered .rhf8-nav{width:100%;text-align:center}

.rhf8-header-custom.rhf8-custom-layout-centered .rhf8-menu{justify-content:center}

.rhf8-header-custom.rhf8-custom-layout-split .rhf8-nav{margin-left:0;margin-right:auto}

.rhf8-header-custom.rhf8-custom-layout-boxed{margin:14px auto;max-width:var(--rhf8-container-width);width:calc(100% - 28px)}

.rhf8-header-custom.rhf8-custom-layout-minimal{box-shadow:none!important;border-bottom:1px solid color-mix(in srgb,var(--rhf8-custom-text) 18%,transparent)}

@media (max-width:900px){
.rhf8-header-custom.rhf8-custom-layout-boxed{width:calc(100% - 16px);margin-left:8px;margin-right:8px}
}
