#gallery_frame
{
	font: 13px/1.231 "HelveticaNeue-Light",helvetica,arial,clean,sans-serif;
	float: left;
	background-color: #e8e8e8;
	padding: 10px;
	width: 780px;
	margin-bottom: 1em;
}

#gallery_frame ul { margin: 0; }

div#content div.left-column #gallery_frame h1
{
	border-bottom: 0 !important;
	font-size: 1.5em;
	margin: 0px 0px 5px 0px;
}

#gallery_frame h1
{
	font-size: 167%;
	font-weight: normal;
	margin-bottom: .545em;
}

#gallery_frame h2
{
	font-size: 138.5%;
	font-weight: bold;
	margin-bottom: .66em;
}

#gallery_frame p { margin-bottom: 1em; }

#central_col_wide
{
	float: left;
	width: 811px;
	margin-left: 11px;
}

#comments_mock { float: right; }
#gallery_frame em { font-style: normal; }
#gallery_img { width: 460px; }

div#related_galleries
{
	display: none;
	background-color: #35678a;
	position: relative;
	width: 440px;
	height: 410px;
	padding: 10px;
	color: #333;
	font-weight: bold;
}

#gallery_frame div#related_galleries h3
{
	font-size: 13px;
	position: absolute;
	top: 110px;
	width: 130px;
	text-align: center;
	z-index: 30;
}

div#related_galleries h3 em
{
	display: block;
	position: absolute;
	top: 50px;
	left: 14px;
	width: 32px;
	height: 32px;
	text-indent: -9999em;
}

div#related_galleries h3.related1 { left: 80px; }
div#related_galleries h3.related2 { right: 80px; }
div#related_galleries h3 img { margin: 9px 0 16px; }
div#related_galleries h3 a:hover { text-decoration: none; }
div#related_galleries h3 a:hover span { text-decoration: underline; }
div#related_galleries a { color: #333; }
div#related_galleries h3 a span { display: block; }

#col1
{
	float: left;
	width: 470px;
	margin-bottom: 10px;
}

#col2
{
	float: left;
	width: 310px;
}

#social_tools
{
	border: 1px solid #E0E0E0;
	clear: right;
	float: right;
	margin: 0 0 10px 20px;
	width: 300px;
}

#img
{
	position: relative;
	padding: 5px;
	background-color: #fff;
	min-height: 250px;
}

#img.loading
{
	background-image: url(image_loading.gif);
	background-position: center 165px;
	background-repeat: no-repeat;
}

#img_num
{
	font-weight: bold;
	height: 18px;
}

div#gallery_frame .pagination
{
	text-align: center;
	position: relative;
	padding: 3px;
	width: 464px;
	background-color: #fff;
	margin: 0 0 1px 0;
}

div#gallery_frame .pagination li
{
	display: inline;
	margin-right: 0;
}

div#gallery_frame .pagination p
{
	width: 350px;
	margin: 0 auto;
	font-size: 108%;
}

div#gallery_frame .pagination #prev,div#gallery_frame .pagination #next
{
	position: absolute;
	zoom: 1;
	padding: 2px 0 0 13px;
	overflow: hidden;
	margin: 0 5px 0 0;
	font-size: 93%;
	color: #2A5877;
	text-decoration: none;
}

div#gallery_frame .pagination a:hover#prev ,div#gallery_frame .pagination a:hover#next
{
	text-decoration: underline;
}	

div#gallery_frame ul.pagination { margin-top: 1px; }

div#gallery_frame .pagination #prev
{
	left: 0;
	margin: 0 0 0 5px;
	_float: left;
}

div#gallery_frame .pagination #next
{
	padding: 2px 13px 0 0;
	right: 0;
}

div#gallery_frame .pagination #prev span,div#gallery_frame .pagination #next span
{
	position: absolute;
	left: -9999em;
}

p#img_nav
{
	position: absolute;
	width: 460px;
	top: 0;
	left: 0;
	height: 95%;
	margin: 5px;
	padding: 0;
	z-index: 20;
	_height: 350px;
	_border-top: 1px solid #fff;
	_top: -1px;
}

a#img_prev,a#img_next
{
	position: absolute;
	height: 100%;
	_height: 350px;
	width: 200px;
	margin: 0;
	padding: 0;
	text-indent: -9999em;
	z-index: 30;
	outline: none;
	overflow: hidden;
	background-image: url(1x1.gif)\9;
}

