#prev, #next {
	display:block;
	padding:5px;
	border:1px solid #d2d2d2;
	background:#eee;
	text-decoration:none;
	margin:0 10px 10px;
}
#prev:hover, #next:hover {
	border-color: #AAAAAA;
	background: #D2D2D2;
	color: #000000;
}
#prev {
	float:left;
}
#next {
	float:right;
}


#image {
	margin-bottom: 1em;
}
#image img {
	max-width: 640px;
	padding: 5px;
	border: none;
	background-color: #EEEEEE;
}
* html #image img {
	padding: 0;
	padd\ing: 5px;
}
#image a {
	text-decoration: none;
	border: none;
}
#image p {
	margin: 1em 0 !important;
	padding: 0;
}
#image p#singlecontainer {
	background-image: url(/media/layout/gallery_loading.gif);
	background-position: 290px 10px;
	background-position: center;
	background-repeat: no-repeat;
	padding: 0;
	background-color: #EEEEEE;
	text-align: center;
}
* html #image p#singlecontainer {
	padding: 5px;
	padd\ing: 0;
}
* html #image {
	overflow: hidden;
	width: 650px;
}

#image p#singlecontainer a {
	border: none !important;
}
#single,
#flumper {
	border: none;
	min-height: 25px;
}
#desc {
	border-color:#ddd;
	border-style:solid;
	border-width:1px;
	text-align:center;
	clear:both;
	margin:5px 40px;
	padding:5px;
}
#directories, #breadcrumb {
	padding-bottom: 0.71em;
	padding-left: 1em;
	border-bottom: 1px solid #CDCDCD;
	margin:0 0 1em 0;
}
#credit {
	text-align: right;
	clear: both;
}

.imgwrapper {
	float: left;
	margin: 4px;
	line-height: 0.6em;
}
.imgwrapper a {
	display: block;
	height: 134px;
	width: 135px;
	background-color: #F5F5F5;
	background-image: url(../layout/gallery_slide.gif);
	background-repeat: no-repeat;
	padding: 7px;
	text-align: center;
}
.imgwrapper>a {
	display: table-cell;
	vertical-align: middle;
	height: 148px;
}
.imgwrapper a img {
	border: 2px solid;
	border-left-color: #A5A5A5;
	border-top-color: #A5A5A5;
	border-right-color: #ECECEC;
	border-bottom-color: #ECECEC;
}

* html .imgwrapper a {
	height: 148px;
	width: 149px;
	he\ight: 134px;
	w\idth: 135px;
}