* { 
	margin: 0; 
	padding: 0;
}

html { 
	height: 100%;
}

body {
	background: #3A1F3A;
	color: #ABA7A2;
	font: 10px/1.5 Verdana, sans serif;
	height: 100%;
}

h1 {
	color: #FFF;
	font: 250%/1 Verdana, sans serif;;
	padding: 0.75ex 0;
	text-align: center;
}

h2 {
	font-size: 183.35%;
	font-weight: normal;
	margin: 0.1em 0;
}

a {
	color: #333;
	cursor: pointer;
}

a:hover {
	color: #000;
}

#heightWrapper {
	background: #FFF;
	border: 2px solid #000;
	margin: 10px auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	text-align: center;
	width: 1000px !important;
}

#loading {
	display: none;
}

.grid, .filmstrip, 
.single, .slideshow { 
	display: none;
}

.Grid #heightWrapper {
	border: 2px solid #FFF; 
	margin: 10px auto;
	padding-bottom: 2em;
	width: 1000px;
}

.Grid #header {
	border-top-width: 0;
}

.Grid h1 {
	font-size: 250%;
	padding: 0.75em 0;
}

.Grid #controlBar {
	background: #999;
	padding-right: 160px;
}

.Grid #header .galleryComment {
	display: none;
}

.Grid .grid, 
.Filmstrip .filmstrip, 
.Single .single, 
.Slideshow .slideshow {
	display: block;
}

.horizontalWrapper {
	left: 50%;
	position: absolute;
}

.shadow {
	border-bottom: none !important;
	border-left: 1px solid #DCD7C8;
	border-right: 1px solid #DCD7C8;
	color: inherit;
	display: block;
	left: -50%;
	overflow: visible;
	padding: 0 1px 4px;
	position: relative;
}

.shadow img {
	background: #FFF;
	border: none;
	display: block;
	padding: 5px;
}

.shadow .topleft {
	height: 4px;
	left: -1px;
	position: absolute;
	top: 0;
	width: 2px;
}

.shadow .topright {
	height: 4px;
	position: absolute;
	right: -1px;
	top: 0;
	width: 2px;
}

.shadow .bottomleft {
	bottom: 0;
	height: 4px;
	left: -1px;
	position: absolute;
	width: 4px;
}

.shadow .bottomright {
	bottom: 0;
	height: 4px;
	position: absolute;
	right: -1px;
	width: 4px;
}

#header {
	background: #1A0200;
	border-top: #ABA7A2 solid 0;
}

#controlBar {
	background: #832F69;
	border-top: 1px solid #DDD;
	letter-spacing: 1px;
	line-height: 2em;
	padding-right: 10.5em;
	position: relative;
}

#controlBar:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

#controlBar a {
	color: #FFF;
	text-shadow: none;
}

#controlBar .modeSelector {
	background-position: center left;
	background-repeat: no-repeat;
	color: #EEE;
	display: block;
	float: left;
	left: 60px;
	margin: 0 1em;
	padding: 0 1em;
	position: relative;
	text-decoration: none;
	text-shadow: none;
}

#controlBar .modeSelector:hover {
	color: #FFF;
}

#controlBar .modeSelector.selected {
	background-color: #935781;
	color: #FFF;
	cursor: default;
	font-weight: bold;
}

#controlBar .modeSelector span {
	background-position: -1000px -1000px;
	background-repeat: no-repeat;
	margin-left: 12px !important;
}

#controlBar .modeGrid {
	color: #CCC;
	margin-left: 20px;
}

#backToParent {
	font-size: 92%;
	margin: 0.3em 0 -1.8em;
	padding-top: 3px !important;
	text-align: center;
}

#backToParent a {
	text-decoration: none;
}

#thumbsSize {
	display: none;
}

#smallThumbnails {
	height: 16px;
	left: 0;
	position: absolute;
	width: 16px;
}

#largeThumbnails {
	height: 16px;
	position: absolute;
	right: 0;
	width: 16px;
}

#resizeSlider {
	height: 5px;
	padding: 6px 0 5px;
	position: relative;
	width: 100px;
}

