/********** reset **********/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
th {
	text-align:left;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* messaggi in rosso */
.rosso { padding: 2px 4px;background-color:#FFE0DF;border:solid 1px #F00;font-weight:bold; }	
.rosso img { float:left; }


/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/********* fine reset ******/


/********************classi generiche di struttura e formattazione*****************************/
.inline{
display:inline;
}
.clear{
width:100%;
clear:both;
padding:0;
margin:0;
border:0;
overflow:hidden;
height:0;
}
.hidden{
display:none;
}
.italic{
font-style:italic;
}
.smallcaps{
font-variant: small-caps;
}
.right{
text-align:right;
}
/**************** Elementi generici html *********/
body {
	
	/*	font-size:62.5%;	*/
	
	font-size:75%;
	font-family: Georgia,Platino,serif;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	background-color:#EBEAEA;
}
h1{
font-size:3.4em;
}
h2{
font-size:1.8em;
}
h3{
font-size:1.3em
}
h4{
font-size:0.8em
}
input,select {
font-size:1.0em;
font-family: Georgia,Platino,serif;
}
a:hover, a:active, a:visited, a:link {
color:#3465a4;
text-decoration: none;
}
/********** Header **********/
#header {
 width:100%;
 height : 8.33em;
 margin :0 auto;
 padding:0;
 background : url(images/header_center.jpg) repeat-x;
}
#header_left {
width : 100%; 
 height : 8.33em;
 margin :0 auto;
 padding:0;
 background : url(images/logo.gif) no-repeat top left;
}
#ogc {
 float: left;
 width : 10em; 
 height : 7em;
 margin :0.2em 0 0 10%;
 text-align:right;
}
#ogc a{
 width : 10em; 
 height : 8em;
 display:block;
 
}
#header_right {
 width : 100%; 
 height : 8.3em;
 margin :0 auto;
 padding:0;
 background : url(images/progetto.gif) no-repeat top right;
}
#linkhome{
text-indent : -500em; 
display:block;
height:8em;
width:30em;
overflow:hidden;
float:left;
}

/********** Main content **********/
#content {
margin :0; 
padding:0 ;
min-height: 400px;
height: auto !important;
height: 400px;
background-color:#EBEAEA;
}
h3{
margin : 2em 0 1em 2.308em;
}
/********** Main text **********/
#text {
margin :0.5em 3em; 
padding:0;

 }
 
#text fieldset{
border: 0.1em solid #000;
margin-top:1em;
width:70em;
}
#text legend {
font-size: 1.2em;
font-weight:bold;
margin:0 1em;
padding:0 0.5em;
}
#text td {
	padding: 0.6em;
}
.divbordo {
border: 1px solid black;
}
/********** Menu alto amminsitratore e editor**********/
#menu{
margin:0;
padding:0;
height:5.42ex;
font-family:Helvetica,Arial, Verdana ;
}

div#othermenu {
width: 100%;
float: right;
margin: 0;
padding: 0;
/*	border-top: 1px solid black;	*/
background-color:#0B58D9;
text-align:left;
}
div#othermenu ul {
float:right;
margin: 0.3em 0 0 0;
padding: 0;
list-style-type:none;
font-size:1.1em;
}
#othermenu>ul>li {
float:left;
margin: 0;
padding: 0 1em;
color:#fff;
} 
div#othermenu a {
display: block;
/*	padding: 1em; */
color: #fff;
text-decoration: none;
background-color:#0B58D9;
border-top: 5px solid #0B58D9;
border-bottom: 3px solid #0B58D9;
}
div#othermenu a:hover {
color: #FFCD02;
text-decoration: none;
}
div#othermenu li ul {display: none}
div#othermenu li:hover ul {
display: block;
position: absolute;
z-index:1;
padding:0 0.5em 0 1.3em;
margin: 0;
border:0.1em solid black;
background-color:#0B58D9;
list-style:square;
font-size:0.95em;
}
div#othermenu li li {border: none;}
div#othermenu li li a {padding: 0;}



/********** Menu alto **********/
#tabmenu {
float:left;
width:100%;
background-color:#EBEAEA;
line-height:1;
/*border-bottom:1px solid #666;*/
margin: 0em;
font-weight:bold;
font-size:1.2em;
}
#tabmenu ul {
margin :0;
padding:0;
list-style:none;
}
#tabmenu li {
display:inline;
margin :0;
padding:0;
}
#tabmenu a {
text-decoration:none;
float:left;
margin :0 0.5em;
padding:0;
cursor:pointer;
}
#tabmenu a span {
float:left;
display:block;
padding:0.5em 1.5em ;
color:#000;
border-bottom: 0.1em solid #666;
border-right: 0.1em solid #666;
border-left: 0.1em solid #666;
border-bottom-right-radius :7px;	
-moz-border-radius-bottomright 	:7px;
-webkit-border-bottom-right-radius:7px;
border-bottom-left-radius:7px;
-moz-border-radius-bottomleft:7px;
-webkit-border-bottom-left-radius:7px;

