/*
    8.75in: 840px
    .25in: 24px
*/

body {
    background-color: #f5f5dc;
    font-family: "Bitstream Charter", georgia, "times new roman", serif;
    margin: 0px 0px 0px 0px;
}

h1 { font-size:2.7em;  /* 16x2.25=36 */ }
h2 { font-size:1.8em; font-weight: 300; margin-top: 0px; /* 16x1.5=24 */ }
h3 { font-size:1.35em; font-weight: 300; /* 16x1.125=18 */ }
h4 { font-size:1.05em; font-weight: bold; /* 16x0.875=14 */ }
p, li, blockquote { font-size:.95em;  /* 16x0.75=12 */ }
li li { font-size: 1em; font-style: italic; }
li li li {font-size: .8em; font-style: normal; }

ul.simple {
    padding-left: 0px;
    list-style: none;
    margin-top: 0px;
}

ul.simple li {
    margin-bottom: 6pt;
}

a:active, a:hover, a:link, a:visited { 
    color: red;/*#000c47;*/
}

h1, h2, h3, h4, h5, h6 { margin-bottom: .5em; margin-top: 0px; }

#content {
    display: table;
    border-left: 1px dotted #DCDCDC;
    border-right: 1px dotted #DCDCDC;
    padding-top: 1em;
}

#content p {
    margin-top: 0em;
}

#content .title > a { text-decoration: none; }
#content .title > a:hover { text-decoration: underline; }

#header, #navigation, #content,#sub-navigation, #breadcrumb, #footer {
    margin-left: auto;
    margin-right: auto;
    width: 840px;
    background-color: white;
}     

#breadcrumb {
    padding-bottom: .25em;
    border-left: 1px dotted #DCDCDC;
    border-right: 1px dotted #DCDCDC;
}

#breadcrumb p {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 48px;
}

.column {
    float:left;
    background-color: white;
}

.single {
    width: 528px;
    padding-left: 48px;
    padding-right: 24px;
}

.double {
    width: 240px;
    padding-right: 24px;
}

.columnA {
    padding-left: 48px;
}

.columnB {
    padding-left: 24px;
}

/* these are for nested columns */
.column .double { 
    padding-right: 0px;
}

.column .columnA { padding-left:0px; padding-right: 24px}
.column .columnB { padding-right: 0px}

#sidebar {
    /*display: table-cell;*/
    float:right;
    padding-left: 0px; /*24px; -- removed for the sake of webkit*/
    width: 168px;
    padding-right: 48px;
    background-color: white;
}

#sidebar ul { padding-left: 1em; }
/*
#sidebar h3 { text-align: center; }
#sidebar h4 { text-align: center; }
#sidebar h5 { text-align: center; }
#sidebar h6 { text-align: center; }
*/

/* red background 640000 */
#header {
    height: 58px; /*72px;*/
    background-image: url("../images/logo-small.png");
    background-color: black; /*#000c47;*/
    background-repeat: no-repeat;
}

#header a {
    text-decoration: none;
    color: white;
}

#header h1 {
    font-size: 1.3em;
    position: relative;
    text-align:center;
    top: 18pt; /*26pt;*/
    left: 62pt; /*1.1in;*/
    display: inline;
    color: white;
}

#header h2 { display: inline; }
#header h3 { display: inline; }

#navigation {
    border: 1px dotted #DCDCDC;
    text-align: center;
    font-variant: small-caps;
    text-transform: lowercase;
}

#navigation ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#sub-navigation ul {
    margin: 0px;
    list-style-type: none;
}

#navigation ul li {
    display: inline; 
    padding-right: .5em;
    padding-left: .5em;
}

#navigation a {
    color: black;
    text-decoration: none;
    font-size: 1.2em;
}

#sub-navigation {
    background-color: white;
}

#sub-navigation ul li {
    display: inline; 
    padding-right: 2em;
    padding-left: 2em;
    font-style: italic;
    color: white;
}

#navigation .selected {
    color: white;
    background-color: white;
}

#footer {
    font-family: sans-serif;
    background-color: #DCDCDC;
    border: 1px dotted #DCDCDC;
    padding-top: .5em;
}

#footer .validation {
    text-align: right;
}

#footer p {
    margin-top: 0px;
    margin-bottom: 0px;
}

#footer ul {
    list-style-type: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
}

#footer li {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

#footer > div {
    float:left;
}

.function {
    float: right;
    font-family: sans-serif;
    font-size: .75em;
    text-transform: uppercase;
    padding-right: 24px;
}

#content .function {
    padding-right: 0em;
}

.gallery {
    
}

.album-photo {
    display: table;
    padding-bottom: 2em;
}

.album-photo .image {
    display: table-cell;
}

.album-photo .meta-data {
    display: table-cell;
    vertical-align: top;
    padding-left: 24px;
}

.album-photo .meta-data * {
    margin-bottom: .5em;
}

.album-photo .title {
    font-weight: bold;
    margin-bottom: 0em;
}

.page-numbers {
    float:right;
    clear:both;
}

blockquote {
    font-style: italic;
    padding: 0px 12pt 0px 12pt;
}

img {
    border: 1px solid black;
}

img.icon {
    border: 0px solid black;
}

.title {
    margin-bottom: .25em;
}

.subtitle {
    font-style: italic;
}

.author {
    display: inline;
    font-style: italic;
    margin-top: .2em;
}

.date {
    font-size: .8em;
    color: #999999;
    margin-top: 0px; 
    margin-bottom: 0px;
}

/* this is a container for an image and caption */
div.figure {
    width: 9em;
    border: 1px dotted black;
    padding-left: .5em;
    padding-right: .5em;
}

div.figure h2 {
    font-size: 0.875em;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
}

.align-right {
    float: right;
    margin-left: 1em;
}

.align-center {
    margin-right: auto;
    margin-left: auto;
}

.align-left { 
    float: left;
}

/* this is an image with a caption */
div.image img {
    margin-right: 0px;
    margin-left: 0px;
    clear: both;
}

/* this is an image caption */
.caption {
    text-align: left;
    margin-top: 0px;
    line-height: 1.5em;
    font-size: .65em;
    font-style: italic;
    font-family: sans-serif;
}

.caption a {
    text-decoration: none;
}

.caption a:hover {
    text-decoration: underline;
}

div.tabular td {
    font-size:0.75em;
    padding-right: 2em;
}

div.tabular table {
    border-bottom: 1px solid black;
    border-collapse: collapse;
    margin-bottom: 1em;
}

div.tabular thead tr td {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    
}

.commentlist > li {
    font-size: 1em;
}

/* Meta data proceeding blog posts */
.postmetadata {
    font-style: italic;
}

dt {
    font-style: italic;
}

dt a {
    text-decoration: none;
}

dt a:hover {
    text-decoration: underline;
}

li.reading {}
li.reading .description { font-style:italic; }
