/**
Theme Name: LOCA MAH
Author: Marius
Author URI: http://wpastra.com/about/
Description: Headers etc.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loca-mah
Template: astra
*/

/* GROUP HEADER: LOCA VENUES, SÆRARRANGEMENTER, MØDER, SELSKABER */
.page-id-1902 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-2245 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-2247 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-1991 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-1902 .main-header-bar .site-primary-header-wrap,
.page-id-2245 .main-header-bar .site-primary-header-wrap,
.page-id-2247 .main-header-bar .site-primary-header-wrap,
.page-id-1991 .main-header-bar .site-primary-header-wrap,
.page-id-1902 .site-primary-header-wrap,
.page-id-2245 .site-primary-header-wrap,
.page-id-2247 .site-primary-header-wrap,
.page-id-1991 .site-primary-header-wrap {
    background-color: rgba(152, 155, 183, 1) !important;
}

/* GROUP HEADER: KANTINER */
.page-id-3242 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-3242 .main-header-bar .site-primary-header-wrap,
.page-id-3242 .site-primary-header-wrap,
.page-id-3237 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-3237 .main-header-bar .site-primary-header-wrap,
.page-id-3237 .site-primary-header-wrap,
.page-id-3233 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-3233 .main-header-bar .site-primary-header-wrap,
.page-id-3233 .site-primary-header-wrap,
.page-id-3225 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-3225 .main-header-bar .site-primary-header-wrap,
.page-id-3225 .site-primary-header-wrap,
.page-id-3189 header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-3189 .main-header-bar .site-primary-header-wrap,
.page-id-3189 .site-primary-header-wrap {
    background-color: rgba(34, 80, 42, 1) !important; /* LOCA KANTINER */
}

/* GROUP SUBMENU: LOCA VENUES, SÆRARRANGEMENTER, MØDER, SELSKABER */
.page-id-1902 .main-header-menu .sub-menu,
.page-id-1902 .main-header-menu .sub-menu li,
.page-id-1902 .main-header-menu .sub-menu li > a,
.page-id-2245 .main-header-menu .sub-menu,
.page-id-2245 .main-header-menu .sub-menu li,
.page-id-2245 .main-header-menu .sub-menu li > a,
.page-id-2247 .main-header-menu .sub-menu,
.page-id-2247 .main-header-menu .sub-menu li,
.page-id-2247 .main-header-menu .sub-menu li > a,
.page-id-1991 .main-header-menu .sub-menu,
.page-id-1991 .main-header-menu .sub-menu li,
.page-id-1991 .main-header-menu .sub-menu li > a {
    background-color: rgba(152, 155, 183, 1) !important;
    transition: color 0.2s ease !important;
}

/* GROUP SUBMENU: KANTINER */
.page-id-3242 .main-header-menu .sub-menu,
.page-id-3242 .main-header-menu .sub-menu li,
.page-id-3242 .main-header-menu .sub-menu li > a,
.page-id-3237 .main-header-menu .sub-menu,
.page-id-3237 .main-header-menu .sub-menu li,
.page-id-3237 .main-header-menu .sub-menu li > a,
.page-id-3233 .main-header-menu .sub-menu,
.page-id-3233 .main-header-menu .sub-menu li,
.page-id-3233 .main-header-menu .sub-menu li > a,
.page-id-3225 .main-header-menu .sub-menu,
.page-id-3225 .main-header-menu .sub-menu li,
.page-id-3225 .main-header-menu .sub-menu li > a,
.page-id-3189 .main-header-menu .sub-menu,
.page-id-3189 .main-header-menu .sub-menu li,
.page-id-3189 .main-header-menu .sub-menu li > a {
    background-color: rgba(34, 80, 42, 1) !important;
    transition: color 0.2s ease !important;
}

/* ERHVERV (TRANSPARENT HEADER) */
.page-id-1309 .main-header-menu .sub-menu,
.page-id-1309 .main-header-menu .sub-menu li,
.page-id-1309 .main-header-menu .sub-menu li > a {
    background: transparent !important;
    background-color: transparent !important;
}

/* ERHVERV (STICKY HEADER) */
.page-id-1309 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-1309 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu,
.page-id-1309 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li,
.page-id-1309 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li > a {
    background-color: rgba(92, 35, 32, 1) !important;
	transition: background-color 0.25s ease-in
}
/* PRIVAT (TRANSPARENT HEADER) */
.page-id-1724 .main-header-menu .sub-menu,
.page-id-1724 .main-header-menu .sub-menu li,
.page-id-1724 .main-header-menu .sub-menu li > a {
    background: transparent !important;
    background-color: transparent !important;
}

