﻿/* ------------------------------------------------------------------------- */
/* Full stylesheet: original styles plus responsive and off-canvas patches.  */
/* This file restores header/nav behavior, keeps header/footer untouched,    */
/* fixes left-nav styling, and ensures the off-canvas left menu only shows   */
/* inside the panel (no stray clones above breadcrumbs).                     */
/* ------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------- */
/* Base / Global                                                             */
/* ------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile header row (search + hamburger) */
.sys_searchmenu_mobile {
  display: none;
}
.sys_searchmenu_mobile .sys_search {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.sys_searchmenu_mobile .sys_component {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.sys_searchmenu_mobile .icon {
  flex: 0 0 auto;
  margin-left: 12px;
  font-size: 2.1rem;
  color: #E78E18;
  background: none;
  border: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  padding: 0 8px;
}

/* Base typography/layout */
body {
  font-size: 100%;
  background-color: #cccccc;
  font-family: "Lato", Arial, sans-serif;
  color: #3c3c3c;
}
p { padding: 0 0 10px 0; }
ul { list-style: outside square url(../../images/template/bullet.gif); margin: 0; padding: 0; }
li { margin: 0; padding: 0; }
ol { margin: 0; padding: 0; }

h1 {
  clear: both;
  color: #2a2a2a;
  font-size: 250%;
  font-family: "Lato", Verdana, Arial, sans-serif;
  font-weight: normal;
  margin: 5px 0 5px 0;
  line-height: 150%;
}
h2 {
  font-family: "Lato", Arial, sans-serif;
  color: #2a2a2a;
  font-size: 200%;
  font-weight: bold;
  margin: 5px 0 5px 0;
  line-height: 150%;
}
h3 {
  font-family: "Lato", Arial, sans-serif;
  color: #2a2a2a;
  font-size: 150%;
  font-weight: normal;
  margin: 5px 0 5px 0;
  line-height: 150%;
}

.col.sys_threecolumnc.col-c h3{
  font-weight: bold;
}

h4 {
  font-family: "Lato", Arial, sans-serif;
  color: #2a2a2a;
  font-size: 100%;
  font-weight: bold;
  margin: 5px 0 0 0;
  line-height: 150%;
}

th { padding: 5px; vertical-align: middle; }
td { padding: 5px; vertical-align: top; }

a { color: #E78E18; text-decoration: none; font-weight: bold; }
a:hover { color: #ffCC00; }

img { border: 0; max-width: 100%; height: auto; }
hr { border: 1px solid #cccccc; }
.imageright { float: right; margin-left: 10px; }

.imgshadow {
  -webkit-box-shadow: 3px 3px 5px 0px rgba(50,50,50,0.75);
     -moz-box-shadow: 3px 3px 5px 0px rgba(50,50,50,0.75);
          box-shadow: 3px 3px 5px 0px rgba(50,50,50,0.75);
}
.large { font-size: 150%; }

/* Site container */
#wholepage {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0px 0px 15px gray;
  box-sizing: border-box;
  overflow-x: clip;
}

/* Header */
.sys_header { background-color: #6a6a6a; }
#title { padding: 20px 5px 5px 5px; }
.sys_logo { padding-left: 20px; margin: 0; }

/* Search (desktop) */
.sys_search { float: right; width: 230px; margin: 0 10px 0 0; padding: 0; }
.sys_searchtext { font-size: 200%; color: #ffffff; margin: 0; padding: 20px 0 10px 0; }
.sys_search-query-control { margin-top: 50px; }
.sys_search-query-control input.sys_searchbox {
  width: 180px;
  height: 19px;
  border: 1px solid #3c3c3c;
  float: left;
  padding: 5px 0 5px 12px;
  margin: 0;
  color: #666666;
  font-size: 110%;
  border-radius: 5px;
}
.sys_search-query-control input.sys_search-button {
  font-size: 0;
  padding: 0;
  margin: 2px;
  height: 31px;
  width: 30px;
  border: 0;
  background: url('/Images/Template/search2.gif') no-repeat;
  background-size: 18px 18px;
  background-position: center;
}
.sys_search-query-control label { display: none; }
#mcontent input.sys_search-button {
  font-size: 0;
  padding: 0;
  margin: 0 0 0 2px;
  height: 30px;
  width: 30px;
  border: 0;
  background: url('/Images/Template/searchbutton.gif') no-repeat;
}
#mcontent input.sys_searchbox { font-size: 150%; height: 25px; width: 300px; }

/* ------------------ NAV (flex-based rules) ------------------ */
#hnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  box-sizing: border-box;
  color: #313031;
  background-color: #313031;
  margin: 10px 0;
  padding: 10px 12px;
}
#hnav > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 10px 6px;
  color: #ffffff;
  font-weight: normal;
  text-decoration: none;
  box-sizing: border-box;
}
#hnav > a:hover {
  color: #E78E18;
  background-color: #313031;
}
#hnav a.icon,
#hnav > a.icon {
  float: none !important;
  position: relative !important;
  display: none;
  margin-left: 0;
  margin-right: 0;
  vertical-align: middle;
  padding: 8px;
  background: transparent;
  border: 0;
}
#hnav a.icon i,
#hnav .icon i {
  font-size: 28px;
  line-height: 1;
  display: inline-block;
}
#hnav > #hnavMenu.hnav-menu {
  display: none;
}
.desktop_nav {}

