/* General */

img
{
	display: block;
	border: 0;
	margin: 0;
}


/* Main layout */

body
{
	background: #ccc url(i/gradient_bw.jpg) top left fixed repeat-x;
	font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	padding: 0;
	margin: 0;
	text-align: center;
}

body#home
{
	background: #fff url(i/gradient-home.jpg) top left repeat-x;
	color: #d40;
	height: 400px;
	text-align: center;
}

#homepage
{
	padding: 100px 0 0 20px;
}

#homepage img
{
	margin: auto;
}

#wrapper
{
	padding: 0 0 80px 0;
	margin: 10px auto;
	text-align: left;
	width: 599px;  /* bmh */	
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 597px;	 

}

html>#wrapper	{
	width: 597px;
	} 


#header	{
	color: #d40;
	margin: 0;
	padding: 15px;
	text-align: left;
	}

#header img	{
	margin: 0;
	padding: 0;
	border: 0;
	}
	
#header a	{
	background: transparent;
	}


#maincontent
{
	background: #eee;
	color: #111;
	padding: 5px 20px 40px 20px;
	margin: 0 0 0 0;
	border: #333 1px dotted;
	border-left: #d40 thick double;
/* 	font-size:    x-small;       */
/* 	voice-family: "\"}\"";    */
/* 	voice-family: inherit;    */
/* 	font-size:    small; */
	clear: both;
}

/* html>#maincontent */
/* { */
/* 	font-size:    small; */
/* } */

#maincontent img
{
float: right;
margin: 4px;
padding: 4px;
border: 1px #d40 dotted;
/* width: 200px; */
}

body.subone #maincontent
{
	background: #eee url(i/frank.gif) bottom left no-repeat;
}
body.subtwo #maincontent
{
	background: #eee url(i/augusta.gif) bottom left no-repeat;
}
body.subthree #maincontent
{
	background: #eee url(i/daniela.gif) bottom left no-repeat;
}
body.subfour #maincontent
{
	background: #eee url(i/pier.gif) bottom left no-repeat;
}
body.subfive #maincontent
{
	background: #eee url(i/stefano.gif) bottom left no-repeat;
}
body.subsix #maincontent
{
	background: #eee url(i/gabriele.gif) bottom left no-repeat;
}

/* Horizontal nav menu */

#menu {
	margin: 10px 0 0 0;
	padding: 0 0 0 0;
	}

#menu ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
	clear: left;
	}

#menu ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
	}

#menu ul li a {
	background: #000 url(i/gradient-small-b.gif) bottom left repeat-x;
	width: 118px;
	height: 2em;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-right: none;
	padding: 0;
	margin: 0 0 10px 0;
	color: #e60;
	color: #fff;
	text-decoration: none;
	display: block;
	text-align: center;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 2em;
	font-size:    xx-small;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
	font-size:    x-small;   
	}

html>#menu ul li a  {
	font-size: x-small;   
	} 

#menu ul li#last a	{
/* 	width: 119px; */
	border-right: 1px solid #ccc;
	}
	
#resources a:link, #resources a:visited {
	border-right: 1px solid #ccc;
	}

#menu ul li a:hover {
	color: #fff;
	background: #eee url(i/gradient-small-b2.gif) center left repeat-x;
	}

#menu a:active	{
	background: #c60;
	color: #fff;
	}

body#sectionone #menu li#one a, 
body#sectiontwo #menu li#two a,
body#sectionthree #menu li#three a,
body#sectionfour #menu li#four a,
body#sectionfive #menu li#last a {
	background: #d40;
	background: #ccc url(i/gradient-small-b.gif) top left repeat-x;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color: #fff;
	font-weight: bold;
	}
	
	
/* Horizontal nav submenu */

#submenu {
	margin: 2px 0 0 0;
	padding: 0 0 0 0;
	}

#submenu ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
	clear: left;
	}

#submenu ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
	}

#submenu ul li a {
	background: #ddd;
	width: 77px; /* 7 elementi da controllare in debug */
	width: 90px; /* 6 elementi da controllare in debug */
	height: 2em;
	border-top: 1px dotted #d40;
	border-left: 1px dotted #d40;
	border-bottom: 1px dotted #d40;
	border-right: none;
	padding: 0;
	margin: 0 0 10px 0;
	color: #d40;
	text-decoration: none;
	display: block;
	text-align: center;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 2em;
	font-size:    xx-small;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
	font-size:    x-small;   
	}

html>#submenu ul li a  {
	font-size: x-small;   
	} 

