/* STRUCTURE
----------------------------------------------- */

html, body {
	color: black;
	font: 90% Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	line-height:1.5em;
}

body {
	background: white;
	text-align: center;
}


.hidden {display:none;}
.errorMsg {color:#c30000;font-weight:bold;}

/* IMAGES
------------------*/
img {border:0;}
.imgfloat {
	float:left;
  	padding:0;
} 
.imgborderfloat {
	float:left;
  	border:1px solid #dddddd;
  	padding:2px;
  	margin: 0 1em 0 0;
} 
.imgbordermargin {
  	border:1px solid #dddddd;
  	padding:2px;
  	margin: 0 1em 0 0;
} 
.imgborder {
  	border:1px solid #dddddd;
  	padding:2px;
  	margin: 0;
} 

/* in order to hide the skip navigation link */
a.skip {position: absolute; left: -1000em; width: 20em;}

A:link {text-decoration: none;color:#3e3e3e;} 
A:active {text-decoration: none;color:#3e3e3e;} 
A:visited {text-decoration: none;color:#3e3e3e;} 
A:hover {text-decoration: underline;color:#3e3e3e;}  

a.textBlue {background:#fff;color:#324f7b;}
a.bg:hover {background:#515151;color:white;text-decoration:none;}

/* Some generic styles */

div.leftDiv {position: relative;float:left;}

div.rightDiv {position: relative;float:right;}

div.end{clear:both;}
div.endSmall {clear:both;font-size:0.1em;}
div.endSpace{clear:both;margin-bottom:2em;}
div.space{margin-bottom:1em;}
div.endNoSpace {clear:both;font-size:0.1em;padding:0;margin:0;line-height:1px;}


form {margin: 0;}

img.spaceRight {
	margin-right:0.3em;
	vertical-align:middle;
}

span.selected {font-weight:bold;}

/* HEADINGS
-------------------------- */
h1 {
	font-weight:normal;
	font-size:210%;
	position:relative;
	top:2em;
}
h1 a:hover {
	text-decoration:none;
}
h1, h2, h3, h4, h5, h6 {
	margin:0;
	padding:0;
}


/* HOME PAGE 
-------------------------- */

#container {
	margin: 0 auto;
	position: relative;
	text-align: left;
	width:76em; 
}

/* HEADER
-------------------------- */

/* search */
#header #headTop {
	font-size:100%;
	text-align:right;
	padding:1em 0;
}
#header #headTop input.searchField {
	border:1px solid #adb3b4;
	background:#f2f5f5;
	height:1em;
}
#header #headTop label {
	vertical-align:0.2em;
}

/* Logo */
#header #headMiddle {
	background:white url(/images/bg_header.gif) top left repeat-x;
	height:140px;
	margin-bottom:1px;
}

#header #headMiddle img.imgfloat {
	padding:2em 1em 2em 2em;    
	vertical-align:middle;
}

/* MENU TOP */
#header #headMenu {
	background:#f2f5f5;
	border-top:1px solid #adb3b4;
	border-bottom:1px solid #adb3b4;
	text-align:center;
}
#header #headMenu ul {
	margin:0;
	padding:0;
	list-style:none;
}
#header #headMenu li {
	margin:0;
	padding:0;
	display:inline;
}

#header #headMenu ul li a.selected {
	font-weight:bold;
}

#headerPersDesk {
	background:#cab333;
	padding:0.3em;
}



/* CONTENT
-------------------------- */
#content {}
#content_home {text-align:center;margin-top:1em;}

/* MENU GENERALE */
#menu {
	float:left;
	text-align:center;
	width:63%;
}
#menu a {text-decoration:none;background:white;line-height:1.2em;}

/* Box generico posizionamento button menu */
#menu .button {
	float:left;
	/*width:25%;*/
	width:17em;
	text-align:center;
	font-size:140%;
	padding:1.6em 0 2em 0;
	margin:0;
}
#menu #police .button {border-right:1px solid #bdc6cd;border-bottom:1px solid #edeee9;}
#menu #counter .button {border-bottom:1px solid #edeee9;}
#menu #school .button {border-right:1px solid #bdc6cd;clear:both; }
#menu #info_system .button {}

/* Colonna News e banner */

#newsCol {
	float:right;
	text-align:left;
	width:35%;
}

