/*
-------------------
www.fondazionecarifano.it
Author:   Fondazione Cassa di Risparmio di Fano
Version:  august 2012
------------------- */

/* overall cleaning */

html{color:#333;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td,section,footer,header,nav{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}
del,ins{text-decoration:none;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:baseline;}
sub{vertical-align:baseline;}
legend{color:#333;}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}

/* doc structure */
body {margin:0; padding:0; font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:81.25%; line-height:1.385em /* 18px */; background-color:#7195a4;}

section {width:70.869em; margin:0 auto; padding:0 3.077em 1em; background-color:#f8f8f8;}
header {padding:1.385em 0; -webkit-transition:background-color 1s, color 1s; -moz-transition:background-color 1s, color1s; -o-transition:background-color 1s, color 1s; transition:background-color 1s, color 1s;}
header a:link, header a:visited {color:#3c4e56;}
header a:hover, header a:active {color:#f8f8f8;}
header:hover {background-color:#3c4e56;}
header img {float:left;}
header div {width:46.154em; margin:0 0 0 24.615em; padding:0;}
header div>p {font-size:1.154em;/* 15 px */ padding:0 0 1.2em;/* 18px */ margin:0; line-height:1.2em;}
header h1+p {font-size:1.154em; padding:1.2em 0 0; line-height:1.2em; margin:0;}

nav {width:21.538em; margin:1.385em 0; float:left; border-top:1px solid #7195a4;}

article nav {margin:0 0 1.5em; border-top:none; width:100%; font-size:.92em;}
article nav a:link, article nav a:visited {float:right; width:10em; text-align:right;}
article nav a:first-child {float:left; width:10em; text-align:left;}
article nav span {font-size:1.5em; font-weight:bold;}

article {width:46.154em; margin:1.385em 0 0 24.615em; padding:0; border-top:1px solid #7195a4;}

footer {padding:2em 0; border-top:1px #7195a4 solid;}
aside {width:21.538em; float:left;}
footer section {width:44.154em; padding:0 0 0 2em; margin:0 0 0 24.615em; border-left:1px solid #7195a4;}
footer h2 {font-size:1em; margin-top:1.385em; padding-bottom:2em; line-height:1.385em}
footer section ul li {margin-bottom:1em; border-bottom:1px solid #eee;}
.imgbrdr {padding:.385em; border:solid 1px #7195a4; background-color:#f8f8f8; -webkit-border-radius:4px; -webkit-border-radius:4px; -moz-border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -o-border-radius:4px; border-radius:4px; border-radius:4px;}

.rotateneg {-webkit-transform: rotate(-1deg);
-moz-transform: rotate(-1deg);
-o-transform: rotate(-1deg);
-ms-transform: rotate(-1deg);
transform: rotate(-1deg);}

/*.rotatepos {-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
-o-transform: rotate(2deg);
-ms-transform: rotate(2deg);
transform: rotate(2deg);}*/

.shadow {display:block; box-shadow:.2em .2em .1em rgba(0,0,0,0.1);}
.wrapper {
display: block;
clear: both;
height: 0px;
visibility: hidden;
width: 100%;}

/* typo */

a:link, a:visited {color:#3c4e56; text-decoration:none;}
a:hover, a:active {text-decoration:underline;}
header a:hover {text-decoration:none;}
h1 {font-size:1.385em /* 18px */; margin:0; line-height:1em; padding:0 0 2em;}

h2 {font-size:1.154em /* 15px */; padding-bottom:2.4em /* 36 px */; line-height:1.2em /* 18px */;}

h3 {font-weight:bold; margin-bottom:1.385em /* 18px */; text-transform:uppercase;}

p {padding-bottom:1.385em;}
strong {font-weight:bold;}
em {font-style:italic;}
small {font-size:.84em; line-height:1.636em; padding-bottom:1.636em; display:inline-block;}

/* accordion */
ul.topnav {list-style: none;}

ul.topnav li {margin-bottom:.5em; border-bottom:1px solid #eee;}

ul.topnav li a {display: block;
	text-decoration:none;}

ul.topnav li a:hover {text-decoration:underline;}

ul.topnav ul {margin:0; padding: 0; display: none;}

ul.topnav ul li {margin:0;padding:0; padding-bottom:.5em; border-bottom:none;}

ul.topnav ul li {padding-left:1.538em;}

ul.topnav ul ul li {padding-left:1.538em; border-bottom:none;}
/*ul.topnav ul ul li a:first-line {text-indent:-1em;}*/

ul.topnav span{float:right;}

/* imgs per tavole */
#tavole a {margin-right:.5em; font-weight:bold; width:2em; display:inline-block; text-align:center;}
#tavole a:hover {text-decoration:underline;}
#rightcolumn {margin:1em 0; width:45em; background-color:transparent;}

#rightcolumn img.shadow {margin-bottom:.5em;}
#rightcolumn a img, aside ul img {vertical-align:middle; margin-right:.5em;}
dl {margin-bottom:1.385em;}
dt {float:left; font-weight:bold; background-image:url(/libroselli/img/bg_points.gif); background-repeat:repeat-x; width:4em;}
dd {margin-left:4.615em;}
dt abbr {background-color:#f8f8f8; padding-right:.23em;}


/* tabular tables */
.tab_data caption {font-weight:bold; border-top:1px solid #333;}
.tab_data {width:100%; font-family:'Lucida Grande';, Helvetica, Arial, sans-serif; font-size:.846em; margin-bottom:1.636em;/* background-image:url(/libroselli/img/tabular_data_bg.gif); -webkit-border-top-left-radius:10px; -webkit-border-top-right-radius:10px; -moz-border-top-left-radius:10px; -moz-border-top-right-radius:10px; -o-border-top-left-radius:10px; -o-border-top-right-radius:10px; border-top-left-radius:10px; border-top-right-radius:10px;*/ line-height:1.636em;}
.tab_data thead td {font-weight:bold; text-align:center; border-bottom:2px solid #eee; padding:.59em 0;}
.tab_data tbody td {text-align:center; vertical-align:bottom; border-bottom:1px solid #eee;}
.tab_data tbody th {text-align:left; border-bottom:1px solid #eee;}
.tab_data tbody td, tbody th {padding:.59em 0 .59em .59em;}
.tab_data tbody tr:nth-of-type(even){background-color:#eee;}

.olabc {list-style-type:lower-alpha; margin:0 0 1.385em 1.2em;}
.olabc li {list-style:lower-alpha; margin-bottom:.5em; list-style-position:inside; text-indent:-1.2em;}
.olabc li small {text-indent:0;}

.ol123to9 {list-style-type:decimal; margin:0 0 1.385em 1.2em;}
.ol123to9 li {list-style:decimal; margin-bottom:.5em; list-style-position:inside; text-indent:-1.2em;}

.ol123from10 {list-style-type:decimal; margin:0 0 1.385em 1.8em;}
.ol123from10 li {list-style:decimal; margin-bottom:.5em; list-style-position:inside; text-indent:-1.8em;}

.poorul {list-style-type:none; margin:0 0 1.385em 1.8em;}
.poorul li {list-style:none; margin-bottom:.5em; list-style-position:inside; text-indent:-1.8em;}

.oluprom {list-style-type:upper-roman; margin:0 0 1.385em 1.2em;}
.oluprom li {list-style:upper-roman; margin-bottom:.5em; list-style-position:inside; text-indent:-1.2em;}

.ulhyp {list-style-type:disc; margin:0 0 1.385em .95em;}
.ulhyp li {list-style:disc; margin-bottom:.5em; list-style-position:inside; text-indent:-.95em;}

figure {margin:0 0 1em;}
figure img {display:block; box-shadow:.2em .2em .1em rgba(0,0,0,0.1); padding:.385em; border:solid 1px #7195a4; background-color:#f8f8f8; -webkit-border-radius:4px; -webkit-border-radius:4px; -moz-border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -o-border-radius:4px; border-radius:4px; border-radius:4px;}