body {
    background: #ffffff url(img.jpg) repeat-x;
    font-family: "Trebuchet MS", Verdana, serif;
}

#container {
    margin: 0 auto;
    width: 750px;
}

/* HEADER */
#header {
    width: 100%;
}

#header h1 {
    margin-bottom: 0px;
    font-size: 28px;
    font-weight: bold;
    color: #A40008;
}

.content h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #A40008; /* red tone restored */
}

.content h3 {
    color: #A40008;
}

#sub_header {
    text-align: right;
    font-weight: bold;
    font-size: 20px;
    color: #A40008;
    padding-right: 20px;
    padding-bottom: 20px;
}

/* MAIN CONTENT AREA */
#main_content {
    margin: 0 auto;
    width: 100%;
    background: #FFFFFF url('background_content.gif') repeat-y;

    /* Modern layout: replaces floats */
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

#main_content_top {
    height: 30px;
    background: #FFFFFF url('background_top.gif');
}

#main_content_bottom {
    height: 30px;
    background: #FFFFFF url('background_bottom.gif');
}

/* CONTENT COLUMN */
.content {
    width: 510px;
    text-align: justify;
    padding: 0 30px;
    font-size: 12px;
    margin-top: 0;
    padding-top: 0;

    /* Remove float */
    /* float: left; */
}

/* MENU COLUMN */
.menu {
    width: 129px;
    padding: 0 20px;
    border-left: #A40008 1px solid;
    font-size: 12px;
    margin-top: 0;
    padding-top: 0;

    /* Remove float */
    /* float: right; */

    /* Flex item behavior */
    flex-shrink: 0;
}

.menu_title {
    font-size: 18px;
    font-weight: bold;
    color: #A40008;
}

.menu ul {
    margin: 0;
    padding: 10px 0 20px 15px;
}

.menu li {
    padding-top: 2px;
    list-style-type: circle;
}

/* FOOTER */
#footer {
    text-align: center;
    font-size: 12px;
    margin: 10px auto;
}

/* LINKS */
a {
    color: #A40008;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #A40008;
    font-weight: bold;
    text-decoration: underline;
}

a.menu_link {
    color: #000000;
    font-weight: bold;
    text-decoration: underline;
}

a.menu_link:hover {
    color: #A40008;
    font-weight: bold;
    text-decoration: none;
}

/* QUOTES */
.quote {
    margin: 20px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
}

/* TEXT COLORS */
.green-text { color: #009879; }
.bold-text { color: #000000; }
.white-text { color: #ffffff; }
.red-text { color: #ff0000; }

/* SELECTION */
::selection {
    background-color: #F44;
    color: #FFF;
}

/* FIELDSET / LEGEND (unchanged) */
FIELDSET {
    padding: 0 1em 1em 1em;
}

LEGEND {
    font-size: 18px;
    color: #A40008;
    padding: 1em;
}


.content-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 16px;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    font-family: Calibri, Arial, Garamond, serif;
    margin-bottom: 30px; /* consistent gap between tables */
}

.content-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 2px 5px;
    vertical-align: middle;
    font-family: calibri, arial, garamond, serif;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.content-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


.title-cell {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  padding: 20px 0;
  line-height: 3.0;
  background-color: #009879;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #ffffff; /* ← thin white line */
  color: #ffffff;
}