html
{
    background-color: rgb( 167, 167, 167);
    color: black;
}

body
{
    font-family: Helvetica, sans-serif;
    font-size: 12pt;
    padding: 0.139in; /* about 10 pixels */
    margin: 0px;
    text-align: center; /* work around an ie 5 bug */
}

#page
{
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 8in;
    position: relative;
}

/* full-page content items */

.wide-content
{
    width: 8in;
}

/* mostly content-pane stuff */

.content
{
    width: 5.361in;
    position: absolute;
    left: 0in;
}

.content, .sideitem, .wide-content
{
    margin-top: 0.142in; /* about 10 pixels */
    padding-bottom: 0.142in; /* about 10 pixels */
}

.content-sub-box, .wide-content-sub-box, .sideitem-sub-box
{
    margin: 0in;
    padding: 0.139in; /* about 10 pixels */
    background-color: white;
    color: black;
    border: 1px solid black;
}

.content ul, .sideitem h4
{
    margin-top: 0in;
    margin-bottom: 0in;
}

.content, #nav-bar, .bottom-nav-switch
{
    margin-left: auto;
    margin-right: auto;
}

#cast-content
{
    padding-top: 0in;
    padding-bottom: 0in;
}

#rant-content
{
    padding-top: 0in;
}

#cast-content p
{
    margin-top: 0.139in;
    margin-bottom: 0in;
}

#archive-content
{
    text-align: center;
}

#archive-content table
{
    margin-left: auto;
    margin-right: auto;
}

#archive-content h2
{
    margin-bottom: 0.139in;
}

#archive-content .date, #archive-content .rant-link
{
    white-space: nowrap;
}

img.comic
{
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    margin-top: 0.142in;
    margin-bottom: 0.142in;
    padding: 0in;
}

.cast-entry img
{
    float: right;
    margin-left: 1ex;
}

.post, .cast-entry
{
    padding-top: 0.139in; /* about 10 pixels */
    padding-bottom: 0.139in; /* about 10 pixels */
}

.post-header
{
    height: 1in;
    position: relative;
}

.post-header-text p
{
    position: absolute;
    left: 1.2in;
    bottom: 0px;
    margin: 0in;
}

.post-header img
{
    float: left;
    margin-right: 1em;
    height: 1in;
    width: 1in;
    border: 1px solid rgb( 167, 167, 167);
}

.post-body, .post-body ul
{
    padding-top: 0.139in;  /* about 10 pixels */
}

td.date, td.desc, .post-header-text p
{
    font-size: 10pt;
}

td.date, td.desc, td.form-desc
{
    text-align: right;
}

td.desc
{
    vertical-align: top;
}

.comic-title
{
    text-align: center;
}

.sort-by
{
    margin-top: 2pt;
    text-align: right;
    font-size: 10pt;
}

/* mostly sidebar stuff */

#sidebar
{
    width: 2.485in;
    margin-left: 0.142in; /* about 10 pixels */
    padding: 0in;
    position: absolute;
    right: 0in;
}

.sideitem
{
    padding: 0in;
}

.sideitem-sub-box
{
}

#search-inputs
{
    width: auto;
    margin-left: 0in;
    margin-right: auto;
}

input.search-submit
{
    width: 15%;
    margin-left: 1%;
}

input.search-box
{
    width: 80%;
}

#extra
{
    padding-top: 0in;
}

#extra h4
{
    padding-top: 0.142in;
}

/* nav */

#nav
{
    width: 8in;
    clear: both;
}

#nav-sub-box
{
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 0.142in; /* about 10 pixels */
}

img{
    border: 0in;
}

img.nav-button, img.nav-title
{
    padding: 0in;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.03in;
    margin-right: 0.03in;
}

img.nav-button
{
    width: 1.427084in;
    height: 0.447917in;
    position: relative;
    bottom: 0.203125in;
}

img.nav-title
{
    width: 1.47917in;
    height: 0.85417in;
}

#bottom-nav
{
    position: relative;
    text-align: center;
    height: 0.364584in;
    background-color: rgb( 193, 191, 254 );
    color: black;
    overflow: hidden;
}

#bottom-nav img
{
    height: 0.364584in;
}

.bottom-nav-prior
{
    position: absolute;
    left: 0in;
}

.bottom-nav-next
{
    position: absolute;
    right: 0in;
}

/* sundry */

.form-submit
{
    text-align: right;
    margin-right: 0in;
    margin-left: auto;
}

td.title, td.data
{
    padding-left: 0.139in; /* about 10 pixels */
    padding-right: 0.139in; /* about 10 pixels */
    text-align: left;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: bold;
}

h2
{
    font-size: 16pt;
}

a.bookmark, a.bookmark:hover, a.bookmark:visited
{
    color: inherit;
    background: inherit;
}

a, a:hover
{
    color: rgb( 102, 102, 255 );
    background: inherit;
}

a:visited
{
    color: rgb( 167, 167, 167);
    background: inherit;
}

p, form, h2
{
    margin: 0in;
}

/*textarea
{
    width: 100%;
    height: 20em;
}*/

@media print
{
    body 
    {
        background-color: white;
        color: black;
        margin: auto;
    }
    
    #nav, #sidebar, #bottom-nav
    {
        display: none;
    }
    
    .content, .content-sub-box, .wide-content, .wide-content-sub-box
    {
        border: 0px;
        border-style: none;
        width: 100%;
        margin: 0px;
    }
}

