ol {
  margin: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
	border-bottom: none;
}

/*
 * 16 colonne di 60 px, senza separazione
 */

html {
	background: #21211F;
}

body {
/*	width: 900px;
	margin: 0 auto 50px;
	padding-right: 60px;
	padding-bottom: 20px;
	min-height: 800px;
	position: relative;
	background: #fff url(/img/back-body.gif) repeat-y top right;
*/
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 100%;
}


#wrapper {
	width: 900px;
	margin: 0 auto 70px;
	padding-right: 60px;
	padding-bottom: 20px;
	min-height: 800px;
	position: relative;
	background: #fff url(/img/back-body.gif) repeat-y top right;
}

* html body {
	height: 800px;
}

ul {
	list-style: none;
}

hr {
	clear: left;
	visibility: hidden;
}

th, td {
	vertical-align: top;
	text-align: left;
}


h2 {
	font-family: Arial, sans-serif;
/*	background: #efefef;
	padding: 0 5px; */
	font-size: 1.2em;
	margin: 1em 0 .5em;
	color: #333;
	border: none;
	font-weight: bold;
}

textarea {
	font-family: Arial, sans-serif;
	padding: 3px 2px;
	overflow: auto;
}

.inline {
	display: inline !important;
}

.labelblock label {
	display: block;
	margin-top: 1em;
}

.labelblock input {
	padding: 3px 2px;
}

.block {
	display: block;
}

.relative {
	position: relative;
}

.uppercase {
	text-transform: uppercase;
}

sup.mandatory {
	font-size: 1.3em;
	color: #69D;
	font-family: Arial, sans-serif;
}

a {
	color: #09c;
	text-decoration: none;
}

a:hover {
	color: #000;
}

.discreet {
	color: #999;
	font-size: .85em;
}

body #page .nomargin {
	margin: 0;
}

#showgrid {
	position: absolute;
	top: 10px;
	left: -70px;
	background: #fff;
	border: 1px solid #ccc;
	color: #000;
	padding: 2px 6px;
	font-size: .85em;
}

.title {
	position: absolute;
	right: 14px;
	top: 46px;
}

td.center {
	text-align: center;
}

td.right {
	text-align: right;
}

#utilities {
	height: 30px;
	border-bottom: 1px solid #383835;
	background-color: #4C4C49;
	position: relative;
	margin-right: -60px;
}

address {
	display: none;
}

#utilities address {
	font-family: "Big Caslon", Georgia, serif;
	color: #E9E9E9;
	font-style: normal;
	padding: 7px 0 0 20px;
	display: block;
}

#links {
	text-align: right;
	text-transform: uppercase;
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: .7em;
	color: #E9E9E9;
	position: absolute;
	top: 8px;
	right: 310px;
}

#links a {
	color: #E9E9E9;
}

#links a:hover {
	text-decoration: underline;
}

#searchform {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
	padding: 5px 6px 2px 8px;
	background-color: #40403D;
	width: 286px;
}

#searchform fieldset {
	padding: 0;
	margin: 0;
	border: none;
}

#query {
	width: 226px;
	height: 18px;
	padding: 1px 3px;
	border: 0;
	display: block;
	float: left;
	margin-right: 5px;
	color: #666;
	font-size: .9em;
	display: inline;
}

#search {
	position: relative;
	border: none;
}

* html #searchform {
	white-space: nowrap;
	overflow: hidden;
}

* html #search {
	width: 46px;
	top: -1px;
}

#header {
	position: relative;
	height: 129px;
}

#logo img {
	margin-top: 10px;
    width: 250px;
}

#enti {
	position: absolute;
	top: 0;
	right: 0;
}

#enti li {
	float: left;
	width: 120px;
	height: 113px;
	border-bottom-width: 16px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
}

#enti a {
	display: block;
	height: 96px;
	border-left: 1px solid #ccc;
}


.section-cicp #enti li.selected, #enti li#cicp:hover, #enti #cicp.hover {
	border-bottom-color: #C41C01;
}

.section-irse #enti li.selected, #enti li#irse:hover, #enti #irse.hover {
	border-bottom-color: #699D3B;
}

.section-pec #enti li.selected, #enti li#pec:hover, #enti #pec.hover {
	border-bottom-color: #DF9D09;
}

.section-ute #enti li.selected, #enti li#ute:hover, #enti #ute.hover {
	border-bottom-color: #B51E7D;
}

.section-fc7 #enti li.selected, #enti li#fc7:hover, #enti #fc7.hover {
	border-bottom-color: #0166B0;
}

/*
 * MENU
 */

