body {
  margin:0px;
  padding:0px;
  border:0px;
  background: white url('../img/header_bg.jpg') top left repeat-x;  
}

a:link, a:hover, a:active {text-decoration:none;}
a.focus {font:10px Verdana; color:#5c0b0a;}
a img {border:0px;}

span.i {font-style: italic;}


div.ir, span.ir{
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
	font-size: 0.5em;
}

div#header {
  width:100%; height:216px;
  margin:0px auto;
  padding:0px;
  border:0px;
}

div#header div#logo {
  width:166px; height:156px; 
  float:left; margin:0px; padding:0px;
}

div#header div#title {
  width:565px; height:156px; 
  background:url('../img/header_title.jpg') top left no-repeat;
  float:left; margin:0px; padding:0px;
}

div#header div#img {
  width:293px; height:156px; 
  background:url('../img/header_img.jpg') top left no-repeat;
  float:left; margin:0px; padding:0px;
}


/* NAV BAR*/
ul#NavBar{
  background: url('../img/navbar.jpg') no-repeat 0 0;
  width:1000px; height:41px;
  overflow:hidden;
  margin:0px; padding:0px;
}

	ul#NavBar li{float:left; list-style: none;}
	ul#NavBar li, ul#NavBar li a{height: 41px;}
	ul#NavBar li a{ display: block; background-image: url('../img/navbar.jpg'); background-repeat: no-repeat; }
  ul#NavBar li{position: relative; left: 0px;}
	
	ul#NavBar li#tl01, ul#NavBar li#tl01 a {width: 177px; }
	ul#NavBar li#tl02, ul#NavBar li#tl02 a {width: 141px; }
	ul#NavBar li#tl03, ul#NavBar li#tl03 a {width: 98px; }
	ul#NavBar li#tl04, ul#NavBar li#tl04 a {width: 124px; }
	ul#NavBar li#tl05, ul#NavBar li#tl05 a {width: 162px; }
	ul#NavBar li#tl06, ul#NavBar li#tl06 a {width: 116px; }
	ul#NavBar li#tl07, ul#NavBar li#tl07 a {width: 104px; }
	ul#NavBar li#tl08, ul#NavBar li#tl08 a {width: 78px; }
	
	ul#NavBar li#tl01 a {background-position: 0 0; }
	ul#NavBar li#tl02 a {background-position: -177px 0; }
	ul#NavBar li#tl03 a {background-position: -318px 0; }
	ul#NavBar li#tl04 a {background-position: -416px 0; }
	ul#NavBar li#tl05 a {background-position: -540px 0; }
	ul#NavBar li#tl06 a {background-position: -702px 0; }
	ul#NavBar li#tl07 a {background-position: -818px 0; }
	ul#NavBar li#tl08 a {background-position: -922px 0; }
	
	ul#NavBar li#tl01 a:hover {background-position: 0 -41px; }
	ul#NavBar li#tl02 a:hover {background-position: -177px -41px; }
	ul#NavBar li#tl03 a:hover {background-position: -318px -41px; }
	ul#NavBar li#tl04 a:hover {background-position: -416px -41px; }
	ul#NavBar li#tl05 a:hover {background-position: -540px -41px; }
	ul#NavBar li#tl06 a:hover {background-position: -702px -41px; }
	ul#NavBar li#tl07 a:hover {background-position: -818px -41px; }
	ul#NavBar li#tl08 a:hover {background-position: -922px -41px; }
	
	body#maestro    ul#NavBar li#tl01 a {background-position: 0px -41;}
  body#programma  ul#NavBar li#tl02 a {background-position: -177px -82px; }
  body#scuola     ul#NavBar li#tl03 a {background-position: -318px -82px;}
  body#dove       ul#NavBar li#tl04 a {background-position: -416px -82px;}
  body#calendario ul#NavBar li#tl05 a {background-position: -540px -82px;}
  body#news       ul#NavBar li#tl06 a {background-position: -702px -82px;}
  body#media      ul#NavBar li#tl07 a {background-position: -818px -82px;}
  body#contatti   ul#NavBar li#tl08 a {background-position: -922px -82px;}
 
