/* GENERAL */
/* colori

arancio: #EC5813
blu1: #18207B
blu2: #354990
*/
body {margin:0; padding:0; background: #f0efee; color:#000; font-size:76%; font-family: Arial, Helvetica, sans-serif;}

table {margin:0; padding:0; border:0; color:#fff;  }
td {margin:0; padding:5px; color:#fff; border-bottom: 1px solid #C49B28;}

h1, h2, h3, h4, h5 {margin:0; padding:0;}

h1 {font-size: 2.5em; font-weight:bold; margin-bottom:10px; height:26px; width:468px;}
h2 {font-size: 1.6em; font-weight: normal; margin:10px 0;}
h3 {font-size: 1.2em; font-weight: bold; margin:5px 0;}
h4 {font-size: 1.0em; font-weight: bold; margin:5px 0;}
h5 {font-size: 0.8em; font-weight: normal;}
h6 {font-size: 0.7em; font-weight: normal;}

p {font-size: 1em; margin:0 0 0.7em 0; padding:0; line-height: 1.5em;}
#newscontent p {color:#fff;}


h3.titolo1 {color:#000;}
h3.titolo2 {color:#f49f50;}
h3.titolocopertina {color:#029054;}
h3.titololinks {color:#f49f50;}
h4.titoloanno {margin:5px 0; background: #f0efee; padding:5px 2px;}
h4.titolomenu {margin:5px 0; background: #f0efee; padding:5px;}
h5.bianco {font-size: 0.8em; font-weight: normal; color:#FFFFFF;}
h5.nero {font-size: 0.8em; font-weight: normal; color:#000000;}
div.anno {margin:15px 0;}

navmenu {}


h1 span {display:none;}

#page {width:740px; background: #fff url(img/sfondo-right.png) repeat-y 465px;}
#page.sfondohome { background: url(img/sfondo-home.png) repeat-y;}

#header {width:740px; height:105px; background: #f0efee url(img/header.png) no-repeat;}

#main {}

a {color:#000; text-decoration:underline; font-weight: bold;}
a:visited {color:#000; text-decoration:none; font-weight: bold;}
a:hover {color:#000; text-decoration:underline; font-weight: bold;}

a.speciale {color:#EC5813; text-decoration:none; font-weight: bold; font-size:1.2em;}
a.speciale:visited {color:#EC5813; text-decoration:none; font-weight: bold; font-size:1.2em;}
a.speciale:hover {color:#000; text-decoration:underline; font-weight: bold; font-size:1.2em;}

#newscontent a {color:#fff; text-decoration:underline; }
#newscontent a:visited {color:#fff; text-decoration:none;}
#newscontent a:hover {color:#fff; text-decoration:underline;}

#breadcrumbcontent a {color:#fff; text-decoration:underline;}
#breadcrumbcontent a:visited {color:#fff; text-decoration:none;}
#breadcrumbcontent a:hover {color:#fff; text-decoration:underline;}

.bloccolinks a {color:#000; text-decoration:none; }
.bloccolinks a:visited {color:#000; text-decoration:none;}
.bloccolinks a:hover {color:#000; text-decoration:none;}

.boxevidenza {border:1px dashed #f49f50; padding:15px;}


.navmenu a {color:#000; text-decoration:none; }
.navmenu a:visited {color:#000; text-decoration:none;}
.navmenu a:hover {color:#000; text-decoration:none;}

#left {width:464px; float:left; display:inline;}
#leftcontent {width:454px; margin-left:10px; margin-top:10px;}

#right {width:273px; float:left; display:inline;}
#rightcontent {width:250px; margin-left:15px; margin-top:10px;}

#center {width:236px; float:left; display:inline;}
#centercontent {width:226px; margin-left:10px; margin-top:10px;}

#news {width:228px; float:left; background: #000 url(img/sfondo_newseventi.png) no-repeat; display:inline;}
#newscontent {width:208px; margin-left:16px; margin-top:93px;}

#footer {width:740px; background: #F0EFEE;}
#footercontent { margin:5px 0; padding:5px 15px;}

div#poweredbox {margin-left:614px; width:126px; height:28px;} 

div#powered, div#powered a {
	display:block;
	margin:0px;
	padding:0px;
	overflow:hidden;
	width:126px;
	height:28px;
	clip:rect(0, 126px, 28px, 0);
}

div#powered a {
	padding: 38px 0 0 0;/*altezza + 10 px*/
	background: transparent url("http://www.mainstreet.mo.it/credits/powered-by-mainstreet-w-bkg.png") no-repeat top left;
	height: 0px !important;
	height /**/:38px;/*altezza + 10 px*/
}


div.spacer {clear:both;}

#breadcrumb {background: #fff; /*height:5em;*/ width:740px; /*margin:5px 0;*/}
#breadcrumbcontent {background: #f49f50; margin:5px 0; padding-left:10px; /*height:3em;*/ font-size: 0.9em; color:#fff;}

.verticalspace {margin: 5px 0;}

.anno {}
.bloccolinks {}

div.bloccolinks ul
{
margin:0;
padding:0;
list-style-position: inside;
}
div.bloccolinks li {
	list-style-image: url(img/arrow.png);
	background: #fff;
	padding:5px;
	border-bottom:1px solid #f49f50;
}

div.bloccolinks li ul li{
	list-style-image: none;
	background: #fff;
	padding:5px;
	border-bottom: none;
	list-style-type: none;
}



div.bloccolinks li a {margin:5px;}


div.navmenu {background: #ccc;}

div.navmenu ul
{margin:0; padding:0; list-style-position: inside;}
div.navmenu li {
	list-style-image: url(img/arrow.png); background: #ccc;
	padding:5px;
	border-bottom:1px solid #f49f50;
}


div.navmenu li a {margin:5px;}


.bloccocopertina {}
.bloccocopertina p {color:#E80073;}
.bloccoarticolo { color:#000000; font-size: 12px; text-align: left; line-height: 18px; border: none; margin:0;}
.blocconews {}
h3.titolonews {color:#fff;}
img.fotoright {float:right; border:0; margin:5px 0 5px 5px;}
img.fotoleft {float:left; border:0; margin:5px 5px 0 5px;}

.gallery {}
.fotogallery {float:left; margin:0 15px 15px 15px; text-align:center;}

.fotogallery a { text-decoration:none; border:0;}


/* TOP NAV */

#mainmenu {width:740px; margin:0; padding:0; background-image:url(/img/nav_bg_new.gif); color: #FFFFFF;}

#csstopmenu, #csstopmenu ul{
padding: 0;
margin: 0;
list-style: none;
}

#csstopmenu li{
float: left;
position: relative;
}

#csstopmenu a{
text-decoration: none;
color: #FFFFFF;
}

.mainitems{
border:none;
/*background-color: #D8FE89;*/
margin: 3px;
}

.headerlinks a{
margin: auto 5px;
font-weight: bold;
text-indent: 3px;
color: #F49F50;
}

.submenus{
display: none;
width: 15em;
position: absolute;
top: 1.2em;
left: 0;
background-color:#f39e4f;
border: 2px solid #f39e4f;
text-align:left;
}

.submenus li{
width: 100%;
}

.submenus li a{
display: block;
width: 100%;
color: #F49F50;
}

html>body .submenus li a{ /* non IE browsers */
width: auto;
}

.submenus li a:hover{
background-color: #BDBDBD;
color: #F49F50;
}

#csstopmenu li>ul {/* non IE browsers */
top: auto;
left: auto;
}

#csstopmenu li:hover ul, li.over ul {
display: block;
}



/*
#topnav { width:740px; margin:0; padding:0; background-image:url(img/nav_bg_new.gif)}


#topnav ul {margin:0; padding:0;}
#topnav li {list-style:none; float:left; display:inline;}
#topnav li:hover ul, #topnav li.sfhover ul {left:auto;}
#topnav a, #topnav a:visited {display:block; height:23px;}


#topnav a.p1 {background:   url(img/nav.png) no-repeat; background-position:0 0; width:74px;}
#topnav a.p2 {background:   url(img/nav.png) no-repeat; background-position:-74px 0; width:74px;}
#topnav a.p3 {background:   url(img/nav.png) no-repeat; background-position:-148px 0; width:74px;}
#topnav a.p4 {background:   url(img/nav.png) no-repeat; background-position:-222px 0; width:74px;}
#topnav a.p5 {background:   url(img/nav.png) no-repeat; background-position:-296px 0; width:74px;}
#topnav a.p6 {background:   url(img/nav.png) no-repeat; background-position:-370px 0; width:74px;}
#topnav a.p7 {background:   url(img/nav.png) no-repeat; background-position:-444px 0; width:74px;}
#topnav a.p8 {background:   url(img/nav.png) no-repeat; background-position:-518px 0; width:74px;}
#topnav a.p9 {background:   url(img/nav.png) no-repeat; background-position:-592px 0; width:74px;}
#topnav a.p10 {background:   url(img/nav.png) no-repeat; background-position:-666px 0; width:74px;}


#topnav span {display:none;}



#topnav a.p1:hover {background-position:0 -23px;}
#topnav a.p2:hover {background-color:#f0f0f0; background-position:-74px -23px;}
#topnav a.p3:hover {background-color:#f0f0f0; background-position:-148px -23px;}
#topnav a.p4:hover {background-color:#f0f0f0; background-position:-222px -23px;}
#topnav a.p5:hover {background-color:#f0f0f0; background-position:-296px -23px;}
#topnav a.p6:hover {background-color:#f0f0f0; background-position:-370px -23px;}
#topnav a.p7:hover {background-color:#f0f0f0; background-position:-444px -23px;}
#topnav a.p8:hover {background-color:#f0f0f0; background-position:-518px -23px;}
#topnav a.p9:hover {background-color:#f0f0f0; background-position:-592px -23px;}
#topnav a.p10:hover {background-color:#f0f0f0; background-position:-666px -23px;}

*/



/* FORMS */

form {padding-top:10px;}
input.input {margin-bottom:1em; font-size:1em; width:15em;}
input.button {margin:10px 5px; float:right;}
input.inputfooter {}
input.buttonfooter {}
fieldset {margin:0px; padding:10px; border:1px solid #f49f50;}
legend {margin-bottom:5px;}
label {font-size:1em; width: 12em; float:left; text-align: right; margin: 0 1em 10px 0px; clear: both;}
.label_home {font-size:1em; width:auto; /*float:left; text-align: right;*/ margin: 0 1em 10px 0px; clear: both;}