#topmenu {
	height: 32px;
	margin-bottom: 20px;
}

.template-centro_home #topmenu, .template-ente_view #topmenu {
	margin-bottom: 0;
}

.template-centro_home #topmenu > li, .template-ente_view #topmenu > li {
	height: 32px;
}

* html #topmenu {
	overflow: hidden;
}

#topmenu li {
	text-transform: uppercase;
	float: left;
	margin-right: 10px;
	font-size: .8em;
	height: 43px;
       display: list-item;
}

#topmenu .arial {
	font-family: Arial, sans-serif;
}

#topmenu li.selected {
	background-image: url(/img/tridown.gif);
	background-repeat: no-repeat;
	background-position: center bottom;
}

#topmenu li li {
	text-transform: none;
	float: none;
	margin-right: 0;
	font-size: 1em;
	height: auto;
}

#topmenu li a {
	color: #fff;
	display: block;
	padding: 7px 5px 0;
	height: 25px;
}

#topmenu > li.first:hover > a {
	color: #fff;
}


* html #topmenu li a {
	width: 1%;
	white-space: nowrap;
}

* html #topmenu li li a {
	width: 150px;
}

#topmenu li.first {
	width: 180px; 
	text-align: right;
}

#topmenu li.first a {
	padding-right: 40px;
	background-position: top right;
	background-repeat: no-repeat;
	font-weight: bold;
	color: #fff;
	width: 140px;
}

#topmenu li.first, #topmenu li li {
	text-transform: none;
}

#topmenu ul {
	display: none;
	font-family: Arial, sans-serif;
	padding-bottom: 20px;
	position: relative;
	z-index: 200;
	border-left: 14px solid #fff;
	border-right: 14px solid #fff;
	border-bottom: 14px solid #fff;
	margin: 0 -14px;
	position: absolute;

	min-width: 150px;
}


* html #topmenu li.hover ul {
	display: block;
}

#topmenu ul li {
	padding: 0 10px;
}

#topmenu ul a {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	background-color: transparent;
	height: auto;
	padding: 5px 3px 7px;
}


#topmenu ul a:hover {
	background-color: #fff;
}

/* Apro i menu al mouseover */
#topmenu > li:hover ul, #topmenu li.hover ul {
	display: block;
}





/*
 * Menu laterale sinistro
 */


#colsx {
	clear: both;
	width: 180px;
	float: left;
}

#submenu {
	text-align: right;
	font-size: .7em;
	font-weight: bold;
	margin-top: 14px;
	border-top: 1px solid #ccc;
}

#submenu ul {
	display: none;
	margin-bottom: 30px;
	min-height: 0;
}

#submenu li.open ul {
	display: block;
}

#submenu li.open a {
	color: #fff;
	background-color: #000;
}

#submenu li.open li a {
	color: #000;
}

#submenu li.closed > a {
	background-image: url(/img/littletridown.gif);
}

#submenu li.open > a {
	background-image: url(/img/littletriup.gif);
}



#submenu ul {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

#submenu li.closed a, #submenu li.open a {
	background-repeat: no-repeat;
	background-position: 165px 12px;
	padding-right: 20px;
}

#submenu a {
	display: block;
	color: #000;
}

#submenu li a {
	padding: 6px 6px 6px 10px;
}

#colsx #submenu li a.invisible {
	color: #ccc;
}

#submenu li a:hover {
	color: #000;
}

.section-centro #submenu li.open > a:hover {
	color: #fff;
}

#submenu li {
	border-bottom: 1px solid #e0e0e0 !important;
	position: relative;
	min-height: 0; /* FONDAMENTALE PER IE 7 */
        display: block;
}

* html #submenu li, * html #submenu li a {
	height: 1%;
}

#submenu li.selected {
	border-bottom: none !important;
}

.is_new {
	position: absolute;
	top: 12px;
	left: 5px;
}

#submenu > li.open > a {
	border-bottom: none;
	margin-left: 0;
}

#submenu li li {
/*	min-height: 38px; */
	border-bottom: none;
}

#colsx #submenu li li a {
	padding-top: 10px;
	height: 1%;
	background-image: none;
	padding-right: 8px;
}

#submenu li.selected {
	background: #f8f8f8 url(/img/grado.gif) no-repeat right center;
	margin-right: -22px;
	padding-right: 12px;
	border-bottom: none;
	min-height: 0;
}	

* html #submenu li.selected a {
	width: 174px;
}

* html #topmenu li.selected {
	position: relative;
	display: inline-block;
	z-index: 300;
}

#colsx #submenu li.open li a {
	background-color: transparent;
}

