div.loader {
	/* display: none; */
}
div.content {
	display: block;
	float: left;
}


/* JS inserted style */
div.navigation{
	/* width:300px; */
	float: left;
	margin-left: 12px;
}

div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}

div#gallery1 {
    width: 538px;
    margin-left: 30px;
}
div.loader {
	background-image: url('/images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 520px;
	height: 350px
}
div.slideshow {
	clear: both;
}
div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}
div.slideshow a.advance-link {
	padding: 4px;
	display: block;
        min-width: 520px;
}
div.slideshow img {
	border: 1px solid #CCC;
        padding: 4px;
	display: block;
        margin: auto;
}
div.download {
	float: right;
}
div.embox {
	clear: both;
        color: #666;
        text-align: center;
        width: 520px;
}
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 by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}

div#thumbs1 {
	width: 178px;
        margin-left: 44px;
	/* clear: both; */
}
#thumbs1 img {
	border: none;
        margin-top: 2px;
        margin-bottom: 0px;
        margin-left: 2px;
        margin-right: 2px;
}
#thumbs a {
	float: left;
	margine: 5px;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
#thumbs a.selected {
	background: #000;	
}
#thumbs1 a.selected img {
	border: none;
        margin-top: 1px;
        margin-bottom: -1px;
        margin-left: 1px;
        margin-right: 1px;
        border: 1px solid #CCC;
}
a.thumb:focus {
	outline: none;
}

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 {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 5px 2px;
}
div.pagination span.current {
	color: #A1A1A1;
}