/*SETTINGS GENERALI*/
*{font-family:"Trebuchet MS",sans-serif;font-size:11px;}
p{margin:0;padding:0;}
/*html, body {height: 100%;}*/
body{margin:0;padding:0;background:url('../img/sito/bg_layout.gif') repeat-y 771px top;}
img{border:0;}
form{margin:0;padding:0;}
a:focus{outline:none}
a:link,a:visited{font-weight:bold;text-decoration:none;color: #336699;}
input{vertical-align:middle;}
label{vertical-align:middle;font-weight:bold}
hr.clear{clear:both;}

/*#layout{position:relative;width:780px;margin:0 0 -4em 0;padding:0;min-height: 100%; height: auto !important; height: 100%;}*/
#layout{position:relative;width:780px;margin:0 0 -4em 0;padding:0;}
#logobf{position:absolute;left:0;top:10px;}
#header{position:relative;width:770px;background:url('../img/sito/headers/header_bg.gif') repeat-x left top;}
#header-sx{position:absolute;right:-1px;top:0;}
#header-interne{position:relative;width:770px;background:url('../img/sito/headers/header_bg.gif') repeat-x left top;}
#breadcrumb{margin:10px 0 0 0;padding:0 0 0 22px;}

#menutop{width:778px;margin:0;padding:100px 0 0 0;background:url('../img/sito/bg_menutop_dx.gif') no-repeat right 100px;}
#menutop li{display:inline;}
#menutop:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}
#menutop li a:link,#menutop li a:visited{display:inline;float:left;width:auto;height:22px;background:url('../img/sito/bg_menutop_off.gif') repeat-x left top;margin:0 1px;padding:3px 16px;color:#293d6b;}
#menutop li a:hover{background:url('../img/sito/bg_menutop_on.gif') repeat-x left top;color:#fff;}
#menutop li.on a:link,#menutop li.on a:visited{background:url('../img/sito/bg_menutop_on.gif') repeat-x left top;color:#fff;}

#menutop li a:link#change-lang,#menutop li a:visited#change-lang{width:100px;cursor:auto;}
#menutop li a:hover#change-lang{background:url('../img/sito/bg_menutop_off.gif') repeat-x left top;cursor:auto;}


.hpcontent{clear:both;padding:0 0 0 10px;}
.intcontent{clear:both;height:auto !important;height:1%;margin:20px 0 60px 0;padding:0;}
.intcontent:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}
#footer{clear:both;z-index: 10; width:780px;text-align:center;margin:0;padding:0;color:#01354a;font-size:0.8em;}

/*INIZIA HP*/
#txt-hp{display:inline;float:left;width:460px;padding:0 10px;}
#txt-hp h1{margin:20px 0 10px 0;padding:0;font-size:1.4em;color:#ff0000;}
#txt-hp p {line-height:21px; margin:5px 0;}
#banner-hp{display:inline;float:left;width:250px;margin:20px 0 10px 0;padding:0 10px;}
#banner-hp:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}
#banner-hp a img { padding: 6px; border: 1px solid #e6e6e6; }
#banner-hp a:hover img { border: 1px solid #999; }
#download-brochure{margin:40px 0 0 0;padding:0 0 5px 0;border-bottom:1px solid #ff0000;}
a.hp-download:link, a.hp-download:visited{margin:0;padding:0 2px 0 20px;display: block;background:url('../img/sito/icona_pdf.gif') no-repeat left top;}

