﻿/************************************************** Photo Gallery */

.PhotoGallery 
{
	zoom:1;
	margin-left:2px;
	margin-right:-20px;
}

.PhotoGallery:after
{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

/************************************************** Photo Row */

.PhotoRow { clear:both; }

/************************************************** Photo Item */

.PhotoItem
{
	float:left;
	width:141px;
	margin:0 20px 20px 0;
}

.LastPhotoItem { margin:0; }

.PhotoItem img { display:block; }

.PhotoItem p 
{
	text-align:center;
	margin:3px 0 3px 0;
}

.PhotoItem span { display:none; }

.PhotoItem a.Folder
{
	font-weight:bold;
	text-align:center;
	display:block;
}
.PhotoItem a.Folder img { margin-bottom:5px; }

/************************************************** Photo Options */

.PhotoOptions
{
	width:100%;
	padding:2px;
	border:solid 1px #6d7568;
	background:url(PhotoGallery/PhotoOptionsBg.gif) repeat-y center;
}

.PhotoOptions a.Enlarge
{
	width:47px;
	display:inline-block;
	height:19px;
	background:url(PhotoGallery/EnlargePhotoBg.gif) no-repeat left bottom;
	padding:0 0 0 24px;
	margin:0 0 0 3px;
}

.PhotoOptions a.Order
{
	width:32px;
	display:inline-block;
	height:18px;
	background:url(PhotoGallery/OrderPhotoBg.gif) no-repeat left;
	padding:0 0 0 24px;
	margin:2px 0 0 8px;
}

/************************************************** Pagination */

.Pagination { text-align:center; }

.Pagination a, .Pagination b 
{
	vertical-align:middle;
	margin:0 3px 0 3px;
}

.Pagination span { display:none; }

.Pagination .Active
{
	background:#d3d4d0;
	padding:2px;
	color:#656d60;
}

.Pagination .BackButton
{
	float:left;
	width:82px;
	height:0;
	padding-top:27px;
	overflow:hidden;
	background:url(PhotoGallery/BackButton.jpg) no-repeat left top;
}

.Pagination .PrevButton
{
	display:inline-block;
	width:54px;
	height:0;
	padding-top:22px;
	overflow:hidden;
	background:url(PhotoGallery/PrevButton.jpg) no-repeat left top;
}

.Pagination .NextButton
{
	display:inline-block;
	width:54px;
	height:0;
	padding-top:22px;
	overflow:hidden;
	background:url(PhotoGallery/NextButton.jpg) no-repeat left top;
}