html, body{
	height:100%;
} 
/* end hack */

html,body {margin:0; padding:0}

html>body #outer{height:auto;} /*for mozilla as IE treats height as min-height anyway*/

#clearheader{height:125px;}/*needed to make room for header*/
#clearfooter{clear:both;height:60px;}/*needed to make room for footer*/

body {
 	background: #bbd5e5; 
	text-align: center;
	margin: 0px;
	font-family: arial,tahoma,verdana,sans-serif;
	color: #146AA1;
	background-position: center;
	height:100%; /* needed for container min-height */
}

div#header {
	margin-top:10px;
	background-color: #bbd5e5;
	background-image: url(img/headlogo.jpg);
	background-repeat: no-repeat;
	height: 85px;
	width:950px;
}

div#outer {
	height: 100%;
	min-height: 100%;
	width: 950px; 
	margin-left:auto;
	margin-right:auto;
	margin-bottom: -60px;
	background-color:#ffffff;
}

* html #outer{height:100%;} /* IE6 and under treat height as min-height anyway*/


div#maintext {
	padding: 1em 1em 5em;
	height: 100%;
	color:#000033;
	/*padding: 8px 12px 12px 10px;*/
	text-align: justify;
	clear: both;
	overflow: hidden;
	display: block;
}

div#maintext a{
	color:#000033;
}

div#footer {
	background-color:  #bbd5e5 ;
	background-position: center;
	position: relative;
	height: 60px;
	background-image: url(img/foot_2.jpg);
	width: 950px; 
	margin-left:auto;
	margin-right:auto;
	font-size: 12px;
	color: #fff;
	text-align:center;
}

div#banner-header {
	margin-left:auto;
	margin-right:auto;
	height:185px;
	width:934px;
	background-repeat: no-repeat;
	background-image: url(img/banner_head.jpg);
}


div#menu {
	text-align: center;
	/*background-color: #146aa1;*/
	background-image: url(img/barra.jpg);
	background-repeat: no-repeat;
	height: 22px;
	padding-top:4px;
	margin-left:auto;
	margin-right:auto;
	width:930px;
}

.header-inside {
	background-color: #096771;
	height: 20px;
}

.footer-inside {
    position: absolute;bottom:0; padding: 0.5em 0;
	width: 950px;
	background-color:#fff;
	background-image: url(img/foot.jpg);
	background-repeat:no-repeat;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
}

.footer-inside-mosaic{
	width:930px;
	height:40px;
	margin:auto;
	/*background:#146AA1;*/
	background-image:url(img/barrafooter.jpg);

}

.footer-inside a{
	color:#fff;
}


div.rigafooter{
	line-height: 20px;
}

div#tailfooter{
	height:35px;
}


ul#menunav {
	list-style-image: none;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	height:25px;
}


ul#menunav li {
	color: #c4c4ff;
	padding-left: 15px;
	padding-right: 15px;
	/*font-family: 'trebuchet ms';*/
	font-size: 15px;
	font-weight: bold;

	display: inline;
	cursor: pointer;
}

.select {
	background-color: #3e4557 !important;
	background-color:none;
	border:1px solid #ffffff !important;
	border:none;
}

.menuselect{
	color:#f2f43c;
	text-decoration: underline;
}

ul#menunav li a {
	color: #ffffff;
	text-decoration:none;
}

ul#menunav li a:hover {
	color:#f2f43c;
	text-decoration: underline;
}



/******** TESTO **********/

div#titolo {
	width: 100%;
	height: 20px;
	font-size: 12px;
	text-align: center;
	color: #fff;
	background-color: #000033;
}

div.sottotitolo {
	font-size: 24px;
	font-weight: bold;
	font-style:italic;
	text-align:center;
	padding-top : 10px;
 	padding-bottom:20px;
	color: #146AA1;
}

div.titoloparagrafo{
	font-size: 16px;
	font-weight: bold;
	text-align:center;
	padding-bottom : 20px;
	color: #000;
}

div.titolosottoparagrafo{
	font-size: 15px;
	font-weight: bold;
	text-align:center;
	padding-top:5px;
	padding-bottom : 10px;
	color: #146AA1;
}

div.titolosottoparagrafocorsivo{
	font-style: italic;
	text-align:left;
	padding-bottom : 12px;
	color: #000;

}

.centrato{
	text-align:center;
}

.sottolineato{
	text-decoration:underline;
}

span.grande{
	font-size:18px;
}

/****** LAYOUT 2 COLONNE CLASSICO******/
div#layoutcolonnasx {
	float: left;
	width: 300px;
}

