/**********************************************************************
 * Page Layout
 **********************************************************************/

/* The body should not contribute white space */
BODY {
    margin: 0pt;
    padding: 0pt;
}
/* For some reason, this means that the contained DIVs must not
   have both padding and margin 0, because when that happens,
   firefox will install some default margins. */

BODY > DIV {
    margin: 0pt;
    padding: 0.1px;
}
/* The header and footer are gray, with horizontal padding. */
DIV#page_header {
    background: gray;
    color: yellow;
    font-family: sans-serif;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.1px;
}
DIV#page_footer {
    border-top-style: solid;
    border-width: thin;
    background: white;
    padding-top: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0.1px;
    clear: both;
}
/* The H1 in the header needs almost no top margin.  It also has
   another color. */
DIV#page_header H1 {
    margin-top: 1pt;
    margin-bottom: 0pt;
}
DIV#page_header A {
    color: yellow;
}

/* The side bar floats to the right.  
   We arrange #page_content inside #page_helper_div in such 
   a way that it fits precisely. */
DIV#page_side_bar {
    border-style: dotted;
    border-width: thin;
    float: right;
    margin: 1em;
    padding: 1em 0.5em;  
    width: 12em;/* total width: width + 2margin + 2padding = 15em */
}
DIV#page_helper_div {
    padding-right: 15em;   /* Matches the width of the side bar */
}
DIV#page_content {
    margin: 1em;
    padding: 0.1px;
}

/**********************************************************************
 * Content Layout
 **********************************************************************/

DIV#page_content PRE {
    padding: 0.5em;
    background-color: #EEE;
}

DIV.content-item {
    border-style: dotted;
    border-width: thin;
    margin-bottom: 2em;  /* inter-item spacing */
    padding: 0.5em;  /* compensated for in .pyblosxom-story-bar */
}
DIV.content-item-bar {
    margin: -0.5em;
    margin-top: 0.5em;
    padding: 2pt 0.5em;
    text-align: center;
    clear: left;
}
DIV.content-item H2 {
    margin-top: 0pt;
    font-size: 110%;
}
DIV.content-item BLOCKQUOTE {
    font-style: italic;
}
DIV.content-item IMG.content-item-pic {
    float: left;
    margin-top: 0.1px;
    margin-left: 0.1px;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}