/* NEWS HOME
----------------------------------------------- */

#newsBox {border-bottom:1px solid #fff;margin-bottom:1em;}
#newsBox h2 {background:#f2f5f5;font-size:140%;color:#333;margin:0 0 1em 0;padding:0.2em;}
div.newsItem {padding-bottom:1em;font-size:85%;}
div.newsItem h3 {font-size:100%;margin:0;padding:0;font-weight:bold;}
div.newsItem .imgNews {padding:0;margin:0;}

/* BANNER HOME DX */

.bannerDxHome {margin-bottom:0.5em;text-align:left;}



/* CONTEXT
------------------------ */


#context {
	padding:2em 0;
	font-size:90%;
}
#context #contextLeft {
	float:left;
	width:29%;
	background:#f2f5f5;
}
/* MENU MAIN BORDERS & CORNERS */
#context #contextLeft .bl {background: url(/images/bg_gen_bottom_left.gif) 0 100% no-repeat;}
#context #contextLeft .br {background: url(/images/bg_gen_bottom_right.gif) 100% 100% no-repeat;}
#context #contextLeft .tl {background: url(/images/bg_gen_top_left.gif) 0 0 no-repeat;}
#context #contextLeft .tr {background: url(/images/bg_gen_top_right.gif) 100% 0 no-repeat; padding:10px;}

#context #contextLeft ul {
	margin:0;
	padding:0.5em;
}
#context #contextLeft ul li {
	margin: 0 0 0.5em 0;
	font-size:1.1em;
	list-style:none;
}
#context #contextLeft ul li.firstLev {
	margin:0 0 0.5em 0;
	font-size:170%;
	list-style:none;
}
#context #contextLeft ul li.secondLev {
	padding-left:1.5em;
	background: transparent url(/images/list_bullet.gif) 0 0.5em no-repeat;
}
#context #contextLeft ul li.thirdLev {
	/*background: transparent url(/images/list_bullet_light_grey.gif) 1.5em 0.5em no-repeat;*/
	padding-left:2.8em;
}
#context #contextLeft ul li.otherLev {
	/*background: transparent url(/images/list_bullet_light_grey.gif) 1.5em 0.5em no-repeat;*/
	padding-left:4.1em;
}
#context #contextLeft ul li a.selected {
	font-weight:bold;
}



#context #contextRight {
	float:right;
	width:67%;
}


/* CENTER COL CONTEXT
------------------------ */
#pathBox {
	margin:0 0 10px 0;
}
#pathBox ul { 
	margin:0;
	padding:0 0 10px 0;
	display: inline;
} 

#pathBox ul li{
	margin:0;
	padding:0;
	display: inline;
	list-style: none;
}
#pathBox ul li.nomargin {
	margin:0;
	padding:0;
}
#pathbox ul li a.selected {
	margin:0;
	padding:0;
	font-weight:bold;
}

#contextBox {
	font-size:1.1em;
}

#contextBox h2 {
	margin-bottom:0.5em;
	font-size:120%;
	text-transform: uppercase;
	border-bottom:1px solid #7a7a7a;
}
#contextBox h3 {
	margin-bottom:0.5em;
	font-size:100%;
}
#contextBox h4 {
	font-size:120%;
}

#contextBox .extendedDesc a {
	background:#f2f5f5;
	color:#000;
	padding:0 0.2em;
}
#contextBox .extendedDesc a:hover {
	background:#353535;
	color:#fff;
	padding:0 0.2em;
	text-decoration:none;
}

#contextBox dl {
	margin:0;
	padding:0;
}
#contextBox dl dt {
	background: transparent url(/images/list_bullet.gif) 0 0.5em no-repeat;
	font-weight: normal;
	margin: 0;
	padding: 0 0 0 20px;
}
#contextBox dl dt .date {
	font-weight:normal;
	display:block;
}
#contextBox dl dt a:hover {
	color:black;
}
#contextBox dl dd{
	padding:0;
	margin: 0 0 20px 20px;
}
#contextBox dl dd.empty{
	margin: 0 0 5px 20px;
}

#main_context {}
#main_context_center {width:68%;float:left;}
#main_right {width:28%;float:right;background:#f0f1ff;padding:0.5em;}
#main_right h4 {font-size:100%;}



