
:-moz-any-link:focus { outline: none; }

html{
 margin:0;
 padding:0;
 }

img.right {
	width:160px;
	float: right; 
    clear: right; 
    margin: 8px;
}

img.left {
	width:160px;
	float: left; 
    clear: left; 
    margin: 8px; 
}

img.foto {
	width:120px;
	border:1px solid #ccc;
    align:center;
}
/*
ul.foto {
	list-style-type: none;
	display:block;
	float:left;
}

li.foto {
	float: left;
	width:130px;
	text-align:center;
	font-size:0.3em;
	margin-top:10px;
}

li.foto:hover {background-color:#eee;}

li.foto p.didascalia {
	width:100%;
	text-align:center;
	font-size:0.3em;
}
*/

ul.foto {
width: 600px;
margin: 0;
padding: 0;
margin-bottom:auto;
}
ul.foto li {

color: #009;
text-align: left;
display: block;
clear: left;
margin: 0;
padding: 0;
}
ul.foto ul {
margin: 0;
padding: 0;

}
ul.foto ul li {

color: #000;
float: left;
clear: none;
width: 130px;
padding: 5px;
text-align: center;
min-height:120px;
}
ul.foto ul li:hover {background-color: #eee; }

table.ricevimento {
	width:100%;
	padding:0;
	margin:0;
	border-collapse: collapse;
	
}

table.ricevimento td {
	font: 1.1em/1.4em Trebuchet MS, arial, sans-serif;
	height:40px;
	text-align:center;
/*	border: 1px dotted #888; */
	border-left: 1px dotted #888;
	border-right: 1px dotted #888;
	background-color:#E6E6FA;
	color:#000;
}

table.orari {
	width:100%;
	padding:0;
	margin:0;
	border-collapse: collapse;
	border: 1px dotted #888;
/*	background-color:#E6FAF7; */
}

table.orari td {
	font: 1.1em/1.4em Trebuchet MS, arial, sans-serif;
	height:10px;
	text-align:center;
	border: 1px dotted #888;
	width:78px;
	color:#000;
}

table.orari tr.testa {
	background-color:#E6E6FA;
	color:#000;
}

table.orari td.giorno {
	text-align:left;
	width:102px;
}

table.allegati2 {
	font:1em/1.5em Arial, arial, sans-serif;
	width:100%;
	border:none;
	border-collapse:collapse;
	color:#000;
}



table.allegati {
	font:1em/1.5em Arial, arial, sans-serif;
	width:100%;
	border:1px solid #c9c; background-color:#fcc;
	border-collapse:collapse;
	color:#333;
}

table.allegati td {
	height:18px;
	padding:5px 5px 5px 5px;
}

table.allegati td.titolo {
	font-size:1.2em;
	/*width:80%; */
	height:22px;
	padding-left:5px;
}

table.allegati tr {
	border-top:1px dashed #c9c;
}

table.allegati a.file { 
	color:#333;
	font-weight:bold;
	border:none;
}

table.allegati a:hover {color:#f00;} 

a { 
	text-decoration:underline;
	color: #000;
/*	border-bottom: 1px dotted #888;*/
}

a:hover {
	color: #aaa;
}

a.x {
	border:none;
	color:#f90;
}

a.x:hover{color:#f00;}

a.edit {
	font: 0.8em/1em Trebuchet MS, arial, sans-serif;
	padding:0;
	margin:0;
	text-decoration:none;
	/*color: #888;*/
	border:0;
	color:#f90;
	text-align:right;
}

a.edit:hover {
	color:#f00;
	/*border-bottom: 1px dashed #888;*/
}

a.ricevimenti {
	color:#000;
	border:none;
}

a.ricevimenti:hover {
	color:#aaa;
}

a.classe{
	padding: 1px 3px 1px 3px;
	border:1px solid #bbb;
}

a.classe:hover {
	border:1px solid #444;
	background-color: #ffc;
}

.tornasu {
	font-size: 0.9em;
	margin-left:490px;
	color: #c96;
	border-bottom: 1px dotted #bbb;
}

.tornasu a:hover {
	color:#ddd;
}

a.none {
	border:none;
	text-decoration:none;
}

hr {
  border: none;
  background-color: #888;
  color: #444;
  height: 1px;
}

h3 {
 font: 1.4em/1em Trebuchet MS, arial, sans-serif;
 text-align:center;
 color:#000;
 padding-bottom: 5px;
 border-bottom: 1px dashed #888;
}
 
h4 {
 padding-bottom:5px;
 font: bold 1.2em/0.5em Trebuchet MS, arial, sans-serif;
 text-align:left;
 color: #000;
 border-bottom: 1px dotted #888;
 
}

h4.ricevimenti {
	font-size: 1.15em;
	
} 

 body {
 font-family:arial,helvetica,sans-serif;
 color:#000;
 font-size:small;
 width:98%;
 margin:0;
 padding:0;
 text-align:center;
 }
 
.home {background: url("img/backbodyarancio.gif") repeat;}
.news {background: url("img/backbodygiallo2.gif") repeat;}
.docenti {background: url("img/backbodyblu2.gif") repeat;}
.studenti {background: url("img/backbodyverde2.gif") repeat;}
.contatti {background: url("img/backbodyviola2.gif") repeat;}
.errore {background: url("img/backbodygrigio.gif") repeat;}

 #fondo { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodyarancio.gif") repeat;
  /*background: url("img/backgroundR.jpg") right repeat-y; */
  padding: 0;
 }
 
#fondonews { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodygiallo2.gif") repeat;
  padding: 0;
 }

 #fondodocenti { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodyblu2.gif") repeat;
  padding: 0;
 }
 
