html, body {
	height: 100%;
}

.photogallery, .photogallery-window {
	color: #7E7F7E;
	margin-bottom: 1em;
}

.photogallery {
	width: 330px;
	margin-left: auto;
	margin-right: auto;
	background-color: #F7F5F4;
}

.photogallery .header, .photogallery-window .header {
	padding: 7px;
}

.photogallery h1, .photogallery-window h1 {
	color: #7E7F7E;
	border-bottom: 0;
	font-size: 18px;
	text-align: left;
	padding: 0;
	margin: 0;
	clear: none;
}

.photogallery .body {
	margin-left: 3px;
	margin-right: 2px;
}

.photogallery .body img {
	cursor: pointer;
	float: left;
	margin-left: 3px;
	margin-right:2px;
	margin-bottom: 5px;
	background-image: url(/designs/thomasdux09/photogallery-background.png);
	padding:5px 6px 7px 5px;
}

.photogallery .body img.select {
	border: 1px solid #180000;
}

.photogallery .nav, .photogallery-window .nav {
	padding: 2px;
	text-align: right;
	line-height: 22px;
}

.photogallery .nav {
	clear: both;
}

.photogallery .nav h2 {
	float: left;
	display: none;
	font-size: 11px;
}

.photogallery .button, .photogallery-window .button {
	width: 39px;
	height: 8px;
	display: inline-block;
	margin: 2px;
	cursor: pointer;
}

.photogallery .search .button, .photogallery .navpage, .photogallery-window .navpage {
	padding-right: 3px;
}

.photogallery .navpage-selected {
	font-weight: bold;
	cursor: auto;
}

.photogallery .search .button, .photogallery .navpage-last, #columns .photogallery .navpage-total {
	border-right: none;
	padding-right: 0;
}

.photogallery .button-first {
	display: none;
}

.photogallery .button-left, .photogallery .button-right {
	width: 28px;
	height: 22px;
	margin-right: 5px;
}

.photogallery .button-left {
	background-image: url(/designs/thomasdux09/photogallery-button-left.png);
}

.photogallery .button-right {
	background-image: url(/designs/thomasdux09/photogallery-button-right.png);
}

.photogallery .button-last {
	display: none;
}

.photogallery .search {
	float: left;
}

.photogallery .search .button {
	width: auto;
	background-image: none;
	font-weight: normal;
	margin-left: 3px;
}

.photogallery .search .text {
	width: 100px;
	border: 1px solid #99CC66;
	font-size: 11px;
}

.photogallery-window {
	background-color: transparent;
	background-image: url(/designs/thomasdux09/photogallery-window-background.png);
	width: 605px;
	height: 467px;
	z-index: 100;
	position: absolute;
}

.photogallery-window .header {
	position: relative;
	height: 29px;
}

.photogallery-window h1 {
	font-family: Trebuchet, 'Trebuchet MS', sans-serif;
	font-size: 12px;
	position: relative;
	top: 395px;
	left: 52px;
}

.photogallery-window .button-close {
	background-image: url(/designs/thomasdux09/photogallery-close.gif);
	position: absolute;
	top: 57px;
	right: 35px;
	background-repeat: no-repeat;
}

.photogallery-window .body img.downloadable {
	cursor: pointer;
}

.photogallery .footer {
	clear: both;
	height: 1px;
}

.photogallery-window .divider {
	display: none;
}

.photogallery-window .body {
	margin: 0;
	margin-top: 20px;
	padding: 5px;
}

.photogallery-window .body img {
	border: none;
	float: none;
	padding: 0;
	margin: 0;
	background-image: none;
}

.photogallery-window .nav {
	position: relative;
	top: 332px;
	right: 55px;
}

.photogallery-window .navpage {
	vertical-align: top;
	position: relative;
	top: 3px;
}

.photogallery-window .navpage-last {
	padding-left: 3px;
}

.photogallery-window .imgholder {
	text-align: center;
	margin-top: 5px;
	background-image: url(/designs/thomasdux09/photogallery-background-large.png);
	background-repeat: no-repeat;
	padding: 10px 12px 13px 10px;
	position: relative;
	width: 460px;
	height: 299px;
	left: 60px;
	top: -25px;
}

.photogallery-window .body .comments {
	max-height: 85px;
	overflow: auto;
	margin: 5px;
	margin-top: 0;
}

.photogallery-window .body .comment {
	background-color: #301A1A;
	padding: 5px;
	margin-bottom: 10px;
}

.photogallery-window .body .comment .username {
	font-weight: bold;
}

.photogallery textarea {
	width: 99%;
	margin-bottom: 3px;
	color: #000000;
}

.photogallery textarea.initial {
	color: #898989;
}

.shade {
	background-color: #000000;
	z-index: 99;
}
