/**
 *	Gallery styles
 */
 
#main_image_wrapper {
	background: #FFF url(images/gallery/loading_image.gif) no-repeat 50% 50%;
	border: 1px solid #CCC;
	height: 399px;
	position: relative;
	width: 585px;
	overflow: hidden;
}

#imgloader {
	overflow: hidden;
	text-align: center;
	vertical-align: middle;
}

#thumbbox {
	padding: 5px;
	position: relative;
	text-align: center;
	width: 575px;
}

#thumb_container {
	height: 80px;
	margin: 0 0 0 23px;
	overflow: hidden;
	position: relative;
	width: 530px;
}

#thumbs img {
	margin-right: 4px;
	vertical-align: top;
}

#thumbs a img { border: 1px solid #CCC; }

#thumbs a:hover img { border: 1px solid #473491; }

#thumbs a:hover { color: red; }

#photocount {
	color: #FFF;
	float: left;
	font-size: 10px;
	left: 0;
	text-align: left;
	width: 48%;
}

#back {
	left: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	z-index: 1001;
}

#more {
	float: right;
	left: 570px;
	position: absolute;
	top: 0;
	z-index: 1001;
}

.morelink:hover {
	color: #FFF;
	font-size: 11px;
	text-decoration: underline;
}

#thumbgall {
	left: 0;
	position: absolute;
	top: 0;
	white-space: nowrap;
	z-index: 1000;
}

#widthbox {
	display: inline;
	left: 0;
	padding: 1px;
	position: relative;
	top: 0;
}

#imgbox {
	display: inline;
	height: 80px;
	position: absolute;
	text-align: center;
	width: 80px;
}

#iptc_btn {
	left: 0;
	position: absolute;
	text-align: right;
	top: 0;
	width: 100%;
	z-index: 999;
}

#iptc_info {
	background-color: #000;
	color: #CCC;
	font-size: 10px;
	height: auto;
	left: 0;
	line-height: 140%;
	position: absolute;
	text-align: left;
	top: 0;
	width: 100%;
}

.iptc_left {
	color: #FFF;
	float: left;
	padding: 0 0 0 2%;
	text-align: right;
	width: 18%;
}

.iptc_right {
	float: right;
	text-align: left;
	width: 79%;
}

.photo_info {
	font: 11px Arial, Helvetica, sans-serif;
	padding: 15px 2%;
}

#rightmore li a {
	background: url(images/gallery/right_more.gif);
	color: #fff;
	display: block;
	padding: 0;
	text-decoration: none;
	width: 100%;
}

#rightmore li a:hover {
	background: url(images/gallery/right_more_over.gif);
	color: #fff;
	height: 115px;
}

#leftmore li a {
	background: url(images/gallery/left_more.gif);
	color: #fff;
	display: block;
	padding: 0;
	text-decoration: none;
	width: 100%;
}

#leftmore li a:hover {
	background: url(images/gallery/left_more_over.gif);
	color: #fff;
	height: 115px;
}

.spacing { padding: 1px; }

.morelink:link,.morelink:visited {
	color: #FFF;
	font-size: 11px;
	text-decoration: none;
}

#rightmore,#leftmore {
	color: #333;
	height: 115px;
	padding: 0;
	width: 15px;
}

#rightmore ul,#leftmore ul {
	border: none;
	height: 115px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#rightmore li,#leftmore li {
	height: 115px;
	margin: 0;
}

html>body #rightmore li a,html>body #leftmore li a { width: auto; }

#pn_overlay {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 998;
}

#imgtitle {
	color: #FFF;
	display: block;
	font-size: .8em;
	text-align: center;
	width: 585px;
}

#imgtitle h2 {
	font-size: 1.3em;
	margin: 0;
	padding: 0;
}

#thumbtoggler {
	float: right;
	right: 0;
	text-align: right;
	width: 48%;
	z-index: 1100;
}

#thumbdisplay { width: 585px; }

.clear { clear: both; }

#e2link {
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	padding: 5px 0;
	text-align: left;
}

#e2link a {
	color: #FFFFFF;
	text-decoration: none;
}

.tooltip {
	color: #fff;
	text-align: left;
	width: 150px;
	z-index: 15000;
}

.tooltip h4 {
	background: #000;
	font-size: 12px;
	font-weight: bold;
	margin: 0px;
	padding: 8px 8px 2px;
}

.tooltip p {
	background: #000;
	font-size: 11px;
	margin: 0px;
	padding: 1px 8px 8px;
}

#thumbhide {
	overflow: hidden;
	position: relative;
}