/* 	Stylesheet:
		main.css

	Author:
		Neil Jenkins
		
	Version:
		1.0 (2008-02-01)
		
	Version History:
		1.0 Initial release

	License:
		GNU GPL: http://creativecommons.org/licenses/GPL/2.0/

	Notes:
		Supports Firefox 1.5+, Safari 2+, Opera 9+ and IE 6+
		Other browsers may work but are untested.
*/

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	font: 12px/1.5 Arial,sans-serif;
	text-shadow: 0 0 0 #000;
	color: #333333;
	background: white;
	height: 100%;
	overflow: hidden;
}

body.Grid, body.Albums {
	overflow: visible;
}

a {
	color: #333333;
	text-decoration: none;
}

h1, h2, h3, h4, h5 {
	font-weight: normal;
}

h3 {
	font-size: 180%;
	font-style: bold;
	text-align: left;
}

h4 {
	border-top: 1px dotted #aaa;
	font-size: 145%;
	text-align: left;
	padding: 10px 0;
}

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

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

#heightWrapper {
	position: relative;
	min-height: 100%;
}

#loading {
	position: absolute;
	top: 0;
	right: 3em;
	color: #333333;
	background: #000;
	height: 2.5em;
	width: 7em;
	text-align: center;
	line-height: 2.5;
	opacity: 0.7;
}

/* @group Image border */

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

.imageBorder {
	color: inherit;
	position: relative;
	display: block;
	right: -50%;
	line-height: 0;
	overflow: visible;
}

.imageBorder img {
	background-color:#FFFAFA;
	border:5px solid #AAAAAA;
	padding:6px
}

/* @end */

/* @group Albums */

#albums {
	padding: 5em;
	margin: 0 auto;
	width: 650px;
}

#albums h1 {
	text-align: center;
	font-size: 400%;
}

.album {
	position: relative;
	overflow: hidden;
	border-top: 1px solid #fff;
	padding: 15px;
	min-height: 250px;
}

.album .info {
	width: 320px;
	padding: 0 30px;
}

.album .info * {
	padding-left: 0;
	padding-right: 0;
}

.album .info a:hover {
	border-bottom: 1px dotted #333333;
	border-bottom-style: solid;
}

.album .info a:after {
	padding-left: 5px;
	vertical-align: -1px;
	content: '\2192';
}

.album .viewgallery {
	margin: 1em 0;
	text-align: center;
}

.album .photo {
	position: absolute;
	top: 2em;
	right: 0;
	width: 274px;
	height: 254px;
	overflow: hidden;
}

.album .photo img {
	max-width: 250px;
	max-height: 230px;
	background-color:#FFFAFA;
	border:5px solid #AAAAAA;
	padding:6px
}

.even .photo {
	left: 0;
}

.even .info {
	margin: 0 0 0 auto;
}

.even .info a:before {
	padding-right: 5px;
	vertical-align: -1px;
	content: '\2190';
}
.even .info a:after {
	padding-left: 0px;
	vertical-align: 0px;
	content: '';
}

.even .info h3 {
	text-align: right;
}

.even .info h4 {
	text-align: right;
}

/* @end */

/* @group Grid Thumbnails */

#photos {
	margin: 0 5em;
	padding-bottom: 8em;
	text-align: left;
	overflow: hidden;
}

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

.thumbnail {
	vertical-align: text-top;
	position: relative;
	width: 172px;
	height: 172px;
	padding-bottom: 1.5em;
	margin: 1em 2em;
	float: left;
}


.landscape {
	width: 162px;
}

.portrait {
	height: 162px;
}

.thumbnail .phototxt {
	position: absolute;
	width: 100%;
	top: 100%;
	margin-top: -1.5em;
	padding: 0.25em 0;
	cursor: default;
	font-size: 91.67%;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.thumbnail .horizontalWrapper {
	bottom: 1.5em;
}

/* @end */

/* @group Display photo */

#displayPhoto {
	/* The margin value is used to determine the spacing around the display image */
	margin: 20px 20px 20px;
}

#displayTitle {
	color: #aaa;
	position: absolute;
	bottom: 100%;
	width: 100%;
	text-align: right;
}

#displayTitle h1 {
	text-shadow: #000 2px 2px 2px;
	font-weight: normal;
	font-size: 50px;
	line-height: .8;
	margin-right: 1em;
}

#displayTitle h2 {
	font-size: 100%;
	font-weight: bold;
	text-align: center;
	margin: 0 5em;
}

#photoDescription {
	margin: 0 5em 1em;
	text-align: center;
	line-height: 1.3;
}

/* @end */

/* @group Control Bar */

#controlBar {
	background: #13141A;
	border-top: 1px solid #040405;
	line-height: 2;
	padding: .5em 0;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 100;
}

#controlBar a {
	color: #ddd;
	border: none;
}

#controlBar a:hover {
	color: #fff;
}

#modeSelect a {
	margin: 0 .5em;
	padding-left: 20px;
	background-position: center left;
	background-repeat: no-repeat;
}

#modeSelect a.modeAlbums {
	padding-left: 10px;
}

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

#controlBar .modeSelector span {
	background-position: -1000px -1000px;
	background-repeat: no-repeat;
}

#controlBar .modeGrid {
	background-image: url(../images/mode/grid.png);
}

#controlBar .modeGrid:hover, #controlBar .modeGrid.selected, #controlBar .modeGrid span {
	background-image: url(../images/mode/grid-active.png);
}

#controlBar .modeFilmstrip {
	background-image: url(../images/mode/filmstrip.png);
}

#controlBar .modeFilmstrip:hover, #controlBar .modeFilmstrip.selected, #controlBar .modeFilmstrip span {
	background-image: url(../images/mode/filmstrip-active.png);
}

#controlBar .modeSingle {
	background-image: url(../images/mode/single.png);
}

#controlBar .modeSingle:hover, #controlBar .modeSingle.selected, #controlBar .modeSingle span {
	background-image: url(../images/mode/single-active.png);
}

#controls {
	position: absolute;
	left: 50%;
	width: 10em;
	bottom: 0;
	padding: .5em 0;
	margin-left: -5em;
	text-align: center;
}

#controls span {
	cursor: pointer;
	padding: 0 1ex;
}

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

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

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

#resizeSlider {
	position: relative;
	width: 116px;
	height: 16px;
	margin: 0 -8px;
	background: url(../images/slider/track.png) no-repeat center;
}

#resizeHandle {
	background: url(../images/slider/knob.png);
	width: 16px;
	height: 16px;
}

#download {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 2em;
	padding: .5em 1em;	
	color: #fff;
}

#download * {
	margin-right: 1ex;
}

/* @end */

/* @group Filmstrip */

#strip {
	overflow: auto;
	background: #090A0D;
	white-space: nowrap;
	border-right: 1em solid #090A0D;
	border-left: 1em solid #090A0D;
	text-align: center;
	margin: -.6em 0 0.5em;
	padding-top: .8em;
}

#strip a {
	border: none;
}

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

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

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


/* @end */

