/* 
	TOP LEVEL
	image display page
*/

#thumbnailbox {
	border: 1px dotted; 
	text-align: center;
}

div#mainimage {
	/* styles are set on the fly 
	depending on what gallery type is in use */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
	
img.gallery, img.selectgallery { 
	border: 1px solid;
}

img, table.thumbnails {
	border: none;
}

p, span.imagetext {
	margin-left: 0;
	margin-top: 10px;
	margin-bottom: 0.5em;
	text-align: left;
}

/* next and back buttons on gallery pages */
#nextback {
	/* next and back buttons on a gallery page */
	height: 30px;
	display: block;
}

#backbutton {
	text-align: center;
	width: 50px;
	position: absolute;
	top: 0;
	left: 10px;
}

#nextbutton {
	text-align: center;
	width: 50px;
	position: absolute;
	top: 0;
	right: 10px;
}

.button {
	width: 40px;
	height: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
}

a.button:link, a.button:visited {
	font-weight: bold;
	text-decoration: none;
}

table#imagetable {
	/* center imagetable on page
	this controls tables of icons and
	main image display */
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

#imagebox {
	width: 100%;
	position: relative;
	margin-top: 5px;
	text-align: center;
}

.imagecell {
	/* center */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.imagenav {
	width: 40px;
}

p.displaydate {
	/* the createed or updated date of
	a gallery or site shown on the front page
	icon list */	
	font-size: 0.8em;
}

.imagenav_buttons {
	display: block;
	width: 100%;
	height: 60px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.imagenav_buttons #back {
	float: left;
}

.imagenav_buttons #next {
	float: right;
}