#fondostudenti { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodyverde2.gif") repeat;
  /*background: url("img/backgroundR.jpg") right repeat-y; */
  padding: 0;
 }
 
 #fondocontatti { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodyviola2.gif") repeat;
  /*background: url("img/backgroundR.jpg") right repeat-y; */
  padding: 0;
 }
 
 #fondoerrore { 
 min-width: 900px;
 background-color: #fff;
  margin:auto;
  margin-top:-20px;
  width: 100%;
  /*height:100%;*/
  background: url("img/backbodygrigio.gif") repeat;
  /*background: url("img/backgroundR.jpg") right repeat-y; */
  padding: 0;
 }
  
 #container{
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackarancio.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }
 
 #containernews{
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackgiallo2.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }
 
 #containerdocenti {
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackblu2.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }
 
 #containerstudenti {
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackverde2.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }

 #containercontatti {
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackviola2.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }
 
 #containererrore {
  width: 900px;
  height: 100%;
  margin: auto;
  margin-top:0px;
  margin-bottom:0px;
  /*margin-left: 9%;*/
  /*width: 98%;*/
  background: url("img/fogliobackgrigio.gif") top repeat-y;
  /*padding: 0 10px 0 10px;*/
 }
 
 /* TESTA */
 
 #testa{
  float:left;
  text-align:center;
  width:826px;
  margin-top:17px;
  margin-left:35px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibri4.jpg") center no-repeat;
  }
  
 #testanews {
  float:left;
  text-align:center;
  width:821px;
  margin-top:17px;
  margin-left:38px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibri4.jpg") center no-repeat;
  }

  
 #testadocenti{
  float:left;
  text-align:center;
  width:821px;
  margin-top:17px;
  margin-left:38px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibri4.jpg") center no-repeat;
  }
  
 #testastudenti{
  float:left;
  text-align:center;
  width:821px;
  margin-top:17px;
  margin-left:38px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibri4.jpg") center no-repeat;
  }
  
#testacontatti {
  float:left;
  text-align:center;
  width:821px;
  margin-top:17px;
  margin-left:38px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibri4.jpg") center no-repeat;
  }
  
  #testaerrore {
  float:left;
  text-align:center;
  width:821px;
  margin-top:17px;
  margin-left:38px;
  height:140px; 