/*** ul docs, sorelle, associazioni ***/
div.listBox ul{
	margin:0 0 0.7em 0;
	padding: 0.4em 0;
	list-style:none;
}

div.listBox ul li{
	margin:0;
	padding: 0 0 0.5em 1.5em;
	background: transparent url(/images/list_bullet.gif) 0 0.5em no-repeat;
}
div.listBox ul li a {
	background:#f2f5f5;
	color:#000;
}
div.listBox ul li a:hover {
	background:#353535;
	color:#fff;
	padding:0 0.2em;
	text-decoration:none;
}

#pagingBox {
	border-top:1px solid #adb3b4;
	margin:10px 0 0 0;
	padding:10px 0 0 0;
	text-align:right;
}
#pagingBoxRight {
	float:right;
	margin:10px 0 0 0;
	padding:10px 0 0 0;
	text-align:right;
}

#pagingBox .this-page {
	padding: 2px 6px; 
	font-weight: bold; 
	vertical-align: top; 
	color: #728da2; 
}
#pagingBox a,#pagingBoxRight a { 
	padding: 2px 6px; 
	border: solid 1px #d5d4ae; 
	text-decoration: none; 
}
#pagingBox a:hover,#pagingBoxRight a:hover {
	color: #000; 
	background: #f2f5f5; 
	border-color: #d5d4ae; 
}
#pagingBox a.nextprev {
	border:none;
	vertical-align:middle;
	background: #fff; 
}




/********* table in contextBox *********/
div#contextBox table {
	border-collapse:collapse;
	border: 1px solid #d7d7d7;
}


div#contextBox table caption {
	display:none;
}

div#contextBox th  {
	border-collapse:collapse;
	border: 1px solid #d7d7d7;
	padding:0.3em;
}

div#contextBox td  {
	border-collapse:collapse;
	border: 1px solid #d7d7d7;
	background: transparent;
	padding:0.3em;
}

table {
	font-size: 110%;
}

/********* schede in contextBox *********/
div.schemaBox {padding:0.5em 0}
.bg_table {background:#f7f7f7;}
.bg_scheda {background: #f7f7f7;}
.bg_scheda02 {background: #f7f7f7;} 

/********* WIP in contextBox *********/
div#wipBox{
	text-align:center;
	padding-top:3em;
	font-weight:bold;
	font-size:170%;
}


/* LEFT COL CALENDAR
------------------------ */
#content #leftColContext #calendar {
	font-size:100%;
}

#boxYears h2 {
	font-size:130%;
	padding:0.5em;
}

#boxYears ul {
	margin:0 0 0 2.5em;
	padding:0.5em;
}

#boxYears ul li{
	margin: 0 0 0.5em 0;
	font-size:1.1em;
	list-style:square outside url(/images/list_bullet.gif);
}
#boxYears ul li.inactive{
	list-style:square outside url(/images/list_bullet_light.gif);
	color:#b3b3b3;
}

#boxYears ul li a:link, #boxYears ul li a:active, #boxYears ul li a:visited, #boxYears ul li a:hover {
	list-style:square outside url(/images/list_bullet.gif);
	color:#696969;
}

#boxYears ul li.selected a {
	font-weight:bold;
	color:#696969;
}


#boxYears ul.calYears {
	margin:0;
	padding:0.5em;
	background:#728da2;
	border-bottom: solid 1px #d3d3d3;
	border-bottom: solid 1px #d3d3d3;
	list-style: none;
	text-align:center;
}

#boxYears ul.calYears li { 
	list-style: none;
	display: inline;
	margin:0;
	padding: 0.3em;
	color:white;
	font-size:1.1em;
}

#boxYears ul.calYears li a:link, #boxYears ul.calYears li a:active, #boxYears ul.calYears li a:visited, #boxYears ul.calYears li a:hover {
	color:white;
}

#boxYears ul.calYears li.selected a {
	color:white;
	font-weight:bold;
}



/* REGISTRATION
-------------------------- */
#marginForm01 fieldset
{
	display: block;
	border: 1px solid #d5d4ae;
	padding:10px;
	margin: 10px 0;
}

#marginForm01 fieldset legend{
	font-weight:bold;
	color:black;
	font-size:120%;
}

#marginForm01 fieldset div {
	margin-bottom:0.5em;
}

#marginForm01 fieldset div.first {
	margin-top:1em;
}

