/* @group layout */

html, body {
	height : 100%;
	border : none;
	background : none;
}

body {
	background-color : #f3f3eb;
	font-family : "Lucida Grande";
	color : #382e1f;
	line-height : 1.8;
}

#wrap {
	position : relative;
	min-height : 100%;
	min-width : 860px;
	width : 100%;
	margin : 0;
	text-align : center;
	background : transparent url(../img/bg-doc.gif) center repeat-y;
}

#custom-doc {
	width : 66.154em;
	min-width : 860px;
	margin : 0 auto;
	text-align: left;
}

#bd {
	padding : 20px 40px 140px;
}

.content {
	position : relative;
	margin : 0 auto;
	text-align : left;
}

#hd {
	background-image : url(../img/bg-hd.gif);
	background-repeat : repeat-x;
}

#hd .content {
	position : relative;
	display : block;
	width : 860px;
	height : 165px;
}

#hd h1 {
	margin : 0 40px 0;
	padding : 25px 0 0;
	text-indent : -9999px;
}

#hd a {
	text-decoration : none;
}

#nav {
	position : absolute;
	display : block;
	bottom : 0;
	height : 50px;
	margin : 0 40px;
	padding : 0;
}

#nav li {
	float : left;
	margin : 0;
	padding : 0;
	list-style-type : none;
}

#nav li a {
	float : left;
	display : block;
	height : 50px;
	margin : 0;
	padding : 0 15px;
	line-height : 35px;
	color : #111;
	background : transparent url(../img/bg-nav.gif) left top repeat-x;
	font-weight: bold;
}

#nav li a:hover {
	color : #444;
}

#sidebar {
	margin-top : 25px;
	padding-bottom : 16px;
	background : url(../img/bg-sidebar.png) bottom right;
}

#sidebar .content {
	padding : 18px 1.25em 0 2em;
	background : url(../img/bg-sidebar-content.png) left top no-repeat;
}

#sidebar h3 {
	margin-top : 1em;
}

#sidebar p {
	margin-bottom : 1em;
}

#sidebar ul {
	margin-bottom : 1em;
}

#sidebar li {
	margin-bottom : 0;
	padding-top : .25em;
	padding-bottom : .25em;
}

#sidebar img {
	display : block;
	margin : 0 auto 1em;
	border : none;
}



/* @end */

/* @group footer */

#ft {
	position : relative;
	height : 140px;
	margin-top : -140px;
	text-align : center;
	background : transparent url(../img/bg-ft.gif) top repeat-x;
	color : #fff;
}

#ft .content {
	width : 860px;
	height : 100px;
	margin : 0 auto;
	padding : 40px 0 0;
	background : transparent url(../img/ft.jpg) top no-repeat;
}

#ft h3 {
	margin : 0 40px;
	font-size : 100%;
	line-height : 3.08;
}

#ft h3 a {
	line-height : 2.1;
	font-size : 136%;
}

#ft p {
	margin : 0 40px;
	font-size : 85%;
	line-height : 5.45em;
}

#ft p.copyright {
	float : left;
}

#ft p.credits {
}

#ft p.credits a {
	float : right;
	display : block;
	width : 50px;
	height : 60px;
	background : url(../img/mcg.png) center no-repeat;
	text-indent : -9999px;
}

#ft a, #ft a:link {
	color : #fff;
	text-decoration : none;
}

#ft a:hover, #ft a:active {
	color: #ddd;
}

/* @end */

/* @group typography */

p, center, blockquote, quote, pre {
	margin-bottom : 1.67em;
	font-size : 92%;
	text-align : justify;
}

blockquote, quote {
	margin : 2.5em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight : normal;
}

h1 {
	margin-bottom : .5em;
	color : #bb6f02;
	font-size : 182%;
	line-height : 1;
}

h2 {
	margin-bottom : .25em;
	font-size : 152%;
	line-height : 1.2;
}

h3 {
	margin-bottom : .277em;
	font-size : 136%;
	line-height : 1;
}

