html,body{margin:0;padding:0}

html{height: 100%; margin-bottom: 1px} /*per la scrollbar laterale in Opera e Mozilla*/

body{padding-bottom:20px; font: 14px "Trebuchet MS", Verdana, Arial, sans-serif; text-align: center; background: #E6E6E6; color: #3f3f3f}



h1, h2, h3, h4, h5{margin: 0}

h1{font-size: 250%; text-align: center; color: #242458; margin-top:10px; margin-bottom:15px; font-weight:bolder}

h2{font-size: 200%; text-align: center; color: #373686; margin-top:6px}

h3{font-size: 150%; text-align: center; color: #4846ad; margin-top:4px}

h4{font-size: 100%; text-align: center; color: #5856d5; margin-top:2px}

h5{font-size: 75%; color: #5856d5; margin-top:2px}

p{margin: 0; padding: 0 0 1em; line-height: 1.5; text-align: justify; color: #373686}

a{font-weight: bold; color: #6865fb}

table{color: #373686}



/*classi generiche*/



div.center{text-align:center}

.blink{text-decoration:blink}

.stamp{font-variant:small-caps}

.center{text-align:center}

.tab{padding-left: 16px}

.tab2{padding-left: 32px}

.right{text-align:right}



/* header */



div#container{width:1024px; margin: 0 auto; background: url(../images/sfondo.png) repeat-y left; text-align: left}

div#header{position: relative; height: 200px; background: url(../images/header.png) no-repeat top left}

div#header a{display: block; position: absolute; left: 30px; top: 30px; width: 964px; height: 150px; text-decoration: none; text-align:center; text-indent: -9000px}



/* menu1 */



div#menu1{float: left; width:200px;}

div#menu1 h4{margin-top: 10px; font-size: 120%; font-weight:lighter; color: #ff0000}

div#menu1 ul{margin-left: 15px; list-style-type: none; padding:0; color: #373686}

div#menu1 li{line-height: 1.3; color: #373686}

div#menu1 li ul{list-style-type: disc; margin-left: 20px; color: #373686}

div#menu1 a{text-decoration: none; font-weight: bold; color: #373686}



/* menu2 */



div#menu2{float: right; width:200px;}

div#menu2 h4{margin-top: 10px; font-size: 120%; font-weight:lighter; color: #ff0000}

div#menu2 ul{margin-left: 15px; list-style-type: none; padding:0; color: #373686}

div#menu2 li{line-height: 1.3; color: #373686}

div#menu2 li ul{list-style-type: disc; margin-left: 20px; color: #373686}

div#menu2 a{text-decoration: none; font-weight: bold; color: #373686}



/* content */



div#content{margin: 0 205px 0 205px}

div#content img a {text-decoration: none;padding-bottom: -3px;border-bottom: 1px solid #000}

div#content img a:hover {text-decoration: none; border-bottom: 1px dotted #000}

div#content h1 a,div#content h2 a,div#content h3 a,h4 adiv#content ,p a {text-decoration: none;padding-bottom: 1px;border-bottom: 1px solid #333}

div#content h1 a:hover,div#content h2 a:hover,div#content h3 a:hover,div#content h4 a:hover,div#content p a:hover {border-bottom: 1px dotted #999}

div#content ul{margin:0 0 1em;padding:0;list-style-type: none;}

div#content ul li{margin:0;padding-left:16px;line-height:1.4;background: url(bodybullet.jpg) no-repeat 0 4px;}

div#content img{border-style:none;}

/*div#content table{width:560px; /*text-align: center}

div#content table tr{width:560px; /*text-align: center}

div#content table tr td{width:560px; /*text-align: center}*/



/* footer */



div#footer{clear: both; text-align: center; border-top: 0px solid #ccc; /*padding-bottom: 5px;*/ background: url(../images/footer.png) bottom; color: #3A4C5A; font-size: 90%}

div#footer a{text-decoration: none; color: #3A4C5A; font-weight:bolder}

/*a{font-weight: bold; color: #531b8e}*/

/*table{color: #531b8e}*/



/*stili per foto */



div.foto{text-align:center;}

div.foto img{margin: 2px 2px 2px 2px; border-style:none;}

div.foto a{text-decoration: none; border-bottom: none;}

div.foto a:hover{text-decoration: none; border-bottom: none;}



/*stili per il form di contatto*/



form,fieldset{margin-top:0;margin-left:0;padding: 0;border: 0px solid #000}

form label{float:left;width:80px;line-height:23px;margin-right:5px;text-align:right}

form input,textarea,select,option{margin-bottom:5px;border-style:solid;border-color: #8C8C8C #ABABAB #ABABAB #8C8C8C;

    border-width:2px 1px 1px 2px;background:  url(../inputbk.jpg) repeat-x bottom}



/*form br{clear:left}*/



input#submit{margin: 10px 0 0 90px;border: 1px solid #CCC;/*padding: 0 5px;*/

background: #E6E6E6 url(buttonbk.jpg) repeat-x center left}