background-color:#EBEAEA;
}
#tabmenu  .selected{
background-color:#0B58D9;
color: #fff;
}

/********** Footer **********/
#footer {
 width : 100%;
 height : 3em;
 margin:0 auto;
 text-align : center;
 background-color:#0B58D9;
 color: #fff;
 padding-top: 1em;
 }
#footer a{
 color: #fff;
 line-height:120%;
}
#footer .email {
 background : url(images/busta.gif) no-repeat top left;
 float: right;
 margin-right: 10%;
 padding-left: 2em;
}
#footer .info {
 float: left;
 margin-left: 5%;
}
#validatori {
 float: left;
}
#loghi {
 float: right;
}
/******* moduli di ricerca e inserimento ******/

.ric {
font-size: 1.2em;

}
.ric_box {
	padding:0.15em 0;
}
#insert .ric_box, #modify .ric_box  {
	padding:0.5em;
}
.ric_box select{
font-size:1em;
}
.ric_box input{
font-size:1.0em;
}
.ric_box textarea{
font-size:1.2em;
}
.ric_eti {
	width: 30%;
	text-align: right;
	vertical-align: top;
	font-size: 1.2em;
	margin:0;
	display:block;
	float:left;
	padding-right:0.5em;
}
.ric_eti_search {
	width: 15%;
	text-align: right;
	vertical-align: top;
	font-size: 1.0em;
	margin:0;
	display:block;
	float:left;
	padding-right:0.5em;
}
.ric_eti_view {
	width: 15%;
	text-align: right;
	font-size: 1em;
	margin:0;
	display:block;
	float:left;
}
.ric_inp {
	
	font-size: 1.0em;
	margin:0;
	display:block;
	float:left;
	}

.ric_inp_search {
	font-size: 0.8em;
	margin:0;
	display:block;
	float:left;
	width:80%;
	}
.ric_inp_view {
	width: 65%;
	text-align: left;
	font-size: 1em;
	margin:0;
	display:block;
	float:left;
	}
.ric_finp {
	width: 15%;
	padding:2px;
	font-size: 1em;
	margin:5px;
	
	display:block;
	float:left;
}
.mas {
	font-size: 1em;
	display:table;
	
}
.mas_eti {
	
	padding:10px;
	text-align: left;
	vertical-align: top;
	font-size: 1em;
	margin:0;
	
}
.mas_inp {
	
	padding:10px;
	font-size: 1em;
	margin:5px;
	
}
#ffonte{
display:inline; 
}
/************ form di ricerca modifica e inserimento **********************/
.inputfield{
width: 100%;
}
#tabellafonti{
border:0.1em solid #666;
padding: 0 1em;
height:8.5em;
overflow-y:auto;
line-height:140%;
width:90%;
}
.submit{
font-size:1em;

}
/*************Select scelta numero pagine in naviga*************/
.font-select{
font-size:0.9em;
}

/********* Pagina Naviga *******************/
.facesmenu{
padding:0;
margin:0 0 0 3em;
font-size:1em;
}
.facesmenu li{
margin: 0.3em 0 0 0;
}
.facesmenu a:link,.facesmenu a:visited,.facesmenu a:active {
color: #3465a4;
}
.facesmenu a:hover {
color: #000;
}
.faccette10{
float:left;
width:11%;
margin:0 0.5em 0 0;
}
.faccette30{
float:left;
width:31%;
margin:0 0.5em 0 0;
}

.faccette ul{
padding:0;
}

.faccette ul li{
padding:0 0 0 0.5em;
}
.filtro {
	color: #000;
	padding:5px;
	border: 1px solid #000;
	border-radius:7px;
	-moz-border-radius:7px;
	margin:2px;
	text-shadow:0 1px 0 #fff;
}
#contapag{
padding:1em 0 1em 3em;
font-size:1em;
}
#contapag a:link,#contapag a:visited,#contapag a:hover,#contapag a:active {
color: #3465a4;
text-decoration:none;
}
/**************presentazione della lista delle massime **********************/
.itemcontainer{
margin:1em 0 0.5em 0;
padding:0;
font-size:1.2em;
line-height:130%;
}

.itemcontainer a:link,.itemcontainer a:visited,.itemcontainer a:hover,.itemcontainer a:active {
color: #3465a4;
text-decoration:none;
}

.itemview{
font-weight:bold;
text-decoration:underline;
}
.listhr{
background-color:#808080;
color:#808080;
border:0;
height:1px;
width:100%;
margin:0.5em auto 1em auto;
}