div#layoutcolonnadx {
	margin-left: 330px !important;
	margin-left: 318px;
	margin-right: 15px;
}

/****** LAYOUT 3 COLONNE ******/

div#layout3colonnesx {
	float:left;
	width:400px !important;
	width:400px;
	color:#146AA1;
}

div#layout3colonnesx .sx{
	float:left;
	width:180px !important;
	width:180px;
}

div#layout3colonnesx .dx{
	float:right;
	width:200px;
}

div#layout3colonnedx {
	float:right;
	width:480px !important;
	width:460px;
	margin-right:20px;
	color:#146AA1;
	text-align:justify;
}

.descrizione{
	text-align:right;
	height:30px;
}
.rigainput{
	height:30px;
	text-align:left;
}

.rigainputbutton{
	height:30px;
	text-align:center;
}

.rigatext{
	height:150px;
	text-align:left;
}

.input{
	border:1px solid #146AA1;
	background-color:#fff;
	color:#146AA1;
	text-align:left;
	width:190px;
}

.inputbutton{
	border:1px solid #146AA1;
	background-color:#fff;
	color:#146AA1;
	text-align:center;
	width:60px;
}

/* ------------------- BOX DEL MENU SINISTRO E CONTENUTO DESTRO --------------- */
#box{
  width:950px;
  overflow:auto;
  padding: 10px;
  text-align: justify;
}

.leftmenu{
  margin-top:50px;
  width:140px;
  margin-left:20px;
  float:left;
}

.leftmenutop{
  background-image:url(img/leftmenutop.png);
  width:140px;
  height:23px;
}

.voce a {
   display:block;
   color: #ffffff;
   text-decoration: none;
   white-space: nowrap;
}

.voce a:hover {
   display:block;
   color: #fff;
   text-decoration: underline;
   white-space: nowrap;
}
 
.voce {
   background-color:#146aa1;
   width: 133px;
   border-color: #5091bb;
   border-width: 3px;
   border-style: none none solid solid;
   padding: 1px 0 2px 5px;
   font-size: 15px;

}

.voce:hover {
   background-color:#083e60;
   width: 133px;
   border-color: #e05417;
   border-width: 2px;
   border-style: solid none solid solid;
   padding: 1px 0px 2px 8px;
   color: #e05417;
}

.voceselezionata {
   background-color: #083e60;
   width: 134px;
   border-color: #ff580e;
   border-width: 2px;
   border-style: solid none solid solid;
   padding: 1px 0px 2px 14px;
   font-size: 15px;

}

.voceselezionata a{
   display:block;
   color: #fff;
   text-decoration: underline;
   white-space: nowrap;
}

.voceselezionata:hover {
   color: #fcff2a;
}

#rightcontent{
height:auto;
min-height:300px;
margin-left: 170px;
width:770px !important;
width:760px;
color:#000033;
}

/* ------------------- TABELLE --------------- */
table.tabellastandard {
 width:600px;
 margin-left:auto;
 margin-right:auto;
}

table.tabellastandard td {
  text-align:center;
  font-weight:bold;

}

table.tabellastandard td.data {
  text-align:right;
  font-weight:bold;
  width:100px;
  color:#000033;
}

table.tabellastandard td.festa {
  text-align:left;
  font-weight:bold;
  padding-left:50px;
  width:110px;
  color:#000033;
}

table.tabellastandard td.luogo {
  text-align:left;
  width:170px;
  font-weight:bold;
  color:#000033;
}

table.tabella_foto {
 width:500px;
 margin-left:auto;
 margin-right:auto;
}

table.tabella_foto td {
  text-align:center;
  padding-left:4px;
  padding-bottom:0px !important;
  padding-bottom:4px;

}


/* ------------------- IMMAGINI --------------- */
img{
 	border:1px solid #146aa1;
}

img.tabella_foto{
	width:250px;
	border: 4px solid #146aa1;
}

img.contatti{
	margin-top: 4px !important;
	margin-top: 8px;
	margin-bottom: 4px !important;
	margin-bottom: 8px;
	padding-left; 40px;
	border:none;
}

img.imgsx{
  width:300px;
  border: 6px solid #146aa1;
}

img.media{
  border:2px solid #146aa1;
  width:300px;
}

img.componente{
  border:4px solid #146aa1;
  width:350px;
}


/*LINK*/

a:link	{
	font-weight: bold;
	color: #fff;
}

a:visited {
	font-weight: bold;
	color: #fff;
}

a:hover	{
	font-weight: bold;
	color: #fff;
}


/*big menu*/

* {
	margin: 0;
	padding: 0;
}



