/* override content area's padding */
td.content {
	padding: 0px;
}

.gallery {
/* 	border: 1px solid red; */
	padding: 0px;
	margin: 0px;
	text-align: center;
	width: 100%; /* make IE happy */
}

.gallery h3 {
	color: black;
	padding: 8px 12px;
	background: #E0E0E0 url("images/hshadow2.png") bottom repeat-x;
	border: 1px solid #a0a0a0;
	border-left: none; border-right: none;
	margin: 16px 0px 0px;
}

.gallery h3 b {
	font-size: 11pt;
	font-weight: normal;
}
.gallery h3 i {
	float: right;
	font-size: 10pt;
	font-style: normal;
}

/* prev/next bar */
 div.nav {
	text-align: center;
/* 	background: url("images/hshadow2.png") top repeat-x; */
	border-bottom: 1px solid #a0a0a0;
	padding: 4px 12px;
}
 div.nav#bottom {
	border-top: 1px solid #a0a0a0;
	border-bottom: none;
	margin: 16px 0px 0px;
	padding-top: 10px; /* symmetry ftw ;) */
}
 div.nav a.lb {
	color: black;
	border: 1px solid #C0C0C0;
}
 div.nav a.lb:hover {
	background-color: #f0f4fa;
	border-color: #808080;
}
 div.nav a.prev {
	font-weight: bold;
	padding-right: 16px;
	line-height: 1.5em;
	white-space: nowrap;
}
 div.nav a.next {
	font-weight: bold;
	padding-left: 16px;
	line-height: 1.5em;
	white-space: nowrap;
}
 div.nav span {
	font-weight: bold;
	color: red;
}

.gallery li {
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	border: 1px solid #aaa;
	margin: 0px 3px 8px;
}

.gallery li a {
	display: block;
	color: black;
/* 	color: white; */
/* 	background: black; */
	padding: 0px 6px;
	cursor: pointer; /* hack for IE to show hand instead of I-cursor over text */
/* 	border: 1px dashed #f00; */
}

.gallery>li span {
	display: table-cell;
	vertical-align: middle;
	width: 160px;
	height: 160px;
}

.gallery li p {
	text-align: center;
}
.gallery>li p {
	padding: 0px 6px;
	margin: 0px -6px;
/* 	border: 1px solid red; */
/* 	background: yellow; */
}
/* HACK: don't apply display:inline-block in IE 7, as it makes the image area unclickable */
.gallery>li p:not([class="ie7hack"]) {
	display: inline-block;
	margin-bottom: -0.25em;
}

.gallery img {
	vertical-align: middle;
}
.gallery li a:hover { background-color: #f0f4fa; }
/* .gallery li a:hover { background-color: #30343a; } */
.gallery li a:visited { color: black; }
.gallery li:hover { border-color: #808080; }

.gallery a i {
	display: block;
	font-style: normal;
	width: 160px;
	padding: 5px 0px;
/* 	background: #606060; */
/* 	border: 1px dashed #00f; */
}
.gallery a b {
	display: block; /*position: relative;*/ float: left;
	font-weight: normal;
	font-size: 8pt; color: #B0B0B0;
	line-height: 120%;
}
.gallery a u {
	display: block; /*position: relative;*/ text-align: right;
	text-decoration: none;
	font-size: 8pt; color: #B0B0B0;
	line-height: 120%;
}

