@import url("reset.css");

/* Fonts */

body, input, textarea { font-family: 'Droid Serif', georgia, serif; }
tt, pre, code { font-family: monaco, "Bitstream Vera Sans Mono", "Lucida Console", monospace; }

/* Font sizes */

body              { font-size: 16px; }
blockquote        { font-size: 15xpx; }
tt, pre, code     { font-size: 12px; }
footer            { font-size: 12px; }
header figcaption { font-size: 9px; }
.epigram          { font-size: 18px; }
.disclaimer          { font-size: 15px; }
.dateline         { font-size: 12px; }
.acknowledgments  { font-size: 11px; }
.contents h1      { font-size: 24px; }
.contents h2      { font-size: 18px; }

/* Colors */

.wrap     { color: #226; }
a         { color: #22f; }
.dateline { color: #66a; }
footer    { color: #999; }

/* Line heights */

p  { line-height: 1.75; }
h2 { line-height: 1.25; }
.disclaimer { line-height: 1.5; }

/* Indentation */

p               { text-indent: 24px; }
p:first-of-type { text-indent: 0; }
:not(p) + p     { text-indent: 0; }

/* Elements */

body      {
    background: url(../img/background.jpg);
    background-size: 100%;
    text-rendering: optimizeLegibility;
}

blockquote {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 24px;
}

hr.fleuron {
    height: 40px;
    margin-top: 12px;
    margin-bottom: 12px;
    border-width: 0;
    background: url("../img/fleuron.png") no-repeat scroll center;
}

hr.blank {
    height: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    border-width: 0;
}

div.disclaimer {
    /*border: thin solid #226;*/
    padding: 15px;
    font-style: italic;
}

ul, ol { margin-left: 2em; }
ol { list-style: decimal; }
ul { list-style: disc; }

em { font-style: italic; }

a:link { text-decoration: none; }
a:hover { text-decoration: underline; }

header {
    position: relative;
    overflow: hidden;
}

footer {
    margin-top: 44px;
    padding: 22px;
    text-align: center;
}

figure { margin: 0; }

figcaption {
    text-align: right;
    margin-right: 4px;
}

/* Classes */

.wrap {
    width: 760px;
    background: #fff;
    margin: 20px auto;
    border: 1px solid #226;
}

@media print {
    .wrap {
        border: none;
    }
}

.wrap > header {
    padding-bottom: 11px;
    margin-bottom: 22px;
}

.contents {
    width: 520px;
    margin: 20px auto;
}

.contents h1 {
    letter-spacing: 2px;
    padding-bottom: 12px;
    text-transform: uppercase;
}

.contents h2 {
    padding-top: 18px;
    padding-bottom: 12px;
    font-weight: 600;
}

.dateline {
    padding-top: 3px;
    margin-top: 0;
    padding-bottom: .5ex;
    margin-bottom: 10px;
}

.epigram {
    font-style: italic;
    padding-top: 24px;
    padding-bottom: 24px;
}

.acknowledgments {
    line-height: 1.25;
    padding-top: 2em;
}
