/* reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  color: #000;
  /* width: 94%; */
}

a { color: #3e9237; }
  a:hover { color: #1f2937; }

/* Site title (separate from the menu) */
.site-header {
  padding: 20px 48px;
  background: #589e47;
}
.site-title {
  color: #fff;
  font-size: 2rem;
  /* font-weight: 300; */
  text-decoration: none;
}
  .site-title:hover {
    color: #fff;
  }

/* menu bar */
.menu-bar {
  /*position: sticky;*/   /* the menu stays at the top once you scroll past the title */
  width: 100%;
  top: 0;
  z-index: 100;
  background-color: #1f2937;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu {
  display: flex;
  justify-content: flex-start;   /* items aligned left */
  list-style: none;
  gap: 4px;
  padding: 0 30px;
}

.menu a {
  display: block;
  padding: 14px 18px;
  color: #d1d5db;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.menu a:hover {
  background-color: #374151;
  color: #fff;
}

/* Page content */
main {
  width: auto;
  margin: 24px;
  padding: 0 24px;
}

h1, h2 { margin: 0; padding: 0; }


.qsection {  width: auto; background: transparent; }


.map-mark {
  width: 12px;
  height: auto;
  margin-right: 2px;
}


/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;     /* stack text above links */
  align-items: center;        /* center horizontally */
  text-align: center;
  gap: 12px;
  padding: 20px 24px 40px;
  background-color: #1f2937;
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 16px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}



/* Small screens: let menu items wrap */
@media (max-width: 600px) {
  .menu {
    flex-wrap: wrap;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}


/* tables */
table.landing_table 
,table.schedule_table
,table.contact_table
{
  /* width: 94%; */
  width: auto;
  border-collapse: collapse;

}
  table.schedule_table
  ,table.contact_table
  {
    width: 94%;
    font-size: 1em;
    margin-top: 6px;
  }

table.schedule_table tr
,table.contact_table tr{
  border-bottom: 1px solid #000;
  text-align: left;
}
  table.schedule_table tbody tr:nth-child(2n+1)
  ,table.contact_table tbody tr:nth-child(2n+1)
  {
    background: linen;
  }

table.schedule_table th
,table.contact_table th
{
  font-size: 87.5%;
  padding: 8px 26px 3px 6px;
  border-bottom: 2px solid #000;;
}

table.schedule_table td
,table.contact_table td
{
  padding: 6px 26px 6px 6px;
  vertical-align: top;
  /* background: #ffa; */
}


table { width: 100%; margin: 0; }
.mobile_only_text { font-size: 91.25%; }

/*  MOBILE layout <=600px  */
@media screen and (max-width: 600px) {
    /* TABLES */
    thead { display: none; }
    table.schedule_table th { text-align: left; }
    tr td:first-child { font-weight: bold; padding-top: 5px; }
    tr td:last-child { padding-bottom: 5px; border-bottom: 1px solid #000; }
    tbody td { padding: 0 5px; text-align: left; vertical-align: top;}
    tbody td:before { content: attr(data-th); display: block; text-align: left; }

    table.schedule
    ,table.contacts { font-size: 91.25%; margin-top: 15px; border-collapse: collapse; }
    table.schedule tbody tr.zebra { background-color: linen; }
    table.contacts tbody tr:nth-of-type(2n) { background-color: linen; }
    table.landing_table tr td:first-child { font-weight: normal; }
    table.landing_table tr td:last-child { border-bottom: 0; }
    table.schedule td.mobile_empty, table.contacts td.mobile_empty { height: 0; padding: 0; }
    table.schedule td.spacer { height: 2px; padding: 0; border: 0; background: crimson; }

}  /* mobile break point */
/*  MOBILE layout <=600px  */

/*  NON-MOBILE layout >=601px  */
@media screen and (min-width: 601px) {
    /* TABLES (FIXED) */
    table.landing_table {
        font-size: 1em;
        line-height: 1.3;
        border-collapse: collapse;
        table-layout: fixed;  // force table cells to all render at the same width - based on 24 columns colspan //
    }
    .mobile_only_text { display: none; }
    /* TABLES (NON-FIXED) */
    table.schedule
    ,table.contacts { width: auto; margin-top: 10px; border-collapse: collapse; }
        table.schedule tbody tr.zebra { background-color: linen; }
        table.contacts tbody tr:nth-of-type(2n) { background-color: linen; }
        table.schedule tbody tr:hover, table.contacts tbody tr:hover { background: cornsilk; } /* hover overrides zebra color */

        table.schedule th
        ,table.contacts th { font-size: 87.5%; padding: 0 15px 2px 5px; border-bottom: 2px solid #000; }

        table.schedule td.spacer { height: 2px; padding: 0; border: 0; background: crimson; }
        table.schedule td
        ,table.contacts td { padding: 2px 25px 2px 5px; border-bottom: 1px solid #000; vertical-align: top;}
        table.contacts td { padding: 5px 25px 5px 5px; }
}  /* non-monile breakpoint */
/*  NON-MOBILE layout >=601px  */