div.gallery { min-height:800px; }
* html div.gallery { height:850px; }

#pintbox_sub { width:540px; height: 594px; display: none; }
#pintbox div { margin-top:0 }

div#pintbox {
	padding: 10px;
	background: #090a0c;
	height: auto;
	border: 1px solid #322C28;
	border-left-width: 1px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	-moz-border-width:6px;
}
div#pintbox a:link, div#pintbox a:hover, div#pintbox a:visited { border:none; }
div#pintbox *:focus { -moz-outline: 0; }
div#pintbox ul#pImages {
	list-style-type: none;
	margin: 0 20px 0 0; padding: 0;
}
div#pintbox ul#pImages li {
	float: left;
	width: auto;
	margin: 0 10px 0 0; /* controls spacing between thumbnails */
}
div#pintbox ul#pImages li a img {
	display: block;
	width: auto;
	border: 0;
}
div#pintbox ul#pImages li a:hover img { border-color: #fff; }
div#pintbox ul#pImages li.pBoxCurrent {  }

div#pSlideHolder {
	position: relative;
	border-top: 1px solid #322C28;
	padding-top: 10px;
	height: 150px; /* Set this based on thumbnail height */
	margin-top: 10px;
	clear: both;
}

img#pLoading {
	position: absolute;
	z-index: 100;
}
div#pImgHolder {
	text-align: center;
	position: relative;
	height: 400px;
	overflow: hidden;
	margin-bottom: 10px;
}
img#pImage {
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 200;
}
div#pSlider {
	float: left;
	overflow: hidden;
	height: 150px; /* Set this based on thumbnail height */
	width: auto;
}
a#pSlideBack, a#pSlideNext {
	background: url(../images/pbox-controls2.gif);
	float: left;
	width: 20px;
	height: 75px;
	position: relative;
	z-index: 800;
	margin-top:41px;
}
a#pSlideBack { background-position: -28px -42px; }
a#pSlideBack:hover { background-position: -68px -42px; }
a#pSlideBack:active { background-position: -48px -42px; }

a#pSlideNext { background-position: -88px -42px; }
a#pSlideNext:hover { background-position: -128px -42px; }
a#pSlideNext:active { background-position: -108px -42px; }

div#pThumbPop {
	background: url(../images/pbox-thumbpop-dn.gif) bottom center repeat-x;
	padding-bottom: 6px;
	position: absolute;
	top: -500em;
	left: -500em;
	z-index: 900;
}
img#pThumbPopImg {
	border: 1px solid #322C28;
	border-bottom: 0;
	display: block;
	padding: 10px;
	background: #FFF;
}

div#pInfo {
min-height:60px;
width:100%; 
}
* html div#pInfo { height:60px; }
h2#pTitle, p#pDesc, p#pCount {
	color: #bbb;
	font-size: 20px;
	margin: 0 0 10px; padding: 0;
	text-decoration: none;
	font-weight: bold;
	font-style: normal;
	background: transparent;
	border: 0;
	line-height: 20px;
	text-align:left;	
}
p#pDesc, p#pCount {
	font-weight: normal;
	font-size: 12px;
	line-height: 12px;
}
p#pCount {
	float: right;
	width: auto;
	font-size:10px;
	margin:5px 5px 0 0;
	text-align:right;
	clear:right;
}

#pClose { margin-top: 10px; }
div#pintbox.vertical { 
	height: 100%; 
	position: static;
}
div#pintbox.vertical ul#pImages { margin: 0 0 20px; }
div#pintbox.vertical div#pImgHolder {
	float: left;
	width: 592px;
	margin-right: 10px;
}
div#pintbox.vertical ul#pImages li {
	margin-right: 0;
	margin-bottom: 20px; 
}
div#pintbox.vertical div#pSlideHolder {
	float: left;
	width: 75px; /* set this based on thumbnail width */
	clear: none;
	overflow: hidden;
	position: relative;
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
	border-left: 1px solid #EEE;
}
div#pintbox.vertical div#pSlider {
	width: 75px; /* set this based on thumbnail width */
	height: auto;
}
div#pintbox.vertical a#pSlideBack, div#pintbox.vertical a#pSlideNext {
	float: none;
	position: static;
	display: block;
	width: 75px;
	height: 20px;
	margin: 0;
}
div#pintbox.vertical a#pSlideBack { background-position: -255px 0; }
div#pintbox.vertical a#pSlideBack:hover { background-position: -255px -40px; }
div#pintbox.vertical a#pSlideBack:active { background-position: -255px -20px; }

div#pintbox.vertical a#pSlideNext { background-position: -255px -60px; }
div#pintbox.vertical a#pSlideNext:hover { background-position: -255px -100px; }
div#pintbox.vertical a#pSlideNext:active { background-position: -255px -80px; }

div#pintbox.vertical div#pSlider {
	float: none;
}

div#pintbox.vertical div#pThumbPop {
	background: url(../images/pbox-thumbpop-r.gif) right center repeat-y;
	padding-right: 6px;
	padding-bottom: 0;
}
div#pintbox.vertical img#pThumbPopImg {
	border: 1px solid #979797;
	border-right: 0;
	display: block;
	padding: 10px;
}


ul#pControls {
	list-style-type: none;
	height: 14px;
	margin: 0; padding: 0; overflow:hidden;
	font-size: 10px;
	float: right;
	width: 230px;
}
ul#pControls li {
	float: left;
	width: auto;
	margin: 0; padding: 0;
	text-align: left;
}
ul#pControls li a, a#pClose {
	background-image: url(../images/pbox-controls2.gif);
	display: block; float:left;
	height: 14px;
	width: 40px;
	text-indent: -999em;
}
ul#pControls li#pbox-prev a { background-position: -28px 0; }
ul#pControls li#pbox-next a { background-position: -68px 0; }
ul#pControls li#pbox-play a { background-position: -108px 0; }
ul#pControls li#pbox-pause a { background-position: -148px 0; width: 48px; }
ul#pControls li#pbox-popout a { background-position: -196px 0; width: 59px; }

ul#pControls li#pbox-prev a:hover{ background-position: -28px -28px; }
ul#pControls li#pbox-next a:hover{ background-position: -68px -28px; }
ul#pControls li#pbox-play a:hover{ background-position: -108px -28px; }
ul#pControls li#pbox-pause a:hover{ background-position: -148px -28px; }
ul#pControls li#pbox-popout a:hover{ background-position: -196px -28px; }

ul#pControls li#pbox-prev a:active{ background-position: -28px -14px; }
ul#pControls li#pbox-next a:active{ background-position: -68px -14px; }
ul#pControls li#pbox-play a:active{ background-position: -108px -14px; }
ul#pControls li#pbox-pause a:active{ background-position: -148px -14px; }
ul#pControls li#pbox-popout a:active{ background-position: -196px -14px; }

a#pClose {
	height: 28px;
	width: 28px;
	background-position: top left;
	display: none;
	float: left;
	margin-right: 5px;
}
a#pClose:hover { background-position: 0 -56px; }
a#pClose:active { background-position: 0 -28px;}
div#pOverlay {
	background: #000;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0; left: 0;
	z-index: 400;
	display: none;
	cursor: pointer;
}

/*BEGIN OVERWRITING BAD STYLES*/
#s_col2 { line-height:normal }
#s_col2 ul { padding:0; }
