#page_header {
  background-color: white;
}

.site-branding img {
  max-height: 150px;
}
ul.main-menu > li a,
ul.main-menu > li > span {
  color: #bf4e30;
}
.search-icon {
  color: #bf4e30;
}
.sliding-panel-icon {
  color: #bf4e30;
}
.search-icon i,
.sliding-panel-icon i {
  border: 2px solid #bf4e30;
}
.mobile-menu {
  color:  #bf4e30;
}
.mobile-menu-icon {
  border-top: 2px solid #bf4e30;
  border-bottom: 2px solid #bf4e30;
  color: #bf4e30;
}
.mobile-menu-icon span {
  height: 2px;
  width: 100%;
  background-color: #bf4e30;
}
.slider h1,
.slider h2,
.slider h3,
.slider h4 {
  color: #bf4e30;
}
.layer1,
.layer2,
.layer3,
.layer4,
.layer5,
.layer6 {
	color: #bf4e30;
}
.slider a.button {
  background: var(--color-secondary);
  color: #fff;
}
.page-header .page-title {
  color: #426b31;
}
ul.main-menu > li > a:hover {
  background: #426b31;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border: 1px solid #426b31/*{borderColorActive}*/;
	background: #426b31/*{bgColorActive}*/ /*{bgImgUrlActive}*/ /*{bgActiveXPos}*/ /*{bgActiveYPos}*/ /*{bgActiveRepeat}*/;
}
.glightbox-clean .gclose,.glightbox-clean .gnext,.glightbox-clean .gprev {
       background-color:rgba(230,226,148,.75)
}
.glightbox-clean .gclose:hover,.glightbox-clean .gnext:hover,.glightbox-clean .gprev:hover{
background-color:rgba(191,78,48,.7)
}
.region-footer-top .block {
  margin-bottom: 0px;
}
.white-text {
    color: white;
  }
.green-text {
    color: #58833a;
  }
.red-text {
    color: #bf4e30;
  }
ul.main-menu ul.submenu li {
    background: #426b31;
}
.homepage .header,
.site-page .header {
  background-color: #e6e195;
}
/* CSS for Ticked List */
.ticked-list {
   list-style-type: none;
   padding-left: 0;
}

.ticked-list li {
   position: relative;
   padding-left: 25px;
}

.ticked-list li::before {
   content: '✔'; /* Tick symbol */
   position: absolute;
   left: 0;
   color: #4CAF50; /* Green tick color */
   font-size: 1em;
}
.custom-paragraph {
   color: blue;
   font-style: italic;
}
/* CSS for centred image */
.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%; /* Optional: Keeps image responsive */
}
.node-taxonomy-container {
padding: 20px 20px 20px 20px;
}
/* Add a semi-transparent overlay */
.slider-item {
    position: relative;
}

.slider-item .slider-img img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.65; /* Adjust opacity to make the image less prominent */
}

/* Optional: Add a gradient overlay */
.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Black overlay with 40% opacity */
    z-index: 1; /* Ensure it's above the image but below the text */
}

/* Ensure text is on top of the overlay */
.slider-item .slider-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Text above the overlay */
}

.slider-item .slider-text h1,
.slider-item .slider-text h2,
.slider-item .slider-text h3,
.slider-item .slider-text h4 {
    color: white; /* High contrast for visibility */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); /* Add a subtle shadow for better legibility */
    margin: 10px 0; /* Add spacing between text elements */
}

/* Custom Button */
.custom-button {
  display: inline-block;
  background-color: #426b31;
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: normal;
  transition: all 0.3s ease;
}

.custom-button:hover,
.custom-button:active {
  background-color: #ccc977;
  color: #BE4D30;
  font-weight: bold;
}

.ept-timeline-wrapper a {
  background: #426b31;
}

.ept-timeline-wrapper .timeline-date {
  background: #ccc977;
}

a {
  text-decoration: underline;
}

.field--name-field-ept-image-caption em{
  font-style: italic;
  color: var(--color-secondary); 
}

.node-view-mode-teaser {
  position: relative;
  padding: 0 1em 1em 1em;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  border-bottom: 1px solid var(--border-color);
}

.node--view-mode-teaser {
  position: relative;
  padding: 0 1em 1em 1em;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  border-bottom: 1px solid var(--border-color);
}

.node--view-mode-teaser a img {
  transition: transform 0.3s ease-in-out;
}

.node--view-mode-teaser a:hover img {
  transform: scale(1.05);
}

.node--view-mode-teaser a img {
  transition: transform 0.4s ease-out;
}

.node--view-mode-teaser a::after {
  transition: background 0.4s ease-out;
}

@media (hover: none) {
  .node--view-mode-teaser a img {
    transform: none !important;
  }

  .node--view-mode-teaser a::after {
    background: none !important;
  }
}

.teaser-image:active {
  transform: scale(0.98);
  opacity: 0.8;
  transition: transform 0.2s, opacity 0.2s;
}

.ept-width-small .ept-container {
  max-width: 600px;
}

.calendly-button {
  display: inline-block;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #426b31;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.calendly-button:hover {
  color: #d1392b;  
  background-color: #ccc977;
  text-decoration: none;
}

ul.inline li {
  padding: 0 5px;
}

.contextual-region {
  margin-top: 60px;
}
.eu-cookie-compliance-message h3 {
  font-size: 24px;
}
.eu-cookie-compliance-message p {
  font-weight: normal;
}
/* 1) Button row: stop right alignment and use a tidy flex row */
.eu-cookie-compliance-buttons {
  float: none !important;
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* left-align for consistency */
  max-width: 100% !important;
}

