.gallery-background{
	/*background:#fff url(images/decoration/jd-gallery-background.png) top left no-repeat;*/
	background-color:#fff;
    text-align:center;
	padding-top:0px;
	padding-bottom:0px;
	border-bottom:2px solid #adadad;
	/*padding-bottom:29px;
	 
*/
/*	padding-bottom:27px;*/
}


#myGallery, #myGallerySet, #flickrGallery
{
	/*width: 460px;*/
	text-align:left;
	width:400px;
	height: 345px;
	z-index:5;
	padding-top:10px;
	margin:auto;
	/*border:1px solid #e6e6e6;*/
	/*margin:auto;*/

}

.jdGallery a
{
	outline:0;
}

#flickrGallery
{
	width: 500px;
	height: 334px;
}

#myGallery img.thumbnail, #myGallerySet img.thumbnail
{
	display: none;
}

#myGallery div.thumbnail{
	background-color:#fff;
}

.jdGallery
{
	overflow: hidden;
	position: relative;
}

.jdGallery img
{
	border: 0;
	margin: 0;
}

.jdGallery .slideElement
{
	/*width: 100%; width= mygallery - borderswidth*/
	width:396px;
	border-left:2px solid #adadad;
	border-right:2px solid #adadad;	
	height: 100%;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('img/loading-bar-black.gif');



}

.jdGallery .loadingElement
{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('img/loading-bar-black.gif');
}

.jdGallery .slideInfoZone
{
	position: absolute;
	z-index: 10;
	/*width: 100%; width= mygallery - borderswidth*/
	width:396px;
	margin: 0px;
    border-left:2px solid #adadad;
	border-right:2px solid #adadad;
	left: 0;
	bottom: 0;
	height: 100px;
	background:url('img/slide_background.png') top center repeat-x;
	color: #575757;
	text-indent: 0;
	overflow: auto;
}

* html .jdGallery .slideInfoZone
{
	bottom: -1px;
}


.jdGallery .slideInfoZone h2
{
	padding: 0;
	margin: 0;
	margin: 5px 20px;
	font-weight: bold;
	color: inherit;
	font-size:13px;
	line-height:1.2em;

}

div#main-content .jdGallery .slideInfoZone p{
	line-height:1em;
	padding: 0;
	margin: 2px 20px;

}

.jdGallery div.carouselContainer
{
	position: absolute;
	background-color:#fff;
	height: 124px;
	width: 100%;
	z-index: 10;
	margin: 0px;
	left: 0;
	top: 0;
	border-bottom:2px solid #adadad;
}

.jdGallery a.carouselBtn
{
	position: absolute;
	bottom: 0px;
	left: 0px;
	height: 16px;

	width:100px;
	font-weight:bold;
	font-size:9px;
/*	background-image: url('img/carousel_btn.png');
	background-repeat:no-repeat;
	background-position:left top;*/

	text-align: center;
	padding: 0 0px;
	color: #555;
	cursor: pointer;
	background-color:#fff;
}

.jdGallery a.carouselBtn:hover{text-decoration:none;}

.jdGallery .carousel
{
	position: absolute;
	/*width: 100%; width= mygallery - borderswidth*/
	width:456px;
	border-left:2px solid #fff;
	border-right:2px solid #fff;	
	margin: 0px;
	left: 0;
	top: 0;
	/*height: 107px;*/
	height:110px;
	background: #fff;
	color: #575757;
	text-indent: 0;
	overflow: hidden;
}

.jdExtCarousel
{
	overflow: hidden;
	position: relative;
}

.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper
{
	position: absolute;
	width: 100%;
	height: 78px;
	top: 9px;
	left: 0;
	overflow: hidden;
	border-top:2px solid #efefef;
}

.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner
{
	position: relative;
}

.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail
{
	cursor: pointer;
	background-position: center center;
	float: left;
}

.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail
{
	margin-bottom: 10px;
}

.jdGallery .carousel .label, .jdExtCarousel .label
{
	position: absolute;
	bottom: 5px;
	left: 10px;
	padding: 0;
	margin: 0;
	margin-top:10px;
	line-height:1em !important;
	z-index:1000;
}

.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton
{
	position: absolute;
	bottom: 5px;
	right: 10px;
	padding: 1px 2px;
	margin: 0;
	background: #222;
	border: 1px solid #fff;
	cursor: pointer;
}

.jdGallery .carousel .label .number, .jdExtCarousel .label .number
{
	color: #b5b5b5;
}

.jdGallery a
{
	font-size: 100%;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.jdGallery a.right, .jdGallery a.left
{
	position: absolute;
	height: 99%;
	width: 25%;
	cursor: pointer;
	z-index:10;
	filter:alpha(opacity=20);
	-moz-opacity:0.2;
	-khtml-opacity: 0.2;
	opacity: 0.2;
}

* 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: 0;
	top: 0;
	background-image: url('img/fleche1.png');
	background-repeat:no-repeat;
	background-position:0px 167px;
	cursor:pointer;	
}

* html .jdGallery a.left { 
	background-image: url('img/fleche1.png');
	background-repeat:no-repeat;
	background-position:left 100px;
}

.jdGallery a.right
{
	right: 0;
	top: 0;
	background-image: url('img/fleche2.png');
	background-repeat:no-repeat;
	background-position:55px 167px;
	cursor:pointer;
}

* html .jdGallery a.right { 
	background-image: url('img/fleche2.png');
	background-repeat:no-repeat;
	background-position:right 100px;
}

.jdGallery a.open
{
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor:pointer;	
}

.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-image: url('img/open.png');
	background-repeat:no-repeat;
	background-position:center 100px;


}

* html .withArrows a.open:hover { 
	background-image: url('img/open.png');
	background-repeat:no-repeat;
	background-position:center 100px;
	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: .4;
	-moz-opacity: .4;
	-khtml-opacity: 0.4;
	filter:alpha(opacity=40);
}

.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 #fff;
	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;
}



/* Fix arrows in IE7 and problem with top margin */
*:first-child+html .slideInfoZone {
    bottom: -1px;
   }
*:first-child+html .jdGallery a.right, *:first-child+html .jdGallery a.left {
    filter:alpha(opacity=20);
   }
*:first-child+html .jdGallery a.right:hover, *:first-child+html .jdGallery a.left:hover {
    filter:alpha(opacity=80);
   }
*:first-child+html .jdGallery a.left { background: url('img/fleche1.png') no-repeat center left; }
*:first-child+html .jdGallery a.right { background: url('img/fleche2.png') no-repeat center right; }
*:first-child+html a.open:hover {
   background: url('img/open.png') no-repeat center center;
   filter:alpha(opacity=80);
	}
/* End of arrows IE7 fix*/
