html,body { margin:0; padding:0; background-color:#FFF; color:#000; font-family:Arial,Helvetica,sans-serif; font-size:x-small;
/* IE5.x box model hack */
voice-family: "\"}\""; voice-family:inherit; font-size:small; }
html>body { font-size:small; } /* Recupera Opera 5.x */
input,textarea,select,option { font-family:Arial,Helvetica,sans-serif; font-size:small; }
form { display:block; margin:0; padding:0; }
body { text-align:center; }
abbr,acronym { font-style:normal; font-variant:normal; border:none; text-decoration:none; cursor:help; }
img { border:none; }
table { border-spacing:0; border-collapse:collapse; }
h1 { font-size:150%; margin:0.7em 0 0.5em 0; padding:0; }
h2 { font-size:130%; margin:0.7em 0 0.5em 0; padding:0; }
h3 { font-size:110%; margin:0.7em 0 0.5em 0; padding:0; }
h4 { font-size:100%; margin:0.7em 0 0.5em 0; padding:0; }
p { margin:0.5em 0 0.5em 0; padding:0; }
a:link,a:visited,a:hover,a:active { text-decoration:none; }
a:link { color:#303030; }
a:visited { color:#303030; }
a:hover,a:active { color:#EC6418; }
.errore { color:#F00; }
h4.errore { margin:0; padding:0; }
.clear { clear:both; }
.clearright { clear:right; }
br.clear,br.clearright { line-height:1px; }
.nonvis { position:absolute; left:-10000px; top:-10000px; width:1px; height:1px; overflow:hidden; background-color:#FFF; color:#FFF; }

#box { position:relative; width:775px; margin:0 auto 0 auto; text-align:left; }

#testa { position:relative; background:#C4321B; color:#FFF; min-height:97px; z-index:2; } /* url("../Images/sfondo-testa-ufficioanziani.jpg") right bottom no-repeat */
* html #testa { height:97px; }
#testa h3 { margin:0; padding:0; font-size:150%; }
#testa h3 img { display:block; position:absolute; top:0; margin:0; padding:0; z-index:2; }
#testa p { position:absolute; right:0px; bottom:0; margin:0; padding:0.5em; text-align:center; background:#FFF url("../Images/angolo-cerca-ul.gif") left top no-repeat; color:#C4321B; width:18em; font-size:90%; }
* html #testa p { right:1px; bottom:-1px; }
#testa input { font-size:90%; }
#testa input#httext { width:10em; }
#minisito #testa { background:#737373 url("../Images/sfondo-ms-testa.jpg") right bottom no-repeat; }
#minisito #testa p { background:#FFF url("../Images/angolo-ms-cerca-ul.gif") left top no-repeat; color:#555; }

#nav1 { background:#8F776B url("../Images/angolo-nav1-br.gif") right bottom no-repeat; min-height:28px; color:#FFF; }
* html #nav1 { height:28px; }
#nav1 ul { display:block; margin:0; padding:0.8em 0 0 0; background:#8F776B; list-style-type:none; text-transform:uppercase; }
#nav1 li { display:block; margin:0; padding:0 10px 0.8em 10px; float:left; background-color:#8F776B; list-style-type:none; font-size:80%; border-left:1px solid #FFF; }
#nav1 li.primo { padding:0 10px 0.8em 65px; background:#8F776B url("../Images/angolo-nav1-bl.gif") left bottom no-repeat; border-left:none; }
#nav1 li a,#nav1 li a:link,#nav1 li a:visited { color:#FFF; }
#nav1 li a:hover,#nav1 li a:active { color:#303030; }

#nav2 { margin:5em 1em 0.5em 0; width:31%; clear:both; float:left; }
#nav2 ul { list-style-type:none; margin:0; padding:0; }
#nav2 li { list-style-type:none; margin:0; padding:0.5em 0 0.5em 0; border-top:1px solid #C0C0C0; }
#nav2 li.primo { border-top:none; }
#nav2 ul li ul { margin:0.5em 0 0 1em; }
#nav2 dl { margin:0; padding:0; }
#nav2 dt { margin:0; padding:0; font-weight:bold; }
#nav2 dd { margin:0; padding:0 0 1em 1em; }
#minisito #nav2 { margin:0 0 0.5em 0; background:#D9E6C8 url("../Images/angolo-ms-nav2-br.gif") right bottom no-repeat; }
#minisito #nav2 ul { padding:1em; background:transparent url("../Images/angolo-ms-nav2-bl.gif") left bottom no-repeat; }
#minisito #nav2 li { border-top:1px solid #A6AF9A; }
#minisito #nav2 li.primo { border-top:none; }
#minisito #nav2 li a:link,#minisito #nav2 li a:visited { color:#303030; }
#minisito #nav2 li a:hover,#minisito #nav2 li a:active { color:#070; }

#nav3 { background:#8F776B url("../Images/angolo-nav3-tr.gif") right top no-repeat; min-height:32px; color:#D8D8D8; font-weight:bold; clear:both; }
* html #nav3 { height:32px; }
#nav3 ul { display:block; margin:0; padding:0 0 0.5em 0; list-style-type:none; text-transform:uppercase; }
#nav3 li { display:block; position:relative; margin:0; padding:1em 10px 0 10px; float:left; background-color:#8F776B; list-style-type:none; font-size:80%; border-left:1px solid #FFF; }
#nav3 li.primo { padding-left:65px; background:#8F776B url("../Images/angolo-nav3-tl.gif") left top no-repeat; border-left:none; }
#nav3 li a:link,#nav3 li a:visited { color:#fff; }
#nav3 li a:hover,#nav3 li a:active { color:#fff; }
#nav3 li#emergenze { margin-top:0.6em; padding:0.4em 10px 0.3em 10px; border-top:none; background-color:#FFF; color:#E91919; }
#nav3 li#emergenze a:link,#nav3 li#emergenze a:visited { color:#E91919; }
#nav3 li#emergenze a:hover,#nav3 li#emergenze a:active { color:#00F; }

#contenuto { margin:0 1em 0.5em 1em;}
#guida #contenuto,#notizie #contenuto { background:#F3EEEA url("../Images/angolo-testo-br.gif") right bottom no-repeat; margin:0 0 0.5em 33%; }
#titolo { position:relative; margin:0.5em 0 0 0; padding:0 0 1em 0; color:#FFF; background:#C4321B url("../Images/angolo-titolo-tl.gif") left top no-repeat; text-align:center; border-top:1px solid #FFF; }
#titolo h1 { margin:0; padding:0.7em 55px 0 0; background:transparent url("../Images/angolo-titolo-tr.gif") right top no-repeat; width:100%; }
#titolo h1/**/ { width:auto; }
#titolo h2 { margin:0; padding:0 55px 0 0; }
#titolo #iminisito { display:block; position:absolute; top:0; }
html>body #titolo #iminisito { right:0; }
* html #titolo #iminisito { left:470px; top:1px; }
* html #titolo #iminisito/**/ { left:208px; }
#titolo #isito { display:block; position:absolute; top:0; z-index:5; width:52px; height:54px; }
* html #titolo #isito { left:0; }
* html #titolo #isito/**/ { left:-387px; top:1px; }
html>body #titolo #isito { left:0; }
#titolo img { display:block; position:relative; margin:0; padding:0; }
#titolo a:link,#titolo a:visited { color:#FFF; }
#titolo a:hover,#titolo a:active { color:#00F; }
#testo { padding:1em 2em 2em 2em; background:transparent url("../Images/angolo-testo-bl.gif") left bottom no-repeat; }
#minisito #titolo { border-top:1px solid #FFF; padding:0; background:#5D8327 url("../Images/angolo-ms-titolo-tl.gif") left top no-repeat; z-index:0; }
#minisito #titolo h2 { font-size:150%; margin:0; padding:0 55px 0 55px; line-height:2em; background:transparent url("../Images/angolo-ms-titolo-tr.gif") right top no-repeat; z-index:1; }
#minisito #titolo h2 img { display:block; position:absolute; right:0; top:0; }
* html #minisito #titolo h2 img { right:-1px; }
* html #minisito #titolo h2 img/**/ { top:1px; }
#minisito #contenuto { background:#FFF none; margin:0 2em 0.5em 33%; padding:0 0 1em 0; }
#minisito h1 { margin:1em 0 1em 0; padding:0 0 1em 0; border-bottom:2px dotted #8F776B; }

img.fotodx { display:block; margin:0.5em 0 0.5em 0.5em; float:right; }
#guida #contenuto h3,#notizie #contenuto h3 { clear:right; padding-bottom:0.5em; border-bottom:1px dotted #888; }
table#cba { border:1px solid #000; border-spacing:0; border-collapse:collapse; }
#cba thead { background-color:#FFF; }
#cba td,#cba th { padding:0.3em; border:1px solid #000; }

#piede { clear:both; background:#C4321B url("../Images/barra-piede-t.gif") left top no-repeat; color:#FFF; text-align:center; font-size:90%; padding:0; border-top:1px solid #8F776B; }
#piede p { margin:0; padding:0 1em 1em 1em; }
#piede p.primo { padding:1em 1em 0 1em; }
#piede a:link,#piede a:visited { color:#FFF; }
#piede a:hover,#piede a:active { color:#FF0; }
#minisito #piede { background:#FFF url("../Images/barra-ms-piede-t.gif") right top no-repeat; color:#000; }
/*#minisito #piede p.primo { background:transparent url("../Images/angolo-ms-piede-tl.gif") left top no-repeat; }*/
#minisito #piede a:link,#minisito #piede a:visited { color:#C4321B; }
#minisito #piede a:hover,#minisito #piede a:active { color:#00F; }

/* Home */
#home #testa { background-image:url("../Images/sfondo-home-testa.jpg"); }
#hazienda { position:relative; width:29.1em; height:22.5em; margin:-1.2em 0.5em 0.5em 0; padding-top:1.2em; color:#000; background:#8F776B url("../Images/angolo-azienda-br.gif") right bottom no-repeat; float:left; z-index:0; }
* html #hazienda/**/ { width:28.3em; height:21.5em; voice-family: "\"}\""; voice-family:inherit; height:20.4em; width:28.6em; }
html>body #hazienda { height:19.99em; width:28.5em; }
#hazienda h2 { font-size:100%; width:29%; margin:0.5em 0 0.8em 67%; padding:1em 1em 0.7em 0; border-bottom:2px dotted #FFF; text-transform:uppercase; }
* html #hazienda h2 { margin-top:1.7em; }
#home h2 a:link,#home h2 a:visited { color:#000; }
#home h2 a:hover,#home h2 a:active { color:#97442C; }
#hazienda ul { width:29%; margin:0 1em 1em 68%; padding:0; list-style-type:disc; }
* html #hazienda ul { width:28%; }
#hazienda li { margin:0; padding:0; line-height:1.8em; list-style-type:disc;
/* IE5.x box model hack */
voice-family: "\"}\""; voice-family:inherit; margin:0 0 0 1em; }
html>body #hazienda li { line-height:1.8em; } /* Recupera Opera 5.x */
#hazienda p { position:absolute; margin:0; padding:0; left:0; bottom:0; background:transparent url("../Images/angolo-azienda-bl.gif") left bottom no-repeat; }
#hazienda p img { display:block; margin:0 20px 4.5em 20px; padding:0; }
#hazienda li a:link,#hazienda li a:visited { color:#000; }
#hazienda li a:hover,#hazienda li a:active { color:#070; }

.blocco { position:relative; width:12.5em; height:19.5em; margin:0.5em; border:1px solid #D9D9D9; float:left; }
* html .blocco { width:12.5em; height:21em; margin:0.5em; }
* html .blocco/**/ { height:17.98em; }
.blocco h2 { font-size:100%; font-weight:bold; font-family:Verdana,sans-serif; margin:-1px -1px 1em -1px; /*margin:0 0 1em 0;*/ padding:0.8em 0 0.8em 0; border-bottom:1px solid #D9D9D9; text-align:center; text-transform:uppercase; }
.blocco p { margin:0 1em 1em 1em; padding:0; }
.blocco ul { margin:0 1em 1em 1em; padding:0; list-style-type:disc; }
.blocco li { margin:0.2em 0 0.2em 1em; padding:0; list-style-type:disc; border-top:1px solid #D9D9D9; }
.blocco li.primo { border-top:none; }
#home .evidenza h2 { border-bottom:none; color:#000; background-color:#F1C44C; }
#home .evidenza dl { margin:0 1em 1em 1em; padding:0; }
#home .evidenza dt { margin:0; padding:0; font-weight:bold; }
#home .evidenza dd { margin:0 0 1em 0; padding:0; }
#home .evidenza li { margin:0.2em 0 0.2em 1em; padding:0.2em 0 0.2em 0; }
#home .evidenza li.emergenze a:link,#home .evidenza li.emergenze a:visited { color:#E91919; }
#home .evidenza li.emergenze a:hover,#home .evidenza li.emergenze a:active { color:#00F; }

/* MMG e PLS */
#mmgplslista dd { padding-bottom:1ex; }
#mmgplsorari { background-color:#F3EEEA; border:1px solid #000; border-spacing:0; border-collapse:collapse; empty-cells:show; }
#mmgplsorari thead { background-color:#F8F8F8; }
#mmgplsorari td { border:1px solid #000; padding:0.2em; }
#mmgplsorari th { text-align:left; border:1px solid #000; padding:0.2em; }
table.mmgplsassociati { background-color:#F3EEEA; border:1px solid #000; border-spacing:0; border-collapse:collapse; empty-cells:show; }
table.mmgplsassociati thead { background-color:#F3EEEA; }
table.mmgplsassociati td { border:1px solid #000; padding:0.2em; }
table.mmgplsassociati th { text-align:left; border:1px solid #000; padding:0.2em; }


/* added matika - marcot */
.pager
{
	padding-top: 5px;
	font-size: 90%;
}

.pager a
{
	margin-left: 5px;
	margin-right: 5px;
}

.distrettomap
{
	text-align:center;
	margin-bottom: 25px;
}

.distrettomap img
{
	text-align: center;	
	border-color: #A0A0A0;
	border-width: 1px;
}
/* added matika - marcot */

/***/
table {
	border-collapse: collapse;
	/*border: 2px solid #3f7c5f;*/
	font: normal 90%/140% arial, verdana, helvetica, sans-serif;
	color: #000;
	background: #fff;
}
caption {
	padding: 0 0.6em 0.8em;
	font-size: 1.3em;
	font-weight: bold;
	text-align: left;
	color: #000;
	background: transparent;
}
td, th {
	border: 1px solid #e0e0e0;
	padding: 0.5em;
}
thead th {
	border: 1px solid #e0e0e0;
	text-align: left;
	font-size: 1em;
	font-weight: bold;
	background: #c6d7cf;
}
tfoot th, tfoot td {
	border: 1px solid #e0e0e0;
	text-align: left;
	font-size: 1em;
	background: #e8e8cf;
}
tfoot th {
	font-weight: bold;
}
tbody td a {
	background: transparent;
	color: #00c;
	text-decoration: underline;
}
tbody td a:hover {
	background: transparent;
	color: #00c;
	text-decoration: underline;
}
tbody th a {
	background: transparent;
	color: #3f7c5f;
	text-decoration: underline;
	font-weight: bold;
}
tbody th a:visited {
	color: #b98b00;
}
tbody th, tbody td {
	vertical-align: top;
	text-align: left;
}
tfoot td {
	border: 1px solid #996;
}
tbody tr:hover {
	background: #ffffd9;
}

/***/

/* USERFORM */

.multiplechoice { }


/* USERFORM */


.messagebox
{
	color: #060;
	margin: 10px;
	padding: 10px 10px 10px 30px;
	border: 1px solid #090;
	background: #cfc url(/Images/information.png) no-repeat 8px 11px;
	display:block;	
}

.errorbox
{
	color: #c00;
	margin: 10px;
	padding: 10px 10px 10px 30px;
	border: 1px solid #c00;
	background: #fcc url(/Images/exclamation.png) no-repeat 8px 11px;
	display:block;
}

.exceptionbox
{
	color: #c00;
	margin: 10px;
	padding: 10px 10px 10px 30px;
	border: 1px solid #c00;
	background: #fcc url(/Images/exclamation.png) no-repeat 8px 11px;
    display:block;
}

.changeat
{
	font-size:90%;
}

.celljustified
{
	text-align: justify;	
}

.tblthcenter
{
	text-align: center;	
}

.welcomeuser  
{
	text-align: right;
	padding-right: 10px;
	padding-top: 10px;
}

.error
{
	color: #c00;
	margin: 10px;
	padding: 10px 10px 10px 30px;
	border: 1px solid #c00;
	background: #fcc url(/Images/exclamation.png) no-repeat 8px 11px;
	display:block;
}
