body {
	font-family: 'bitstream vera sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Sans-Serif;
	font-size: 76%;
	color: #000;
	background-color: #aaa;
	text-align: center;
	margin: 0;
	padding: 0;
	background: #fff url(imgs/bak_page1.png) 50% 0;
}

body.bg0 {
	background: #fff url(imgs/bak_page1.png) 50% 0;
}

body.bg1 {
	background: #fff url(imgs/bak_page1.png) 50% 0;
}

body.bg2 {
	background: #fff url(imgs/bak_page2.png) 50% 0;
}

body.bg3 {
	background: #fff url(imgs/bak_page3.png) 50% 0;
}


#container {
	/*border: 1px solid black;*/
	width: 765px;
	margin: 0 auto;
	text-align: left;
}

#top {
text-align: right;
margin-top: 25px;
margin-bottom: 0;
padding: 25px 0 25px 0;
background: transparent url(imgs/bak_top.png) no-repeat scroll top left;
	border: none;
}

#top img{
/*	border: 1px solid black;*/
margin-right: 30px;
}

#centerMad {
	margin: 0;
	padding: 0;
	background: transparent url(imgs/bak_center.png) repeat-y top left;
}

#nav {
	font-size: 10px;
 	float: left;
	width: 228px;
	margin: 0;
	padding: 0;
	margin-left: 1px;
	background-color: #fff;
}

#sID {
	font-size: 60px;
	width: 150px;
	margin: 0;
	padding: 0;
	margin-left: 1px;
	background-color: #fff;
	float: left;
	text-align: right;
}

#nav a.subsect, #nav a.current {
	display: block;
	text-indent: 20px;
	margin: 0 12px 3px 47px;
	background: url(../imgs/bullet.png) no-repeat 5px 50%;
	color: #333333;
	text-decoration: none;
}

#nav a.subsect:hover, #nav a.current {
	background-color: #E6E6E6;
	color: #DF5900;
}

#nav a.subsect:active {
	background-color: #FF0000;
	color: #FFFFFF;
}

#nav img.ico {
	float: left;
	margin-bottom: 10px;	
}

#gallery {
	margin: 0;
	padding: 0;
	border: 0;
}

#content {
/*	border: 1px solid black;*/
	margin-right: 25px;
	margin-bottom: 40px;
	padding: 0;
	width: 500px;
	float: right;
	background-color: #fff;	
}

#content #date {
	padding-left: 15px;
	padding-right: 55px;
	margin-top: 40px;
	font-size: 1.1em;
	color:#666666;
}

#content a {
	padding-left: 2px;
	padding-right: 2px;	
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;	
	text-decoration: none;
	color: #FF4500;
	border-bottom: 1px dotted #FF6600;
}

#content a:hover { text-decoration: none; border-left: 1px solid #FF6600; border-right: 1px solid #FF6600;	border-bottom: none; }

#content #date a { color: #999999; border-bottom: 1px dotted #999999; }
#content #date h4 { font-size: 1em; color:#FF0000; padding: 0; margin: 0; }
#content #date h4 a { color:#FF0000; text-decoration: none; border-bottom: none; }
#content #date h5 { font-size: 0.9em; margin-bottom: 5px; border-bottom: 1px solid #DDDDDD; }
#content #date em { font-weight: normal; color: #333333; }
#content #date em.future0 {  font-size: 1.3em; color: #666666; }
#content #date em.future1 {  font-size: 1.2em; color: #666666; }
#content #date em.future2 {  font-size: 1.4em; color: #808080; }
#content #date em.future3 { font-size: 1.65em; color: #999999; }
#content #date em.future4 { font-size: 1.75em; color: #CCCCCC; }
#content #date em.future5 {  font-size: 1.9em; color: #DEDEDE; }
#content #date em.future6 {  font-size: 1.6em; color: #999999; }
  #content #date em.past6 {  font-size: 1.3em; color: #999999; }
  #content #date em.past5 {	 font-size: 1.2em; color: #DEDEDE; }
  #content #date em.past4 {  font-size: 1.4em; color: #CCCCCC; }
  #content #date em.past3 { font-size: 1.65em; color: #999999; }
  #content #date em.past2 {	font-size: 1.75em; color: #808080; }
  #content #date em.past1 {  font-size: 1.9em; color: #666666; }
  #content #date em.past0 {  font-size: 1.6em; color: #666666; }



#content strong { color: #333333; }
#content em { color: #DE0000; font-style: normal; font-weight: bold; }
#content .red { color: #FF0000; }

#content a.external {
	text-decoration: none;
	border-bottom: 1px dotted #333333;
	color: #333333;
}

#extContent {
	text-align: right;
	clear: both;
	padding: 50px 25px 25px 0;
}

#footerMad {
	width: 765px;
	margin: 0 auto;
	text-align: left;
	background: transparent url(imgs/bak_footer.png) no-repeat bottom left;
	height: 10px;
	margin-bottom: 50px;
	clear: both;
	
}

div.module div div div {
	background: transparent url(../imgs/light_top_right.gif) no-repeat top right;
	/*background: transparent url(images/grey_top_right.png) no-repeat top right;*/
	padding: 4px 5px 5px 5px;
	width: auto !important;
	width: 100%;
}.clear {
clear: both;
}

