#gallery-wrapper{
/* 	background-color: aqua; */
	position: absolute; 
	width: 640px;
	height: 525px;
 /*   left: 500px;*/
	top: 90px;
	overflow: hidden;
}


div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: right;
	width: 495px;
	padding-top:50px;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
	outline:0;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
/* ------------------------------------------------------------------ */
/* BUTTONS CONTROL ************************************************** */
/* ------------------------------------------------------------------ */

/* Must be set to relative so we can position buttons' container */
.content{
	position: relative;
	display:block;
}


/* Next Previous Buttons Container 
***************************************** */
div.controls {
	position: absolute;
	z-index: 1000;
	width: 490px;
	left: 5px;
	
	/* Change this for vertical positioning of the whole buttons container */
	top: 25px;
}

/**
 * Next Button
 ***************************************** */
div.nav-controls a.next {
	
	/* Position rules */
	display: block;
	position: absolute;
	top: 0px;
	background-image:url(../images/arrow-full-right-white-15px-op60.png);
	background-repeat:no-repeat;
/*	background-position:-10000px -10000px;	*/
	
	/* You may want to play with the "right" rule */
	right: 2px;
	
	/* You can change these and/or add more */
	padding: 0px;
	width: 15px;
	height: 15px;
/*	background-color: fuchsia;*/ 	
}
/**
 * Previous Button
 ***************************************** */

div.nav-controls a.prev {

	/* Position rules */
	display: block;
	position:absolute;
	top: 0px;	
	background-image:url(../images/arrow-full-left-white-15px-op60.png);
	background-repeat:no-repeat;
/*	background-position:-10000px -10000px;	*/

	/* You may want to play with the "left" rule */
	left: 450px;

	/* You can change these and/or add more */	
	padding: 0px;
	width: 15px;
	height: 15px;
/*	background-color: fuchsia;*/
}

div.nav-controls a.prev:hover{
/*	color: white;*/
	background-image:url(../images/arrow-full-left-white-15px.png);
	background-repeat:no-repeat;
	background-position:0px 0px;
}


div.nav-controls a.next:hover{
	/*color: white;*/
	background-image:url(../images/arrow-full-right-white-15px.png);
	background-repeat:no-repeat;
	background-position:0px 0px;
}


/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* END OF BUTTONS CONTROL ******************************************* */

div.slideshow-container {
	position: relative;
	clear: both;
	height: 525px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 495px;
	height: 525px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
/* 	background-color: black; */
}
div.slideshow a.advance-link {
	display: block;
	width: 495px;
	height: 525px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 525px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: right;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	/* vertical-align: middle; */
	border: 1px solid #666666;
}
div.download {
	float: right;
	display: none;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 495px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}


div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	width: 0px; 
	float: right; 
	position: relative;
	height: 0px;
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0px;
}
ul.thumbs li {
	float: right;
	padding: 0px;
	margin: 4px 4px 4px 4px;
	list-style: none;
/*	height:40px;
	width:60px;*/
}
a.thumb {
	padding: 0px;
	display: block;
/* 	border: 1px solid #ccc; */
}
ul.thumbs li.selected a.thumb {
	/* background: #000; */
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	width: 60px;
	height: 40px;
}

ul.thumbs a img{
border:#FFFFFF solid 1px;
}

ul.thumbs li.blank a img{
border:#666666 solid 1px;
}


div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
