/* body stuff */
body {
    background-color: #f4f6f8;
    color: #1f2d3d;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 100%;
}

/* to allow header to get to full width */
.content_container {
    width: 85%;
    margin: 0 auto;
    margin-top: 100px;
}

/* headings */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    background: #e1e8f0;
    margin: 0;
    padding: 12px 20px;
    border-left: 6px solid #0d3a66;
    border-radius: 3px;
    color: #0d3a66;
}

h1 { font-size: 2.6em; text-align: center; }
h2 { font-size: 2.1em; margin-top: 20px; }

/* links*/
a, a:visited {
    color: #0d3a66;
    text-decoration: none;
    font-weight: 600;
}
a:hover {
    color: #062240;
    background-color: #dce8f2;
    border-radius: 3px;
    padding: 2px 4px;
}

/* headers and footers */
header, footer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #e1e8f0;
    border-top: 1px solid #0d3a66;
    border-bottom: 1px solid #0d3a66;
    padding: 12px 20px;
    box-sizing: border-box;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header li a {
    text-decoration: none;
    color: #0d3a66;
    font-weight: bold;
}

header li a:hover {
    text-decoration: underline;
}

footer { 
    bottom: 0; 
    text-align: center; 
    font-size: 0.85em; 
    color: #555; 
}

/* content wrapped */
.wrapper {
    border: 2px solid #0d3a66;
    border-radius: 6px;
    padding: 25px;
    margin-top: 100px;
    margin-bottom: 80px;
    background-color: #ffffff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

/* nav buttons */
nav button {
    background: #0d3a66;
    color: #fff;
    cursor: pointer;
    border: 0;
    font-size: 1em;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
nav button:hover { background: #062240; }

/* tables */
.mc-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 0.95em;
}

.mc-table-head, .mc-table-row {
    display: table-row;
}

.mc-table-head .detail, .mc-table-row .detail {
    display: table-cell;
    padding: 10px 12px;
    border-bottom: 1px solid #cfd8e1;
}

.mc-table-head .detail {
    font-weight: 700;
    background-color: #e1e8f0;
    color: #0d3a66;
}

.mc-table-row:hover { 
    background-color: #f0f4f8; 
    cursor: pointer;
}

/* forms */
.site-form {
    margin-top: 20px;
    padding: 18px;
    border: 2px solid #576e84;
    border-radius: 6px;
    background-color: #f1f5f9;
}

.site-form input, .site-form textarea, .site-form select {
    display: block;
    margin: 6px 0 12px 0;
    border: 1px solid #c1c9d1;
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
    padding: 6px 8px;
}

.site-form input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin-right: 6px;
}

.site-form input[type="submit"] {
    background: #0d3a66;
    border: 0;
    color: #fff;
    font-size: 1em;
    border-radius: 5px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.site-form input[type="submit"]:hover {
    background: #062240;
}

.site-form select {
    width: 30%; 
}


/* buttons */
a.button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #0d3a66;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}
a.button:hover { background-color: #062240; }


/* Responsive */
@media screen and (max-width: 560px) {
    header h1 { font-size: 1.5em; }
    nav li { display: block; margin-left: 0; margin-bottom: 6px; }
    .mc-table-row .detail { padding: 6px 8px; font-size: 0.9em; }
}