#marginForm01 fieldset label {
	position: relative;
	float:left;
	width:8em;
	clear:both;
}
#marginForm01 fieldset label.txtNormativa {
	width:auto;
}

#marginForm01 fieldset label>input {
	position: relative;
	float:right;
}

#marginForm01 fieldset div.radio label {
	position: relative;
	top: -1.5em;
	left: 2em;
	display: inline;
	width: auto;
}

#marginForm01 fieldset div.radio input {
	position: static;
	clear: both;
	float: left;
	width:1em;
	border:0;
}

#marginForm01 fieldset textarea {
	background:white;
	border: 1px solid #728da2;
}

.searchButton{
	border-style: none;
	margin: 5px 0.5em 0 0;
	padding:0.1em;
	background: #3b3b3b;
    cursor:pointer;
	color: white;
	font-family: Verdana, Arial, sans-serif;
	font-weight:bold;
	font-size:100%;
}


/* SEARCH
------------------------- */
#searchLeft {
	margin:0 0 1em 0;
	padding:0.5em;
}
#searchLeft span.title {
	display:block;
	font-size:1.1em;
	margin:0 0 0.5em 0;
	font-size:170%;
	color:#515151;
}
#searchLeft input {
	border-top:1px solid #adb389;
	border-left:1px solid #adb389;
	border-bottom:1px solid #adb389;
	border-right:1px solid #adb389;
	font-size:120%;
	font-weight:bold;
	padding:0.2em;
}
#searchLeft input.button {
	background: transparent;
	border-style: none;
	cursor:pointer;
	padding:0;
	margin:0;
	color:black;
}
#searchBox ul {
	margin:0 0 0 20px;
	padding:0;
}

#searchBox ul li {
	list-style: disc outside url(/images/list_bullet.gif);
}


/* FOOTER
-------------------------- */
#footer {
	color:#333333;
	margin-top:1em;
	border-top:1px solid #adb3b4;
	text-align:center;
	padding:0.5em 2em;
}


/* LOGON
-------------------------- */

#formBox .descrBox {color:#000;}

#formBox p {
	margin:0;
	padding:0 0 10px 0;
}

#formBox fieldset {
	padding:1em;
	border: 1px solid #728da2;
	margin-bottom:1em;
}

#formBox fieldset legend {
	font-weight:bold;
	color:#535252;
}

#formBox fieldset label {
	position: relative;
	float:left;
	width:8em;
	margin:0.3em 0;
	color:#000;
}

#formBox fieldset label>input {
	position: relative;
	float:right;
}
#formBox .arrowButton {border:1px solid #575757;background:#FFF;cursor:pointer;margin-top:10px;}



/* LOGON.JSP
--------------------------------*/
body.logonbox {
	text-align: center;
}

#logonBox {padding-bottom:20px;background-color:#d0e2f1;}
#logonBox tr {background:#d0e2f1;}
#logonBox select {display:none;}
#logonFooter {
	background: none;
	margin-top:10px;
	font-size:110%;
}




/* GESTIONE DELEGATA FE
--------------------------------*/
.partialadmin_edit {
	border-style: none;
	margin: 5px 0.5em 0 0;
	padding:0.1em;
	background: #728da2;
    color: white;
	font-family: Verdana, Arial, sans-serif;
	font-weight:bold;
	font-size:100%;
	cursor:pointer;
}


/* ATTI e DELIBERE */
div.itemBandi {padding:0 0 1em 0;margin: 1em 0 0 0;border-bottom: 1px dotted #ccc;}
.titleBando {font-size:100%;font-weight:bold;padding-bottom:0.5em;text-transform:uppercase;}

#dataSchema table {
	border: 1px solid #eff0f0;
	border-top: none;
}
#dataSchema th.headersAnno {
	background:#d7d7d7;
	border: 1px solid #eff0f0;
	border-bottom: 1px solid #fff;
	width:auto;
	padding:0.1em;
}
#dataSchema .headers {
	background:#eff0f0;
}
#dataSchema th  {
	width:auto;
	padding:0.1em;font-size: 75%;
	border: 1px solid #eff0f0;
}
#dataSchema td {
	vertical-align:top;padding:0.1em;
	border: 1px solid #eff0f0;
	border-bottom:1px solid #000;font-size:75%;
}
