@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: 'TeXGyrePagellaRegular';
	src: url('font/texgyrepagella-regular.eot');
	src: local('TeX Gyre Pagella Regular'), local('TeXGyrePagella-Regular'), url('font/texgyrepagella-regular.woff') format('woff'), url('font/texgyrepagella-regular.otf') format('opentype'), url('font/texgyrepagella-regular.svg#TeXGyrePagella-Regular') format('svg');
}

@font-face {
	font-family: 'TeXGyrePagellaItalic';
	src: url('texgyrepagella-italic.eot');
	src: local('TeX Gyre Pagella Italic'), local('TeXGyrePagella-Italic'), url('texgyrepagella-italic.woff') format('woff'), url('texgyrepagella-italic.otf') format('opentype'), url('texgyrepagella-italic.svg#TeXGyrePagella-Italic') format('svg');
}

@font-face {
	font-family: 'TeXGyrePagellaBold';
	src: url('texgyrepagella-bold.eot');
	src: local('TeX Gyre Pagella Bold'), local('TeXGyrePagella-Bold'), url('texgyrepagella-bold.woff') format('woff'), url('texgyrepagella-bold.otf') format('opentype'), url('texgyrepagella-bold.svg#TeXGyrePagella-Bold') format('svg');
}

@font-face {
	font-family: 'TeXGyrePagellaBoldItalic';
	src: url('texgyrepagella-bolditalic.eot');
	src: local('TeX Gyre Pagella Bold Italic'), local('TeXGyrePagella-BoldItalic'), url('texgyrepagella-bolditalic.woff') format('woff'), url('texgyrepagella-bolditalic.otf') format('opentype'), url('texgyrepagella-bolditalic.svg#TeXGyrePagella-BoldItalic') format('svg');
}

html {
	background: #E6E4C4;
	font: 14px/15px 'TeXGyrePagellaRegular', Arial, sans-serif;
}

body {
	padding: 0;
	margin: 0;
	color: #202020;
}

a {
	color: #202020;
	text-decoration:none;
}

a:hover {
	color: #202020;
	text-decoration:underline;
}

#wrapper {
	width: 784px;
	margin: auto;
}

/* titolo */
#header {
	height: 295px;
	margin: 30px 0px 0px 0px;
	padding: 0px 5px 0px 5px;
}

#header-logo {
	display: block;
	margin-left: 15px;
	margin-bottom: 5px;
}

/* corpo */
#page-out {
	width: 100%;
	margin: 12px 0px 12px 0px;
}

#page-in {
	width: 100%;
}

.linkbar {
	width: 764px;
	height: 36px;
	margin-bottom: 20px;
	position: relative;
	margin: 0px 5px 15px 5px; /* per spostare il contenuto all'interno del rettangolo */
}

.linkbar a{
	text-decoration: none;
}
.linkbar a:hover{
	text-decoration: underline;
}

.linkbar ul {
	padding: 0;
	margin: 0;
	height: 100%;
	position: absolute;
	left: 40px;
	z-index: 1;
}

.linkbar li {
	height: 100%;
	width: 120px;
	line-height: 30px;  /* allinea il testo verticalmente */
	text-align: center;
	background: #778080; /* se non passo sopra con il mouse devono restare grigi */
	position: relative;
	float: left;
	list-style: none;
}

.linkbar li:hover {
	/* l'attributo background al passaggio del mouse deve prevalere sullo sfondo di sezione attiva */
	background: url('img/linkbar-hover.png') !important;
}

#linkbar-active {
	/* definisco l'id della pagina attiva, serve solo come marcatore poiche al passaggio del mouse deve prevalere lo sfondo di hover */
	background: url('img/linkbar-active.png');
}

.linkbar ul ul {
	position: absolute;
	top: 36px;
	left: 0;
	width: 200px;
	height: 30px;
	visibility: hidden;
}

.linkbar ul ul li {
	/* setto la larghezza e lo sfondo per gli elementi sotto ul ul */
	width: 100%;
	background: #CDC0B9 url('img/linkbar-softline.png') no-repeat 5px 29px;
}

.linkbar ul li:hover ul {
	visibility: visible; /* attiva la visualizzazione del secondo livello */
}

.linkbar ul ul li:hover {
	/* lo definisco come important perchè senno prende l'hover del livello superiore */
	background: #CDC0B9 url('img/linkbar-softline.png') no-repeat 5px 29px !important; /* al passaggio del mouse evidenzio la casella */
}

.linkbar-corner-left {
	width: 10px;
	height: 100%;
	background: url(img/linkbar-corner-left.png) no-repeat;
	position: absolute;
	top: 0px;
	left: 0px;
}

.linkbar-sp1 {
	width: 30px;
	height: 100%;
	background: #778080;
	position: absolute;
	top: 0px;
	left: 10px;
}

.linkbar-sp2 {
	width: 115px;
	height: 100%;
	background: #778080;
	position: absolute;
	top: 0px;
	left: 640px;
}

.linkbar-corner-right {
	width: 10px;
	height: 100%;
	background: url(img/linkbar-corner-right.png) no-repeat;
	position: absolute;
	top: 0px;
	left: 754px;
}

/* rettangolo esterno della sidebar */
#sidebar-out {
	width: 218px;
	float: left;
}

/* cella di sidebar */
.sidebar {
	width: 100%;
	margin-bottom: 20px;
}

.sidebar img {
	display: block;
	float: left;
	margin: 0px 5px 5px 0px;
}

/* titolo con formattazione */
.sidebar-title {
	width: 100%;
	height: 53px;
	background: url('img/sidebar-title.png') no-repeat -5px -5px;
	text-align: center;
	line-height: 45px;  /* allinea il testo verticalmente */
}

.sidebar-in {
	padding: 10px;
}

#content {
	width: 563px;
	float: right;
}

#content-top {
	width: 100%;
	height: 25px;
	background: url('img/content-border-top.png') no-repeat;
}

#content-in {
	width: 523px;
	background: url('img/content-border.png') repeat-y;
	padding: 1px 25px 1px 15px;
}

#content-in h1 {
	font-size: 30px;
	font-style: italic;
	font-weight: normal;
	text-indent: 15px;
}

blockquote
{
margin: 3em 43px;
padding-left: 40px;
}
blockquote:before
{
color: maroon;
content: '“'; /* http://monc.se/kitchen/129/rendering-quotes-with-css */
font-size: 6em;
font-weight: bold;
line-height: 0px;
margin: 0px 5px 0px -40px;
vertical-align: bottom;
}

#content-bottom {
	width: 100%;
	height: 25px;
	background: url('img/content-border-bottom.png') no-repeat;
}

#footer {
	width: 100%;
	height: 116px;
	font-size: 8px;
	background: url(img/footer_bkgnd.png) no-repeat 5px 0px; /* offset dello sfondo per allineamento alla pagina */
	position: relative;
}

#footer h1 {
	font-size: 21px;
	letter-spacing: 0.5px;
	font-weight: normal;
}

#footer h2 {
	font-size: 12px;
	letter-spacing: 0.5px;
	font-weight: normal;
}

#footer_info {
	position: absolute;
	width: 274px;
	top: 5px;
	left: 490px;
	color: white;
}

#signature {
	width: 765px;
	text-align: right;
	font-size: 8px;
}

/* ------------------------------------------ */

.foo_btm {
	clear: both;
}

