@import url("reset.css");
@import url('https://fonts.googleapis.com/css?family=Rokkitt:300,600,700|Source+Code+Pro');

/* Fonts */

body          { font-family: Rockitt; }
tt, pre, code { font-family: 'Source Code Pro'; }
pre i         { font-family: Rockitt }

/* Font sizes */

blockquote        { font-size: 15px; }
body              { font-size: 16px; }
div.notes         { font-size: 14px; }
footer            { font-size: 12px; }
header figcaption { font-size: 9px; }
code              { font-size: 14px; }
tt                { font-size: 12px; }
pre               { font-size: 12px; }
pre code          { font-size: 12px; }
pre i             { font-size: 14px; }

.acknowledgments  { font-size: 11px; }
.backlink         { font-size: 10px; }
.contents h1      { font-size: 24px; }
.contents h2      { font-size: 18px; }
.dateline         { font-size: 12px; }
.disclaimer       { font-size: 15px; }
.epigraph         { font-size: 16px; }
.marker           { font-size: 10px; }
.preface          { font-size: 14px; }

/* Colors */

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

pre em { font-weight: 900; background: #ddf; padding: 1px 0; }

/* Line heights */

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

/* Indentation */

p     { text-indent: 0;}
p + p { text-indent: 1em; }
.interview p {
    text-indent: 0;
    padding-top: 10px;
}

/* 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/fleuron12.svg") 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: 3em;
    padding-bottom: 6px;
}
/*li p { line-height: 1.25; }*/
li { padding-top: 9px; }
ol { list-style: decimal; }
ul { list-style: disc; }

i { font-style: italic; }
em { font-style: italic; }
b { font-weight: 600; }

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

header {
    position: relative;
    overflow: hidden;
}

footer {
    margin-top: 22px;
    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;
}

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

.preface {
    font-style: italic;
    padding-top: 12px;
    padding-bottom: 24px;
    padding-left: 1em;
    padding-right: 1em;
}

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

pre {
    margin: 3px;
    padding: 7px;
    line-height: 1.25;
}

pre + pre {
    padding-top: 4px;
}

sub {
    vertical-align: sub;
    font-size: 60%;
}
sup {
    vertical-align: super;
    font-size: 60%;
}

.marker, .backlink {
    font-weight: 600;
    vertical-align: baseline;
    position: relative;
    top: -0.8em;
    text-decoration: none;
}

div.notes {
    margin-top: 3em;
    border-top: 1px solid;
    line-height: 1.5;
}

div.note {
    margin: 1em 0;
}

div.centeredimage {
    padding: 1em;
    text-align: center;
}


dl {
    padding: 1em 0;
    line-height: 1;
}

dt {
    line-height: 1.25;
    float: left;
    clear: left;
    width: 120px;
    text-align: right;
    font-weight: bold;
    padding: 1em 0 0 0;
}

/*dt::after {
    content: ":";
}*/

dd {
    line-height: 1.25;
    margin: 0;
    margin-left: 130px;
    padding: 1em 0 0 0;
}

dd p {
    line-height: 1.25;
    padding: 0;
}