/* ------------------ Content areas ------------------ */
#mcontent { padding: 10px 0 0 0; clear: both; }
#mcontent img {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.sys_banner {
  display: block;
  text-align: center;
}

.columncHeader{ display: none; }

#meditable {
  float: right;
  width: 710px;
  line-height: 150%;
  margin-right: 10px;
}
#meditable table { border-color: #ffffff; }
#meditable th {
  background-color: #cccccc;
  font-size: 130%;
  border-color: #ffffff;
  font-weight: normal;
  padding: 10px;
}
#meditable td { background-color: #eeeeee; }
#meditable caption { display: none; }
#meditablegallery { margin: 10px 20px 20px 20px; line-height: 150%; }

/* Home content */
#mcontenthome {
  padding: 20px;
  clear: both;
  line-height: 150%;
}
#mcontenthome h1 { text-align: center; }
#home-top { margin: 10px 10px 10px 25px; }
#home-bottom { margin: 25px; }

/* Address/footer */
#address {
  font-size: 85%;
  clear: both;
  background-color: #4A494A;
  color: #ffffff;
  line-height: 150%;
  margin-top: 50px;
}
#address h2 { color: #cccccc; }
#address a { color: #ffffff; font-weight: normal; text-decoration: none; }
#address a:hover { color: #Ff9900; }

