html,body,ul,li{
	margin:0;
	padding:0;
	line-height:1.7em;
}
body{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 82%;
	text-align: center;
	background-color:#d3d3d3;
}
#cont-mathshell{
        max-width:800px;
        width: expression(document.body.clientWidth > 800?"800px":"auto"); 
	background-color:#fff; 
	border:1px solid #333; 
	align:center;
	hight:700;
        margin: 0 auto;   /* centra negli altri browser */
	margin-top:10px; 
        text-align: left;
}

#mathshell-intestazione{
	background-image:  url(img/mathshells.jpg);
	background-repeat: no-repeat;
	height:170px;
	text-aling:left;
	background-color:#fff;
}


}
#mathshell-intestazione_img {
	position : absolute;
   	top : 0 px;
   	right : 0 px;
	left:0px;
	zindex : 1;

}

#briciole ul{
	list-style-type: none;
	vertical-align: middle;
	padding-top:0px;
	margin-left:0px;
        orizontal-align: middle;
	text-align:center;
}
#briciole ul li{
	border-left:1px solid #C00000;
	padding-right: 10px;
	padding-left: 10px;
	margin:0px;
	vertical-align: left;
        display: inline;
}
#briciole ul li.ultimo{
	border-left:1px solid #C00000;	
	border-right:1px solid #C00000;
	padding-right: 10px;
	padding-left: 10px;
	margin:0px;
	vertical-align: left;
    display: inline;
}
#briciole{
	text-align: middle;
	vertical-align: top;
	background-color:#000;
        color:#fff;
}

#briciole a, #briciole a:visited{text-decoration: none;color:#fff; vertical-align: top; }
#briciole a:hover, #briciole a:link{text-decoration: none;color:#fff; vertical-align: top;}

#footer a:visited{text-decoration: none;color:#fff;}
#footer a:link{text-decoration: underline;color:#fff;}

#mathshell-contenitore{
	width:100%;
	height:auto;
	background-image:  url(mathshell-img/sfondo.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: right 20px;
}

#menu_sx{ 
	position: relative;
	font-family: Trebuchet MS;
	font-size: 110%;
	text-align: left;
	color:#000;
	float:right;
	margin-top: 10px;
	padding-left:5px;
	width:200px;
   /* height: auto !important;
 	min-height: 400px;*/
	border-left: 1px solid #000;
}

#menu_sx p { 
	text-align: left;
	margin:5px;
	padding-right:10px;
	padding-bottom:5px;
	}
#menu_sx h2 { 
	color:#0097EE;
	margin:5px;
	}
#menu_sx h3 { 
	color:#0097EE;
	margin:5px;
	}
#menu_sx h1.paese {margin-top:25px;background-image:  url(mathshell-img/paese.jpg);  background-repeat: no-repeat;}
#menu_sx h1.comune {background-image:  url(mathshell-img/comune.jpg); background-repeat: no-repeat;}
#menu_sx ul { 
	width:159px;
	margin-top:0px;
	list-style:none;
	background-image: url(mathshell-img/sfondo-sx.jpg);
	background-repeat: no-repeat;
	background-position:bottom;
	}
#menu_sx ul li.attivo{ 
	background-image:  url(mathshell-img/punto.gif);
	background-repeat: no-repeat;
	background-position:left;
	font-weight: bold;
	}

#menu_sx a{
	text-decoration:none;
    margin-left:0px;
	color:#0097EE;
	padding-top:0px; 
}

#mathshell-contenuto ul a{
  	color:#9D181B;
	text-decoration:none;
	}
#mathshell-contenuto{
	width:100%;
	text-align:left;
	height: auto !important;
        height: 400px;
	min-height: 400px;
	
}
#mathshell-contenuto p a{
	text-decoration:underline; color:#A6835B; 
	font-weight: bold;
}