#boxes-hp{clear:both;display:inline-block;height:auto !important;height:1%;padding:0;margin:15px 0 40px 0;}
#boxes-hp:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}
#box-news{position:relative;display:inline;float:left;width:363px;margin-top:15px; margin-left:5px;background:url('../img/sito/news_top_right.gif') right top no-repeat #d9e7f0;}
#box-news h2{background:url('../img/sito/news_top_left.gif') no-repeat left top;margin:0 0 10px 0;padding:0 10px;color:#bacbdb;font-size:2.5em;}
#box-news .cnews-hp{margin:0 0 15px 0;}
#box-eventi{position:relative;display:inline;float:left;margin-top:15px;margin-left:4px;width:368px;background:url('../img/sito/eventi_top_right.gif') right top no-repeat #e4e9ed;}
#box-eventi h2{background:url('../img/sito/eventi_top_left.gif') left top no-repeat;margin:0 0 10px 0;padding:0 10px;color:#bacbdb;font-size: 2.5em;}
#box-eventi .ceventi-hp{margin:0 0 15px 0;}
#box-news div, #box-eventi div{margin:5px 0 0 0;padding:0 10px;}
#box-news div.block-newsevent,#box-eventi div.block-newsevent{clear:both;height:auto !important;height:1%;padding:5px 10px 10px 10px;border-bottom:1px solid #fff}
div.block-newsevent:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}

#box-news div h3, #box-eventi div h3{margin:0;padding:0;}
#boxes-news-bottom{position:absolute;left:0;bottom:-16px;width:368px;background:url('../img/sito/riga_bottom_news.gif') left top no-repeat;padding-bottom:0px;}
#boxes-eventi-bottom{position:absolute;left:0;bottom:-16px;width:368px;background:url('../img/sito/riga_bottom_eventi.gif') left top no-repeat;padding-bottom:9px;}
/*FINE HP*/

/*INIZIA PAGINE INTERNE*/
#msx{display:inline-block;float:left;width:165px;margin:0;padding:0;}
#msx h2{height:20px;margin:0;padding:3px 0 0 10px;color:#0c3b4f;font-size:1.2em;background:url('../img/sito/bg_top_msx.gif') no-repeat left top;text-transform:uppercase;}
#msx ul{list-style:none; margin:0;padding:5px 0 5px 0;background:url('../img/sito/bg_msx_content.gif') repeat-y left top;}
#msx ul li{margin:0;padding:0;}
#msx ul li a:link,#msx ul li a:visited{display:block;width:145px;margin:0;padding:0 0 3px 10px;color:#000;font-weight:normal;}
#msx ul li a:hover{display:block;width:145px;margin:0;padding:0 0 3px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}
#msx ul li.on a{display:block;width:145px;margin:0;padding:0 0 3px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}
#msx ul li ul li a:link,#msx ul li ul li a:visited{ padding:0 0 3px 18px;}

#c-interne-dx{display:inline-block;float:left;width:575px;padding:0 15px 0 0;margin:0 0 0 20px;position:relative;}
/*#c-interne-dx *{font-size:11px;line-height:21px;}*/
#c-interne-dx p {margin:1em 0; line-height:21px; font-size:11px; }
#c-interne-dx h1{color:#ff0000;font-size:24px;width:480px;margin:0 0 10px 0;padding:35px 0 5px 0;background:url('../img/sito/freccina.gif') no-repeat left top;}
#c-interne-dx h2 {font-size:1.4em; }
#c-interne-dx h1.eventi { margin-left: 175px; }
#c-interne-dx p#printEvent { position: absolute; top: 25px; right:30px; }
#c-interne-dx p#printEvent a { padding-left:18px; background: url('../img/sito/print_icon.gif') left center no-repeat; font-weight: normal;}
#c-interne-dx img.logo-int { float: right;}
a.external-pdf:link, a.external-pdf:visited { padding-right: 15px; background:url('../img/sito/pdf_icon.png') center right no-repeat;}

