/* * { box-sizing: border-box; margin: 0; padding: 0; }
*/
/* The body acts as a vertical flex container */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: sans-serif;
}


header {
    display: flex;
    min-height: 80px;
    background: darkgreen;
    color: white;
    padding: 2px;
    text-align: center;
}

header a {
    color: yellow;
}

header p {
    margin-top: 2px;
    margin-bottom: 2px;
}

left-hdr {
    width: 240px;
    height: 110px;
    background-image: url('/images/hillview-park-00a.jpg');
    background-size: contain;
    background-repeat: no-repeat;
}

right-hdr {
    flex: 1;
}
footer {
    background: darkgreen;
    color: white;
    padding: 10px;
    text-align: center;
}

table.list-table, th.list-table, td.list-table {
    border: 1px solid black;
    border-collapse: collapse;
}

/* The middle section acts as a horizontal flex container */
.container {
    display: flex;
    flex: 1; /* This fills the remaining vertical space */
}

nav {
    width: 200px;
    background: #f4f4f4;
    padding: 20px;
    border-right: 1px solid #ddd;
}

main {
    flex: 1; /* This fills the remaining horizontal space */
    padding: 20px;
}

.main-menu { list-style: none; padding: 0; }
.menu-item { display: block; padding: 10px; background: #eee; text-decoration: none; color: black; }

/* Hide 2nd level links by default */
.sub-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
  background: #f9f9f9;
}

/* Show sub-menu when parent is toggled */
.sub-menu.active {
  display: block;
}

/* Optional: rotate arrow or change color for active state */
.menu-item.active { background: #ccc; }