#mathshell-contenuto a.dx{
	text-decoration:underline;
	color:#A6835B;
	font-weight: bold;
	text-align:right;
	position: absolute;
	right:22px;
}
span {
	display:inline;
	text-align:left;
	border:1px solid #A6835B;
	width: 100%;
}
#mathshell-contenuto p{
	text-align: left;
	margin-top:30px;
	margin-left:10px;
	margin-right:10px;
	margin-bottom:30px;
	padding-right:10px;
}
#mathshell-contenuto p.gallery {
	text-align: left;
	margin-top: 10px;
	margin-left: 15px;
	margin-bottom:0px;
	padding-right: 0px;
        font-size: 11px;
}
}
#mathshell-contenuto h2{
	text-align: left;
	margin-top:30px;
	margin-left:50px;
	color:#0097EE;
}

#mathshell-contenuto img{
	float:left;
	border:0px solid #A6835B;
	margin:10px;
}  
#mathshell-contenuto img.destra{
	float:none;
	border:1px solid #A6835B;
	margin: 0px;
}  
#mathshell-contenuto h1{
   	font-family:Serif, Georgia, Garamond;
    margin-top:20px;
	margin-left:0px; 
}
#mathshell-contenuto h3{
	text-align: left;
	margin:30px;
	margin-left:10px;
	margin-bottom:2px;
	color:#0097EE;
}
#mathshell-contenuto h4{
	text-align: left;
	margin-top:-30px;
	margin-bottom:-30px;
	margin-left:50px;
	color:#ff0000;
}
#mathshell-contenuto h5{
	text-align: left;
	margin:10px;
	margin-left:0px;
	margin-bottom:0px;
}

#mathshell-contenuto ul{
	list-style:none;
	margin-bottom:10px;
	margin-left:0px;
	margin-right:10px;
	}
#mathshell-contenuto ul li {
	list-style: none inside;
	padding-left: 0px;
	border-left:2px solid #999998;
}
#mathshell-contenuto ul.noBordo{
	list-style:square;
	margin-bottom:10px;
	margin-left:10px;
	margin-right:10px;
	text-align: left;
	vertical-align: middle;
	}	
#mathshell-contenuto ul.noBordo li {


	list-style:square;
	padding-left: px;
	border:0px;
	}
#mathshell-contenuto ul.book{
	list-style:none;
	margin-top:20px;
	margin-bottom:10px;
	margin-left:250px;
	margin-right:10px;
	}
#mathshell-contenuto ul.book li{
	list-style:none;
	display: inline;
	background-color:red;
	vertical-align: middle;
	border:1px solid #fff;
	margin-right:20px;
	line-height:50px;
}
#album table tr td{
	background-color: none;
    
}
#mathshell-contenuto table{
	margin-top:10px;
	margin-left:100px;
   	text-align: left;
	border:0px;
	width:auto;
	margin-bottom:5px;
	padding-left:5px;

}
 


#mathshell-contenuto table img{
	border:0px;
	float:none;
	vertical-align:text-top;
	position: relative;
	margin:5px;
	text-align: center;
}
#mathshell-contenuto table th{
	padding-left:5px;
} 

#mathshell-contenuto table tr td{
        text-align: left;
	border:0px;
	padding-left:8px;
	padding-right:0px;
	margin-bottom:0px;
	color:#0097EE;
        font-size: 0.9em;
} 
#mathshell-contenuto tr td.colore{
	background-color:#C4CEBB;
}


#mathshell-contenuto table a{
  	text-decoration:underline;
	color:#A6835B;
	font-weight: bold;
	
} 


#footer{
	clear:booth;
	color:#fff;
	font-weight: bold;
	text-align: center; 
	margin-top:3px;
	padding:0;
	background-color:#000;
}

.bordo{border-right:1px dashed black}
#menu_home{
	color:#000;
	font-weight: bold;
	text-align: right;
	width:100%;
	margin-top:0px;
	margin-bottom:0px; border:1px solid black;
}

#menu_home ul, #briciole ul{
	list-style-type: none;
	vertical-align: bottom;
	padding-top:0px;
}
#menu_home li{
	padding-right:10px;
	margin:0px;
	border:0px;
}
#menu_home li, #briciole li{display: inline;} 
#menu_home a, #footer a:visited{text-decoration: none;color:#000;}
#menu_home a:hover, #footer a:link{text-decoration: underline;color:#000;}






