#submenu ul li#last a	{
	border-right: 1px dotted #d40;
	}
	
#resources a:link, #resources a:visited {
	border-right: 1px dotted #d40;
	}

#submenu ul li a:hover {
/* 	color: #ddd; */
/* 	background: #d40; */
	color: #fff;
	background: #f60;
	}

#submenu a:active	{
	color: #ddd;
	background: #d40;
	}

body.subone#sectiontwo #submenu li#one a, 
body.subtwo#sectiontwo #submenu li#two a,
body.subthree#sectiontwo #submenu li#three a,
body.subfour#sectiontwo #submenu li#four a,
body.subfive#sectiontwo #submenu li#five a,
body.subsix#sectiontwo #submenu li#six a,
body.subseven#sectiontwo #submenu li#last a {
	background: #d40;
	color: #fff;
/* 	background: #f60; */
/* 	color: #fff; */
	border-top: 1px dotted #d40;
	border-left: 1px dotted #d40;
	border-bottom: 1px dotted #d40;
	font-weight: bold;
	}


/*  Typography */


h1, h2, h3, h4, h5, h6	{
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: 2px;
	letter-spacing: 2px;
	}
	
#maincontent h1	{
	color: #d40;
    margin-top: 0;
    font-size:    large;      
    voice-family: "\"}\"";   
    voice-family: inherit;   
    font-size:  x-large;       
    }

html>#maincontent h1 	{
	font-size:  x-large;  
	} 

#maincontent h2
{
	color: #d40;
	margin-top: 35px; 
    font-size:    medium;     
    voice-family: "\"}\"";   
    voice-family: inherit;   
    font-size:    large;       

	}

html>#maincontent h2 	{
	font-size:  large;  
	} 


h3	{ 
	color: #d40;
	font-size: small;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
	font-size: medium;  
	}

html>h3 	{
	font-size:  medium;  
	}
	
h4	{ 
	color: #d40;
	font-weight: normal;
   	font-size: x-small;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
	font-size: small;  
	}

html>h4 	{
	font-size: small;  
	} 
h5	{ 
	color: #d40;
     font-size:    xx-small;      
     voice-family: "\"}\"";   
     voice-family: inherit;   
     font-size:    x-small;  
	}

html>h5 	{
	font-size:  x-small;  
	} 
h6	{ 
	color: #d40;
	font-weight: normal;
	font-size:    9px;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
  	font-size: xx-small;
	}

html>h6 	{
	font-size:  xx-small;  
	} 

p	{
	line-height: 140%;
	text-align: left;
	margin-top: 0;
	margin-bottom: 1em;
	}

cite
{
	font-style: italic;
	font-weight: bold;
}

.strong
{
	font-style: italic;
	font-weight: bold;
	padding: 0.5em;
	background: #ddd;
	border: 1px #333 dotted;
}

.emphasis
{
	font-style: italic;
	padding: 0.5em;
	background: #ddd;
	border: 1px #333 dotted;
}

#maincontent, #maincontent div, #maincontent p, #maincontent th, #maincontent td, #maincontent li, #maincontent dd, #maincontent dt    {
	font-size:    x-small;      
             /* Tantek again */
    voice-family: "\"}\"";   
    voice-family: inherit;   
    font-size:    small;         
    }

html>#maincontent, html>#maincontent div, html>#maincontent p, html>#maincontent th, 
html>#maincontent td, html>#maincontent li, html>#maincontent dd, html>#maincontent dt    {
    font-size:  small;
    }


#maincontent li{
  list-style: none;
}

#maincontent li strong{
	font-style: italic;
	letter-spacing: 1px;
}

	/* General linkology */
	
a:link, a:visited
{
	font-weight: bold;
	text-decoration: none;
	/* border-bottom: 1px dotted; */
	color: #d40;
	background: transparent;
}

a:hover {
	font-weight: bold; 
	text-decoration: none;
/*	border: 0; */
/* 	background: #000 url(i/gradient-small-b.gif) top left repeat-x; */
/* 	color: #e51; */
	background: #d40;
	color: #eee;
	}

a:active {
	font-weight : bold; 
	text-decoration : none;
	color: #526968;
	background: transparent;  
	}


/* Utility */

.hide {
	height: 0;
	width: 0;
	overflow: hidden;
	position: absolute;  /* for the benefit of IE5 Mac */
	}
.cleared {
	clear: both;
}

/*BODY, #wrapper,#header,#menu, #submenu, #maincontent {border: blue 1px solid; } */