#colsx #submenu li li a:hover {
	background: #f8f8f8;
}

#colsx #submenu li li.selected a:hover {
	background: transparent;
}

#submenu li li.selected:hover {
	background: #f8f8f8 url(/img/grado.gif) no-repeat right center;
}


#submenu li li.selected a {
	color: #000;
}


/*
 * Colori generici, da override con quelli specifici di ogni ente
 */

#topmenu {
	background-color: #666;
}

#topmenu ul, .importante {
	background-color: #eee;
}

#topmenu ul a {
	color: #000;
	border-bottom-color: #ccc;
}

#topmenu li.first a, #topmenu > li.first:hover > a {
	background-image: url(/img/homemenu.gif);
	background-color: #000;
}

#topmenu > li:hover > a, #topmenu li.hover > a {
	background-color: #eee;
	color: #000;
}

#submenu ul {
	background-color: #eee;
}

.volantino {
	background-color: #666;
    position: relative;
    z-index: 100;
}


/*
 * Proprietà sui colori o sfondi colorati (e SOLO per questi) specifiche per ogni ente
 * evitare di specificare altre proprietà, o colori come bianco, nero o trasparente, uguali per tutti gli enti.
 */

/************************************************
 * C I C P
 ************************************************/

.section-cicp #topmenu, .section-cicp .volantino {
	background-color: #C41C01;
}

.section-cicp #topmenu li.selected {
	background-image: url(/img/cicp/tridown.gif);
}

.section-cicp #topmenu li.first a {
	background-image: url(/img/cicp/homemenu.gif);
	background-color: #891501;
}

.section-cicp #topmenu ul, .section-cicp .importante {
	background-color: #FFEEEA;
}

.section-cicp #topmenu ul a {
	color: #C41C01;
	border-bottom-color: #EDBAB2;
}

.section-cicp #topmenu > li:hover > a, .section-cicp #topmenu li.hover > a {
	background-color: #FFEEEA;
	color: #C41C01;
}

.section-cicp #topmenu > li.first:hover > a {
	background-color: #891501;
	color: #fff;
}

.section-cicp #submenu a, .section-cicp #submenu li li a, .section-cicp table.event-details td, .section-cicp #page .homeleft .links a, .section-cicp #page .homeright h2.notizie {
	color: #C41C01;
}

.section-cicp #submenu li.open a {
	background-color: #C41C01;
}

.section-cicp #submenu li.open li a {
	background-color: transparent;
}

.section-cicp #submenu li.open ul {
	background-color: #FFEEEA;
}

.section-cicp #submenu li.closed a {
	background-image: url(/img/cicp/littletridown.gif);
}

.section-cicp #submenu li.open a{
	background-image: url(/img/cicp/littletriup.gif);
}

.section-cicp #submenu ul {
	border-bottom-color: #EDBAB2;
}



/************************************************
 * I R S E
 ************************************************/

.section-irse #topmenu, .section-irse .volantino {
	background-color: #699D3B;
}

.section-irse #topmenu li.selected {
	background-image: url(/img/irse/tridown.gif);
}

.section-irse #topmenu li.first a {
	background-image: url(/img/irse/homemenu.gif);
	background-color: #3a5621;
}

.section-irse #topmenu ul, .section-irse .importante {
	background-color: #E7EFDF;
}

.section-irse #topmenu ul a {
	color: #699D3B;
	border-bottom-color: #CADDBA;
}

.section-irse #topmenu > li:hover > a, .section-irse #topmenu li.hover > a {
	background-color: #E7EFDF;
	color: #699D3B;
}

.section-irse #topmenu > li.first:hover > a {
	background-color: #3a5621;
	color: #fff;
}

.section-irse #submenu a, .section-irse #submenu li li a, .section-irse table.event-details td, .section-irse #page .homeleft .links a, .section-irse #page .homeright h2.notizie  {
	color: #699D3B;
}

.section-irse #submenu li.open a {
	background-color: #699D3B;
}

.section-irse #submenu li.open li a {
	background-color: transparent;
}

.section-irse #submenu li.open ul {
	background-color: #E7EFDF;
}

.section-irse #submenu li.closed > a {
	background-image: url(/img/irse/littletridown.gif);
}

.section-irse #submenu li.open > a{
	background-image: url(/img/irse/littletriup.gif);
}

.section-irse #submenu ul {
	border-bottom-color: #CADDBA;
}


/************************************************
 * P E C
 ************************************************/

.section-pec #topmenu, .section-pec .volantino {
	background-color: #DF9D09;
}