/* Footer layout: flex-based */
.sys_address {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
.sys_addressa,
.sys_addressb,
.sys_addressc {
  flex: 1 1 0;
  min-width: 220px;
  box-sizing: border-box;
  float: none;
  margin-right: 0;
  height: auto;
}
.sys_privacy { clear: both; text-align: right; padding-right: 150px; }
.sys_searchlinks { padding-bottom: 10px; color: #313031; }
.sys_search-label { display: none; }
.sys_breadcrumb { padding: 15px 15px 15px 0; }
.sys_fieldlabel { color: #ffffff; }

/* Footer: social icons and TripAdvisor */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  align-items: center;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.footer-social-link i {
  font-size: 22px;
  line-height: 1;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: #E78E18;
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}
.footer-tripadvisor {
  margin-top: 10px;
}
.footer-tripadvisor img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Three-column helpers */
.sys_threecolumn {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
}
.sys_threebox { clear: both; padding: 20px; width: 100%; height: auto; }
.sys_threeboxa { width: 33%; float: left; }
sys_threeboxb { width: 33%; float: left; }
sys_threeboxc { width: 33%; float: left; }

/* Left nav */
#sys_leftnav { width: 230px; margin: 20px; }
#sys_leftnav ul { margin: 0; }
#sys_leftnav li { margin: 0; list-style: none; }
#sys_leftnav a {
  padding: 10px 0 10px 5px;
  display: block;
  margin-bottom: 5px;
  color: #4A494A;
}
#sys_leftnav a:hover { background-color: #ADABAD; color: #ffffff; display: block; }
#sys_leftnav .sys_currentitem { background_color: #cccccc; display: block; }
#sys_leftnav .sys_currentitem a { color: #ffffff; }
#sys_leftnav .sys_children li {
  list-style: none;
  color: #cccccc;
  margin-left: -10px;
}
.sys_menulevel1 { background-color: #CCCACC; }
#sys_leftnav .sys_menulevel1 a { color: #4A494A; }
.sys_menulevel2 { background-color: #E0DEE0; }
sys_menulevel3 { background-color: #F1EFEA; }
sys_menulevel4 { background-color: #F1EFEA; }
sys_menulevel5 { background-color: #F1EFEA; }

/* ------------------------------------------------------------------------- */
/* MEDIA QUERIES (original)                                                  */
/* ------------------------------------------------------------------------- */

/* Desktop: three columns */
@media (min-width: 992px) {
  #homepage-content .homepage-row1 > .col,
  #mcontenthome .homepage-row1 > .col {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}

/* Tablet: 2 columns + C full width */
@media (min-width: 701px) and (max-width: 991px) {
  #homepage-content .homepage-row1 > .col,
  #mcontenthome .homepage-row1 > .col {
    box-sizing: border-box;
    min-width: 0;
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    padding: 0 8px;
  }
  #homepage-content .homepage-row1 > .sys_threecolumnc,
  #homepage-content .homepage-row1 > .col.col-c,
  #mcontenthome .homepage-row1 > .sys_threecolumnc,
  #mcontenthome .homepage-row1 > .col.col-c {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    order: 3;
    clear: both;
    box-sizing: border-box;
    padding: 0 8px;
    margin-right: 10%;
    margin-left: 10%;
  }

  #hnav > a {
    text-align: center;
  }

  #mcontenthome {
    margin: 0 5% 0 5%;
  }

  /* Footer: keep About column tidy on wider screens */
  .sys_addressc {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* Stack footer columns on small screens */
@media (max-width: 700px) {
  .sys_address {
    flex-direction: column;
    gap: 16px;
  }

  .sys_addressa,
  .sys_addressb,
  .sys_addressc {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Search under title/nav at <= 991px */
@media (max-width: 991px) {
  #title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .sys_logo { order: 0; width: 100%; display: flex; }
  #hnav     { order: 1; width: 100%; }
  .sys_search { order: 2; }

  .sys_search {
    float: none !important;
    width: 33% !important;
    max-width: 600px;
    margin: 0px auto !important;
    display: block;
    box-sizing: border-box;
    text-align: center;
  }
  .sys_search-query-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0px;
  }
  .sys_search-query-control input.sys_searchbox {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 100%;
  }
  .sys_search-query-control input.sys_search-button {
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .columncHeader{
   display: block;
 }
}

/* Very small screens: narrow search width */
@media (max-width: 480px) {
  .sys_search { width: 80% !important; }
}

/* ------------------------------------------------------------------------- */
/* Appended: Off-canvas + responsive leftnav (safe — header untouched)       */
/* - This block is appended to the end of your original stylesheet.         */
/* - It does NOT force changes to the header or hide #sys_leftnav globally.  */
/* ------------------------------------------------------------------------- */

/* Off-canvas panel base (hidden by default) */
.leftnav-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  max-width: 85vw;
  transform: translateX(-100%);
  transition: transform 320ms ease;
  background: #ffffff;
  box-shadow: 2px 0 22px rgba(0,0,0,0.28);
  z-index: 12000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 12px;
  box-sizing: border-box;
}

/* Visible/open state */
.leftnav-offcanvas.open {
  transform: translateX(0);
}

/* Overlay behind panel */
.leftnav-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 11990;
}

/* Overlay visible when body has open class */
body.leftnav-open .leftnav-offcanvas-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Trigger button (placed under breadcrumb by script) */
.leftnav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  color: #313031;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.leftnav-trigger:focus { outline: none; box-shadow: 0 0 0 3px rgba(231,142,24,0.15); }

/* icon tweak */
.leftnav-trigger i.fa-ellipsis-v { font-size: 1.05rem; line-height: 1; }

/* Clone container styles inside panel */
.leftnav-offcanvas .leftnav-clone { padding-top: 8px; }
.leftnav-offcanvas .leftnav-clone ul { list-style: none; padding: 0; margin: 0; }
.leftnav-offcanvas .leftnav-clone li { margin: 0 0 6px 0; }
.leftnav-offcanvas .leftnav-clone a {
  display: block;
  padding: 10px 12px;
  color: #4A494A;
  text-decoration: none;
  border-radius: 6px;
}
.leftnav-offcanvas .leftnav-clone a:hover,
.leftnav-offcanvas .leftnav-clone a:focus {
  background: #ADABAD;
  color: #ffffff;
  outline: none;
}
.leftnav-offcanvas .leftnav-clone .sys_currentitem,
.leftnav-offcanvas .leftnav-clone .sys_currentitem a {
  background: #cccccc;
  color: #ffffff;
}

/* small phone adjustments */
@media (max-width: 480px) {
  .leftnav-offcanvas { padding: 12px 8px; width: 84vw; }
  .leftnav-offcanvas .leftnav-clone a { padding: 8px 10px; font-size: 0.95rem; }
  .leftnav-trigger { padding: 6px 8px; font-size: 0.95rem; }
}

/* Defensive focus styles */
.leftnav-offcanvas .leftnav-clone a:focus {
  box-shadow: 0 0 0 3px rgba(231,142,24,0.18);
  border-radius: 6px;
}

/* Responsive behavior for meditable and leftnav (tablet and below)
   Keeps header/footer untouched — only touches #mcontent, #meditable, #sys_leftnav. */
@media (max-width: 991px) {
  #mcontent {
    display: grid;
    grid-template-columns: minmax(140px, 240px) 1fr;
    grid-template-areas:
      "banner banner"
      "left main";
    gap: 18px;
    align-items: start;
    box-sizing: border-box;
  }
  .sys_banner { grid-area: banner; margin: 0 10px; }
  #sys_leftnav  { grid-area: left; padding: 0 8px; box-sizing: border-box; width: auto; max-width: 240px; }
  #meditable    { grid-area: main; padding: 0 8px; box-sizing: border-box; float: none; width: auto; max-width: none; }
  #meditable img { max-width: 100%; height: auto; display: block; }

  #meditable p,#meditable li,#meditable dd { font-size: 1rem; line-height: 1.5; }
  #meditable h1 { font-size: 1.9rem; } #meditable h2 { font-size: 1.5rem; }
  #meditable .imageright { float: right; max-width: 38%; margin-left: 12px; margin-bottom: 0.75rem; }

  #sys_leftnav a { font-size: 0.98rem; padding: 8px 0 8px 6px; }
}

@media (max-width: 900px) {
  #mcontent { grid-template-columns: minmax(120px, 30%) 1fr; }
  #meditable .imageright { max-width: 42%; }
  #meditable p, #meditable li { font-size: 0.98rem; }
  #sys_leftnav { max-width: 200px; }
}

/* Mobile stacking at <=700px: leftnav will be stacked, but we do NOT hide it globally.
   The off-canvas script will hide/restore the original leftnav when active. */
@media (max-width: 700px) {
  #mcontent {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "left"
      "main";
    gap: 12px;
    box-sizing: border-box;
  }
  .sys_banner { margin: 0 8px; }
  #sys_leftnav {display: none; }
  #meditable { grid-area: main; padding: 0 30px; box-sizing: border-box; width: 100%; max-width: none; }

  #meditable .imageright { float: none !important; display: block; margin: 0.5rem auto 1rem auto; max-width: 70%; width: 100%; }
  #meditable p, #meditable li, #meditable dd { font-size: 0.95rem; line-height: 1.45; }
  #meditable h1 { font-size: 1.7rem; } #meditable h2 { font-size: 1.3rem; }

  /* left nav links smaller on mobile when visible */
  #sys_leftnav a { font-size: 0.95rem; padding: 8px 0; }

  /* ensure meditable doesn't overflow */
  #meditable { overflow-wrap: break-word; word-break: break-word; }
}

/* ------------------------------------------------------------------------- */
/* Patch CSS: restore header hamburger visibility and left-nav styling, and */
/* prevent stray leftnav-clone from showing outside the off-canvas panel.   */
/* Appended patch rules (keeps header behavior as original).               */
/* ------------------------------------------------------------------------- */

/* 1) Ensure the mobile header row is visible on small screens and the desktop
      header nav is hidden (restores original behaviour) */
@media (max-width: 700px) {
  .sys_searchmenu_mobile {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #313031;
    border-radius: 6px;
    padding: 8px 10px;
    box-sizing: border-box;
    z-index: 100;
    gap: 0;
    position: relative;
  }

  /* Hide desktop nav on mobile (original template behaviour) */
  #hnav {
    display: none !important;
  }

  /* Ensure hamburger toggle is visible and keyboard accessible */
  #hamburger-toggle,
  .sys_searchmenu_mobile .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #E78E18;
    background: transparent;
    border: 0;
    padding: 0 8px;
    font-size: 2.25rem;
    cursor: pointer;
    height: 44px;
  }

  /* Mobile menu container: hidden by default until JS toggles aria-hidden */
  #hnavMenuMobile {
    display: none;
    position: absolute;
    top: 100%;
    background: #313031;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    min-width: 220px;
    z-index: 9999;
    box-sizing: border-box;
    padding: 8px 0;
  }
  #hnavMenuMobile[aria-hidden="false"] { display: block; }
}