/* 2) Equal button style for all actions (banner + dialog) */
.eu-cookie-compliance-agree-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-more-button,
.eu-cookie-compliance-save-preferences-button,
.eu-cookie-withdraw-button {                     /* <-- added comma + withdraw */
  background: #426b31 !important;   /* brand colour */
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 0.7rem 1.1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* kill module’s gradients/shadows */
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Hover / active / focus */
.eu-cookie-compliance-agree-button:hover,
.eu-cookie-compliance-default-button:hover,
.eu-cookie-compliance-more-button:hover,
.eu-cookie-compliance-save-preferences-button:hover,
.eu-cookie-withdraw-button:hover {
  filter: brightness(0.92);
}
.eu-cookie-compliance-agree-button:active,
.eu-cookie-compliance-default-button:active,
.eu-cookie-compliance-more-button:active,
.eu-cookie-compliance-save-preferences-button:active,
.eu-cookie-withdraw-button:active {
  transform: translateY(1px);
}
.eu-cookie-compliance-agree-button:focus-visible,
.eu-cookie-compliance-default-button:focus-visible,
.eu-cookie-compliance-more-button:focus-visible,
.eu-cookie-compliance-save-preferences-button:focus-visible,
.eu-cookie-withdraw-button:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 2px;
}

/* Optional: keep banner buttons visually balanced */
.eu-cookie-compliance-agree-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-more-button,
.eu-cookie-withdraw-button {
  min-width: 12ch !important;
}

/* Force *all* EUCC button rows to use flex and left alignment */
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons,
.eu-cookie-compliance-buttons.eu-cookie-compliance-has-categories,
.eu-cookie-compliance-categories-buttons {       /* <-- comma here; it's a container */
  float: none !important;
  text-align: left !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  justify-content: flex-start !important;
  max-width: 100% !important;
  margin: 0 0 1em 0 !important;
}

/* Belt & braces: ensure individual buttons never float */
.eu-cookie-compliance-agree-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-more-button,
.eu-cookie-compliance-save-preferences-button,
.eu-cookie-withdraw-button {                     /* <-- added comma + withdraw */
  float: none !important;
}

/* Collapsed settings/withdraw tab (the small tab shown when collapsed) */
.eu-cookie-withdraw-tab {
  background: #426b31 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 0.5rem 0.75rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.eu-cookie-withdraw-tab:hover {
  filter: brightness(0.95);
}
.eu-cookie-withdraw-tab:focus-visible {
  outline: 3px solid rgba(66,107,49,0.5);
  outline-offset: 2px;
}

/* --- Reset / keep desktop as-is --- */
.eu-cookie-compliance-banner,
.cookie-banner,
.cc-banner,
.ccc-banner {
  position: static;       /* let your desktop/theming win */
  max-height: none;
  overflow: visible;
}

/* --- Mobile-only containment + styling --- */
@media (max-width: 600px) {
  .eu-cookie-compliance-banner,
  .cookie-banner,
  .cc-banner,
  .ccc-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: 90svh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10001;

    /* Ensure it looks like a card on top of the page */
    background: var(--cookie-bg, #ffffff);
    border-top: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  /* Optional: dim the page behind on mobile so content doesn’t distract */
  .cookie-banner--open::backdrop { /* won’t work here; see .cookie-backdrop below */ }
}

/* Prevent page scroll only while banner is open (any viewport) */
html.cookie-banner-open,
body.cookie-banner-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

@media (max-width: 600px) {
  .eu-cookie-compliance-banner,
  .cookie-banner,
  .cc-banner,
  .ccc-banner {
    padding: 1rem;                       /* increase from .75rem if needed */
    box-sizing: border-box;              /* ensure padding doesn’t blow out width */
    border-radius: 12px 12px 0 0;        /* optional: rounded top corners */
  }
}

@media (max-width: 600px) {
  .eu-cookie-compliance-banner .eu-cookie-compliance-more-button,
  .eu-cookie-compliance-banner .eu-cookie-compliance-settings-button,
  .cookie-banner .cookie-settings,
  .cc-banner .cc-settings,
  .ccc-banner .ccc-settings {
    margin: 0 0.2rem 0.2rem 0.2rem; /* space from left & bottom */
    border-radius: 6px;             /* optional: match other buttons */
  }
}

.comment-form-wrap {
    margin: 30px 0;
}

/* Cookie UX: hide category rows until Preferences is opened */
#eu-cookie-compliance-categories .eu-cookie-compliance-category {
  display: none;
}

#eu-cookie-compliance-categories.sustique-preferences-open .eu-cookie-compliance-category {
  display: block;
}

/* Cookie button order */
.agree-button.eu-cookie-compliance-default-button {
  order: 1;
}

.eu-cookie-compliance-reject-button {
  order: 2;
}

.eu-cookie-compliance-save-preferences-button {
  order: 3;
}

/* Cookie UX: remove spare space left by hidden category rows */
#eu-cookie-compliance-categories {
  margin: 0 !important;
  padding: 0 !important;
}

#eu-cookie-compliance-categories:not(.sustique-preferences-open) {
  min-height: 0 !important;
}

#eu-cookie-compliance-categories:not(.sustique-preferences-open) .eu-cookie-compliance-categories-buttons {
  margin: 0 !important;
  padding: 0 !important;
}

/* Cookie UX: compact cog-style privacy settings tab */
.eu-cookie-withdraw-tab {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.eu-cookie-withdraw-tab::before {
  content: "⚙";
  font-size: 22px;
  line-height: 1;
}

.eu-cookie-withdraw-tab {
  margin: 0 0 30px 30px !important;
}