@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
z-index:283;
}


#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: 999px;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: transparent;
  margin-bottom:3px;
  margin-right:auto;
margin-left:auto;
}
#cssmenu > ul {
  background:#c4cad8;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05);
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li {
  float: left;
  display: inline-block;
}
#cssmenu.align-center > ul {
  float: none;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li > a {
  margin-top:10px;
  padding: 8px 25px 21px 25px;
  border-right: 1px solid rgba(80, 80, 80, 0.12);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #000000;
  background: #ffffff;
  background: rgba(0, 0, 0, 0);
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 45px;
}
#cssmenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #d3eced;
  right: 17px;
  top: 22px;
}
#cssmenu > ul > li.has-sub.active > a::after,
#cssmenu > ul > li.has-sub:hover > a {
  border-top-color: #ffffff;
}
#cssmenu ul ul {
  position: absolute;
  left: -99913px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #ffffff;
  top: -4px;
  left: 20px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 11px;
  left: -4px;
}
#cssmenu.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#cssmenu > ul > li > ul {
  top: 120px;
}
#cssmenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#cssmenu.align-right ul ul ul {
  padding-right: 6px;
}
#cssmenu ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#cssmenu ul ul li a {
  text-decoration: none;
  font-weight: 400;
  padding: 11px 25px;
  width: 180px;
  color: #777777;
  background: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
  color: #000;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#cssmenu > ul > li > ul::after {
  position: absolute;
  display: block;
}
#cssmenu ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#cssmenu ul ul li.has-sub.active > a::after,
#cssmenu ul ul li.has-sub:hover > a::after {
  border-left-color: #154001;
}
#cssmenu.align-right ul ul li.has-sub.active > a::after,
#cssmenu.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #154001;
  border-left-color: transparent;
}
@media all and (max-width: 999px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    background: #154001;
 width:90%;
  background:#c4cad8;
margin-left:11px;
  }

  #cssmenu > ul {
    display: none;
  }
  #cssmenu > ul.open {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  #cssmenu.align-right > ul {
    float: none;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu > ul > li > a {
    padding: 18px 25px 18px 25px;
    border-right: 0;
  }
  #cssmenu > ul > li:hover > a,
  #cssmenu > ul > li.active > a {
    background: rgba(0, 0, 0, 0);
  }
  #cssmenu #menu-button {
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    padding: 18px 25px 18px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: url('images/bg.png');
    cursor: pointer;
  }
  #cssmenu ul ul,
  #cssmenu ul li:hover > ul,
  #cssmenu > ul > li > ul,
  #cssmenu ul ul ul,
  #cssmenu ul ul li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul li:hover > ul,
  #cssmenu.align-right > ul > li > ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul ul li:hover > ul {
    left: 0;
    right: auto;
    top: auto;
    opacity: 1;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: left;
  }
  #cssmenu ul ul li {
    width: 100%;
  }
  #cssmenu ul ul li a {
    width: 100%;
    box-shadow: none;
    padding-left: 35px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 45px;
  }
  #cssmenu ul ul li:first-child > a,
  #cssmenu ul ul li:last-child > a {
    border-radius: 0;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #4b5978;
    border-bottom: 2px solid #4b5978;
    right: 25px;
    top: 18px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #4b5978;
    right: 25px;
    top: 28px;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
}
/* =========================
   Penhaligon – Nav "pill" style (matches news CTA)
   Paste AFTER your existing #cssmenu CSS
   ========================= */

/* Brand tokens (fallbacks if you don’t already have :root) */
:root{
  --brand-500:#38b000;   /* bright green */
  --brand-700:#2a7a00;   /* deep green  */
  --chip:rgba(255,255,255,.16);
}

/* Nav bar background → transparent; we’ll style items as pills */
#cssmenu{ background: transparent; }
#cssmenu > ul{
  background: transparent;
  box-shadow: none;
  padding: 10px 0 6px;   /* makes room for pill height */
}

/* Top-level items as green pills */
#cssmenu > ul > li{ padding: 4px 6px; } /* gutter between pills */

#cssmenu > ul > li > a{
  margin-top: 0;
  padding: 10px 16px;              /* pill padding */
  border: 1px solid rgba(255,255,255,.35);
  border-right: 0;                  /* remove legacy divider */
  border-radius: 999px;
  text-transform: none;             /* optional: or keep uppercase */
  letter-spacing: .2px;
  font-weight: 700;
  color:#fff !important;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 8px 24px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.15);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

/* Hover/active lift */
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a{
  color:#fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.18);
}

/* Submenu caret matches white-on-green */
#cssmenu > ul > li.has-sub > a{ padding-right: 44px; }
#cssmenu > ul > li.has-sub > a::after{
  border: 6px solid transparent;
  border-top-color: #fff;    /* white caret */
  right: 16px; top: 50%; transform: translateY(-2px);
}

