/* Document */

html {
    padding: 0;
    font-family: Georgia, serif;
    background-color: #eee;
}

body {
    margin: 0.5em auto 0.5em auto;
    padding: 1em 2em 1.75em;
    background-color: white;
    box-shadow: 0.24em 0.25em 0.5em #ccc;
    -moz-box-shadow: 0.24em 0.25em 0.5em #ccc;
    -webkit-box-shadow: 0.24em 0.25em 0.5em #ccc;
    max-width: 70em;
    min-width: 20em;
    border: solid thin #ddd;
}

/* Titles */

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

header h1 {
    color: white;
    background-color: navy;
    padding: 0.2em 0.5em;
    font-size: 4em;
    margin: 0.5em 0;
}

h1 {
    color: #333;
    border-bottom: solid thin gray;
    font-size: 2em;
    padding: 0.2em 0;
}

p {
    min-width: 20em;
    max-width: 55em;
    margin: 1.5em 0;
}

h2, h3, h4, h5, h6 {
    max-width: 36.5em;
}

ul {
    max-width: 55em;
}

/* Text */

tt, pre, code, samp, kbd {
    font-family: Consolas, "Lucidia Console", "Bitstream Vera Sans Mono",
    	"Courier New", monospace;
}

.codeword {
    font-variant: small-caps;
}

/* Breadcrumbs */

#crumbs {
    padding: 0.2em 0 0;
}

#crumbs .crumb {
    color: silver;
    padding: 0 0.1em;
}

#crumbs a {
}

/* Search */

#search {
    float: right;
    background-color: white;
    padding: 0 0.5em;
    margin-bottom: 0.5em;
}

#search input {

    padding: 0.1em;
}

/* Content */

.content {
    line-height: 150%;
    max-width: 55em;
}

/* Boxout */

.boxout {
    float: right;
    padding: 0.1em;
    margin: 0em 1.5em 0.25em;
    background-color: #eee;
    border: solid 0.1em white;
    line-height: 1px; 				/* See [BOXOUT-LINEHEIGHT] */
    box-shadow: 0.25em 0.25em 0.5em #ccc;
    -moz-box-shadow: 0.25em 0.25em 0.5em #ccc;
    -webkit-box-shadow: 0.25em 0.25em 0.5em #ccc;
}

.boxout img {
/*    width: 100%; */
}

.caption {
    padding: 0.5em 0.25em;
    line-height: 150%;
}

/* Pre-formatted */

pre {
    margin: 1em 0em;
}

.console {
    color: #333; 
    padding: 2ex; 
    border: 0;
    line-height: 110%;
    border: thin solid #eee;
    border-left-width: 2em;
    background-color: #f9f9f9;
}

code .comment {
    color: navy;
}

/* In-line box: Caution */

.caution {
    margin: 2em 0em 1em 5em;
    background-color: yellow;
    padding: 0.75em;
    border: thin solid black;
    line-height: 150%;
    display: list-item;
    list-style-image: url('/decor/hazard');
    list-style-position: outside;
}

.caution::marker {
    margin-right: 2em;
    padding: 0.5em;
    border: solid black 1px;
}

/* horizontal rule */

hr {
    text-align: center;
    width: 80%;
    border: none;
    border-top: dotted thin silver;
}

/* footnotes */

.footnotes {
    border-top: dotted thin silver;
    padding: 1em 0em;
}

.footnotes dd:target {
    background-color: yellow;
}

/* address */

.address {
    background-color: #eee;
    border-left: medium solid silver;
    padding: 0.5em;
    max-width: 25em;
}

/* footer */

#footer {
    background-color: #eee;
    color: gray;
    padding: 0.5em 1em 1.5em;
    text-align: right;
    margin-top: 5em;
    margin-right: -2em;
    margin-left: -2em;
    margin-bottom: -6em;
}

#footer dt {
    display: inline;
}

#footer dd {
    padding: 0 0 0 0.25em;
    margin: 0;
    display: inline;
}

/* header */

#navigation {
    padding: 0em;
    margin: 0em;
}

#navigation li {
    display: inline;
    margin: 0;
    padding: 0 1em 0 0 ;
}

#navigation li:after {
    content: "|";
    display: marker;
    color: silver;
    padding-left: 1em;
}

.postnominal {
    font-size: 40%;
    font-variant: small-caps;
}

/* 
 * [BOXOUT-LINEHEIGHT]
 *     Work-around rendering bug in WebKit (Safari):
 *     Boxes were set to be a multiple of line-height; in my test configuration,
 *     21px.  For an image of height 150px, this left a gap of 6px. 
 */


