/* reset white space */
html, body {
margin: 0;
padding: 0
}

h1, h2, h3, h4, h5, h6 {
margin-top: 15px;
margin-bottom: 7px;
}

address, blockquote, dl, form,
fieldset, ol, table, p, pre, ul {
margin-top: 6px;
margin-bottom: 5px;
}

a img {
border: 0;
}


/* HTML */

* {
font-family: Tahoma;
font-size: 12px; 
}

div#content a, div.footer a {
color: #0090cd;
text-decoration: none;
}

div#content a:hover,
div.footer a:hover {
text-decoration: underline;
}

body {
background-image: url(../images/shared/body_background_01.jpg);
background-position: top center;
background-repeat: no-repeat;
background-color: #232121;
margin: 0;
}		

div#main_heading_container h1 {
margin: 0;
width: 335px;
position: absolute;
bottom: 10px;
right: 15px;
border: 0px solid white;
}

h1, span.h1_macro {
font-size: 25px;
font-family: Tahoma;
color: #fff;
font-weight: normal;
}				

p{
margin: 8px 0;
}			

table.data td {
padding: 3px;
border-bottom: 1px solid #ddd;
}	

div.img_frame {
background: url(../images/shared/shadow-trans.png) no-repeat bottom right;
margin: 25px 0 0 8px;
float: left;
}

div.img_frame#first {
margin-right: 17px;
}

div.img_frame img {
display: block;
width: 400px;
height: 267px;
position: relative;
margin: -8px 8px 8px -8px;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
border-right: 1px solid #777;
border-bottom: 1px solid #777;
/* (image frame)
border: 1px solid #a9a9a9;
padding: 6px;
*/
}							 

div.left_panel a.header:hover {
background-repeat: no-repeat;
}

/* LAYOUT */

div#container {
border: 0px solid white;
}

div#header {
position: relative;
width: 880px;
height: 102px;
padding-top: 15px;
position: relative;
left: 50%;
margin-left: -440px;
border: 0px solid yellow;
}			

div#navigation {
margin-top: 10px;
}	

div#main_heading_container {
background-image: url(../images/shared/main_heading_container_background-trans.png);
margin: 0;
position: relative;
width: 45%;
height: 80px;
bottom: 0;
left: 0;
border: 0px solid purple;
}												 			

div#content {
width: 840px;
padding: 40px;
padding-top: 20px;
position: relative;
left: 50%;
margin-left: -460px;
border: 0px solid red;
background-image: url(../images/shared/page_background-trans.png);
background-position: bottom left;
background-repeat: no-repeat;
}

div.footer {
text-align: center;
border: 0px solid yellow;
width: 840px;
padding: 40px;
padding-top: 30px;
position: relative;
left: 50%;
margin-left: -460px;
background-color: #232121;
background-image: url(../images/shared/footer_background.jpg);
background-position: top center;
background-repeat: no-repeat;
}

div#credits {
border: 0px solid yellow;
}

div#credits p {
margin: 0;
}

div#weather {
position: absolute; 
top: 0; 
right: 0; 
padding: 10px; 
padding-right: 12px; 
width: 200px;
height: 70px; 
border: 0px solid red; 
background-image: url(../images/shared/weather-background-trans.png);
background-repeat: no-repeat;
}

/* NAV */

ul#nav {
padding: 0;
margin: 0;
border: 0px solid red;
}

ul#nav li { /*float the main list items*/
margin: 0;
padding: 0;
float: left;
display: block;
padding-right: 10px;
}

ul#nav li a {
display: block;
width: auto;
height: 17px;
padding: 3px 5px 3px 5px;
color: #222;
text-decoration: none;
text-align: center;
}

* html ul#nav li a {
width: 1%;
}

/* main nav hover states */
ul#nav li.on a, 
ul#nav li a:hover {
color: #fff;
background-image: url(../images/shared/shading-trans.png);
text-decoration: none;
}

/* subnav */

ul#nav li ul, 
ul#nav li.off ul, 
ul#nav li.on ul  { /*put the subnav below*/
position: absolute;
top: 87px;
left: 0;
height: 27px;
width: 880px;
margin: 0;
padding: 0;
display: none;
border: 0px solid yellow;
}

ul#nav li.on ul {
}

ul#nav li.on:hover ul, ul#nav li.over ul { /*for ie*/
}



ul#nav li.on ul li a, 
ul#nav li.off ul li a {
float: left; /*ie doesn't inherit the float*/
color: #fff;
display: block;
width: auto;
height: 17px;
padding: 3px 5px 3px 5px;
color: #222;
text-decoration: none;
text-align: center;
background-image: none;
}

ul#nav li.on:hover ul li a, 
ul#nav li.over ul li a { /*for ie - the specificity is necessary*/

}

ul#nav li.on ul {
display: block;
}

ul#nav li.off a:hover  { 
color: #fff;
}

li a {
display: block;
position: relative;
height: 26px;
}

/*subnav formatting*/

ul#nav li.off ul li a, ul#nav li.on ul li a {
display: block;
color: #fff;
}		

ul#nav li.on ul li a {
}

/* hack per fare in modo che i link sui tab restino bianchi qundo il mouse va' sopra subnav: FF */

ul#nav li.off:hover * {color: #fff;}
