#PG
{
	width: 806px;
	height: 466px;
	padding: 10px;
	background: #e0e0e0;
	border: 3px solid #525252;
	position: fixed;
	top: 50px;
	left: 50%;
	margin-left: -408px;
}
#PG a { outline: none; }

.PG_close
{
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_close.png) no-repeat;
	width: 31px;
	height: 19px;
	position: absolute;
	top: -19px;
	right: -3px;
}
	/* toolbar */ 	
.PG_toolbar
{
	height: 39px;
	margin-bottom: 25px;
}

.PG_first
{
	display: block;
	width: 37px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_first.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	margin-right: 4px;
	float: left;
}
.PG_first:hover {
	background-position:  0 -37px;
}
.PG_prev
{
	display: block;
	width: 37px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_prev.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	margin-right: 4px;
	float: left;
}
.PG_prev:hover {
	background-position:  0 -37px;
}
.PG_next
{
	display: block;
	width: 37px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_next.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	margin-right: 4px;
	float: left;
}
.PG_next:hover {
	background-position:  0 -37px;
}
.PG_first
{
	display: block;
	width: 37px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_first.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	margin-right: 4px;
	float: left;
}
.PG_first:hover {
	background-position:  0 -37px;
}
.PG_last
{
	display: block;
	width: 37px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_last.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	float: left;
}
.PG_last:hover {
	background-position:  0 -37px;
}


.PG_index, .PG_index:visited
{
	display: block;
	width: 153px;
	padding-left: 39px;
	height: 37px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/PG_button_index.png) #cacdcd no-repeat;
	border: 1px solid #FFFFFF;
	line-height: 35px;
	color: #FFFFFF;
	position: absolute;
	bottom: 0;
	right: 0;
}
.PG_index:hover {
	background-position:  0 -37px;
}

.PG_thumb
{
	width: 628px;
	padding: 0 2px;
	float: left;
	height: 37px;
	background: #cacdcd;
	border: 1px solid #FFFFFF;
	margin-right: 4px;
	overflow: hidden;
	position: relative;
}
.PG_controller {
	position: absolute;
	left: 7px;
	top: 3px;
	height: 31px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.PG_controller li
{
	width: 31px;
	height: 31px;
	padding: 0;
	margin: 0;
	float: left;
	cursor: pointer;
}
.PG_controller li img {
	margin: 2px;
	width:27px;
	overflow:hidden;
}
.PG_controller li.PG_selected {
	background: #FFFFFF;
}

.PG_wrap
{
	width: 806px;
	height: 405px;
	position: relative;
	overflow: hidden;	
}
.PG_main
{
	position: absolute;
}
.PG_main_template
{
	display: none;	
}
.PG_main_hide
{
	position: absolute;
	left: -999px;	
}

.PG_image
{
	height: 402px;
	width: 602px;
	float: left;
	text-align: center;
	overflow: hidden;
}
.PG_image img 
{
	border: 1px solid #FFFFFF;
}
.PG_loader 
{
	margin-top: 100px;
}
	/* info */
.PG_info
{
	width: 194px;
	padding-left: 10px;
	float: left;
	overflow: hidden;
}
.PG_title 
{
	margin: 0;
	font-size: 1.4em;
	color: #525252;
}
.PG_text{
	font-size: 1em;
	color: #525252;
}
.PG_photographer
{
	font-style: italic;
	color: #525252;
	font-size: 0.8em;
	margin-top: 0;
}
.PG_photographer span
{
	font-weight: bold;
}
/* PG_ad */
.PG_ad
{
	border-top: 1px solid #333333;
	color: #FFFFFF;
	font-size: 1em;
	margin-top: 5px;
}
.PG_ad p
{
	margin: 10px 0;
}


/* CATEGORIES */

.photoGalleryCategories
{

}

.photoGalleryCategories td
{
	border: 1px solid #d9d9d9;
	vertical-align: top;
}

.photoGalleryCategories td.empty
{
	border: none;
}

.photoGalleryCategories td h3 
{
	margin: 0;
	padding: 0 1ex;
	font-size: 0.8em;
	line-height: 1.5em;
	border-bottom: 1px solid #d9d9d9;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/bg_header_gray2white.gif) #FDFDFD repeat-x;
}
.photoGalleryCategories td .wrap
{
	padding: 1.5ex;
}
.photoGalleryCategories td .wrap img
{
	float: left;
	margin-right: 1ex;
	margin-bottom: 1ex;
	border: 1px solid #c7c7c7;
	padding: 1px;
}
.photoGalleryCategories a.openImage
{
	white-space: nowrap;
}
.photoGalleryCategories a.search
{
	display: none;
	width: 24px;
	height: 18px;
	background: url(/CFIDE/itoolspro/PhotoGallery/gfx/button_search.gif) red no-repeat;
	float: right;
	border-top: 1px solid #d9d9d9;
	border-left: 1px solid #d9d9d9;
}



