#gallery {
	position: relative;
	height: 500px;
}

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;
	width:600px;
	padding: 0px;
	margin: 0px;
}

div.content img {
	max-width: 600px;
	height: auto;
	-ms-interpolation-mode: bicubic;
}

div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
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;
	font-size: 12px;
}
div.nav-controls {
	float: right;
	font-size: 12px;
}

div.loader {
	background-image: url('/includes/gallery/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 600px;
	height: auto;
	float: left;
}
div.slideshow {
	float: left;
	width: auto;
}
div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}
div.slideshow a.advance-link {
	padding: 0px;
	display: block;
}
div.slideshow img {
	border: none;
	display: block;
}
div.image-title {
	font-weight: normal;
	font-size: 12px;
}

div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	position: absolute;
	top: 40px;
	right: -222px;
	/* 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. */
}

#right_misc_pages ul.thumbs {
	clear: both;
	padding: 0px;
	margin: 0px;
	line-height: 22px;
}

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

#right_misc_pages a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}

#right_misc_pages ul.thumbs li.selected a.thumb {
	border: 1px solid #e03b2b;
}

#right_misc_pages a.thumb:focus {
	outline: none;
}

#right_misc_pages ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: absolute;
	top: -40px;
	left: 0px;
}
div.navigation div.top {
	margin-bottom: 0px;
	height: 11px;
	
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin: 0px 4px 0px 0px;
	padding: 5px 8px 5px 8px;
	background-color: #cd7d22;
	color: #fff;
}
div.pagination a:hover {
	background-color: #f89829;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #f89829;
	color: #fff;
}

/* 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;
}

.thumbs {
	list-style: none;
	padding: 0px;
	margin: 0px;
	width: 216px;
}

.thumbs li {
	float: left;
	margin: 0px 5px 1px 0px;
}

div.embox {
	clear: both;
	padding: 0px;
	text-align: left;
	font-size: 11px;
}

.nav-controls {
	position: relative;
	top: 0px;
	left: 0px;
}

.ss-controls a, .nav-controls a {
	display: block;
	width: auto;
	height: auto;
	padding: 3px;
	background: #253179;
	color: #fff;
	font-size: 11px;
	text-align: center;
	float: left;
	margin: 0px 3px 0px 0px;
}

.nav-controls a {
	background: #253179;
}

#content .ss-controls a:hover {background: #253179; text-decoration: none;}
#content .nav-controls a:hover {background: #253179; text-decoration: none;}
#content .ss-controls a:link, #content .nav-controls a:link {color: #fff; text-decoration: none;}
#content .ss-controls a:hover, #content .nav-controls a:hover {color: #fff; text-decoration: none;}

.caption {position: relative;}