.related_galleries a#img_prev,.related_galleries a#img_next { width: 80px; }
a#img_prev { left: 0; }
a#img_next { right: 0; }
a#img_prev:hover,a#img_next:hover { text-indent: 0; }
a#img_next:hover { text-align: right; }
a#img_prev.disabled,a#img_next.disabled { left: -9999em; }

#gallery_frame #meta
{
	border-right: 1px solid #E0E0E0;
	background: #fff url(meta_box.png) 0px 0px no-repeat;
	width: 277px;
	float: right;
	margin-bottom: 13px;
	padding: 12px 8px 8px 28px;
	min-height: 135px;
	_height: 135px;
	position: relative;
}

#gallery_frame #meta_container
{
	width: 313px;
	/*overflow: hidden;*/
	margin: 0;
	padding: 0;
}

/*#gallery_frame #meta iframe { width: 250px !important; }*/

#col2 .commercial
{
	width: 300px;
	float: right;
	margin-bottom: 10px;
	clear: right;
}

div#thumbs
{
	position: relative;
	height: 78px;
	clear: both;
	width: 781px;
	margin-top: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #D0D0D0;
}

#thumbs .viewport
{
	position: relative;
	top: 0;
	left: 0;
	background-color: #fff;
	width: 999999px;
}

#thumbs ul
{
	position: absolute;
	float: left;
	display: inline;
	padding-left: 34px;
}

#thumbs li
{
	display: block;
	float: left;
	position: relative;
	text-align: center;
	background: #fff url('gallery_thumb_bg.png') -361px 0 no-repeat;
	font-size: 11px;
	width: 66px;
	height: 66px;
	margin: 6px 10px 0 0;
	font-weight: bold;
}

#thumbs li a { outline: none; }

#thumbs li img
{
	margin: 17px auto;
	width: 52px;
	height: 52px;
}

#thumbs li em img { border: 1px solid red; }

div#thumb_wrapper { 
	position: relative; 
	_padding:10px 0px 0px 0px;
	/*_margin: 0 0 10px;*/
	_float:left;
	}

p#thumb_blurbs
{
	position: absolute;
	display: none;
	font-weight: bold;
	font-size: 93%;
	z-index: 50;
	bottom: 66px;
	left: 20px;
	padding: .5em 12px;
	max-width: 150px;
	float: left;
	_width: 150px;
	_bottom:76px;
}

span#blurb_pointer
{
	display: block;
	width: 13px;
	height: 7px;
	position: absolute;
	bottom: -7px;
	left: 50%;
	
	top: 100%;
	margin-left: -7px;
}

.first_thmb span#blurb_pointer
{
	left: 5px;
	margin-left: 0;
}

.last_thmb span#blurb_pointer
{
	left: auto;
	right: 15px;
	margin-left: 0;
}

#thumbs li.related_gallery,div.related_gallery
{
	width: 81px;
	height: 66px;
}

#thumbs li.related_gallery img
{
	width: 70px;
	height: 52px;
}

#thumbs li#related_gallery1
{
	border-left: 1px dotted #bfbfbf;
	padding-left: 10px;
	background-position: -69px 0;
}

#thumbs li h3
{
	font-size: 11px;
	font-weight: bold;
	margin-top: 0;
}

#thumbs li.related_gallery em
{
	position: absolute;
	left: 9px;
	top: 35px;
	width: 21px;
	height: 21px;
	text-indent: -9999em;
}

#thumbs li#related_gallery1 em { left: 19px; }

#thumbs li img
{
	margin: 7px auto;
	border: 0;
}

#thumbs li span
{
	position: absolute;
	left: -9999em;
	color: #000;
	z-index: 20;
}

#thumbs p#thumb_rewind,#thumbs p#thumb_fwd
{
	width: 24px;
	height: 100%;
	background: #fff;
	position: absolute;
	top: 0;
	z-index: 10;
	margin-top: 0;
}

#thumbs p#thumb_rewind { left: 0; }
#thumbs p#thumb_fwd { right: 0; }

#thumbs p#thumb_rewind a,#thumbs p#thumb_fwd a
{
	display: block;
	width: 21px;
	height: 100%;
	background: #fff url(thumb_arrows.png) -106px 68px no-repeat;
}

#thumbs p#thumb_fwd a
{
	margin-left: 3px;
	background-position: 7px 68px;
}

#thumbs p#thumb_rewind a.disable,#thumbs p#thumb_fwd a.disable
{
	background-image: none;
	background-color: #fff!important;
	cursor: default;
}

#thumbs p#thumb_rewind a:hover
{
	background-color: #ec334e;
	background-position: -70px 68px;
}

