html, body {
	height: 100%;
}


div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #666;
	display: none;
	z-index: 30;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}



div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../images/fancybox/fancy_progress.png') no-repeat;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #898989;
	z-index: 30;
}

div#fancy_loading_icon {
	position: absolute;
	background: url('../images/fancybox/fancy_loading.gif') no-repeat;
	z-index: 35;
	width: 16px;
	height: 16px;
}

div#fancy_outer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 33px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #BBB;
	background: #898989;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}
#testo{ height:541px; width:518px; background: url('../images/bg_light_box.jpg') 0 0 no-repeat;} 
.lightbox{ height:531px; width:542px;  margin:0; overflow:hidden; padding:0;}
.lightbox .scrollable{ float:none;  height:543px; margin:0;  padding:0; width:503px; overflow-y:auto; position:relative;  }
.lightbox .scrollable p{ float:none; width:460px; _margin:5px 0; position:relative;}
*:first-child+html .lightbox .scrollable p{ margin:5px 0;}
.lightbox div.form_registrazione{ clear:both; padding-top:25px;}
.lightbox .help{ color:#fff; font-size:14px; width:518px; position:absolute; top:0px; left:10px}
.lightbox .lightbox_una_riga{background: url('../images/bg_light_box.jpg') 0 0 no-repeat; padding:0px 12px 20px; width:518px; height:546px}
.lightbox .lightbox_testo{ height:546px; overflow:hidden; padding:0px 12px 20px;  float:none; clear:none;}
.lightbox .lightbox_due_righe{background: url('../images/bg_light_box2.jpg') 0 -15px no-repeat; padding:20px 25px 20px; width:518px;height:607px}
.lightbox h1{ color:#c80109; font-size:16px; font-weight:normal; padding:10px 0 5px; margin:0; font-family:georgia; font-weight:bold; }
.lightbox h2{ font-size:11px;}
.lightbox a{color:#C80109}
.lightbox a:hover{ text-decoration:none}
.lightbox form{margin:0;}
.lightbox div, .lightbox p{float:left;font-family:arial; font-size:11px; color:#7d7d7d; clear:both; padding:2px 0;}
.lightbox .lightbox_due_righe div{width:100%;}
.lightbox div.error div, .lightbox div.errore div{ font-size:9px; color:#c80109; float:left; clear:none; width:145px}
.lightbox div.errore div{ height:20px;}
.lightbox div.big div{width:205px}
.lightbox div.small div{width:80px}
.lightbox div.medium div{width:145px}
.lightbox div.error{padding:1px 0; height:15px;} 
.lightbox div.error div{ position:absolute}
.lightbox .error_pos_1{left:13px;}
.lightbox .error_pos_2{left:158px;}
.lightbox .error_pos_3{left:218px;}
.lightbox .error_pos_4{left:243px;}
.lightbox .error_pos_5{left:304px;}
.lightbox div input, .lightbox div label, .lightbox div span{width:140px; float:left; display:inline; margin-right:5px;}
.lightbox textarea{ font-size:11px;color:#7D7D7D}
.lightbox div.required{padding:1px 0; color:#c80109; font-size:10px; width:auto; clear:both;  position:absolute; _position: inherit; right:0; top:13px; }
.lightbox div .email{width:200px;}
.lightbox div .privacy{ width:auto;}
.lightbox div .provincia{width:80px;}
.lightbox div input.n_civico{width:140px;}
.lightbox div.pull_invia {padding-top:15px; margin-bottom:10px; clear:left; }
.lightbox div input.invia{background:url('../images/pull/invia.jpg') 0 0 no-repeat; width:60px; height:24px; border:0; cursor:pointer;}
.lightbox div input.login{background:url('../images/pull/login.jpg') 0 0 no-repeat; width:60px; height:24px; border:0; cursor:pointer;}
.lightbox div .small{ width:auto; vertical-align:middle; float:none; display:inline;}
.lightbox div .desc{width:200px; height:70px; margin-right:5px;}
.lightbox div .desc_lab{width:200px;}
.lightbox p.intro{margin:2px 0; padding-right:10px; font-weight:bold;}

div#fancy_div {
	background: #000;
	color: #898989;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;

	top: -12px;

	right: -15px;

	height: 30px;

	width: 30px;

	background: url('../images/fancybox/fancy_closebox.png') top left no-repeat;

	cursor: pointer;

	z-index: 181;

	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 546px;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url('../images/fancybox/fancy_left.png') no-repeat;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url('../images/fancybox/fancy_right.png') no-repeat;
}

a#fancy_left:hover {
  visibility: visible;
}

a#fancy_right:hover {
  visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
	background:#898989;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_n.png') repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_ne.png') no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../images/fancybox/fancy_shadow_e.png') repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_se.png') no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_s.png') repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_sw.png') no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../images/fancybox/fancy_shadow_w.png') repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../images/fancybox/fancy_shadow_nw.png') no-repeat;
}

div#fancy_title {
	position: absolute;
	bottom: -33px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	color: #898989;
	font: bold 12px Arial;
	padding-bottom: 3px;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url('../images/fancybox/fancy_title_left.png') repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url('../images/fancybox/fancy_title_main.png') repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url('../images/fancybox/fancy_title_right.png') repeat-x;
}
.lightbox a.pdf_download{line-height:28px; background:url(../images/pdf_icona.gif) 0 5px no-repeat; padding-left:22px;  display:block; margin-bottom:0px; position:absolute; top:62px; _top:65px; left:115px;}

*:first-child+html .lightbox a.pdf_download{ top:65px;}

.lightbox a.pv{ top:48px; _top:51px; left:160px;}

*:first-child+html .lightbox a.pv{top:51px;}