/* */

/* SUB BAR*/
ul#SubBar{
  overflow:hidden;
  margin:0px; padding:0px;
  margin-left:10px;
  margin-top:2px;
}

	ul#SubBar li{float:left; list-style: none; margin:0px; padding:0px; }
	
	ul#SubBar li, ul#NavBar li a{height: 41px;}
	
	ul#SubBar li#space {width: 18px; background: url('../img/subbar_space.jpg') top center no-repeat; margin-top:7px; }
	ul#SubBar li a {display: block; font:10px Verdana; color:white; text-decoration:none;}
	ul#SubBar li a:hover  {color:#ffba00; text-decoration:none;}
 
/* */


div#main {
  background: white url('../img/main_bg.jpg') top left no-repeat;
  font:12px Verdana;
  color:black;
  position:relative;
}

div#main div#testo {
  width: 650px;
  padding-top:48px;
  padding-bottom:48px;
  margin-left: 300px;
  font:12px Verdana; color:black;
  line-height: 18px;
  text-align: justify;
}

div#main div#media {
  position: absolute;
  top:60px; left:0px;
  background: url('../img/gallery/gallery_back.png') top left no-repeat;
  width:291px; height:363px;
  padding-top:9px;
}

div#footer {
  width:100%; height:86px;
  overflow:hidden;
  background: #1f1f1f url('../img/footer_bg.jpg') top left repeat-x;
  font:10px Verdana; color:white;
  position:relative;
}

div#footer div#mp3player{
  position:absolute;
  bottom:6px; right:4px;
  width:260px; height:60px;
}

div#footer div#copy {padding:4px 0px 0px 10px;}

div#footer div#playground {
  width:129px; height:46px;
  margin-top:2px;
  margin-left:6px;
}

span.city {color: rgb(153,0,0); font-weight:bold;}

div#map {width:650px; height:400px; border:1px solid gray; margin-top:20px;}

div.ScuolaBox { background: #f1f1f1; padding:15px; border:1px solid gray; margin-top:20px;}
div.ScuolaBox div.indirizzo {float:left; width:230px;}
div.ScuolaBox div.orari {float:left; width:167px;}

h3.deepred {color:#5d1313;}

h2#Title_Programma {
  width:625px; height:39px;
  background: url('../img/pagetitle_programma.jpg') top left no-repeat;
}
h2#Title_Maestro {
  width:532px; height:39px;
  background: url('../img/pagetitle_maestro.jpg') top left no-repeat;
}
h2#Title_DovePraticare {
  width:229px; height:39px;
  background: url('../img/pagetitle_dovepraticare.jpg') top left no-repeat;
}
h2#Title_Calendario {
  width:309px; height:39px;
  background: url('../img/pagetitle_calendario.jpg') top left no-repeat;
}
h2#Title_FotoVideo {
  width:183px; height:39px;
  background: url('../img/pagetitle_fotovideo.jpg') top left no-repeat;
}
h2#Title_News {
  width:201px; height:39px;
  background: url('../img/pagetitle_news.gif') top left no-repeat;
}
h2#Title_Scuola {
  width:148px; height:39px;
  background: url('../img/pagetitle_scuola.jpg') top left no-repeat;
}

div.polaroid {
  float:left;
}

table#Calendario td {vertical-align:top; padding:4px;}
table#Calendario td.mese {font-weight:bold; border-top:30px solid #fff;}
table#Calendario td.stage {background-color: rgb(204,255,204);}
table#Calendario td.covodao {background-color: rgb(255,255,204);}
table#Calendario td.esame {background-color: rgb(213,255,255);}
table#Calendario td.gara {background-color: rgb(234,225,255);}
table#Calendario td.altro {background-color: #eee;}