/*  height:127px; */
  background: url("img/headlibrispecchio.jpg") center no-repeat;
  }
  
 #testa h1 span, #testadocenti h1 span, #testastudenti h1 span, #testanews h1 span, #testacontatti h1 span, #testaerrore h1 span, #punto span {display:none;}
 
 #testa p.edit, #testadocenti p.edit, #testastudenti p.edit, #testanews p.edit, #testacontatti p.edit {
 	font: 1.1em/1.4em Trebuchet MS, arial, sans-serif;
 	color:#f00;
 	padding-top: 0px;
 	margin-top: -8px;
	margin-right: 10px;
	text-align:right;
 }
 
 p.login {
 	font: 1.1em/1.4em Trebuchet MS, arial, sans-serif;
 	color:#555;
 	padding-top: 10px;
	margin-left:720px;
}
 
 #testa a, #testadocenti a, #testastudenti a, #testanews a, #testacontatti a {
  	font: 1.0em/1.4em Trebuchet MS, arial, sans-serif;
  	color:#000;

 }
 
 #testa a:hover, #testadocenti a:hover, #testastudenti a:hover, #testacontatti a:hover, #testanews a:hover   {
 	color:#000;
 	background-color:#f90;
 }


/*  Div delle opzioni di gestione grandezza font e stampa */
#opzioni {
	float: right;
	margin:0;
	padding:0;
	margin-right:30px;
	margin-top:145px;
	width:70px;
	height:10px;
	color:#ccc;
}

#opzioni a.opt {
 	font: 1.1em/0em Trebuchet MS, arial, sans-serif;
 	color:#aaa;
 	border:none;
 	margin:0;
 	padding:0;
}

#opzioni table {border-collapse:collapse;}

#opzioni table td {padding-bottom:0;margin:0;vertical-align:middle;}

#opzioni img {border:none; padding:0;margin:0;}



/* TESTO */

#testo {
	text-align:left;
	padding-top:196px;
	margin-left:250px;
	width:570px;
/*	min-height:490px; */
	min-height:430px;
}
 
#testo h2, #foto h2 {
	text-align:center;
	width: 570px;
	height:35px;
/*	background-color: #eee;*/
	padding: 5px 0px 0px 0px;
	color: #888;
/*	border: 1px solid #888; */
	border-bottom: 1px solid #888;
	color:#000;
	
}

#testo p {
	font: 1.1em/1.4em Trebuchet MS, arial, sans-serif;
	text-align:justify;
	color:#222;
}

#testo p.edit, #foto p.edit {
	margin-top: -18px;
	margin-right:0px;
	text-align:right;
}

#testo p.data {
	font: 1em/1em Trebuchet MS, arial, sans-serif;
	text-align:right;
	font-style:italic;
}

#testo p.firma {
	font: 1em/0em Trebuchet MS, arial, sans-serif;
	text-align:right;
	font-style:italic;
}
/*
#testo p.programma {
	
}
*/
#testo a {
	text-align:left;
}

.nascondi {
	margin-bottom:0px;
	padding-bottom:0px;
}

/* FOOTER */

#footerarancio {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #630;
	/*background-color: #000;*/
	background: url('img/backbodyarancio.gif') top repeat;
}

#footergiallo {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #c93;
	/*background-color: #000;*/
	background: url('img/backbodygiallo2.gif') top repeat;
}

#footerblu {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #039;
	/*background-color: #000;*/
	background: url('img/backbodyblu2.gif') top repeat;
}

#footerverde {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #060;
	/*background-color: #000;*/
	background: url('img/backbodyverde2.gif') top repeat;
}

#footergrigio {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #333;
	/*background-color: #000;*/
	background: url('img/backbodyviola2.gif') top repeat;
}

#footernero {
	width:880px;
	margin-left:8px;
	height:30px;
	border-top: 1px solid #222;
	color: #111;
	/*background-color: #000;*/
	background: url('img/backbodygrigio.gif') repeat;
}


