html {
	position: relative;
}

div#pintbox {
	/*
	padding: 10px;
	height: auto;
	overflow: hidden;
	*/
	background: #FFF;
	border: 1px solid #979797;
	border-left-width: 1px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	z-index: 500;
	text-align: left;
	position: relative;
	height: 600px;
	width: 610px;
}

div#pintbox a:link, div#pintbox a:hover, div#pintbox a:visited { border:none; }

div#pintbox a:focus { 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-right: 20px; /* 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: #C6CFEB; }
div#pintbox ul#pImages li.pBoxCurrent {  }

div#pSlideHolder {
	border-top: 1px solid #EEE;
	/*border: 1px solid #F31;*/
	margin-top: 3px;
	clear: both;
	overflow: hidden;
	height: 75px; /* Set this based on thumbnail height */
	/* height: 100px; Set this based on thumbnail height plus slider bar height */
	width: 98%;
	position: absolute;
	bottom: 5px;
	left: 5px;
	padding-right: 0.5%;
}

img#pLoading {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -12px;
	margin-top: -12px;
	z-index: 100;
}
div#pImgHolder {
	/*border: 1px solid #13F;*/
	text-align: center;
	position: absolute;
	bottom: 155px;
	overflow: hidden;
	margin-bottom: 10px;
	padding: 0;
	width: 98%;
	/*height: 67%;*/
	left: 5px;
	top: 5px;
}
* html div#pImgHolder { height: 70.5%; padding-right: 0.5%; }

img#pImage {
	display: block;
	/*margin: 0 auto;*/
	position: absolute;
	/*
	top: 50%;
	left: 50%;
	margin-left: 0px;
	margin-top: 0px;
	*/
	top: 0;
	left: 0;
}
div#pSlider {
	overflow: hidden;
	height: 75px; /* Set this based on thumbnail height */
	width: 93%;
	position: absolute;
	left: 21px;
	top: 0px;
	z-index: 780;
}

div#sliderBar {
	border: 1px solid #000000;
	position: absolute;
	top: 78px;
	left: 5px;
	width: 500px;
	height: 20px;
	
}
div#sliderThumb {
	position: absolute;
	top: 0px;
}

a#pSlideBack, a#pSlideNext {
	background: url(../images/pbox-controls.gif);
	width: 20px;
	height: 75px;
	z-index: 100;
}
a#pSlideBack { position: absolute; left: 0px; }
a#pSlideBack { background-position: -28px -42px; }
a#pSlideBack:hover { background-position: -68px -42px; }
a#pSlideBack:active { background-position: -48px -42px; }

a#pSlideNext { position: absolute; right: 0px; }
a#pSlideNext { background-position: -88px -42px; }
#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 #979797;
	border-bottom: 0;
	display: block;
	padding: 10px;
	background: #FFF;
}

div#pTextBox {
	font-weight: normal;
	/*border: 1px solid #00ff00;*/
	position: relative;
	overflow: hidden;
	height: 70px;
	width: 98%;
	position: absolute;
	bottom: 87px;
	/*top: 69%;*/
	left: 5px;
	padding-right: 0.5%;
}

div#pInfo {
}
h2#pTitle, p#pDesc, p#pCount {
	color: #444;
	font-size: 20px;
	margin: 0 0 0px; padding: 0;
	text-decoration: none;
	font-weight: 100;
	font-style: normal;
	background: transparent;
	border: 0;
	line-height: 20px;
}
p#pDesc, p#pCount {
	font-weight: normal;
	font-size: 12px;
	line-height: 12px;
}
h2#pTitle {
	font-size: 14px;
	line-height:14px;
	overflow: hidden;
	width: 355px;
	width: 60%;
	height: 30px;
	font-weight: 600;
	/*border: 1px solid #ff7810;*/
}
p#pDesc {
	/*border: 1px solid #ff7810;*/
}
p#pCount {
/*	float: right;*/
	font-weight: bold;
	width: 100px;
	font-size:12px;
	position: absolute;
	right: 5px;
	top: 20px;
	text-align: right;
}


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;
	font-size: 10px;
	width: 230px;
	position: absolute;
	right: 0px;
	top: 0px;
}
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-controls.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; }

