/* ===========================
   Global styles (apply everywhere)
   =========================== */

   
   /* Ensure all images scale down on small screens */
img {
    max-width: 100%;
    height: auto;
}


/* Links */
a:link {
    color: DarkKhaki;
    background-color: transparent;
    text-decoration: none;
}
a:visited { color: #e0e0eb; }
a:hover   { color: red; }
a:active  { color: teal; }

/* Body */
body {
    background-color: #1452B7;
    color: white;
    font-family: "Verdana", sans-serif;
}

/* Menu and text blocks */
.menu { background-color: #1452B7; vertical-align: top; }
.text-table-bordered {
    vertical-align: top;
    text-align: left;
    border: 3px solid white;
    padding: 8px;
}
.text-table { vertical-align: top; text-align: left; padding: 8px; }
.mp-text { text-align: left; }
.image-table { vertical-align: top; text-align: center; padding: 8px;  }
.image-cell { vertical-align: top; text-align: center; padding: 8px;  }
.standard-table {width: 1200px; max-width: 100%; border-spacing: 20px; border: 3px solid white; }






.ordering-table {
	width: 1200px;
	max-width: 100%; 
	border-spacing: 20px; 
	border: 3px solid white;
  border-collapse: collapse;
	 }
.ordering-table th,
.ordering-table td {
  border: 3px solid white;
  /* you can add per-cell padding/margin here */
}	 
.logo-table {width: 1200px; max-width: 100%;}


/* Tables (generic) */
.table-full {
    border: 4px solid white;
    width: 100%;
    background-color: #1452B7;
}
.table-auto {
    border: 4px solid white;
    background-color: #1452B7;
}
.table-800 {
    border: 3px solid white;
    width: 800px;
    background-color: #1452B7;
}

/* Misc utility */
.grommet { background-color: red; }
.small-centered { font-size: small; text-align: center; }
.small { font-size: small; }
p.bold { font-weight: bold; }

/* Index page */
.front-page-category {
    font-weight: bold;
    color: GoldenRod;
    font-size: 1.75em;
}
.front-page-notice {
    font-weight: bold;
    color: GoldenRod;
    font-size: 1em;
}

/* Menu font styling */
.onehalf { font-size: 12px; line-height: .5em; }
.legend {
    font-size: 14px;
    line-height: 1.4em;
    margin-bottom: 10px;
    font-style: italic;
    color: #dddddd;
}
.legend-line {
    border: 0;
    border-top: 1px solid #999;
    margin: 10px 0;
}
.menu-header {
    font-size: 15px;
    font-weight: bold;
    margin: 12px 0 6px;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 6px;
}
.menu-footer {
    font-size: 18px;
    font-weight: bold;
    margin: 14px 0 6px;
    color: #ffffff;
    padding-bottom: 2px;
}

/* Shared image/price formatting */
.product-image { text-align: center; margin-bottom: 1em; }
.product-image img { max-width: 100%; height: auto; }
.price-rows { margin-top: 0.5em; }


/* ===========================
   Desktop view
   =========================== */
.desktop-view {
    display: block;
}
.mobile-view {
    display: none;
}

/* ===========================
   Mobile view (accordion)
   =========================== */
.mobile-view .accordion {
    border: 1px solid #555;
    border-radius: 6px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}
.mobile-view .accordion-header {
    background: #444;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}
.mobile-view .accordion-header:hover { background: #666; }
.mobile-view .accordion-content {
    display: none;
    background: #333;
    padding: 15px;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}
.mobile-view .accordion-content img {
    max-width: 120px;
    margin-left: 15px;
    border: 1px solid #555;
}
.mobile-view .price-row { margin-bottom: 10px; }
.mobile-view input[type="text"] {
    width: 3em;
    padding: 2px;
    text-align: center;
}
.mobile-view button {
    margin-top: 10px;
    padding: 6px 12px;
    background: #06c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.mobile-view button:hover { background: #09f; }

/* ===========================
   Responsive switching
   =========================== */
@media (max-width: 768px) {
  .desktop-view { display: none; }
  .mobile-view  { display: block; }
}


/* New Menu */
.menu-finishes p {
  font-size: 1.1em;   /* legend a little bigger */
  margin: 2px 0;
}

.menu-header {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  background: #8cb3f2;
  color: #1452B7;
  border: none;
  padding: 6px;
  cursor: pointer;
  margin-top: 8px;
}

.menu-sub {
  display: none;           /* hidden until clicked */
  margin-left: 10px;
  padding-left: 5px;
  border-left: 2px solid #666;
}

.menu-sub a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
  color: #eee;
}

.menu-sub a:hover {
  color: red;
}

.menu-instructions {
  font-size: .9em;
  text-align: center;
}

/* Toggle View */

<style>
/* Hide/show logic */
.desktop-view { display: block; }
.mobile-view { display: none; }

@media (max-width: 768px) {
  .desktop-view { display: none; }
  .mobile-view { display: block; }
}

/* Overrides */
body.force-desktop .desktop-view { display: block !important; }
body.force-desktop .mobile-view  { display: none !important; }

body.force-mobile .desktop-view { display: none !important; }
body.force-mobile .mobile-view  { display: block !important; }

/* Toggle button */
.view-toggle {
  background: #06c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  margin: 10px 0;
  cursor: pointer;
  font-size: 0.9em;
}
.view-toggle:hover {
  background: #09f;
}
</style>

/* Added 10/30/25  */

/* Tables that should be responsive with visible borders */
table.condensed-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;   /* use collapse for crisp borders */
  /* remove border-spacing when using collapse */
  border: 3px solid #fff;      /* table border */
  table-layout: auto;          /* let it shrink; switch to 'fixed' if desired */
  margin: 0 auto;
}

/* Cells: center content and show borders */
table.condensed-table th,
table.condensed-table td {
  border: 3px solid #fff;
  text-align: center;          /* centers text and inline elements */
  vertical-align: middle;
  padding: .5rem;
  word-break: normal;          /* adjust if you have super-long strings */
}

/* Make images and iframes fluid */
table.condensed-table img {
  max-width: 100%;
  height: auto;
  display: block;              /* avoids descender gaps; optional */
  margin: 0 auto;              /* horizontally center block images */
}

td.menu iframe#side-menu {
  width: 100%;
  height: 100%;
  min-height: 800px;           /* adjust to taste */
  border: 0;
}

/* Mobile adjustments Commented out - I do not want this
@media (max-width: 700px) {
  /* Stack the two main columns (menu and content) vertically 
  table.condensed-table > tbody > tr > td {
    display: block;
    width: 100% !important;
  }
*/
  /* Optional: slightly smaller cell padding on narrow screens */
  table.condensed-table th,
  table.condensed-table td {
    padding: .4rem;
  }
}

/* OUTER two-column row (menu + content) */
table.condensed-table > tbody > tr > td { vertical-align: top; }
td.menu iframe { display:block; }

/* ITEMS table: collapsed borders */
table.condensed-table.item-list {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  /* keep or remove outer frame: */
  border: 3px solid #fff;
}

table.condensed-table.item-list th,
table.condensed-table.item-list td {
  border: 3px solid #fff;
  text-align: center;
  vertical-align: middle; /* or top if you prefer */
  padding: .5rem;
  word-break: normal;
}

/* Force top alignment for BOTH cells in the outer two-column table */
table.condensed-table > tbody > tr > td {
  vertical-align: top;
}

/* Make the iframe a block so it doesn’t baseline-align */
td.menu iframe {
  display: block;
}

/* Optional: zero any accidental top padding/margin on the menu cell */
td.menu { padding-top: 0; }
