div#fancy_bg 
{
	background: #000;
}
#mediagallery span/*, #mediagallery div*/
{
	font-size:12px;	
}

div.mg-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: block;
}
div.mg-content a, div.mg-navigation a {
	text-decoration: none;
	color: #777;
}
div.mg-content a:hover 
{
	text-decoration: none;
}
div.mg-content a:focus {
	text-decoration: none;
}
div.mg-controls 
{
	width:320px;
	text-align:center;
}
div.mg-controls a {
	display: block;
	padding: 2px 10px 5px 10px;
	color: #fff;
	text-decoration: none;
	font-size:1.2em;
	background: #000;
}
div.mg-controls a:hover {
	background: #444;
}
div.mg-controls img {
	position:relative;
	top:3px;
}
div.ss-controls {
	float: left;
	margin-left: 37px;
	text-align: center;
}
div.nav-controls-prev {
	float: left;
}
div.nav-controls-next {
	float:right;	
}
div.nav-controls a
{
	color: #fff;
}
div.mg-loader {
	background-image: url('/scripts/jquery/galleriffic/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 640px;
	height: 480px;
	padding: 2px;
}
div.mg-slideshow {
	clear: both;
	width: 646px;
}
div.mg-slideshow span.image-wrapper {
	padding-bottom: 0px;
}
div.mg-slideshow a.advance-link {
	padding: 2px;
	display: block;
	border: 1px solid #a9a9a9;
	width: 640px;
	height: 480px;
}
div.mg-slideshow img {
	border: 0px solid #a9a9a9;
	display: block;
	width: 640px;
	height: 480px;
}
div.mg-position 
{
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 10px;
}
div.download {
	float: right;
	margin-top:1px;
}
div.mg-embox {
	padding: 5px 0px 12px 0px;
	width:320px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.3em;
}
div.image-desc {
	font-size: 12px;
	line-height: 1.4em;
	padding-top: 12px;
}
div.image-desc i, div.image-desc span, div.image-desc p {
	font-size: 12px;
	line-height: 1.7em;
}
div.image-desc p.mg-caption-signature 
{
	text-align: right;
	margin-right: 25px;
	margin-top: 10px;
}
div.mg-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. */
	width: 100%;
	height: 140px;
	float: none;
	clear: both;
	margin: 0 auto;
}
ul.thumbs {
	clear: both;
	margin: 0 auto;
	padding: 0;
	height: 90px;
	text-align:center;
	margin-left:40px;
	margin-top:5px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
	background: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #a9a9a9;
}
ul.thumbs li.selected a.thumb {
	background: #fff;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	width: 100px;
	height: 65px;
}
ul.thumbs div.thumbNum 
{
	color:#fff;
	font-weight: bold;
	font-size:12px;
}
ul.thumbs li.selected div.thumbNum 
{
	color: #000;
}
div.mg-pagination {
	clear: both;
	text-align: center;
}
div.mg-navigation div.mg-top {
	margin-bottom: 0px;
	height: 0px;
}
div.mg-navigation div.mg-bottom {
	margin-top: 23px;
	padding-bottom: 7px;
}
div.mg-pagination span.mg-disabled {
	display: inline;
	margin-right: 4px;
	padding: 5px 8px 5px 8px;
	border: 1px solid #ccc;
	background: #ccc;
}
div.mg-pagination a, div.mg-pagination span.current {
	display: inline;
	margin-right: 8px;
	padding: 5px 8px 5px 8px;
	border: 1px solid #a9a9a9;
	font-size:13px;
	color: #eee;
}
div.mg-pagination a {
	background: #000;
	/*border: 1px solid;*/
	/*color: #333;*/
}
/*
div.mg-pagination a.mg-pager-controls 
{
	background: #333;
	border: 1px solid #333;
}
div.mg-pagination a.mg-pager-controls:hover
{
	background: #000;
}
*/

div.mg-pagination img
{
	position:relative;
	top: 2px;
}
div.mg-pagination a:hover {
	background-color: #444;
}
div.mg-pagination span.current {
	font-weight: bold;
	background-color: #fff;
	border-color: #fff;
	color: #000;
}