.section-pec #topmenu li.selected {
	background-image: url(/img/pec/tridown.gif);
}

.section-pec #topmenu li.first a {
	background-image: url(/img/pec/homemenu.gif);
	background-color: #a27306;
}

.section-pec #topmenu ul, .section-pec .importante {
	background-color: #FEF4DE;
}

.section-pec #topmenu ul a {
	color: #DF9D09;
	border-bottom-color: #F5E1B5;
}

.section-pec #topmenu > li:hover > a, .section-pec #topmenu li.hover > a {
	background-color: #FEF4DE;
	color: #DF9D09;
}

.section-pec #topmenu > li.first:hover > a {
	background-color: #a27306;
	color: #fff;
}

.section-pec #submenu a, .section-pec #submenu li li a, .section-pec table.event-details td, .section-pec #page .homeleft .links a, .section-pec #page .homeright h2.notizie  {
	color: #DF9D09;
}

.section-pec #submenu li.open a {
	background-color: #DF9D09;
}

.section-pec #submenu li.open li a {
	background-color: transparent;
}

.section-pec #submenu li.open ul {
	background-color: #FEF4DE;
}

.section-pec #submenu li.closed > a {
	background-image: url(/img/pec/littletridown.gif);
}

.section-pec #submenu li.open > a{
	background-image: url(/img/pec/littletriup.gif);
}

.section-pec #submenu ul {
	border-bottom-color: #F5E1B5;
}

/************************************************
 * U T E
 ************************************************/

.section-ute #topmenu, .section-ute .volantino {
	background-color: #B51E7D;
}

.section-ute #topmenu li.selected {
	background-image: url(/img/ute/tridown.gif);
}

.section-ute #topmenu li.first a {
	background-image: url(/img/ute/homemenu.gif);
	background-color: #751351;
}

.section-ute #topmenu ul, .section-ute .importante {
	background-color: #FCEBF5;
}

.section-ute #topmenu ul a {
	color: #B51E7D;
	border-bottom-color: #E9BBD8;
}

.section-ute #topmenu > li:hover > a, .section-ute #topmenu li.hover > a {
	background-color: #751351;
	color: #fff;
}

.section-ute #submenu a, .section-ute #submenu li li a, .section-ute table.event-details td, .section-ute #page .homeleft .links a, .section-ute #page .homeright h2.notizie  {
	color: #B51E7D;
}

.section-ute #submenu li.open a {
	background-color: #B51E7D;
}

.section-ute #submenu li.open li a {
	background-color: transparent;
}

.section-ute #submenu li.open ul {
	background-color: #FCEBF5;
}

.section-ute #submenu li.closed > a {
	background-image: url(/img/ute/littletridown.gif);
}

.section-ute #submenu li.open > a{
	background-image: url(/img/ute/littletriup.gif);
}

.section-ute #submenu ul {
	border-bottom-color: #E9BBD8;
}

/************************************************
 * F C 7
 ************************************************/

.section-fc7 #topmenu, .section-fc7 .volantino {
	background-color: #0166B0;
}


/*
 * START HOME PAGE
 */

#servizi-centro div, #mostre p {
	display: none;
}

#servizi-centro div:first-child, #mostre p:first-child {
	display: block;
}

#servizi-centro p {
    font-family: Georgia, "Times New Roman", serif;
    position: absolute;
    top: 30px;
    left: 21px;
    width: 160px;
    color: #79838D;
    font-size: 18px;
}

#servizi-centro p strong {
    font-weight: normal;
    color: #333;
}

.hometable {
	clear: left;
}

.hometable .notizie h2 {
	background: url(/img/rquotesmall.gif) no-repeat 5px 0;
	padding-left: 25px;
	padding-top: 12px;
	height: 33px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: normal;
}

#page .hometable .notizie ul {
	margin: 0 40px 0 25px;
	list-style: none;
}

#page .hometable li {
	background: none;
	padding: 0;
}

#page .hometable img {
	display: block;
}

.hometable .notizie h3 {
	margin-left: -25px;
	background-color: #E6E6E6;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	padding-left: 25px;
	margin-top: 15px;
	letter-spacing: 1px;
	font-size: 1.1em;
}

#page .hometable .notizie img {
	padding-top: 5px;
	float: left;
}

.hometable .notizie .date {
	color: #666;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 6px 10px 0 24px;
	width: 70px;
	display: block;
	height: 17px;
	float: left;
/*	overflow: auto; */
}

.hometable .notizie p {
	color: #666;
	line-height: 1.2;
	margin-top: 10px;
	clear: left;
	margin-top: 30px;
}






