#myGallery
{
	width: 550px;
	height: 550px;
	z-index:5;
	font-family: arial, sans-serif;
	margin:10px auto;
	border:1px solid;
        overflow: hidden;
}

.sml { width:450px !important; height:300px !important; margin:10px 0 !important; }

.sml.nothumbs { height:300px !important; }

#myGallery img.thumbnail { display: none; }

.jdGallery { position: relative; }

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

.jdGallery .slideElement
{
	width: 100%;
	height: 435px; /* edited: set the height for the big image so it does not appear under the carousel */
	background:	#111 url('loadingbar.gif') no-repeat center center;
}

.sml .slideElement { height:300px !important; }

.jdGallery .loadingElement
{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background:	#111 url('loadingbar.gif') no-repeat center center;
}

.jdGallery .slideInfoZone
{
	position: absolute;
	z-index: 10;
	width: 100%;
	margin: 0px;
	left: 0;
	top: 0; /* Edited: move to the top */
	height: 80px;
	background: #222;
	color: #fff;
	text-indent: 0;
	overflow: hidden;
	line-height: 1.2;
}

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

.jdGallery .slideInfoZone h2
{
	padding: 0;
	font-size: 14px;
	margin: 0;
	margin: 10px 10px 0 !important;
	color: inherit;
	line-height:1;
}

.jdGallery .slideInfoZone p
{
	padding: 0;
	font-size: 12px;
	margin: 5px 10px !important;
	color: #eee;
	line-height:1.2 !important;
}

.jdGallery div.carouselContainer
{
	position: absolute;
	height: 115px; /* edited: 135px */
	width: 100%;
	z-index: 10;
	margin: 0px;
	left: 0;
	bottom: 0;
}

/* edited: hide the carouse tab button
.jdGallery a.carouselBtn
{
	position: absolute;
	bottom: 0;
	right: 30px;
	height: 20px;
		// width: 100px; background: url('carousel_btn.gif') no-repeat;
	text-align: center;
	padding: 0 10px;
	font-size: 13px;
	background: #333;
	color: #fff;
	cursor: pointer;
}
*/

.jdGallery .carousel
{
	position: absolute;
	width: 100%;
	margin: 0px;
	left: 0;
	top: 0;
	height: 115px;
	background: #222;
	color: #fff;
	text-indent: 0;
	overflow: hidden;
}

.jdGallery .carousel .carouselWrapper
{
	position: absolute;
	width: 100%;
	height: 78px;
	top: 10px;
	left: 0;
	overflow: hidden;
}

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

.jdGallery .carousel .carouselInner .thumbnail
{
	cursor: pointer;
	background: #111;
	background-position: center center;
	float: left;
	border: solid 1px #fff;
}

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

.jdGallery .carousel .label
{
	font-size: 13px;
	position: absolute;
	bottom: 5px;
	left: 10px;
	padding: 0;
	margin: 0 !important;
}

.jdGallery .carousel .wallButton
{
	font-size: 10px;
	position: absolute;
	bottom: 5px;
	right: 10px;
	padding: 1px 2px;
	margin: 0;
	background: #222;
	border: 1px solid #888;
	cursor: pointer;
}

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

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

.jdGallery a.right, .jdGallery a.left
{
	position: absolute;
	height: 99%;
	width: 25%;
	cursor: pointer;
	z-index:10;
}



.jdGallery a.left
{
	left: 0;
	top: 0;
	background: url('arrowleft.png') no-repeat center left;
}

* html .jdGallery a.left { background: url('arrowleft.gif') no-repeat center left; }

.jdGallery a.right
{
	right: 0;
	top: 0;
	background: url('arrowright.png') no-repeat center right;
}

* html .jdGallery a.right { background: url('arrowright.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;
}

.withArrows a.open:hover { background: url('open.png') no-repeat center center; }

* html .withArrows a.open:hover { background: url('open.gif') no-repeat center center; }
	
/* IE7 Hacks */
*:first-child+html .slideInfoZone { bottom: -1px; }
*:first-child+html .jdGallery a.left { background: url('arrowleft.gif') no-repeat center left; }
*:first-child+html .jdGallery a.right { background: url('arrowright.gif') no-repeat center right; }