* { margin: 0px; padding: 0px; }
html { height: 100%; }

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

#heightWrapper {
	background: #FFFFFF;
	position: relative;
	min-height: 100%;
	overflow: hidden;
	margin: 0em 1em;
	border-bottom: 0.5em solid #ABA7A2;
	text-align: center;
}

.Grid #heightWrapper { margin: 0em 8em; }

a {	color: #333333; cursor: pointer; }
a:hover { color: #000000; }

#loading {
	color: #FFFFFF;
	background: #000000;
	display: none;
	opacity: 0.7;
	position: absolute;
	padding: 1em 2em;
	left: 2em;
	z-index: 10;
}

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

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

.shadow {
	color: inherit;
	position: relative;
	display: block;
	left: -50%;
	overflow: visible;
	border-left: 1px solid #DCD7C8;
	border-right: 1px solid #DCD7C8;
	border-bottom: none !important;
	background: #B4AFA3 url(../images/shad_bottom.png) repeat-x bottom left;
	padding: 0px 1px 4px;
}

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

.shadow .topleft {
	width: 2px;
	height: 4px;
	background: url(../images/shad_tlcorner.png) no-repeat top left;
	position: absolute;
	top: 0px;
	left: -1px;
}

.shadow .topright {
	width: 2px;
	height: 4px;
	background: url(../images/shad_trcorner.png) no-repeat top right;
	position: absolute;
	top: 0px;
	right: -1px;
}

.shadow .bottomleft {
	width: 4px;
	height: 4px;
	background: url(../images/shad_blcorner.png) no-repeat bottom left;
	position: absolute;
	bottom: 0px;
	left: -1px;
}

.shadow .bottomright {
	width: 4px;
	height: 4px;
	background: url(../images/shad_brcorner.png) no-repeat bottom right;
	position: absolute;
	bottom: 0px;
	right: -1px;
}

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

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

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

.Grid #header {	border-top-width: 3em; }
.Grid h1 { font-size: 250%; padding: 1em 0em; }
.Grid #controlBar {	padding-right: 160px; }

#controlBar {
	background: #8F006E url(../images/controlBar.gif) repeat-x bottom left;
	line-height: 2em;
	position: relative;
	letter-spacing: 1px;
	padding-right: 10.5em;
}

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

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

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

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

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

#controlBar .modeGrid {	background-image: url(../images/grid.png); }
#controlBar .modeGrid:hover, #controlBar .modeGrid.selected, #controlBar .modeGrid span { background-image: url(../images/grid-active.png); }
#controlBar .modeFilmstrip { background-image: url(../images/filmstrip.png); }
#controlBar .modeFilmstrip:hover, #controlBar .modeFilmstrip.selected, #controlBar .modeFilmstrip span { background-image: url(../images/filmstrip-active.png); }
#controlBar .modeSingle { background-image: url(../images/single.png); }
#controlBar .modeSingle:hover, #controlBar .modeSingle.selected, #controlBar .modeSingle span { background-image: url(../images/single-active.png); }
#controlBar .modeSlideshow { background-image: url(../images/slideshow.png); }
#controlBar .modeSlideshow:hover, #controlBar .modeSlideshow.selected, #controlBar .modeSlideshow span { background-image: url(../images/slideshow-active.png); }

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

#backToParent a { text-decoration: none; }

#thumbsSize {
	position: absolute;
	right: 1em;
	height: 16px;
	top: 0.3em;
	padding: 0px 25px;
}

#smallThumbnails {
	background: url(../images/smallThumbnail.gif) right center no-repeat;
	position: absolute;
	left: 0px;
	width: 16px;
	height: 16px;
}

#largeThumbnails {
	background: url(../images/largeThumbnail.gif) center no-repeat;
	position: absolute;
	right: 0px;
	width: 16px;
	height: 16px;
}

#resizeSlider {
	position: relative;
	width: 100px;
	padding: 6px 0px 5px;
	height: 5px;
	background: url(../images/track.png) no-repeat center;
}

#resizeHandle {
	position: absolute;
	background: url(../images/knob.png);
	top: 1px;
	width: 16px;
	height: 16px;
	margin-left: -8px;
}

#download {
	color: #FFFFFF;
	cursor: default;
	position: absolute;
	top: 0px;
	right: 0px;
	padding-right: 1em;
	text-align: right;
	z-index: 20;
	width: 10em;
}

#download span { display: none; }

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

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

#download a:hover { background: #CCDEE4; }
#download a:first-child { border: none; }
#albums, #photos { margin: 1em 1em 2em; padding: 5px 40px; }

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

#albums { border-bottom: 1px dotted #999999; }
#albums h2, #photos h2 { padding-left: 6px; }

.album {
	float: left;
	margin: 0.5em 1em;
	width: 162px;
	height: 162px;
	padding-bottom: 3.25em;
	position: relative;
	text-decoration: none;
}

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

.albumMask {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 162px;
	height: 162px;
	background: url(../images/frame.png) center no-repeat;
}

.albumInfo {
	background: #FFFFFF;
	white-space: nowrap;
	position: absolute;
	z-index: 10;
	overflow: hidden;
	text-overflow: ellipsis;
	top: 162px;
	width: 100%;
}

.album:hover { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.albumName { padding-left: 10px; font-size: 116.67%; }
.albumPhotoNumber { padding-left: 10px; }
#photos { padding-bottom: 1.5em; }

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

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

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

.thumbnail .phototxt * { background: #FFFFFF; }
.thumbnail .horizontalWrapper { bottom: 0px; }

#poweredBy {
	color: #777;
	border-top: #ABA7A2 solid 5px;
	background: #ABA7A2;
	text-align: right;
	padding: 0.5em;
	font-size: 85%;
	position: relative;
	bottom: 5px;
	margin: -2.5em 9.4em 0em;
}

#poweredBy a { color: #777777; }
#poweredBy a:hover { color: #666666; }

#controls {	position: relative; }

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

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

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

#previous {
	padding: 0px;
	background: url(../images/go-previous.png) no-repeat left center;
	text-decoration: none;
}

#next {
	padding: 0px;
	background: url(../images/go-next.png) no-repeat right center;
	text-decoration: none;
}

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

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

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

#strip img.selected { border-color: #222222; }
.noJS #controlBar {	display: none !important; }
.noJS #header {	border-bottom: 5px solid #8F006E; }
#displayPhoto { top: 8.5em; }