/*
 * END HOME PAGE
 */




/*
 * Home page singoli enti, cercare di uniformare alla home principale
 */

#fotohome, #servizi-centro {
	min-height: 250px;
}

* html #fotohome, * html #servizi-centro {
	height: 250px;
}

#fotohome img {
	display: block;
	width: 479px;
    height: 100%;
}

#fotohome {
    height: 255px;
}

#fotohome li {
	display: none;
    overflow: hidden;
    height: 255px;
}

#fotohome li.first {
	display: block;
}

#foto-pager {
    position: absolute;
    top: 230px;
    right: 10px;
    z-index: 190;
}

#foto-pager a {
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    display: inline-block;
    margin-left: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 1px 1px 0 #999;
}

#foto-pager a:hover {
    background: #fff;
}

#foto-pager a.cycle-pager-active {
    background: #6B9C3B;
    border: none;
}


#page .homeleft h2, #page .homeright h2 {
	border: none;
}

.homeleft {
	width:420px;
	float: left;
}

.homeright {
	margin-left: 421px;
	width: 479px;
    position: relative;
}

#page .homeleft .evidenza {
	margin: 0;
}

#page .homeleft .evidenza li {
	background: none;
	padding: 10px 10px 10px 20px;
	border-bottom: 1px solid #E6E4E6;
	background: url(/img/back-evidenza.jpg) repeat-x bottom left;
	overflow: auto;
	height: 1%;
}

#page .homeleft .evidenza img {
	float: left;
	margin-right: 20px;
}

#page .homeleft .evidenza li div {
	margin-left: 130px;
}

#page .homeleft .evidenza li h2 {
	background: none;
	font-family: "Trebuchet MS", Arial, sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 1em;
	color: #000;
	margin-top: 0;
}

#page .homeleft .evidenza li .slogan {
	font-family: Georgia, Times, serif;
	font-size: 1.3em;
	font-style: italic;
	color: #333;
    margin-top: 10px;
}


#page .homeleft .links {
	margin: 30px 20px 20px;
	border-top: 1px solid #ccc;
}

#page .homeleft .links li {
	padding: 10px;
	border-bottom: 1px solid #ccc;
	background: none;
	font-size: 1.3em;
}

#page .homeleft .videos {
	margin: 30px 20px 20px;
}


#page .homeleft ul, #page .homeright ul {
	margin: 0;
}

#page .homeright ul {
	margin: 0;
}

#page .homeright li {
	background: none;
	padding: 0;
}

#page .homeright li h2 {
	padding-left: 20px;
	background: #efefef;
}

#page .homeright li p {
	padding: 0 20px;
}

#page .homeright img {
	display: block;
}

#page h2.notizie img {
    display: inline;
}

#page .homeright h2.notizie {
	background: url(/img/rquotesmall.gif) no-repeat;
	font-size: 1.5em;
	margin-left: 76px;
	padding-left: 44px;
	padding-top: 13px;
	height: 22px;
	margin-top: 15px;
}

/*
 * End home page singoli enti
 */






/*
 * Contenuto principale della pagina
 */

#page {
	color: #333;
	line-height: 1.5;
	font-size: .8em;
	margin-left: 60px;
	width: 420px;
	float: left;
	display: inline;
}


.template-centro_home #page.large, .template-ente_view #page.large, .template-calendario #page.large {
	margin-left: 0;
	width: auto;
	float: none;
}


#page.large {
	width: 540px;
}

.template-ente_view #page.large #content, .template-centro_home #page.large #content {
	background: url(/img/gray.gif) repeat-y 420px 0;
}

.template-ente_view #page.large #content {
	overflow: auto;
	width: 960px;
}

.template-centro_home #page.large #content {
	overflow: auto;
	width: 940px;
}


#coldx #scheda-iscrizione {
	display: block;
	text-transform: uppercase;
	height: 46px;
	background: #f0f0f0 url(/img/scheda.gif) no-repeat 10px center;
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: #666;
	padding: 6px 0 0 50px;
	font-size: .7em;
	margin: 20px 0;
}

#coldx #scheda-iscrizione:hover {
	color: #000;
}


#coldx {
	margin-left: 720px;
	margin-top: 40px;
	width: 180px;
	font-family: Arial, sans-serif;
}

* html #coldx {
	margin-right: -10px;
	margin-left: 717px;
	/* Il solito IE6 si sbaglia di alcuni pixel e la colonna destra non ci sta più */
}



.volantino {
	display: block;
	margin-top: 1px;
	background-image: url(/img/download.png);
	background-repeat: no-repeat;
	background-position: 8px 10px;
	height: 37px;
	color: #fff;
	font-weight: bold;
	font-size: .9em;
	padding-left: 35px;
	padding-top: 13px;
}

