body {
    font-family: Georgia;
    font-size: 12px;
}

@font-face {
    font-family: 'titolo';
    src: url('Prida65.otf');
}

@page {
    margin: 15mm 15mm 15mm 15mm;
}

.nova-pagxo {
    height: 100%;
    page-break-after: always;
}

img {
    border: 7px solid #554433;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    margin-left: 2.5em;
    float: right;
    clear: right;
    page-break-inside: avoid;
    display: none
}

.titolo-libro {
    font-size: 40px;
    font-family: titolo;
    text-align: center;
}

.subtitolo-libro {
    font-size: 20px;
    text-align: center;
}

.permisilo, .informo, .tradukinda, .navigado, .senerarigo, .supra-navigilo {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #58352C;
    font-family: Arial;
    letter-spacing: 0.1em;
    margin-bottom: 0px;
    margin-top: 25px;
    page-break-after: avoid;
}

h4 + ul {
    page-break-before: avoid;
}

h4 + p {
    page-break-before: avoid;
}

h1 {
    font-family: titolo;
    text-align: center;
    border-bottom: 2px solid #D8CCC0;
    margin-bottom: 25px;
    margin-top: 10px;
    font-size: 30px;
}

h2 {
    border-bottom: 2px solid #D8CCC0;
    clear: right;
    font-size: 16px;
}

h2.sub {
    font-family: Arial;
    font-size: 16px;
    font-weight: normal;
}

h4 {
    font-family: Arial;
    color: #000000;
    border-bottom: 2pt solid #000000;
    padding: 2px;
    clear: right;
}

h5 {
    font-size: 14px;
}


h1 + p, h2 + p {
    margin-top: 15px;
}

h3 + p {
    margin-top: 5px;
}

h4 + h5 {
    margin-top: 10px;
}

h5 + p {
    margin-top: 5px;
}

p {
    margin-bottom: 0.5em;
    line-height: 1.4em;
    text-align: justify;
}

p + p {
    margin-top: 0.5em;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin-top: .5em;
    margin-bottom: .5em;
}

ul li {
    list-style-type: none;
    text-indent: -2em;
    padding: 5px;
    line-height: 1.5em;
    page-break-inside: avoid;
}

table {
    font-family: Arial;
    font-size: 9px;
    border-collapse: collapse;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: none;
    margin-top: 2em; 
    margin-bottom: 2em; 
    page-break-inside: avoid;
}

table.granda {
    page-break-inside: auto;
}

tbody {
    border-top: 2px solid #202020;
    border-bottom: 2px solid #202020;
}

table.glita {
    page-break-inside: avoid;
    float: right;
    clear: right;
    margin-left: 3em;
}

table caption {
    color: #58352C;
    font-family: Arial;
    font-weight: bold;
    font-size: 13;
    font-variant: small-caps;
    letter-spacing: 0.15em;
    margin-bottom: 0.2em;
}

tr th {
    text-align: left;
    padding-right: 1em;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    font-variant: small-caps;
}

th[colspan] {
    text-align: center;
}

tr.nova-sekcio {
    border-top: 2px solid #202020;
    font-weight: bold;
    font-variant: small-caps;
}

tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

tr.malsupra-linio {
    border-bottom: 2px solid #202020;
}

tr.supra-linio {
    border-top: 2px solid #202020;
}

td {
    padding-right: 1em;
    padding-top: 3px;
    padding-bottom: 3px;
    border-left: none;
    border-right: none;
}

.desxovo-1 {
    text-indent: 1em;
}

.desxovo-2 {
    text-indent: 2em;
}

.desxovo-3 {
    text-indent: 3em;
}

.sercx-enhavo {
    color: #58352C;
}

ul.sercxrezulto li a {
    font-weight: bold;
}