h4 {
	margin-bottom : .3125em;
	font-size : 122%;
	line-height : 1;
}

h5 {
	margin-bottom : .385em;
	font-size : 100%;
	line-height : 1;
}

h6 {
	margin-bottom : .4167em;
	font-size : 92%;
	line-height : 1;
}

a, a:link {
	color : #bb6f02;
}

a:hover, a:active {
	color : #e58802;
}

strong {
	font-weight : bold;
}

em {
	font-style : italic;
}

cite {
	font-style : italic;
}

ul, ol, dl {
	margin-bottom : 1.25em;
	padding : .5em 0;
	font-size : 92%;
}

li, dd {
	margin : 0 0 .5em 1.67em;
	padding-left : .5em;
}

ul li {
	list-style-type : square;
}

dt {
	margin-bottom : .5em;
	padding : 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration : none;
}

/* @end */

/* @group forms */

form {
	line-height : 1;
	width : 450px;
}

fieldset.hiddenfields {
	display : none;
	visibility : hidden;
}

label {
	display : block;
	margin-bottom : .2em;
	font-size : 92%;
}

input {
	display : block;
	width : 400px;
	margin : 0;
	padding : 3px 5px;
	background : #fff url(../img/bg-input.gif) repeat-x top;
	border : 1px solid #a79d8f;
	font-size : 85%;
	line-height : 1.14;
}

input[type="checkbox"], input.checkbox {
	display : inline;
	width : auto;
}

textarea {
	display : block;
	width : 400px;
	padding : 5px;
	background : #fff url(../img/bg-input.gif) repeat-x top;
	border : 1px solid #a79d8f;
	font-size : 85%;
	line-height : 1.14;
}

input.submit {
	width : auto;
	margin-top : 1em;
	background : none;
	padding : 4px;
	cursor : pointer;
}

input.submit:hover {
	background-color : #e7e7df;
}

/* @end */

/* @group special elements */

.hcard {
	margin-top : 1em;
	margin-bottom : 3em;
	line-height : 1.4;
}

.top {
	margin-top : -1em;
	margin-bottom : 0;
	text-align : right;
	padding-right : 12px;
	background : url(../img/top.png) right center no-repeat;
	font-size : 77%;
}

.top a {
	color : #382e1f;
	text-decoration : none;
}

body.links h3 {
	margin-top : 1.5em;
}

body.links p {
	margin-bottom : 0;
}

/* @end */

/* @group banners */

body.home #hd .content, body.links #hd .content {
	background-image : url(../img/banner_1002.jpg);
	background-repeat : no-repeat;
}

body.home #nav, body.links #nav {
	background : url(../img/menu_1002.jpg) -20px 0 no-repeat;
}

body.chi-sono #hd .content {
	background-image : url(../img/banner_2002.jpg);
	background-repeat : no-repeat;
}

body.chi-sono #nav {
	background : url(../img/menu_2002.jpg) -20px 0 no-repeat;
}

body.servizi #hd .content {
	background-image : url(../img/banner_3002.jpg);
	background-repeat : no-repeat;
}

body.servizi #nav {
	background : url(../img/menu_3002.jpg) -20px 0 no-repeat;
}

body.pubblicazioni #hd .content {
	background-image : url(../img/banner_4002.jpg);
	background-repeat : no-repeat;
}

body.pubblicazioni #nav {
	background : url(../img/menu_4002.jpg) -20px 0 no-repeat;
}

body.contatti #hd .content {
	background-image : url(../img/banner_5002.jpg);
	background-repeat : no-repeat;
}

body.contatti #nav {
	background : url(../img/menu_5002.jpg) -20px 0 no-repeat;
}

body.home #nav-home a,
body.chi-sono #nav-chi-sono a,
body.servizi #nav-servizi a,
body.pubblicazioni #nav-pubblicazioni a,
body.contatti #nav-contatti a {
	background : url(../img/bg-nav-current.gif) repeat-x center top;
}

/* @end */




.clear:after {
	clear : both;
	display : block;
	content : ".";
	height : 0;
	visibility : hidden;
}


