/* HTML elements
---------------------------------------------------------------------------------------------------- */
body {
	font: 12px Helvetica, Verdana, Sans-serif;
	background: #DDD;
}

/* Gallery
---------------------------------------------------------------------------------------------------- */
#main {
	width: 800px;
	margin: 20px auto;
	text-align: center;
}

	#main h1 {
		font-size: 2em;
		line-height: 2em;
		text-align: center;
		color: #024;
	}

ul#thumbs {
	margin: 2em 0 1em 0;
	text-align: center;
}

	ul#thumbs li {
		display: inline;
	}

		ul#thumbs li img {
			height: 30px;
			margin: 0 2px 3px 0;
			padding: 4px;
			position: relative;
			bottom: 5px;
			cursor: pointer;
			background: #FFF;
			border: 1px solid #CCC;
		}

			ul#thumbs li img.active {
				height: 40px;
				top: 0;
				border: 1px solid #999;
			}

#display {
	margin: 0 auto;  /* #display will actually be centered since we set the width with javascript */
	padding: 12px;
	background: #FFF;
	
}

	#display a:link,
	#display a:visited {
		color: #000;
		text-decoration: none;
	}

	#text {
		position: relative;
	}

	#text p {
		line-height: 1.4em;
		color: #444;
	}
	
		p#caption {
			margin: 1em 3em 0 0;
			text-align: left;
		}
	
		p#position {
			position: absolute;
			right: 0;
			top: 0;
		}
		
		* html p#position {
			margin-right: 12px;
		}

/* Classes
---------------------------------------------------------------------------------------------------- */
.left {
	float: left;
}

.right {
	float: right;
}