#footerarancio ul, #footergiallo ul, #footerblu ul, #footergrigio ul, #footerverde ul, #footernero ul {
	margin-top:7px;
}


#footerarancio li, #footergiallo li, #footerblu li, #footergrigio li, #footerverde li, #footernero li {
	float: left;
	width:440px; /*	width:280px; se aggiungo 'browser consigliato:firefox' */
	display: list-item;
	list-style-type: none;
	font: 0.9em/1em Trebuchet MS, arial, sans-serif;
	text-align: center;
}

#footerarancio li a, #footergiallo li a, #footerblu li a, #footergrigio li a, #footerverde li a, #footernero li a {
	color:#111;
	text-decoration:none;
	border:0;
}

#footerarancio li, #footerarancio li a{
	color: #630;
}

#footergiallo li, #footergiallo li a {
	color: #c70;
}

#footerblu li, #footerblu li a {
	color: #039;
}

#footergrigio li, #footergrigio li a {
	color: #636;
}

#footerverde li, #footerverde li a {
	color: #060;
}

#footernero li, #footernero li a  {
	color:#444;
}

#footernero li a:hover {
	color:#ccc;
}

#footerarancio li a:hover, #footergiallo li a:hover, #footerblu li a:hover, #footergrigio li a:hover, #footerverde li a:hover {
	color:#111;
}

/* MENU */
  
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
color: #333;

}

#menu {
position: absolute; /* Menu position that can be changed at will */
top: 138px;
margin-left: 38px;
z-index:100;
width: 820px; /* precision for Opera */
font: 17px Trebuchet MS, arial, sans-serif;
font-weight: bold;
}
#menu dl {
float: left;
width: 164px;
}
#menu dt {
cursor: pointer;
text-align: center;
background: #fff;
border: 1px solid #eee;
height: 24px;
}
#menu dd {
display: none;
border: 1px solid #eee;
}
#menu li {
text-align: center;
background: #fff;
border-bottom: 1px solid #eee;	
min-height: 24px;
font: 15px Trebuchet MS, arial, sans-serif;
}
#menu li a, #menu dt a {
color: #000;
text-decoration: none;
display: block;
height: 100%;
border: 0;
min-height:24px;
}
#menu li a:hover, #menu li a:focus, #menu dt a:hover, #menu dt a:focus {
background: #ccc;
}

#submenu {
position: absolute; /* Menu position that can be changed at will */
top: 250px;
margin-left: 40px;
width: 164px; /* precision for Opera */
font: 17px Trebuchet MS, arial, sans-serif;
font-weight: bold;
border: 1px solid #eee;
border-top:0;
z-index: 400;
}

#submenu li {
text-align: left;
background: #fff;
border-top: 1px solid #eee;	
min-height: 24px;
font: 15px Trebuchet MS, arial, sans-serif;
}
#submenu li a, #submenu dt a {
color: #000;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
min-height:24px;
}
#submenu li a:hover, #submenu li a:focus, #submenu dt a:hover, #submenu dt a:focus {
background: #ccc;
}

a.selected {background-color:#ccc;}

.sub {margin-left:20px;
	font-weight:normal;}

textarea {
	border:1px solid #888;
	font-family:arial,helvetica,sans-serif;
	font-size:1em;
	margin-top:5px;
	margin-left:-15px;
	width:550px;
	height:200px;
	color:#333;
	text-align:left;
	background-color:#dd8;
}

input {
	border:1px solid #888;
	font-family:arial,helvetica,sans-serif;
	font-size:1em;
	color:#333;
	text-align:left;
	background-color:#dd8;
}


input.bottone {
	border:none;
	font-family:arial,helvetica,sans-serif;
	font-size:1em;
	font-weight:bold;
	width:200px;
	height:25px;
	margin-left:300px;
	color:#000;
	text-align:center;
	background-color:#ddd;
	background:url('img/bottonebianco.gif') top no-repeat;
}

input.bottone:hover {background-image:url('img/bottonebiancohover.gif');}

/*#testo a {text-decoration:underline; border:none;}*/