/* Typography and Headings */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  margin: 1em;
}
h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
  margin-top: 2em;
}
h3 {
  padding-bottom: 0.2em;
  margin-top: 2em;
}
h4 {
  padding-bottom: 0.1em;
  margin-top: 1em;
  font-style: italic;
}

/* Paragraph Formatting */
p.center {
  text-align: center;
}
p.green {
  color: #04BD1C;
}

/* Lists */
ul.spaced li {
  margin-bottom: 0.5em;
}
ul.dot-points li {
  margin-bottom: 0.5em;
  list-style-type: disc;
}

/* Images */
img.right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}
img.left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}
img.block {
  display: block;
  margin: 0 auto;
}

/* Tables */
table {
  margin: 1em 0;
}
table.left-aligned-table td, 
table.left-aligned-table th {
  text-align: left;
  padding: 8px; 
  border: 1px;
}
td, th {
  text-align: center;
  padding: 8px;  
  border: 1px;
}
.green-cell {
  background-color: #33ff33;
}
.lightgreen-cell {
  background-color: #99ff99;
}

/* Utility */
div.flexbox {
  display: flex;            /* allows images and text to be vertically centered */
  align-items: center;
}
.no-border {
  border: none !important;
}
.no-margin {
  margin: 0 !important;
}
.centered {
  text-align: center;
}
.indented {
  margin-left: 2em;
}

#main-content {
   margin-left: 240px;
   padding: 2em;
}
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100%;
  background-color: #f8f8f8;
  border-right: 1px solid #ddd;
  padding: 1em;
  overflow-y: auto;
}
#sidebar h2 {
  font-size: 1.1em;
  margin-top: 0;
}
#sidebar ul {
  font-size: 0.9rem;
  line-height: 1.0rem;
  list-style: none;
  padding-left: 0;
}
#sidebar li {
  margin: 0.5em 0;
}
#sidebar ul ul {
  margin-left: 0.5em; /* Adjust indent here */
  padding-left: 0.5em;
}
#sidebar a {
  text-decoration: none;
  color: #333;
}
#sidebar a:hover {
  text-decoration: underline;
}

@media print {
  #sidebar {
    display: none;
  }
  #main-content {
    margin: 0;
    padding: 0;
  }
}