/* Maledetto IE6

* html .volantino {
	background-color: transparent;
	background-image: url(blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/img/download.png" ,sizingMethod="scale");
}
*/

.scarica-pdf {
	padding-left: 20px;
	font-size: .9em;
	background: url(/img/pdf_icon.gif) no-repeat;
}


/* durante la modifica usare tutta la larghezza della pagina */
.template-atct_edit #page, .template- #page, .template-folder_listing #page, .template-base_edit #page  {
	width: 660px;
}

h1 {
	color: #000;
	font-family: Arial, sans-serif;
	letter-spacing: -1px;
	font-weight: normal;
	margin-bottom: 1.5em;
	font-size: 30px;
	background: url(/img/rquote.gif) no-repeat 14px 0;
	margin-left: -52px;
	padding-left: 50px;
	padding-top: 8px;
	border-bottom: none;
    line-height: 1.1;
}

* html h1 {
	height: 1%;
	position: relative;
}

h1.hasDescription {
	margin-bottom: 0;
}


#page .description {
	margin-bottom: 2em;
	letter-spacing: -1px;
	font-weight: bold;
	color: #9F9FA3;
	line-height: 1.2;
	font-size: 17px;
	font-family: Arial, sans-serif;
}

#page .description strong {
	color: #000;
}

#page .share-fb {
    text-align: right;
    font-family: Arial, sans-serif;
    font-size: 11px;
    margin-bottom: 10px;
}

#page .description + .share-fb {
    margin-top: -2.5em;
}

#footer {
	position: absolute;
	bottom: -60px;
	padding-left: 20px;
	font-size: 12px;
	color: #999;
	width: 940px;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #09c;
}

#infofactory {
	position: absolute;
	right: 0;
	top: 0;
}

#infofactory a {
	color: #666;
}

#infofactory a:hover {
	color: #eee;
}


#infofactory span {
	color: #444;
}

#page {
	color: #333;
}

#page.large #content {
	width: 540px;
}

.template-calendario #page.large #content {
	width: auto;
}

.template-pagina_view #content ul {
	margin: 0 0 .5em 3em;
	list-style: disc;
}

#content ul.nobullet, #content ul.formTabs, #content ul.folderlisting {
	margin: 0;
	list-style: none;
}

#content ul.nobullet li, #content ul.formTabs li, #content ul.folderlisting li {
	background: none;
	padding-left: 0;
}


#content ul.folderlisting li img {
	float: left;
}

#content ul.folderlisting li div {
	margin-left: 70px;
}

#content ul.folderlisting li {
	overflow: auto;
	height: 1%;
	margin-bottom: 20px;
}

#content ul.folderlisting p.date {
	font-weight: bold;
}


#page img {
	display: inline;
}


/*
 * Stili per la pagina da inserire nell'editor
 */


#page img.large {
	display: block;
	width: 660px;
}

#page table {
	border-collapse: collapse;
}

#page img.fotolunga {
	display: block;
	margin: .5em 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#page img.left {
	float: left;
	margin: 0 15px 15px 0;
}

#page img.right {
	float: right;
	margin: 0 0 15px 15px;
}


#page h2 {
	background: none;
	padding: 0;
	color: #333;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	line-height: 1.3;
}

p.blockquote, blockquote {
	float: left;
	width: 157px;
	padding-bottom: 30px;
	padding-right: 20px;
	margin-right: 20px;
	font-family: Arial, serif;
	line-height: 1.4;
	color: #000;
	font-size: 1.7em;
	border-right: 3px solid #ccc;
	background-color: #fff;
	margin-bottom: 20px;
}

p.blockquote + *, blockquote + *, .after-blockquote {
	margin-left: 200px;
}

.after-blockquote + * {
/* 	clear: left; */
}

.importante {
	padding: 10px;
	margin: 10px 0;
	line-height: 1.4;
}

.evidenziato {
	background-color: #ffc;
}

.small {
	font-size: 11px;
	color: #333;
}

/*
 * End stili per l'editor
 */ 

/*
 * Tabella file allegati
 */


#coldx h2.files, #page h2.files {
	margin-bottom: 0;
	background: none;
	color: #4E4F4F;
}

#page h2.files {
	letter-spacing: 2px;
}

table.files {
	font-size: 12px;
}


#coldx table.files, #page table.files {
	width: 100%;
	border-top: 1px solid #ccc;
	margin-bottom: 1em;
	font-family: "Trebuchet MS", Arial, sans-serif;
}