/* Dropdown panel styling (keeps your structure, refresh look) */
#cssmenu ul ul{
  padding-top: 10px;
  opacity: 0; top: 64px;     /* aligns with new pill height */
}
#cssmenu > ul > li:hover > ul{
  top: 56px; opacity: 1;
}
#cssmenu ul ul li a{
  width: 220px;
  padding: 12px 16px;
  color: #0f190f;                    /* dark green ink */
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a{
  color:#0f190f;
  background: #f1faee;               /* very pale green */
  border-color: rgba(56,176,0,.18);
}

/* Submenu arrow (right-facing) uses brand colour */
#cssmenu ul ul li.has-sub > a::after{
  border: 4px solid transparent;
  border-left-color: var(--brand-700);
}

/* Remove old separators/dividers and forced backgrounds */
#cssmenu > ul > li > a{ border-right: 0 !important; background-clip: padding-box; }
#cssmenu > ul > li:hover > a{ background: linear-gradient(90deg, var(--brand-700), var(--brand-500)); }

/* Accessibility: focus ring on keyboard nav */
#cssmenu a:focus-visible{
  outline: 3px solid #c8f6a6;
  outline-offset: 2px;
}

/* Mobile / narrow screens – keep pill look, full-width rows */
@media all and (max-width: 999px){
  #cssmenu{ width: 100%; margin-left: 0; }
  #cssmenu #menu-button{
    background: linear-gradient(90deg, var(--brand-700), var(--brand-500)) !important;
    color:#fff !important;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.35);
  }
  #cssmenu > ul.open{
    border-top: 0;
    padding: 6px 8px 12px;
    background: transparent;
  }
  #cssmenu > ul > li{ padding: 4px 0; }
  #cssmenu > ul > li > a{
    display: block;
    border-radius: 12px;                 /* slightly squarer on mobile for width */
    padding: 12px 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.12);
  }
  /* Dropdowns expand inline with soft card look */
  #cssmenu ul ul,
  #cssmenu > ul > li:hover > ul{
    top: auto; left: 0; right: auto; opacity: 1;
    width: 100%; padding: 6px 0 0; position: relative;
  }
  #cssmenu ul ul li a{
    width: 100%; border-radius: 10px; margin: 4px 0;
    background: #fff;
  }
}

/* Ensure all nav text is white like the CTA (top level) */
#cssmenu > ul > li > a,
#cssmenu > ul > li > a:link,
#cssmenu > ul > li > a:visited{ color:#fff !important; text-decoration:none !important; }

/* Kill any inherited pseudo-content (stars, bullets) inside nav links */
#cssmenu a::before, #cssmenu a::after{ content: none !important; }

/* Stronger, semi-opaque pill backdrop over photos */
:root{
  /* tweak this to taste (0.00–1.00) */
  --pill-alpha: .92;
}

/* Top-level pills */
#cssmenu > ul > li > a{
  /* semi-opaque gradient */
  background:
    linear-gradient(
      90deg,
      rgba(42,122,0,var(--pill-alpha)),
      rgba(56,176,0,var(--pill-alpha))
    ) !important;

  /* subtle outline + better readability on imagery */
  border: 1px solid rgba(255,255,255,.45) !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  backdrop-filter: saturate(115%) blur(1.5px);        /* modern browsers */
  -webkit-backdrop-filter: saturate(115%) blur(1.5px);
}

/* Hover: a touch more solid and lift */
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a{
  background:
    linear-gradient(
      90deg,
      rgba(42,122,0, .98),
      rgba(56,176,0, .98)
    ) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.18);
}

/* Mobile pills: same treatment */
@media (max-width:999px){
  #cssmenu > ul > li > a{
    background:
      linear-gradient(
        90deg,
        rgba(42,122,0,var(--pill-alpha)),
        rgba(56,176,0,var(--pill-alpha))
      ) !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.45) !important;
    backdrop-filter: saturate(115%) blur(1.5px);
    -webkit-backdrop-filter: saturate(115%) blur(1.5px);
  }
}

/* === Fix dropdown gap + improve hover/focus behaviour (desktop only) === */
@media (min-width: 1000px){
  /* Make sure parent <li> is the positioning context */
  #cssmenu > ul > li { position: relative; }

  /* Reset legacy top offsets and anchor the dropdown just under the pill */
  #cssmenu ul ul{
    left: 0 !important;
    top: calc(100% + 0px) !important;   /* 6px breathing room under pill */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 999;                        /* above header imagery */
  }

  /* Show submenu on hover OR keyboard focus within the parent li */
  #cssmenu > ul > li:hover > ul,
  #cssmenu > ul > li:focus-within > ul{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Remove any triangle offset rules from earlier CSS */
  #cssmenu > ul > li > ul::after{ display:none !important; }

  /* Right-aligned menus stay tight to the right edge */
  #cssmenu.align-right > ul > li:hover > ul,
  #cssmenu.align-right > ul > li:focus-within > ul{
    right: 0; left: auto !important;
  }

  /* Hover bridge: a thin invisible strip under each pill so the cursor
     can move into the submenu without closing it */
  #cssmenu > ul > li::after{
    content:"";
    position:absolute;
    left:0; right:0;
    top:100%;
    height: 10px;              /* size of the bridge */
    pointer-events: none;      /* don't block clicks */
  }
}

/* Keep the mobile behaviour (submenus inline) as you had it */

