img, div, { behavior: url(iepngfix.htc) }
div.content {
	/* The display of content is enabled by a javascript generated style on the page.
	   This is so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float:right;	
	margin: -170px 35px 10px 50px; /* this changes the main image position */
}

div.content a, div.navigation a {
	text-decoration: none;
	color: #FFFFFF;
	margin: 0px;	
}
div.content a:focus, div.content  a:hover, div.content  a:active {
	text-decoration: underline;
	
}
div.controls { /* controls the position of the play slideshow controls */
	height:10px;
	margin-bottom:0px;
	width:200px;	
	
}
div.controls a {
	padding: 5px;
	
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: left;	
}


div.loader {
	background-image: url(../images/loading.gif);
	background-repeat: no-repeat;
	background-position: center;
	width: 350px;
	height: 230px
}
div.slideshow {
	clear: both;
}
div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
	padding-top:10px;
	padding-left:0px;
}
div.slideshow a.advance-link {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
div.slideshow img {
	border: none;
	display: block;
}

div.navigation {
	/* The navigation style is set by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}
#thumbs-adv{
	width: 230px;
	float:left;
	margin-top: 20px;
	margin-left: 30px;
	/* background-color: #cc0000; Thumbnail container */
}
     
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;

}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;

}
a.thumb {
	padding: 2px;
	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;
}
div.pagination {
	clear: both;
	float: left;
	padding: 10px;	
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin-right: 2px;
	margin-bottom: 6px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
	color: #000;
	
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #e7e7e6;
	border-color: #797969;
	color: #797969;
}

#controls-adv{
	color:#000;
	float: left;
	padding-right:5px;	
}

.controls a{
	color:#000;
}
	
/* Minimal Gallery Styles */
#thumbs-min ul.thumbs li {
	float: none;
	padding: 0;
	margin: 0;
	list-style: none;
}

#thumbs-min a.thumb {
	padding: 0px;
	display: inline;
	border: none;
}

#thumbs-min ul.thumbs li.selected a.thumb {
	background: inherit;
	color: #000;
	font-weight: bold;
}