/* PRIVAT (STICKY HEADER) */
.page-id-1724 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-1724 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu,
.page-id-1724 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li,
.page-id-1724 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li > a {
    background-color: rgba(92, 35, 32, 1) !important;
	transition: background-color 0.25s ease-in
}

/* KANTINER (TRANSPARENT HEADER) */
.page-id-2000 .main-header-menu .sub-menu,
.page-id-2000 .main-header-menu .sub-menu li,
.page-id-2000 .main-header-menu .sub-menu li > a {
    background: transparent !important;
    background-color: transparent !important;
}
/* KANTINER (STICKY HEADER) */
.page-id-2000 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) header.site-header .main-header-bar .site-primary-header-wrap,
.page-id-2000 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu,
.page-id-2000 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li,
.page-id-2000 :is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) .main-header-menu .sub-menu li > a {
    background-color: rgba(34, 80, 42, 1) !important;
	transition: background-color 0.25s ease-in
}
/* KANTINER (STICKY HEADER) */
.page-id-2000 :is(
  .ast-transparent-header.ast-primary-sticky-header-active .ast-main-header-wrap .main-header-bar,
  .ast-primary-sticky-header-active .ast-main-header-wrap .main-header-bar,
  .ast-primary-sticky-header-active.ast-header-break-point .ast-main-header-wrap .main-header-bar,
  header.site-header.is-sticky,
  header.site-header.ast-sticky-active .ast-main-header-wrap .main-header-bar
) {
  background-color: rgba(34, 80, 42, 1) !important; !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  transition: background-color 0.25s ease-in;
}

/* FAIL-SAFE COLOR CHANGE HEADER */
.page-id-1902 .ast-builder-layout-element .ast-menu-toggle,
.page-id-1902 .ast-builder-menu .sub-menu,
.page-id-2245 .ast-builder-menu .sub-menu,
.page-id-2247 .ast-builder-menu .sub-menu,
.page-id-1991 .ast-builder-menu .sub-menu,
.page-id-2000 .ast-builder-menu .sub-menu {
    background-color: inherit !important;
}

/* INGEN STICKY HEADER ANIMATION UNDTAGEN PRIVAT & ERHVERV */
body:not(.page-id-1724):not(.page-id-1309) 
:is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) {
  transition: none !important;
  animation: none !important;
}
/* INGEN STICKY HEADER TRANSITIONS UNDTAGEN PRIVAT & ERHVERV */
body:not(.page-id-1724):not(.page-id-1309) 
:is(.ast-sticky-active, .is-sticky, .ast-header-sticked, .sticky-header, .sticky-active) > .main-header-bar {
  transition: none !important;
  animation: none !important;
}
/* --- RØD LIGHTBOX GROUP --- */
.fl-node-380bpryfna1x-0.fl-button-lightbox-content,
.fl-node-4clu0bg3yfe8-0.fl-button-lightbox-content,
.fl-node-xjmwzpcd2fev-0.fl-button-lightbox-content,
.fl-node-2ohw7x80zkdg-0.fl-button-lightbox-content,
.fl-node-jyuhta5xn80b-0.fl-button-lightbox-content,
.fl-node-ps09o6ty2blv-0.fl-button-lightbox-content,
.fl-node-92yxb7r5jv64-0.fl-button-lightbox-content,
.fl-node-cq3m14v7s5fg-0.fl-button-lightbox-content,
.fl-node-r2t93y0cmi8l-0.fl-button-lightbox-content,
.fl-node-7fl2txcozp5y-0.fl-button-lightbox-content,
.fl-node-6kw2na81hz9t-0.fl-button-lightbox-content {
    background-color: #5c2420 !important;
    color: #fff !important;
    padding: 20px;
}
/* Close-knap farve for samme rød-group lightboxes */
.fl-node-380bpryfna1x-0 .mfp-close,
.fl-node-4clu0bg3yfe8-0 .mfp-close,
.fl-node-xjmwzpcd2fev-0 .mfp-close,
.fl-node-2ohw7x80zkdg-0 .mfp-close,
.fl-node-jyuhta5xn80b-0 .mfp-close,
.fl-node-ps09o6ty2blv-0 .mfp-close,
.fl-node-92yxb7r5jv64-0 .mfp-close,
.fl-node-cq3m14v7s5fg-0 .mfp-close,
.fl-node-r2t93y0cmi8l-0 .mfp-close,
.fl-node-7fl2txcozp5y-0 .mfp-close,
.fl-node-6kw2na81hz9t-0 .mfp-close,
.mfp-close * {
  color: #ffffff !important;
}

