.g:before {
    content: "“" ;
}
.g:after {
    content: "”" ;
}
.q:before {
    content: "«" ;
}
.q:after {
    content: "»" ;
}
.r {
    float: right ;
}
BODY {
    max-width: 42em;
    text-align: justify ;
    orphans: 3;
    widows: 3;
    font-family: sans-serif ;
}
H1 {
    text-align: center;
    border: 4px solid black;
}
H2 {
    text-align: center;
    border: 1px solid black;
}
H3 {
    margin-top: 2em ;
    display: inline-block ;
    border: 1px solid black;
}
TABLE {
    border-spacing: 0px;
    page-break-inside: avoid;
}
H2, H3, H4 {
    page-break-after: avoid;
}
H1, UL.simple > LI > A.reference {
    counter-reset: section1;
}
H2, UL.simple > LI > UL > LI > A.reference {
    counter-reset: section2;
    counter-increment: section1;
}
H2 A:before, UL.simple > LI > UL > LI > A.reference:before {
    content: counter(section1) " ";
}

H3, UL.simple > LI > UL > LI > UL > LI > A.reference {
    counter-reset:section3;
    counter-increment:section2;
}
H3 A:before, UL.simple > LI > UL > LI > UL > LI > A.reference:before {
    content:counter(section1) "." counter(section2) " ";
}
H4, UL.simple > LI > UL > LI > UL > LI > UL > LI > A.reference {
    counter-reset:section4;
    counter-increment:section3;
}
H4 A:before, UL.simple > LI > UL > LI > UL > LI > UL > LI > A.reference:before{
    content:counter(section1) "." counter(section2) "." counter(section3) " ";
}

TABLE.docutils TD, TABLE.docutils TH {
    padding-left: 0.1em;
    padding-right: 0.1em;
}

BLOCKQUOTE { margin-left: 0em }

LI { margin-top: 0.3em }