#page table.files td:first-child img {
    max-width: none;
}

#coldx table.files td.main, #page table.files td.main {
	width: 90%;
}

#coldx table.files td, #page table.files td {
	border-bottom: 1px solid #ccc;
	padding: 6px;
}

#coldx table.files td img, #page table.files td img {
	margin-right: 6px;
}

#page table.files td.discreet {
	color: #999;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
	white-space: nowrap;
}

table.righe {
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	font-family: Arial, sans-serif;
	width: 100%;
}

table.righe th {
	font-variant: small-caps;
	font-size: 1.3em;
	letter-spacing: 1px;
	padding: 5px 0 10px;
	border-bottom: 2px solid #000;
}

table.righe td {
	padding: 3px 15px 8px 0;
	border-bottom: 1px solid #ccc;
}

table.righe a {
	font-weight: bold;
}

table.righe .desc {
	color: #666;
}

/*
 * Lista partners
 */

.partners {
	margin: 50px 0 0;
	list-style: none;
}

.partners p {
	font-size: .85em;
	color: #666;
	font-weight: bold;
	letter-spacing: -1px;
	margin-top: 2em;
	border-top: 1px dotted #ccc;
	padding-top: .5em;
}

.partners li {
	margin-bottom: 15px;
        display:block;
}

#page #content .partners a {
	padding: 0;
	background: none;
}


.pagine {
	font-size: .8em;
	margin: 20px 0;
}

.pagine ul {
margin: 0 0 20px 17px;
}

.pagine li {
	border-bottom: 1px solid #ccc;
}

.pagine li.selected {
	/* font-weight: bold; */
}

.pagine li.selected > a {
	color: #000;
	/*margin-left: -17px; */
}


.pagine a {
	display: block;
	padding: 3px 0;
}




#page table.programma {
	border-bottom: 2px solid #999;
	border-top: 2px solid #999;
	width: 100%;
}

#page table.programma td {
	padding: 3px 5px;
}

#page table.programma tr td:first-child {
	font-style: italic;
}

#page p {
	margin-bottom: .5em;
}


#page h1 + p:first-letter {
	font-size: 1.5em;
	font-weight: bold;
}

#page h1 + p.description:first-letter {
	font-size: 1em;
}

table.event-details {
	width: 100%;
	font-family: Arial, sans-serif;
	margin-bottom: 30px;
}

table.event-details td, table.event-details th {
	border-bottom: 1px solid #ccc;
}

#page table.event-details th {
	text-align: left;
	padding-right: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .85em;
	line-height: 2.2em;
}

#page table.event-details td {
	font-weight: bold;
	font-size: 1.2em;
	padding: 6px 3px 3px 6px;
}

#page table.event-details img {
	margin-right: 10px;
}

#page ul.gallery {
	list-style: none;
	margin: 0;
}

#page ul.gallery li {
	float: left;
	height: 1%;
	margin-right: 1px;
}

#page ul.gallery li img {
	display: block;
}


/*
 * Galleria fotografica grande, con titolo a sinistra e foto laterali
 */
.gallery-large, .gallery-small {
	clear: left;
}

#page .gallery-large, #page .gallery-small {
    margin: 1em -240px 1em 0;
}

.large #content .gallery-large, .large #content .gallery-small {
	margin-right: -120px;
}


#page .gallery-large ul, #page .gallery-small ul {
	list-style: none;
	margin-left: 0;
	overflow: auto;
	border-right-style: solid;
	border-right-color: #EFEFEF;
}

* html #page .gallery-large ul, * html #page .gallery-small ul {
	position: relative;

/* maledetto ie6, gli serve hasLayout per vedere il border, ma si sposta a destra di circa 3 pixel */
	height: 1%;
	left: -3px;
	margin-right: -3px;
}

#page .gallery-large ul {
	border-right-width: 180px;
    width: 360px;
    padding-right: 120px;
}

#page .gallery-large ul.has-title {
    padding-right: 0;
}


#page .gallery-small ul {
	border-right-width: 114px;
}

#content .gallery-large li, #content .gallery-small li {
	float: left;
	padding: 0;
	background: none;
	display: inline;
	position: relative;
}

li .down-image {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: none !important;
}

li:hover .down-image {
  display: block !important;
}


.gallery-large li {
	margin: 0 6px 6px 0;
}

.gallery-small li {
	margin: 0 1px 1px 0;
}

#page .gallery-large li *, #page .gallery-small li * {
	display: block;
}

