/* W8 Catering - desktop styles ported from the original w8catering.css,
   with a single-column mobile layout below 980px (see bottom of file) */

html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "trebuchet ms", arial, helvetica, sans-serif;
  font-size: 13px;
  color: #333;
  background: url(/graphics/brick-tile.gif);
}
img { border: none; max-width: 100%; height: auto; }
:focus:not(:focus-visible) { outline: none; }

/* Page frame */
#header-content { width: 974px; max-width: 100%; margin: 0 auto; background-color: #d5d3cc; }
#main { flex: 1 0 auto; display: flex; }
#main-content { width: 974px; max-width: 100%; margin: 0 auto; background: #fff; display: flow-root; }
#footer-content { width: 974px; max-width: 100%; margin: 0 auto; border-top: 15px solid #fff; background-color: #d5d3cc; }
.foot-left, .foot-right { display: inline-block; color: #fff; font-weight: bold; font-size: 16px; text-shadow: 2px 2px 4px #111; padding: 0 15px; }
.foot-left { text-align: left; padding-bottom: 20px; }
.foot-right { text-align: right; float: right; padding-top: 1.2em; }
.foot-right a, .foot-right a:hover { color: inherit; font-size: inherit; font-weight: inherit; }

/* Columns */
#leftcol { width: 20%; float: left; position: relative; background-color: #fff; }
#twocols { width: 80%; float: right; position: relative; }
#rightcol { position: relative; background-color: #fff; }
#main p { padding-right: 20px; text-align: justify; }
.w8-img { border: 5px solid #bb6994; }

/* Row of framed photos at the top of most pages */
.photo-strip { display: flex; justify-content: space-around; align-items: flex-start; padding: 2px 0; }

/* Side navigation */
#navcontainer p { text-align: left; }
#navlist { padding-left: 20px; padding-right: 7px; padding-top: 0; margin-top: 5px; }
#navlist li { line-height: 24px; }
#navlist li a { font-size: 18px; font-weight: lighter; }
.navtit { padding-left: 8px; font-size: 20px; margin-bottom: 0; }
.sidebar-block { padding-left: 20px; }
.mobile-nav { display: none; }

.promo-box { display: block; border: 5px solid #bb6994; padding: 3px; margin: 3px 0 0 0; }
.promo-box:hover { text-decoration: none; }
.specials-box { color: #fff; font-weight: bold; font-size: 18px; cursor: pointer; }
.specials-inner { display: block; background: #d5d3cc; padding: 3px 3px 14px 3px; color: #bb6994; }
.click-to-view { display: block; float: right; font-weight: normal; font-size: 11px; color: #111; }
.specials-inner .click-to-view { color: inherit; }
.promo-img { display: block; width: 180px; height: 85px; padding: 8px 0; margin: -3px 0 0 0; }
.cert-thumb { margin: 0 0 0 15px; }
.xmas-link { position: relative; }
.santa-hat { position: absolute; z-index: 2; right: 29px; margin-top: -1px; width: 20px; }
.xmas-link-img { display: block; width: 160px; margin: -10px 0 0 -7px; }

/* Main body */
ul { list-style: square; color: #bb6994; }
ul li a { color: #000; }
.pink, h2 { color: #bb6994; font-weight: bold; }
hr { color: #9f9f9f; background-color: #9f9f9f; border: 0; height: 1px; margin: 0 5px 10px; padding: 0; }
a { font-family: inherit; font-size: 13px; font-weight: normal; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Home */
.cafe-img { display: block; width: 100%; box-sizing: border-box; margin: 1em 0 30px; }

/* Delivery */
.whats-cooking { margin-left: 15px; }
.delivery-deco { position: absolute; right: 0; top: 0; margin-top: 208px; width: 150px; z-index: 1; }
.delivery-menus { clear: both; float: left; }
.seasonal-box { float: right; background: #d6d3cc no-repeat bottom right; margin: 30px 30px 0 0; }
.seasonal-box h2 { padding: 0 0 0 15px; margin: 0; }
.seasonal-christmas { background-image: url(/graphics/reindeer.gif); }
.seasonal-thanksgiving { background-image: url(/graphics/turkey.gif); }

/* Find us */
.w8-table { width: 100%; }
.w8-table td { background: #d5d3cc; padding: 0 8px; vertical-align: top; }
.w8-table td p { background: #fff; padding: 8px; }

/* Reviews */
.review-img { float: right; width: 580px; margin: 0 0 0 10px; }

/* School lunches */
.brick-tile { background: url(/graphics/brick-tile.gif); }
.pink-seperator { background-color: #e0bdce; height: 15px; width: 100%; display: block; }
.sixshooter { display: flow-root; }
.sixshooter h4 { text-transform: uppercase; font-weight: bold; }
.sixshooter .col { width: 16.66%; float: left; }
.sixshooter .col img { display: block; margin: 0 auto; padding-left: 16px; }
.paper {
  background: #fff;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.22);
  padding: 30px;
  margin: 15px 30px 15px 10px;
}
.w8-link { text-decoration: none; border: none; border-radius: 15px; background: #eee; display: block; padding: 8px; margin: 8px; }
.w8-link:hover { text-decoration: none; }

/* Utilities */
.img-responsive { width: 100%; height: auto; }
.text-center { text-align: center !important; margin: 0 auto; }
.review-title { text-align: center; }
.text-right { text-align: right; display: block; }
.m-2 { margin: 30px; }
.mr-2 { margin-right: 30px; }
.my-2 { margin: 30px 0; }
.px-1 { padding: 0 15px; }

/* ---------- Mobile ---------- */
@media (max-width: 979px) {
  body, a { font-size: 15px; }

  /* Collapsible menu under the header */
  .mobile-nav { display: block; border-top: 3px solid #bb6994; }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: bold;
    color: #bb6994;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 3px; background: currentColor; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; }
  .burger::after { top: 7px; }
  .mobile-nav ul { margin: 0; padding: 0 15px 12px 40px; background: #d5d3cc; }
  .mobile-nav li { line-height: 40px; }
  .mobile-nav a { display: block; font-size: 18px; }
  .mobile-nav a.pink { color: #bb6994; font-weight: bold; }
  .mobile-nav a[aria-current="page"] { font-weight: bold; }

  /* One column: content first, then the sidebar */
  #leftcol, #twocols { float: none; width: auto; }
  #rightcol { padding: 0 12px; }
  #leftcol { border-top: 5px solid #bb6994; margin-top: 20px; padding: 10px 12px 20px; }
  .sidebar-nav { display: none; }
  .sidebar-block { padding-left: 0; }
  .promo-box { max-width: 300px; margin-bottom: 10px; }
  .cert-thumb { margin-left: 0; }
  #main p { padding-right: 0; text-align: left; }
  .px-1 { padding: 0; }

  .photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px 0 0; }
  .photo-strip-3 { grid-template-columns: repeat(3, 1fr); }
  .photo-strip img { display: block; width: 100%; box-sizing: border-box; }

  .whats-cooking { margin: 12px 0 0; }
  .delivery-deco { display: none; }
  .delivery-menus, .seasonal-box { float: none; }
  .seasonal-box { margin: 20px 0 0; }

  .w8-table, .w8-table tbody, .w8-table tr, .w8-table td { display: block; }
  .w8-table td { padding: 1px 8px 0; }
  .map-img { box-sizing: border-box; }

  .review-img { float: none; display: block; width: 100%; box-sizing: border-box; margin: 0 0 1em; }

  .brick-tile.mr-2 { margin-right: 0; padding: 0 10px; }
  .sixshooter .col { width: 33.33%; }
  .sixshooter .col img { padding-left: 0; }
  .paper { margin: 15px 0; padding: 15px; }
  .paper img { display: block; }

  .foot-left, .foot-right { display: block; float: none; text-align: center; }
  .foot-left { padding-bottom: 6px; }
  .foot-right { padding-top: 0; padding-bottom: 20px; }
}

@media (max-width: 480px) {
  .sixshooter .col { width: 50%; }
}
