/* ------------------------------ */
/* 1. universal reset */
/* ------------------------------ */

* {
	margin: 0;
	padding: 0;
}





/* ------------------------------ */
/* 2. layout della pagina */
/* ------------------------------ */

	/* base */

body {
	margin: 0;
	padding: 0;
	color: #333;
	background-image: url(images/gravel-tile.jpg);
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
	font-family: 'Lucida Sans Unicode','Lucida Grande',Helvetica,Verdana;
	text-align: center;
}

div#generale {
	width: 790px;
	margin: 0 auto 0 auto;
	background: url(images/contenuti.gif) repeat-y 50% 0;
	text-align: left;
}

div#spaziovuoto {
	height: 35px;
	background: #FFFFFF;
}

div#bordosopra {
	height: 6px;
	background: url(images/bordosopra.gif) no-repeat 50% 0;;
}

span.website-title {
	float: left;
	padding: 0 2em;
	top: 50px;
	left: 50px;
	position:relative;
	background-color: #EEEEEE;
	opacity: 0.75;
	line-height:1.3em;
	width: auto;
	max-width: 500px;
}

span.website-title, h1 {
	margin-bottom: .5em;
	font-size: 2em;
	font-weight: bold;
}
h2 {
	font-size: 1.3em;
	font-weight: none;
}
h3 {
	font-weight: bold;
	text-decoration: underline;
}

p.student-count {
	padding-left: 2em;
	font-size: 0.9em;
	font-style: italic;
}

div#header {
	padding: 0 10px;
	position: relative;
}

div#destra {
	width: 160px;
	margin-right: 20px;
	float: right;
}

div#risorse {
	font-size: 0.8em;
}

div#bottom {
	clear: both;
	height: 16px;
	padding: 0 0 0 0;
	color: #444444;
	background: url(images/chiusurabottom.gif) no-repeat 50% 5px;
	line-height: 14px;
}

div#footer {
	clear: both;
	height: 25px;
	line-height:25px; 
	color: #333;
	background: url(images/sfondo.gif) repeat-y 50% 0;
}

div#close {
	clear: both;
	height: 3px;
	padding: 0 0 0 0;
	color: #333;
	background: transparent url(images/chiusura.gif) no-repeat 50% 0;
}


	/* titolo */

div#header {
	height: 161px;
	background: url(images/roller.jpg) no-repeat 50% 0;
	vertical-align:baseline;
}
	/* main */

div#main {
	float: left;
	padding: 35px;
	width: 500px;
}

div#main div.section {
	padding-top: 9px;
}

	/* destra */

div#destra h2 {
	padding: 9px 3px 5px 3px;
}

div#destra p,
div#destra ul {
	padding: 7px 3px 7px 3px;
}

div#destra div.section {
	margin-top: 11px;
}

div#destra ul.menu-top {
	margin-left: 16px;
}

div#destra ul.menu-top li {
	border-bottom-style: dashed;
	border-width: 1px;
	border-color: #eec8c8;
}

	/* bottom */

li#footertx {
	float: left;
	width: 650px;
	list-style: none;
	font-size: 10px;
	line-height: 25px;
	text-align: center;
}
li#footertx, #dummy {
	padding-left: 50px;
	padding-right: 50px;
}

li#footertx a {
	height: 10px;
}
li#footertx a:link,
li#footertx a:visited,
li#footertx a:active,
li#footertx a:hover {
	border: none;
	background: transparent;
	text-decoration: none;
}




/* ------------------------------ */
/* 3. content */
/* ------------------------------ */

div#content {
	clear: both;
	background: url(images/topcontainer.gif) no-repeat 50% 0
}

div#contenuti .bigtext {
	font-size: 1.2em;
	font-weight: bold;
	font-variant: small-caps;
}
div#contenuti p, div#contenuti form, div#contenuti ul, div#contenuti ol{
	padding-bottom: 1em;
}
div#contenuti ul ul, div#contenuti ol ol { /* Just for list-inside-list */
	padding-bottom: 0;
}
div#contenuti p {
	text-indent: 1em;
}
div#contenuti ul {
	margin-left: 1.5em;
}
div#contenuti ol {
	margin-left: 1.8em;
}
div#contenuti .alert {
	color: #FF0000;
	font-weight: bold;
}
div#content table {
	border-style: solid;
	border-color: black;
	border-width: 1px;
}
div#content td {
	margin: 0 0.2em 0 0.2em;
}
div#content th {
	text-decoration: underline;
	font-weight: bold;
	font-size: 120%;
	text-align: center;
}

/* ------------------------------ */
/* 4. links */
/* ------------------------------ */

div#header a:link,
div#header a:visited,
div#header a:active,
div#header a:hover {
	border: none;
	text-decoration: none;
}

a:link,
a:visited {
	color: #DF7E00;
	text-decoration: none;
}

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

/* ------------------------------ */
/* 6. altro */
/* ------------------------------ */

strong {
	color: #000;
	font-weight: bold;
}

.search {
	position: absolute;
	bottom: 15px;
	right: 5px;
	width: 500px;
}

.search #string {
	width: 365px;
}
.search #submit {
	margin-left: 10px;
	width: 100px;
}

.cerca { 
margin-top: 50px;
margin-left: 675px;
font-size: 12px;
font-family: verdana, helvetica, sans-serif;
border-style:none;
color:#4a4a4a;
text-align:right;
width:95px;
}

.buttonsearch { 
margin-left: 675px;
width:50px;
font-size: 10px;
font-family: verdana, helvetica, sans-serif;
background: #FFFFFF;
border-style:solid;
border-width:1px;
border-color:#444444;
color:#4a4a4a;
background-attachment: fixed;
text-align:center;

}

/* set the image to use and establish the lower-right position */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h3 {
	background: transparent url(images/cssbox.png) no-repeat bottom right; }
.cssbox {
	width: 485px !important; /* intended total box width - padding-right(next) */
	width: 470px; /* IE Win = width - padding */
	padding-right: 15px;/* the gap on the right edge of the image (not content padding) */
	margin: 20px auto; /* use to position the box */ }
	
/* set the top-right image */
.cssbox_head {
	background-position: top right; margin-right: -15px; /* pull the right image over on top of border */
	padding-right: 40px; /* right-image-gap + right-inside padding */ }

/* set the top-left image */
.cssbox_head h3 {
	background-position: top left;
	margin: 0; /* reset main site styles*/
	border: 0; /* ditto */
	padding: 25px 0 15px 40px; /* padding-left = image gap + interior padding ... no padding-right */
	height: auto !important; height: 1%; /* IE Holly Hack */ }

/* Changed from defaults to match boxes better */
.cssbox_head h3 {
	color: #000000;
	text-align: center;
	text-decoration: none; /* No link? No underline */
}
.cssbox_head h3 a {
	color: #000000; /* Override the color selection in a */
	text-decoration: underline;
}
.cssbox_head h3 a:hover {
	color: #FFFFFF;
}
.cssbox p {
	padding: 0 0 0 0;
}

/* set the lower-left corner image */
.cssbox_body {
	background-position: bottom left;
	margin-right: 25px; /* interior-padding right */
	padding: 5px 0 25px 40px; /* mirror .cssbox_head right/left */ } 

/* PRINTING RULES */
@media print {
* { visibility: hidden; }
div#contenuti { visibility: visible; }
}