html {
font-size:1.2rem;
}

header#titologenerale {width:620px;}

h1, h2, h3, h4, h5
{text-align:center;}

h1, h2,
header#titologenerale h4
{text-transform:uppercase;}

figure#affresco figcaption h2 {font-weight:normal;}

section#testo h3 {
font-variant:small-caps;
font-weight:normal;
}

section#testo h3 + h3.grande {text-transform:uppercase;}

h4 {
font-variant:small-caps;
font-weight:normal;
}

h5 {
font-size:1em;
text-align:center;
font-weight:normal;
margin-top:1.5em;
margin-bottom:.5em;
}

h5.titolodestra {
text-align:right;
font-weight:normal;
font-variant:small-caps;
margin-top:0;
margin-bottom:.5em;
}

h6 {
font-size:1em;
text-align:center;
font-weight:normal;
margin-top:0;
margin-bottom:.5em;
}

*.corsivo {font-style:italic;}

span.minuscolo {
font-variant:normal;
text-transform:none;
}

a[href*="#nota"] {font-weight:bold;}

p {
text-indent:1em;
margin:0 0 .5em 0;
}

p#epigrafe {
text-align:center;
text-transform:uppercase;
line-height:140%;
}

blockquote {
font-style:italic;
}

blockquote i {
font-style:normal;
}

blockquote#grisella,
blockquote#delaporta
{margin-left:4em;}

blockquote#grisella span#sin {
position:absolute;
display:inline-block;
left:3em;
}

blockquote#grisella span#dex {
position:absolute;
display:inline-block;
left:25em;
}

blockquote#vmmorano {
text-align:center;
font-style:normal;
}

span.greco {font-family:"Cardo";font-style:normal;}

span#aprilis {
display:inline-block;
margin-left:4em;}

td p:first-child {
text-indent:0;
}

section.chiese h4,
h4#sansebastiano > h5 {text-align:right;}

table, tr, td {
margin:0;
padding:0;
}

table.cronologia {
width:100%;
margin-bottom:1em;
}

table.cronologia tr td:first-child {
width:4em;
white-space:nowrap;
text-align:right;
padding-right:.5em;
}

table.cronologia tr td[colspan] {
text-align:left;
padding:0 0 .5em 1em;
}

td h6 {margin-bottom:0;}

ol#coppier1727 {
list-style-type:none;
margin:0 0 0 1em;
padding:0;
}

ol#coppier1727 li {
text-indent:-1em;
}

ol#pensioni1743 {
list-style-type:none;
margin:0 0 0 1em;
padding:0;
}

ol#pensioni1743 li {
text-indent:-1em;
}

ol#pensioni1770 {
list-style-type:none;
margin:0 0 0 1em;
padding:0;
}

ol#pensioni1770 li {
text-indent:-1em;
}

section#prefa h2,
section#prefa p {
font-style:italic;}

section#prefa p i {
font-style:normal;}

section#prefa p.firma {
font-style:normal;
margin-right:2em;}

section#prefa p.data {
font-style:normal;
text-indent:0;}

span.numordine {
display:inline-block;
position:absolute;
left:32px;
}

table#demo1, table#demo2 {
margin:0 auto;
}

table#demo1 th {
font-weight:bold;
}

table#demo2 th {
font-weight:normal;
}

table#demo1 th, table#demo1 td,
table#demo2 th, table#demo2 td {
padding:.2em;
text-align:center;
}

table#demo1 th,
table#demo1 td,
table#demo2 td {
border-right:solid 1px black;
border-left:solid 1px black;
}

table#demo1 tr th,
table#demo2 tr:nth-child(2) td {
border-top:solid 2px black;
}

table#demo1 tr th:first-child,
table#demo1 tr td:first-child,
table#demo2 tr td:first-child {
border-left:solid 2px black;
}

table#demo1 tr th:last-child,
table#demo1 tr td:last-child,
table#demo2 tr td:last-child {
border-right:solid 2px black;
}

table#demo1 td:nth-child(2),
table#demo1 th:nth-child(2),
table#demo1 td:nth-child(4),
table#demo1 th:nth-child(4),
table#demo1 td:nth-child(6),
table#demo1 th:nth-child(6),
table#demo1 td:nth-child(8),
table#demo1 th:nth-child(8),
table#demo2 td:first-child {
border-right:double black;
}

ul#indice {
list-style-type:none;
width:100%;
}

ul#indice li {width:100%;}

ul#indice li span {
display:inline-block;
padding:.1em .2em;
vertical-align:top;
_border:solid thin red;
}

ul#indice li span:nth-child(1) {width:4em;}
ul#indice li span:nth-child(2) {width:20em;}
ul#indice li span:nth-child(3) {
width:2em;
padding-left:1em;
text-align:center;
vertical-align:bottom;
}

ul#indice li span:nth-child(4) {
width:2em;
text-align:right;
vertical-align:bottom;
}

ul#indice li.tit span.pged {padding:.5em 0;}