a.module-banner {width:150px;display:block;padding:10px;border:1px solid #999;background:#e6e6e6;margin-bottom:20px;text-align:left}
a:hover.module-banner {border:1px solid #333;color:#f00}


/* GALLERY IMMAGINI */

.gallery { margin:10px 0 0 0; padding:0; list-style:none; }
.gallery li { float:left; margin:8px 12px 0 0; display:inline;}
.gallery img { border:2px solid #fff; display:block;}
.gallery a { border:1px solid #BBB;display:block;padding:2px;background:#DDD;text-decoration:none;font-family:Verdana,Tahoma,Helvetica,sans-serif;font-size:0.85em;text-align:center;color:#555;}
.gallery a:hover { border:1px solid #f00;background:#CEB3C1;color:#43122C;}
.gallery a:hover img { border:2px solid #fff;}


/*SEZIONE NEWS*/
#c-interne-dx .news{clear:both;height:auto !important;height:1%;padding:0 0 35px 0;border-bottom:solid 1px #01354a}
#c-interne-dx .news:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}

/*TABELLE EVENTI*/
table.eventHead { width: 570px; padding:0; }
td.eventTitle div { width: 360px; background: #e6e6e6 url('../img/sito/eventi_title_bottom.gif') left bottom no-repeat;}
td.eventTitle h2 { padding: 15px 15px 5px; margin:0; background: #e6e6e6 url('../img/sito/eventi_title_top.gif') left top no-repeat;}
td.eventTitle p { padding: 0px 15px 15px; font-size: 11px; }
td.logo { width:220px; text-align: center; }
td.eventAbstract div#abstract { margin-top:10px; width:560px; padding-bottom:15px; background: #e6e6e6 url('../img/sito/eventi_abstract_bottom.gif') left bottom no-repeat; }
td.eventAbstract div#abstract p { margin:0;padding: 15px 15px 0; background: #e6e6e6 url('../img/sito/eventi_abstract_top.gif') left top no-repeat;}
table.eventiDetails { margin-top: 15px; width: 100%; border: none; }
table.eventiDetails td { vertical-align:top;font-size:12px;padding: 8px; } 
table.eventiDetails td span.eventiNote{ font-size: 9px; } 

/*SITEMAP*/
#sitemap{list-style-type:none;}
#sitemap ul{list-style-type:none;}



/*DARIO 02-07-2007*/
#c-interne-dx.index-eventi{margin:0;}
#c-interne-dx h2 { margin:0; }
#c-eventifiera{width:745px;height:auto !important;height:1%;display:inline-block;margin:0 0 50px 0;}
#c-eventifiera:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}

#msx-infiera{display:inline-block;float:left;width:165px;margin:0;padding:0;}
#msx-infiera h2{height:20px;margin:0;padding:3px 0 0 10px;color:#0c3b4f;font-size:12px;background:url('../img/sito/bg_top_msx.gif') no-repeat left top;text-transform:uppercase;}

#msx-infiera ul{width:165px;list-style:none; margin:0;padding:5px 0 5px 0;background:url('../img/sito/bg_msx_content.gif') repeat-y left top;}
#msx-infiera ul li{margin:0;padding:0;line-height:13px;}
#msx-infiera ul li span{display:block;margin:0 0 5px 0;padding:0 0 0 10px;line-height:13px;}
#msx-infiera ul li img{vertical-align:middle;}

#msx-infiera ul li a:link,#msx-infiera ul li a:visited{display:block;width:155px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;line-height:13px;}
#msx-infiera ul li a:hover{display:block;width:155px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}
#msx-infiera ul li.on a{display:block;width:155px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}

#msx-infiera ul li ul{margin:0 0 10px 0;padding:0;background:none;}
#msx-infiera ul li ul li{margin:0 0 2px 0;padding:0;}
#msx-infiera ul li ul li a:link,#msx-infiera ul li ul li a:visited{display:block;width:145px;margin:0;padding:0 0 0 15px;}
#msx-infiera ul li ul li a:hover{display:block;width:145px;margin:0;padding:0 0 0 15px;}

#msx-infiera{display:inline;float:left;}
#txt-eventifiera{display:inline;float:left;width:550px;margin:0 0 0 25px}


#c-eventiovunque{width:745px;height:auto !important;height:1%;display:inline-block;}
#c-eventiovunque:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}

#msx-eventiovunque{display:inline-block;float:left;width:165px;margin:0;padding:0;}
#msx-eventiovunque h2{height:20px;margin:0;padding:3px 0 0 10px;color:#0c3b4f;font-size:12px;background:url('../img/sito/bg_top_msx.gif') no-repeat left top;text-transform:uppercase;}

#msx-eventiovunque ul{width:165px;list-style:none; margin:0;padding:5px 0 5px 0;background:url('../img/sito/bg_msx_content.gif') repeat-y left top;}
#msx-eventiovunque ul li{margin:0;padding:0;line-height:13px;}
#msx-eventiovunque ul li span{display:block;margin:0 0 5px 0;padding:0 0 0 10px;line-height:13px;}
#msx-eventiovunque ul li img{vertical-align:middle;}

#msx-eventiovunque ul li a:link,#msx-eventiovunque ul li a:visited{display:block;width:145px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;line-height:13px;}
#msx-eventiovunque ul li a:hover{display:block;width:145px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}
#msx-eventiovunque ul li.on a{display:block;width:145px;margin:0;padding:0 0 2px 10px;color:#000;font-weight:normal;background:url('../img/sito/brdr_left_msx_over.gif') repeat-y left top;}

#msx-eventiovunque ul li ul{margin:0 0 10px 0;padding:0;background:none;}
#msx-eventiovunque ul li ul li{margin:0 0 2px 0;padding:0;}
#msx-eventiovunque ul li ul li a:link,#msx-eventiovunque ul li ul li a:visited{display:block;width:145px;margin:0;padding:0 0 0 15px;}
#msx-eventiovunque ul li ul li a:hover{display:block;width:145px;margin:0;padding:0 0 0 15px;}

#msx-eventiovunque{display:inline;float:left;}
#txt-eventiovunque{display:inline;float:left;width:550px;margin:0 0 0 25px}

#detail-evento{width:600px;}
#detail-evento ul{list-style-type:none;margin:0;padding:0;}
#detail-evento ul li{height:auto !important;height:1%;display:inline-block;padding:0 0 15px 0;margin:0 0 15px 0;border-bottom:solid 1px #000}
#detail-evento ul li:after {content: ".";display: block;height:0;clear:both;visibility:hidden;}
#detail-evento ul li p.label{display:inline;float:left;width:160px;font-weight:bold;}
#detail-evento ul li div.value{display:inline;float:left;width:400px;}

#c-interne-dx.scheda-ovunque h1{margin:0 0 20px 0;}

/*** FORM CONTATTI ***/
form.contatti input, form.contatti textarea {border:1px solid #999;font-family:"Trebuchet MS",sans-serif;font-size:11px;padding:3px}
form.contatti input {width:130px;margin-right:10px}
form.contatti textarea {width:340px;height:100px}
form.contatti table td {padding: 6px 0}
form.contatti select {border:1px solid #999;font-family:"Trebuchet MS",sans-serif;font-size:11px;width:180px}
div.cont_errors {padding:10px 10px 10px 90px;margin-bottom: 10px;color: #cc0000;font-size: 90%;border-top: 3px solid #fe7b7a;border-bottom: 3px solid #fe7b7a;background: #ffcccc url('../img/sito/status-alert.png') 35px 50% no-repeat;}
#c-interne-dx div.cont_errors p {margin:0}

/* SLIMBOX */
#lbOverlay {position: fixed;z-index: 9999;left: 0;top: 0;width: 100%;height: 100%;background-color: #000;cursor: pointer;}
#lbCenter, #lbBottomContainer {position: absolute;z-index: 9999;overflow: hidden;background-color: #fff;}
.lbLoading {background: #fff url(loading.gif) no-repeat center;}
#lbImage {position: absolute;left: 0;top: 0;border: 10px solid #fff;	background-repeat: no-repeat;}
#lbPrevLink, #lbNextLink {display: block;position: absolute;top: 0;width: 50%;outline: none;}
#lbPrevLink {left: 0;}
#lbPrevLink:hover {background: transparent url(prevlabel.gif) no-repeat 0 15%;}
#lbNextLink {right: 0;}
#lbNextLink:hover {background: transparent url(nextlabel.gif) no-repeat 100% 15%;}
#lbBottom {font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;font-size: 10px;color: #666;line-height: 1.4em;text-align: left;border: 10px solid #fff;border-top-style: none;}
#lbCloseLink {display: block;float: right;width: 66px;height: 22px;background: transparent url(closelabel.gif) no-repeat center;	margin:5px 0;outline: none;}
#lbCaption, #lbNumber {margin-right: 71px;}
#lbCaption {font-weight: bold;}