/* --- LOCA VENUES (lilla/grå) --- */
.fl-node-aej71r4bhyxz-0.fl-button-lightbox-content,
.fl-node-fi8ud571hqay-0.fl-button-lightbox-content,
.fl-node-g7bd13lc9zr6-0.fl-button-lightbox-content,
.fl-node-81swf9docy7x-0.fl-button-lightbox-content {
    background-color: #989bb7 !important;
    color: #fff !important;
    padding: 20px;
}
.fl-node-aej71r4bhyxz-0 .mfp-close,
.fl-node-fi8ud571hqay-0 .mfp-close,
.fl-node-g7bd13lc9zr6-0 .mfp-close,
.fl-node-81swf9docy7x-0 .mfp-close,
.mfp-close * {
  color: #ffffff !important;
}

/* --- KANTINER (grøn) --- */
.fl-node-m8tp537xls4k-0.fl-button-lightbox-content,
.fl-node-emg1qawolh5y-0.fl-button-lightbox-content,
.fl-node-3fv0iu2dgbxa-0.fl-button-lightbox-content,
.fl-node-l8r4ikwhqncg-0.fl-button-lightbox-content,
.fl-node-d3b4m69vf2s1-0.fl-button-lightbox-content,
.fl-node-6dia42nzu5ys-0.fl-button-lightbox-content,
.fl-node-w3re50xf6o17-0.fl-button-lightbox-content,
.fl-node-7au9jxp1gwlt-0.fl-button-lightbox-content {
    background-color: #22502a !important;
    color: #fff !important;
    padding: 20px;
}
.fl-node-m8tp537xls4k-0 .mfp-close,
.fl-node-emg1qawolh5y-0 .mfp-close,
.fl-node-3fv0iu2dgbxa-0 .mfp-close,
.fl-node-l8r4ikwhqncg-0 .mfp-close,
.fl-node-d3b4m69vf2s1-0 .mfp-close,
.fl-node-6dia42nzu5ys-0 .mfp-close,
.fl-node-w3re50xf6o17-0 .mfp-close,
.fl-node-7au9jxp1gwlt-0 .mfp-close,
.mfp-close * {
  color: #ffffff !important;
}

/* --- KANTINER FOOTER (grøn) --- */
.page-id-2000 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-3237 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-3225 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-3242 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-3189 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-3233 .site-above-footer-wrap[data-section="section-above-footer-builder"] {
    background-color: #22502a;
    border-top-color: #22502a;
}

.page-id-2000 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-3237 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-3225 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-3242 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-3189 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-3233 .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #22502a;
    border-top-color: #22502a;
}
/* --- VENUES FOOTER (blå/lilla) --- */
.page-id-1902 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-2245 .site-above-footer-wrap[data-section="section-above-footer-builder"],
.page-id-1991 .site-above-footer-wrap[data-section="section-above-footer-builder"] {
    background-color: rgba(152, 155, 183, 1);
    border-top-color: rgba(152, 155, 183, 1);
}

.page-id-1902 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-2245 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-1991 .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: rgba(152, 155, 183, 1);
    border-top-color: rgba(152, 155, 183, 1);
}
/* --- COOKIE BADGE (blå/lilla) --- */
body.page-id-1902 #cookiescript_badge,
body.page-id-2245 #cookiescript_badge,
body.page-id-1991 #cookiescript_badge {
    background: rgba(152,155,183,1);
}
/* --- COOKIE BADGE (grøn) --- */
body.page-id-2000 #cookiescript_badge,
body.page-id-3237 #cookiescript_badge,
body.page-id-3225 #cookiescript_badge,
body.page-id-3242 #cookiescript_badge,
body.page-id-3233 #cookiescript_badge,
body.page-id-3189 #cookiescript_badge {
    background-color: #22502a;
}
/* --- COOKIE BANNER (blå/lilla) --- */
body.page-id-1902 #cookiescript_injected,
body.page-id-2245 #cookiescript_injected,
body.page-id-1991 #cookiescript_injected {
    background: rgba(152,155,183,0.9);
}
/* --- COOKIE BADGE (grøn) --- */
body.page-id-2000 #cookiescript_injected,
body.page-id-3237 #cookiescript_injected,
body.page-id-3225 #cookiescript_injected,
body.page-id-3242 #cookiescript_injected,
body.page-id-3233 #cookiescript_injected,
body.page-id-3189 #cookiescript_injected {
    background-color: rgba(34, 80, 42, 0.9)
}