#thumbs p#thumb_fwd a:hover
{
	background-color: #ec334e;
	background-position: -31px 68px;
}

#iframe_ad
{
	width: 1px;
	height: 1px;
	overflow: hidden;
	position: absolute;
	left: -50px;
	top: -50px;
	border: none;
	display: block;
}

#thumbs li,#thumbs li.related_gallery,#thumbs p#thumb_rewind,#thumbs p#thumb_fwd,#thumbs p#thumb_rewind a,#thumbs p#thumb_fwd a,.pagination a#prev,.pagination #next,a#img_prev:hover,a#img_next:hover,span#blurb_pointer,div#related_galleries h3,div#related_galleries h3 em,#thumbs li.related_gallery em
{
	background: #fff url('enhanced_gallery_sprite.png') 0 0 no-repeat;
	_background-image: url('enhanced_gallery_sprite.gif');
}

#img.loading { background-image: url(ajax-loader.gif); }
#gallery_frame #meta { background: #fff url('meta_box.png') 0px 0px no-repeat; }
#thumbs li.related_gallery,div.related_gallery { background-position: -80px 0; }

#thumbs li.related_gallery em
{
	background-color: transparent;
	background-position: -185px -221px;
}

div#related_galleries h3
{
	background-color: transparent;
	background-position: -16px -217px;
	_background: none;
	font-size: 108%;
}

div#related_galleries h3 img
{
	margin: 10px 11px 16px 0;
	_border: 4px solid #fff;
}

div#related_galleries h3 em
{
	background-color: transparent;
	background-position: -148px -220px;
}

#thumbs li em img
{
	border: 3px solid #2a5877;
	margin-top: 4px;
}

#thumbs p#thumb_rewind,#thumbs p#thumb_fwd { background-position: 21px -219px; }
#thumbs p#thumb_fwd { background-position: -243px -219px; }
#thumbs p#thumb_rewind a,#thumbs p#thumb_fwd a { background-position: -169px 7px; }
#thumbs p#thumb_fwd a { background-position: -189px 7px; }

#thumbs p#thumb_rewind a:hover,#thumbs p#thumb_fwd a:hover
{
	background-color: #2a5877;
	background-position: -229px 7px;
}

#thumbs p#thumb_fwd a:hover { background-position: -211px 7px; }
#thumbs li.related_gallery { background-position: -78px 0; }

p#thumb_blurbs
{
	background-color: #f3f6f8;
	border: 1px solid #a0b5c3;
}

span#blurb_pointer
{
	background-color: transparent;
	background-position: -3px -220px;
}

.pagination a#prev,.pagination #next { background-position: left -142px; }
.pagination #next { background-position: right -142px; }
.pagination a#prev.disabled,.pagination a#next.disabled { display: none; }

a#img_prev:hover,a#img_next:hover
{
	text-indent: -9999em;
	text-align: left;
	background-color: transparent;
	background-position: 0 -318px;
}

a#img_next:hover { background-position: -46px -318px; }

div#related_galleries
{
	background-color: #35678a;
	height: 325px;
}

div#related_galleries h2
{
	position: absolute;
	left: -9999em;
}

div#related_galleries.visible
{
	background-image: url(bg_more_galleries.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
}

.mod.gallery_preview.enhanced li
{
	background: #fff url('enhanced_gallery_sprite.png') 0 0 no-repeat;
	_background-image: url('enhanced_gallery_sprite.gif');
	margin-right: 6px;
}

.mod.gallery_preview.enhanced li.last { margin-right: 0; }
.mod.gallery_preview.enhanced img { margin: 7px; }
.mod.gallery_preview.enhanced p { margin-bottom: 5px; }

ul.pagination
{
	font-size: 93%;
	margin: 1em;
	text-align: center;
}

ul.pagination li
{
	font-weight: bold;
	display: inline;
	line-height: 2em;
}

ul.pagination li a
{
	color: #2A5877;
	text-decoration: none;
}

ul.pagination li a,ul.pagination li span,ul.pagination li em
{
	font-weight: bold;
	padding: .25em .333em;
	border: 1px solid #e5e5e5;
}

ul.pagination li a:hover
{
	color: #fff;
	background-color: #2A5877;
	text-decoration: none;
}

ul.pagination li.last a,ul.pagination li.first a,ul.pagination li.last span,ul.pagination li.first span,ul.pagination li.last em,ul.pagination li.first em
{
	border: none;
	padding: 0;
	margin: .25em .5em;
}

ul.pagination li.last a:hover,ul.pagination li.first a:hover
{
	color: #2A5877;
	background-color: transparent;
}