hr.nice{
background-color:#808080;
color:#808080;
border:0;
height:0.1em;
width:100%;
margin:0.2em 0 0.5em 0
}
/****************** pagina di ricerca ***************/
#search{
position:relative;
text-align:left;
margin:0 0;
padding:0em 0;
}
#db{
display: none;
border: 0.1em solid #000;
padding:2em;
background-color:#eee;
/*	min-height:21em;	*/
position: absolute;
right: 1em;
width: 40%;
z-index: 100;
}
#in_search{
border-top: 0.1em solid #666;
border-bottom: 0.1em solid #666;
border-right:0.1em solid #666;
margin: 0em 0 ;
padding:2.5em 1em 1em 1em;
background-color:#fff;
float:left;
width:85%;
height:21em;
}
#search_menu{
margin:0;
padding:0;
z-index:100;
float:left;
width:10%;
background-image:url('images/border.jpg');
background-repeat:repeat-y;
background-position:top right;
height:24.7em;
}
#results{
margin :0.5em 3em; 
 padding:0;
 min-height: 40em;
 height: auto !important;
 height: 40em;
 background-color:#EBEAEA;
}
#ricerche{
	float: right; 
	width: 40%;
	height:18em;
	background-color:#fff;
	border-left:0.1em #666 solid;
	padding: 0 0 0 1em;
	
}
#maschera{
	width:55%;
	float:left;
	padding:0em;
	margin:0;
}
#listaquery{
	width: 100%;
	overflow-y:scroll;
	border:0.1em #666 solid;
	margin:0.5em 0 0 0;
	padding:0em;
	height:17em;
	
	
}
/*****nuovo ********/

#search ul {
margin :0 0 0 0;
padding:0;
list-style:none;
display:block;

}
#search li {
margin :0;
padding:0 0.5em 0 0;
display:block;
text-align:right;

}
#search a {
text-decoration:none;
cursor:pointer;
vertical-align:middle;
}
#search a span {
padding:1ex 0 ;
color:#000;
margin:0;
display:block;
}

#search li.selected{
background-color:#fff;
color: #000;
border-top: 0.1em solid #666;
border-bottom: 0.1em solid #666;
border-right: 0;
border-left:0;
background:url('images/grad.jpg') bottom right repeat-y;
}

/******** titoli di pagina h2 **********/
.title {
font-weight:bold;
padding:0;
margin: 1.5em 0 0.5em 1.5em;
clear:both;
}
/************* modulo login ******************/
.login{
float:right;
width:100%;
text-align:right;
}
.login input{
font-size:1.0em;
}
/************ scheda *************/

.voci_scheda{
margin: 1em 0 2em 0;
padding:0em 3em 2em 3em;
text-align:justify;
width:90%;
border-top: 1px solid black;
}
.oggetto_scheda{
margin: 1.5em 0 0 0;
padding:0em;
text-align:justify;
font-style:italic;
}
.titolo_scheda{
margin-top: 3em;
padding:0 3em;
text-align:justify;
}
.voci_scheda h3{
margin: 1em 0 0.5em 0;

}
.voci_scheda h2{
margin: 1em 0 0.5em 0;
}
.voce_scheda{
margin:0;
padding:0;
}
.scheda_layout{
background: #fff;
border: 2px outset #000;
margin-left:5%;
margin-right:5%;
padding:1em;

}
.scheda_layout_stampa{
background: #fff;
border: 2px outset #000;
padding:1em;

}
/************* inserimento ****************/
#insert{
font-size:1.0em;
padding: 0 3em;
margin-top:2em;
}
#insert fieldset{
border: 0.1em solid #000;
margin-top:1em;
width:70em;
}
#insert legend {
font-size: 1.0em;
font-weight:bold;
margin:0 1em;
padding:0 0.5em;
}
#fclick{
padding:0;
margin:0;
}
/************* modifica ****************/
#modify{
font-size:1.0em;
padding: 0 3em;
margin-top:2em;
}
#modify fieldset{
border: 0.1em solid #000;
margin-top:1em;
width:70em;
}
#modify legend {
font-size: 1.0em;
font-weight:bold;
margin:0 1em;
padding:0 0.5em;
}
/************* pagine particolari ****************/
#testo  {
text-align: justify;
line-height: 2em;
padding-top:75px;
padding-left: 35px;
padding-right: 65px;
padding-bottom: 65px;
}
#testo p, .spaz {
padding-top: 0.8em;
}
.firma {
	text-align: right;
	font-weight:bold;
}
.rigoBlu {
background-color:#0B58D9;
color:#fff;
}
/************* combina ****************/
.combina td{
	padding: 0.5em;
	border: 0.5em;
}

#alto, #contenuto {
	margin: 8px;
}
#vecchi {
	margin: 8px;
}
#vecchi td {
    padding: 1px;
}
.scheda_layout td {
    padding: 2px;
}