#myGallery {
	text-align: left;
	margin: 0 auto;
}
#myGallery, #myGallerySet, #flickrGallery { /* contenitore di foto + descrizione */
	width: 990px;
	height: 430px;
	z-index:5;
	border: 0px solid #E8E8E8;
	border-top:1px solid #e8e8e8;
	text-align: center;
	display: none;
	top:0;
}
#myGallery img.thumbnail, #myGallerySet img.thumbnail {
	display: none;
}
.jdGallery {
	overflow: hidden;
	position: relative;
}
.jdGallery img {
	border: 0;
	margin: 0 auto auto;
}
.jdGallery .slideElement { /* contenitore dell'immagine grande */
	width: 990px;
	height: 410px;
	text-align: center;
	margin: 0 auto auto;
	background-repeat: no-repeat;
	background-position: top center;
	top:0;
	background-image: url('../img/layout/load.gif');
}
.jdGallery .loadingElement {
	width: 990px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('../img/layout/load.gif');
}
.jdGallery .slideInfoZone { /* striscia della descrizione */
	position: absolute;
	text-align: left;
	z-index: 10;
	width: 988px;
	margin: 0px;
	right: 0px;
	bottom: 0;
	left:1px;
	height: 40px;
	text-indent: 20;
	overflow: hidden;
	background-color:#e8e8e8;
}
* html .jdGallery .slideInfoZone {
	bottom: -1px;
}
.jdGallery .slideInfoZone h2 { /* titolo della descrizione */
	padding: 0;
	font-size: 14px;
	margin: 0;
	margin: 2px 5px;
	font-weight: normal;
	color: #333;
	text-align:left;
}
.jdGallery .slideInfoZone p { /* paragrafo della descrizione */
	padding: 0;
	font-size: 100%;
	margin: 2px 5px;
	color: #666;
	text-align:left;
}
.jdGallery div.carouselContainer { /* contenitore thumb */
	position: absolute;
	height: 80px;
	width: 100%;
	z-index: 10;
	margin: 0px;
	left: 0;
	top: 0;
}
.jdGallery a.carouselBtn {
	position: absolute;
	bottom: -1000;
	right: 30px;
	height:0;
	/*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
	text-align: center;
	padding: 0 10px;
	font-size: 13px;
	background: #fff;
	color: #fff;
	cursor: pointer;
}
.jdGallery .carousel { /* contenitore del contenitore di thumb */
	position: absolute;
	width: 100%;
	margin: 0px;
	left: 0;
	top: 0;
	height: 80px;
	color: #666;
	text-indent: 0;
	overflow: hidden;
	border: 0px solid #f00;
}
#myCarousel { /* Box delle thumb generale */
	text-align: center;
	margin: 5px auto;
	width:982px; /* Adjust this to your picture width + 2 */
 *width:980px;
	height:80px;
	overflow:hidden;
	background: #fff;
	border: 0px solid #F0F0F0;
}
.jdExtCarousel {
	overflow: hidden;
	position: relative;
}
.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper {
	position: absolute;
	width: 100%;
	height: 100px;
	top: 0;
	left: 0;
	overflow: hidden;
}
.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner {
	position: relative;
}
.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail { /* thumb */
	cursor: pointer;
	background: #fff;
	background-position: top left;
	float: left;
	height:100px;
	width:100px;
	border: 1px solid #014339;
	background:#014339;
}
.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail {
/*margin-bottom: 10px;*/
}
.jdGallery .carousel .label, .jdExtCarousel .label {
	font-size: .9em;
	position: absolute;
	bottom: 0;
	left: 10px;
	padding: 0;
	margin: 0;
}
.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton {
	font-size: 10px;
	position: absolute;
	bottom: 5px;
	right: 10px;
	padding: 1px 2px;
	margin: 0;
	background: #fff;
	border: 0px solid #014339;
	cursor: pointer;
}
.jdGallery .carousel .label .number, .jdExtCarousel .label .number {
	color: #b5b5b5;
}
.jdGallery a {
	font-size: 100%;
	text-decoration: none;
	color: inherit;
}
.jdGallery a.right, .jdGallery a.left { /* frecce */
	position: absolute;
	height: 400px;
	width: 40px;
	cursor: pointer;
	left:0;
	z-index:10;
	filter:alpha(opacity=40);
	-moz-opacity:0.4;
	-khtml-opacity: 0.4;
	opacity: 0.4;
}
* html .jdGallery a.right, * html .jdGallery a.left {
	filter:alpha(opacity=50);
}
.jdGallery a.right:hover, .jdGallery a.left:hover {
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
.jdGallery a.left {
	left: 10;
	top: 0;
	background: url('../img/layout/left.gif') no-repeat center left;
}
* html .jdGallery a.left {
	background: url('../img/layout/left.gif') no-repeat center left;
}
.jdGallery a.right {
	left: 950px;
	top: 0;
	background: url('../img/layout/right.gif') no-repeat center right;
}
* html .jdGallery a.right {
	background: url('../img/layout/right.gif') no-repeat center right;
}
.jdGallery a.open {
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.withArrows a.open {
	position: absolute;
	top: 0;
	left: 25%;
	height: 99%;
	width: 50%;
	cursor: pointer;
	z-index: 10;
	background: none;
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
.withArrows a.open:hover {
	background: url('../img/layout/open.png') no-repeat center center;
}
* html .withArrows a.open:hover {
	background: url('../img/layout/open.gif') no-repeat center center;
	filter:alpha(opacity=80);
}
/* Gallery Sets */

.jdGallery a.gallerySelectorBtn {
	z-index: 15;
	position: absolute;
	top: 0;
	left: 30px;
	height: 20px;
	/*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
	text-align: center;
	padding: 0 10px;
	font-size: 13px;
	background: #333;
	color: #fff;
	cursor: pointer;
	opacity: 1;
	-moz-opacity: 1;
	-khtml-opacity: 1;
	filter:alpha(opacity=100);
}
.jdGallery .gallerySelector {
	z-index: 20;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
}
.jdGallery .gallerySelector h2 {
	margin: 0;
	padding: 10px 20px 10px 20px;
	font-size: 20px;
	line-height: 30px;
	color: #fff;
}
.jdGallery .gallerySelector .gallerySelectorWrapper {
	overflow: hidden;
}
.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton {
	margin-left: 10px;
	margin-top: 10px;
	border: 1px solid #888;
	padding: 5px;
	height: 40px;
	color: #fff;
	cursor: pointer;
	float: left;
}
.jdGallery .gallerySelector .gallerySelectorInner div.hover {
	background: #333;
}
.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton div.preview {
	background: #000;
	background-position: center center;
	float: left;
	border: none;
	width: 40px;
	height: 40px;
	margin-right: 5px;
}
.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton h3 {
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
}
.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton p.info {
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
	color: #aaa;
}