/* 2) Restore left-nav background/hover styling (ensure visible even if CMS classes vary) */
#sys_leftnav {
  background: transparent;
  box-sizing: border-box;
}
#sys_leftnav ul { list-style: none; padding: 0; margin: 0; }
#sys_leftnav li { margin: 0; }
#sys_leftnav a {
  display: block;
  padding: 10px 8px;
  color: #4A494A;
  text-decoration: none;
  border-radius: 4px;
  background: transparent;
}
#sys_leftnav a:hover,
#sys_leftnav a:focus {
  background: #ADABAD;
  color: #fff;
}

/* Preserve existing level backgrounds (explicit rules override earlier accidental removals) */
.sys_menulevel1 { background-color: #CCCACC !important; }
.sys_menulevel2 { background-color: #E0DEE0 !important; }
.sys_menulevel3, .sys_menulevel4, .sys_menulevel5 { background-color: #F1EFEA !important; }

/* 3) Prevent stray .leftnav-clone (if any) from rendering in the main content.
   The JS marks the panel clone with class "in-panel". Show only in-panel clones. */
.leftnav-clone { display: none !important; }
.leftnav-clone.in-panel { display: block !important; }

/* 4) Ensure off-canvas panel and overlay keep their stacking and visibility
   (these reinforce the styles already present above) */
.leftnav-offcanvas { /* existing styles apply */ }
.leftnav-offcanvas-overlay { /* existing styles apply */ }

/* 5) Defensive: ensure header toggles are correct on desktop */
@media (min-width: 701px) {
  .sys_searchmenu_mobile { display: none !important; }
  #hnav { display: flex !important; }
}

/* ------------------------------------------------------------------------- */
/* Footer-fix for mobile: create BFC and ensure footer clears (patch)        */
/* This is the merged-in styles-fix-footer.css block requested.              */
/* Adds stronger containment and clearfix fallbacks for mobile to prevent   */
/* the footer from appearing above main content.                             */
/* ------------------------------------------------------------------------- */

@media (max-width: 700px) {
  /* Preferred: create a new formatting context on the main content */
  #mcontent {
    display: flow-root !important; /* modern browsers */
    -webkit-overflow-scrolling: touch;
  }

  /* Fallback clearfix for older/legacy cases */
  #mcontent::after,
  #wholepage::after {
    content: "" ;
    display: table;
    clear: both;
  }

  /* Make sure footer clears any floats and stays below content */
  #address {
    clear: both !important;
    position: relative;
    z-index: 1;
    margin-top: 24px;
  }

  /* Ensure meditable behaves as a normal stacked block on mobile */
  #meditable {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
}

/* End of stylesheet */