html.loading{background:#000;}
html.loading *{visibility:hidden;}

html.jbg a{outline:none;}

html.jbg-body,body.jbg-body,.jbgallery,.jbgallery .jbg-wrap table,.jbgallery .jbg-wrap td{overflow:hidden;width:100%; margin:0;padding:0px;}
.jbg-wrap table{
	height:auto;
}

.jbgallery .jbg-wrap{margin-top:55px;background:#846A49;}/*jbox MOD*/
html.ie6 .jbgallery .jbg-wrap{position:absolute;}/*jbox MOD*/

.jbgallery .jbg-wrap td{vertical-align:middle;text-align:center}
.jbgallery .jbgallery-target{margin-bottom: 25px;
border: 1px solid white;}
.jbgallery .jbgallery-target.centered, 
.jbgallery .jbgallery-target.original
{min-height:auto;min-width:auto;}

/*CENTERED*/
.jbg-wrap.centered, .jbg-wrap.original{position:static;width:auto;height:100%;}

/*CENTERED MODAL*/
.jbg-wrap.modal{position:absolute;width:200%;top:0;}

/* BOX */
.jbox{position:relative;}
.jbox div.jbg-wrap{position:absolute;}
.jbox div.jbg-wrap.centered,.jbox div.jbg-wrap.original{position:static;}


/*LOADING*/
div.jbg-loading{position:absolute;width:100%;height:100%;z-index:1000;display:none;}
span.jbg-loading{margin:auto;background:transparent url("../../img/ajax-loader.gif") no-repeat scroll 50% 50%;height:100%;width:100%;border:4px;display:block;}

/*OPTIONAL CONTENT AND MENU -> customize this */
#jbg-content{top:0px;left:0px;position:absolute;z-index:1000;width:100%;height:100%;overflow:auto}


/**********************************************  SLIDER ********************************************** */
.jbgs-opacity, .jbgs {width:100%;height:70px;position:absolute;bottom:22px;z-index:1000;} 
.jbgs-opacity{background:#846A49;}
.jbgs-left, .jbgs-right, .jbgs-wrapper{position:relative;}
.jbgs-left, .jbgs-right, .jbgs-viewer{float:left;height:70px;}
.jbgs{
background: url('../../img/sfondo.png');
}
/* LEFT/RIGHT SLIDER*/
.jbgs-left{width:24px;}
.jbgs-right{width:20px;}
/* VIEWER */
.jbgs-viewer{position:relative;overflow:hidden;/*width:1020px;calcolata da jquery?*/}
/* INNER */
.jbgs-inner{position:relative;left:0;top:0;width:20000px;}
/* INNER : todo padding e margin. thumb dimensions*/
.jbgs a{color:#333;}
.jbgs img{border:0;}
.jbgs ul, .jbgs li {margin:0;padding:0;}
.jbgs li {display: block;list-style: none;float: left;height: 51px;width: 60px;}
.jbgs li a{	display:block;padding:3px;margin: 5px 5px 5px 2px;background: url('../../img/sfondo.png');}
/* new - 21/06/2010*/
.jbgs li a div{position:relative;height:51px;width:51px;overflow:hidden;border:2px solid #999999;}
.jbgs li a div.focus{border-color:#fff;}/* new - 15/12/2010*/
.jbgs li img{height:100%;width:auto;border:0;/*height:51px;width: 51px;border:2px solid #999;*/}
.jbgs img.jbgs-thumb-landscape{height:51px;position:absolute;}
.jbgs img.jbgs-thumb-portrait{width:51px;position:absolute;}
/*#jbgs li img.focus{border-color:#fff;}*/

.jbgs-h{position:absolute;background:url('../../img/sprite.png') no-repeat;}
.jbgs-h, .jbgs-h:hover, .jbgs-h:active{text-align:left;text-indent:-9999px;letter-spacing:-9999px;}/*Simone Parato*/
.jbgs-h-pause,.jbgs-h-play{width:55px;height:28px;left:18px;top:20px;}
.jbgs-h-left,.jbgs-h-right{width:16px;height:49px;top:10px;}
.jbgs-h-left{background-position: 0 0;left:7px;}
.jbgs-h-right{background-position: -16px 0;left:6px;}
.jbgs-h-play{background-position: 0 -49px;}
.jbgs-h-pause{background-position: 0 -76px;}
/*THUMBS*/
.jbgs-thumb{position:absolute;bottom:70px;z-index:10000;}
.jbgs-thumb img{display:block;border:2px solid #fff;}
.jbgs-thumb img.jbgs-thumb-portrait{width:100px;}
.jbgs-thumb img.jbgs-thumb-landscape{height:100px;}
.jbgs-thumb-btn{height:6px;}
.jbgs-thumb-tip{height:6px;width:12px;margin:0 auto;background:url('../../img/sprite.png') no-repeat;background-position:-32px 0px;}



/*TOP*/
.jbgs-top{width:100%;height:55px;position:absolute;bottom:90px;z-index:1000;}
.jbgs-top a, .jbgs-top span{color:#fff;text-decoration:none;}
.jbgs-top-right{display:none}
.jbgs-top-center{position:relative}
.jbgs-h-prev,.jbgs-h-next{width:55px;
	height:55px;
	z-index:200;
	position:absolute;
	cursor:pointer;}
.jbgs-h-prev{background: url('../../img/left_light.png') no-repeat;left:-4px;}
.jbgs-h-next{background: url('../../img/right_light.png') no-repeat;right:-3px;}



/*CAPTION*/
/*border:1px solid green;*/
.jbg-caption h3{width:100%;/*border-bottom:4px solid green;*/}
.jbg-caption h3 a{color:#52340e; text-transform:capitalize;text-decoration:none;}
 
/**********************************************  MENUSIMPLE ********************************************** */
ul.jbg-menu, .jbg-menu-opacity{z-index:1000;padding:0px;margin:0px;position:absolute;top:0px;right:0px;}
.jbg-menu-opacity{width:100%;height:32px;background:url('../../img/90.png') repeat;}
ul.jbg-menu{}
ul.jbg-menu li{list-style:none;display:block;float:left;padding:4px;}
ul.jbg-menu li a{border:0;text-decoration:none;color:#fff;}/*-moz-outline:none;*/	

ul.jbg-menu li a.visited{color:#fff;}
ul.jbg-menu li a:focus{color:#fff;}
ul.jbg-menu li a.selected{border-bottom:4px solid green;}

/*controls*/
.jbg-play{}
.jbg-stop{}
.jbg-next{}
.jbg-prev{}
.jbg-info{}	

/*zoom*/
#TitleBigImage{
	position:absolute;
	z-index:4000;
	top: 20px;
	left:20px;
	background:  #dfd6d1;
	height: 30px;
	text-align:center;
	line-height:30px;
	color:#52340e;
	text-decoration:none;
	padding: 0 20px;
}

#titleDettagli{
	height: 30px;
	width:100px;
	color:#52340e;
	line-height:30px;
	background:  #dfd6d1;
	text-align:center;
	position:absolute;
	right:0;
	top:-35px;
}
#closeBigImage:hover{
	color:#fff;
}

#homeImg{
	z-index: 1;
}

#progetti #content{
	position: absolute;
	top: 70px;
	right: 10px;
	height: 365px;
	z-index: 100;
	width: 495px;
	-moz-border-radius: 5px 5px 5px 5px;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	background: url(../../img/60_.png); 
	border-radius: 10px;
	padding: 5px 10px 5px 10px;
	color: #52340e;
	
}

#col1{
	padding:15px;
}

#col1 h2{
	border-bottom: 1px dotted white;
	padding-bottom: 7px;
}

#col1 #desc{
	margin-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted white;
	line-height:20px;
}
#listWork li, #listGallery li{
	margin-bottom: 3px;
}

#listWork{
	width: 50%;
	float: left;
	border-right: 1px dotted white;
	padding-top: 10px;
}

#galleryList{
	float: right;
	margin-right: 80px;
	padding-top: 10px;
}

#galleryList span, #listWork span{
	margin-bottom: 4px;
	display: block;
}

#listGallery li{
	cursor:pointer;
}

#listGallery li a{
	color:#52340e;
}

#listGallery li a:hover{
	color:#fff;
}

.jbg-caption{
	position: absolute;
	line-height: 24px;
	z-index: 1001;
	left: 10px;
	top: 10px;
	color: #52340e;
	height: 22px;
	padding: 0 10px;
	background: #e3d5c9;
	border: 1px solid #FFF;
}
.jbgallery-target{
	border: 1px solid #fff;
}

#slider {
    width:800px; /* Change this to your images width */
    height:536px; /* Change this to your images height */
    background:url(../../img/ajax-loader.gif) no-repeat 50% 50%;
	margin-left: -20px;
	margin-top: -10px;
	position:relative;
	z-index: 10;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
	cursor:pointer;
} 