#page .gallery-large h2, #page .gallery-small h2 {
	margin-bottom: 10px;
	padding-right: 20px;
	padding-left: 0;
	margin-top: 0;
	font-family: Arial, serif;
	line-height: 1.4;
	color: #333;
	font-size: 1.7em;
	font-weight: normal;
	background: none;
	border-bottom: none;
}

#page .gallery-large .gallery-header, #page .gallery-small .gallery-header {
	float: left;
	width: 100px;
	padding-right: 20px;
}

#page .gallery-large .gallery-header h2, #page .gallery-small .gallery-header h2 {
    font-size: 16px;
    font-weight: bold;
}


#page .gallery-large .gallery-header p.description, #page .gallery-small .gallery-header p.description {
	font-weight: normal;
	font-size: 12px;
    line-height: 1.3;
	letter-spacing: 0;
	color: #666;
}

.canModify {
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background-color: #fef8f6;
	margin-top: 20px;
	margin-bottom: 0;
}


#page .bigbutton {
	display: block;
	font-size: 1.2em;
	text-align: center;
	color: #666;
	font-weight: bold;
	background-image: none;
	background-color: #efecdd;
	background-repeat: no-repeat;
	background-position: 10px center;
	border-bottom:1px solid #aca899;
	border-right: 1px solid #aca899;
	width: 200px;
	padding: 8px;
	cursor: pointer;
}

#page a.bigbutton:hover {
	background-color: #ccc;
	color: #666;
}


.video-frame {
	background:#000;
	text-align: center;
	margin-bottom: 2em;
	clear: both;
}

.iscritti {
	margin: 2em 0;
	border-top: 2px solid #666;
}

.iscritti td, .iscritti th {
	border-bottom: 1px solid #ccc;
	background-color: #fcfcfc;
	padding: 2px 3px;
}

.iscritti th {
	text-align: left;
	background-color: #f0f0f0;
}



/*
 * Stili MODULI
 */

.invalid {
	border: 1px solid #c00;
	background: #f8f8c8;
}

.warning {
	color: #c00;
	border: 1px solid #c00;
	background-color: #f6f6aa;
	text-align: center;
	padding: 1em 0;
	margin: 1em 0;
	font-weight: bold;
	position: relative;
}

.success {
	color: #060;
	border: 1px solid #5f8a13;
	background-color: #dcfe9e;
	text-align: center;
	padding: 1em 0;
	margin: 1em 0;
	font-weight: bold;
}

.error {
	margin: 0 0 1em;
	color: #900;
	font-weight: bold;
	background: none;
	border: none;
}

/*
 * End stili MODULI
 */


/* antispam per indirizzi email */

a.writeme {
	unicode-bidi: bidi-override;
	direction: rtl;
}

.hidden {
	display: none;
}

#waiting {
    position: absolute;
    top: 350px;
    left: 240px;
    width: 380px;
    height: 40px;
    padding: 60px 20px 20px;
    border: 3px solid #999;
    background: #e0e0e0;
    font-weight: bold;
}

#waiting .close {
    position: absolute;
    top: 10px;
    right: 10px;
}

/*
 * Elementi di interfaccia Plone da far sparire
 */


#archetypes-fieldname-title textarea {
font-size: 160%;
font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
font-weight: normal;
width: 99%;
}


#cmfeditions_version_comment_block, #fieldsetlegend-ownership, #archetypes-fieldname-subject {
	display: none;
}

/*
#page #content a[href^="http:"] {
	background: none;
	padding: 0;
}
*/

/* Status message standard di Plone */

dl.portalMessage {
font-size: 11px;
background-color: #ffffe3; 
border: 1px solid #996; 
}
dl.portalMessage a {
color: black;
border: none;
text-decoration: underline;
}
dl.portalMessage dt {
background-color: #996; 
font-weight: bold;
float: left;
margin: 0 0.5em 0 0;
padding: 0.5em 0.75em;
color: White;
line-height: 1.25em;
}
dl.portalMessage dd {
padding: 0.5em 0.5em; 
margin: 0;
line-height: 1.25em;
}
dl.warning {
border-color: #d80;
}
dl.warning dt {
background-color: #d80;
}
dl.error {
border-color: #d00; 
}
dl.error dt {
background-color: #d00; 
}
dl.warning {
border-color: #d80; 
}
dl.warning dd {
background-color: #fd7; 
}
dl.error {
border-color: #d80; 
}
dl.error dd {
background-color: #fd7; 
}

#portal-breadcrumbs {
  display:none;
}

#portal-personaltools {
   position:fixed;
   top:0;
   z-index:10;
}
#contentActionMenus {
   z-index:10;
}