#resizeHandle {
	height: 16px;
	margin-left: -8px;
	position: absolute;
	top: 1px;
	width: 16px;
}

#download {
	color: #FFF;
	cursor: default;
	padding-right: 0;
	position: absolute;
	right: 0;
	text-align: center;
	text-shadow: none;
	top: 0;
	width: 10em;
	z-index: 20;
}

#download span {
	display: none;
}

#download:hover span,
#download.hover span {
	background: #FFF;
	border: 1px solid #333;
	display: block;
	float: right;
	letter-spacing: normal;
	text-align: center;
}

#download a {
	background: #333;
	border-top: 1px dotted #EEE;
	display: block;
	cursor: pointer;
	line-height: 1.2;
	padding: 0.8em 1em;
	text-decoration: none;
	white-space: nowrap;
}

#download a:hover { 
	background: #CCDEE4;
}

#download a:first-child {
	border: 0;
}

#albums,
#photos {
	margin: 1em 1em 2em;
	padding: 5px 40px;
}

#albums:after,
#photos:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

#albums {
	border-bottom: 0;
	margin: auto;
}

#albums h2, #photos h2 {
	padding-left: 6px;
}

.album {
	border: 1px solid #CCC;
	float: left;
	height: 200px;
	margin: 1.5em;
	padding: 1.5em;
	position: relative;
	text-decoration: none;
	width: 162px;
}

.albumImage {
	background: #333;
	background-position: center;
	background-repeat: no-repeat;
	height: 162px;
	width: 162px;
}

.albumMask {
	background: none;
	height: 162px;
	left: 0;
	position: absolute;
	top: 0;
	width: 162px;
}

.albumInfo {
	background: transparent;
	line-height: 14px;
	margin-top: 20px;
	white-space: normal;
	width: 162px;
}

.album:hover { 
	background: #F1F1F1;
}

.albumName { 
	font-size: 116.67%;
	padding-left: 0;
	width: 100%;
}

.albumPhotoNumber {
	font-style: italic;
	padding-left: 10px;
}

#photos {
	padding-bottom: 1.5em;
}

.thumbnail {
	float: left;
	height: 192px;
	margin: 3px 5px 2em;
	padding: 5px 7px 9px;
	position: relative;
	width: 192px;
}

.thumbnail .phototxt {
	cursor: default;
	font-size: 91.67%;
	height: 1.5em;
	left: 0.5em;
	overflow: hidden;
	position: absolute;
	right: 0.5em;
	text-align: center;
	text-overflow: ellipsis;
	top: 100%;
	white-space: nowrap;
}

.thumbnail:hover .phototxt {
	background: #FFF;
	height: auto;
	left: 0.1em;
	overflow: visible;
	right: 0.1em;
	white-space: normal;
	word-wrap: break-word;
	z-index: 10;
}

.thumbnail .phototxt * {
	background: #FFF;
}

.thumbnail .horizontalWrapper {
	bottom: 0;
}

#poweredBy {
	display: none;
}

#poweredBy a { 
	color: #777;
}

#poweredBy a:hover {
	color: #666;
}

#controls {
	position: relative;
}

#stopSlideshow {
	cursor: pointer;
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-indent: -1000px;
	top: 0;
	width: 100%;
}

#photoExtras {
	border-bottom: 0;
	margin: 0 100px;
	text-align: center;
}

#photoDescription {
	bottom: 100%;
	left: 10em;
	padding: 0.75em 1em;
	position: absolute;
	right: 10em;
	text-align: center;
}

#previous {
	background: none;
	padding: 0;
	text-decoration: none;
}

#next {
	background: none;
	padding: 0;
	text-decoration: none;
}

#strip {
	margin: 0 1em 0.5em;
	overflow: auto;
	text-align: center;
	white-space: nowrap;
}

#strip img {
	border: 1px solid #333;
	height: 75px;
	margin: 3px;
}

#strip a:hover img, #strip img.selected {
	border-width: 3px;
	margin: 1px;
}

#strip img.selected {
	border-color: #222;
}

.noJS #controlBar {
	display: none !important;
}

.noJS #header {
	border-bottom: 7px solid #832F69;
}

#displayPhoto {
	top: 8.5em;
}
