/* Reset some basic elements for consistency */
html, body, div, span, applet, object, iframe,
blockquote, pre,
a, abbr, acronym, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Main styles */

body {
    font-size: 90%;
    font-family: "Arial", "Helvetica", sans-serif; /* Order fonts from specific to generic */
    line-height: 1.13em;
    height: 100%;
}


/* Main styles */

html, body {
    font-size: 90%;
    font-family: "Arial", "Helvetica", sans-serif; /* Order fonts from specific to generic */
    line-height: 1.13em;
    height: 100%; /* Necessary for footer positioning */
}

/* Default ID styles, avoid using IDs for styles that might be reused */
.default-style {
    background-color: #FFFFCC;
    color: #000000;
}

/* Use class for images instead of ID, also avoid duplicated code */
img.centered-image, img.resize {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 35%;
    width: 20%;
    max-height: 35%;
    max-width: 20%;
}

/* Container styles */
.container {
    background-color: #ffffff;
    text-align: left;
    margin-right: auto;
    margin-left: 0;
    height: 100%;
    clear: both;
    border: none; /* 0px can be replaced with 'none' */
}

/* Center styles */
.center {
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    border: none;
}

/* Navigation bar */
.nav-bar {
    background-color: white;
    margin-bottom: 15pt;
    width: 100px;
    min-height: 100%;
    float: left;
    border-style: solid;
    border-width: 0;
    border-color: #676767;
    overflow: hidden; /* This should suffice without !important */
}

.nav-bar p {
    font-size: 95%;
    line-height: 110%;
    margin: 10px 15px 20px;
}

.nav-bar h1 {
    color: #333;
    font-size: 90%;
    font-weight: lighter;
    background-color: #f2f0f0;
    text-align: left;
    margin: 0;
    padding: 2px 8px;
}

/* Main page text */
.main-page-text {
    text-align: center;
    font-weight: bold;
    margin: 20px;
}

/* Contents styles */
.contents {
    background-color: #FFFFFF;
    color: #3d3d3d;
    margin: 0 10px 20px 180px;
    padding-right: 10px;
    height: 100%;
    border-color: #676767;
}

/* Date and footer styles */
.date-right {
    text-align: right;
}

.footer {
    padding: 0 10px 0 20px;
    height: 40px;
    font-size: small;
    position: absolute;
    bottom: 0;
    width: 100%; /* Ensure the footer spans the width of the page */
}

/* Background styles */
.new-bg {
    background-image: url('/img/paper.gif');
    color: #000000;
}

/* Necessary for footer */
.push {
    clear: both;
}

/* Clearfix for container */
.container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive footer */
.footer {
    position: relative;
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #f2f2f2;
    bottom: 0;
}