/* ROUNDED BOX */

div.module {
	float: right;
	width: 134px !important;
	width: 124px;
 background: transparent url(../imgs/light_bottom_left.gif) no-repeat bottom left;
 border: 0px solid #cccccc;
	margin-bottom: 11px;
	margin-right: 21px !important;	
	margin-right: 9px;
}

div.module h3 {
	margin-top: 0px;
}

div.module div {
 background: transparent url(../imgs/light_bottom_right.gif) no-repeat bottom right;
}

div.module div div {
 background: transparent url(../imgs/light_top_left.gif) no-repeat top left;
}


div.module div div div div {
	background: none;
	padding: 0;
}

/* ROLLOVER MENU */

div#nav span{
	margin: 0;
	padding: 0
}
div#nav span,div#nav a.shows{
	display:block;
	width: 124px;
	height: 48px
}

div#nav a.shows{
	text-indent: -9000px;
	text-decoration: none;
	padding: 48px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/:48px;
	font-size: 1px;
}

span#mS, span#mS a{ background-image: url(../imgs/S.jpg)}
span#mOHEI, span#mOHEI a{ background-image: url(../imgs/Ohei.jpg)}
span#mPZU, span#mPZU a{ background-image: url(../imgs/PzU.jpg)}
span#mN2, span#mN2 a{ background-image: url(../imgs/N2.jpg)}
span#mACERBO, span#mACERBO a{ background-image: url(../imgs/Acerbo.jpg)}
span#mTIMEREMAP, span#mTIMEREMAP a{ background-image: url(../imgs/TIMEREMAP.jpg)}

#nav span, #nav a.shows:hover{
	background-position: 0 -48px;
}

body#S span#mS a, body#OHEI span#mOHEI a, body#PZU span#mPZU a, body#N2 span#mN2 a, body#ACERBO span#mACERBO a, body#TIMEREMAP span#mTIMEREMAP a { background-position: 0 -48px }

body#HOME a#mHOME, body#LABORATORI a#mLABORATORI, body#CONTATTI a#mCONTATTI, body#PERSISTENZA a#mPERSISTENZA,
body#S a#mINMOVIMENTO, body#OHEI a#mINMOVIMENTO, body#PZU a#mINMOVIMENTO, body#N2 a#mINMOVIMENTO, body#ACERBO a#mINMOVIMENTO {
	background-color: #E6E6E6;
	color: #DF5900;
}

/* Horizontal rule */

.hrDot{
	width: 180px;
	height: 3px;
	background: transparent url(../imgs/puntini_hor.gif) repeat-x top left;
	padding: 0;
	margin: 7px 0 7px 36px !important;
	margin-bottom: -5px;
	clear:both;
}

.hrDot hr{
	visibility:hidden;
}

#quot {
	font-family: "Courier New", Courier, mono;
	font-size: 11px;
	border-top: 1px dotted #999999;
	border-bottom: 1px dotted #999999;	
	background-color: #FFFFE6;
	padding: 10px;
}

p.quot {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	font-style: italic;
	padding: 8px;
}

.evident {
	border-top: 1px dotted #999999;
	border-bottom: 1px dotted #999999;	
	background-color: #FFFFE6;
	padding: 10px;
	text-align: center;
}

.evident h4 {
	color: #FF0000;
	font-size: 1em;
	line-height: 1em;
	margin: 0;
}

.evident a {
	font-weight: bold;
	color: #CC0000
}

#submenu {
	width: 255px;
	float: right;
	padding-right: 25px;
	padding-top: 20px;		
}

#submenu a {
	display: block;
	border-bottom: 1px;
}

#submenu a:hover {
border-bottom: 1px solid #FF5300;
}

#submenu #idee {
float: right;
width: 120px;
border-left: 5px solid #E6EA5B;
background-color: #E6EA5B;
}

#submenu #idee.current {
border-left: 5px solid #FF5300;
}

#submenu #video {
float: right;
width: 120px;
border-right: 5px solid #FEC94B;
background-color: #FEC94B;
}

#submenu #video.current {
border-right: 5px solid #FF5300;
}

.video {
	float: right;
	background-color: #FEC94B;
	padding: 5px;
	margin-right: 25px !important;
	margin-right: 13px;	
}

.videolinks {
	width: 240px;
	float: right;
	padding: 5px;
	margin-right: 25px !important;
	margin-right: 13px;	
}

#content a.jumptogallery {
	float: right;
	border-bottom: none;
	border-top: 1px dotted #CCCCCC;
	padding-top: 3px;
}

#content a.jumptogallery:hover {
	border-top: 1px solid #FFFFFF;
}

span.dem {
	color:#666666;
}

#content a.gmaps, #content #date a.gmaps {
	padding-right: 32px;
	background: transparent url(imgs/map.png) no-repeat center right;
	border-bottom: none;
	text-decoration: underline;
}

#content a.gmaps:hover, #content #date a.gmaps:hover { color:#f60;  border-left: 1px solid #fff; border-right: 1px solid #fff; background: transparent url(imgs/map_go.png) no-repeat center right;
 }