a.bar {
	font-weight: normal;
	border: 0;
	float: left;
	margin: .25em;
	text-align: center;
}
img.noborder {
	border: 0;
}
a:link.bar { text-decoration: none; }
a:active.bar { text-decoration: none; }
a:visited.bar { text-decoration: none; }

/**
 * Global 
 */ 
body {
	font-size: 14px;
	background-color: #F7F7FF;
	background-image: url(../../pics/brush.jpg);
}
a:hover { color: #ff9400; }
a:visited { color: #676767; }
a {
	font-weight: bold;
	color: #5555aa;
}

/**
 * Both gallery and photo pages
 */
div.galleryheader{
	margin: .5em .5em .5em 0;
	text-align: left;
	float: left;
}


/**
 * Gallery Page
 */
p,div.imagecount {
	float: left;
	font-weight: lighter;
	clear: right;
	margin: .5em .5em .5em 0;
}
p.directoryheader {
	text-align: left;
	margin-bottom: 0;
}
div.galleries, div.galleryimages {
	clear: both;
	background-color: #ffffff;
	border: 1px solid #666666;
	padding: 10px;
	margin-bottom: .25em;
	text-align: left;
	top: 0px;
}
div.subgallery {
	float: left;
	height: 100px;
	padding: 2px;
	text-align: center;
	width: 96px;
}
a:link.imagelink, a:visited.imagelink, a:imageline.active
{ text-decoration: none; }
img.subgallery {
	border: 0px;
	margin: 0;
}
div.gallerycomment {
	text-align: left;
	background-color: #eeeeee;
	border: 1px dashed #888888;
	color: #666666;
	padding: 5px;
	margin-bottom: .5em;
	clear: both;
}
img.picture {
	padding: 2px;
	border: 1px solid #000000;
	background-color: #cccccc;
}

img.picturecomment {
	padding: 2px;
	border: 1px solid #000000;
	background-color: #2ec3d3;
}
/**
 * Photo Page
 */
div.imageof {
 	margin: .5em;
	float: left;
}

div.slideshow {
	clear: left;
	float:left;
	margin: -.5em 0 .5em 1em;
	font-weight: lighter;
}

/* The the previews */
div.previews {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
img.preview, img.previewtext, img.previewselected{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: .25em;
	border: 0px;
	padding: .25em;
	vertical-align: middle;
}
img.previewselected {
	border: 1px solid #000;
}

/* The Main Image that is being viewed*/
div.mainimage {
	clear: both;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
img.mainimage {
	border: 0px solid #000;
}

/* Image comment & information */
div.imagecomment, div.infobox {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color: #eeeeee;
	border: 1px solid #888888;
	color: #666666;
	padding: .5em 0 .5em 0;
	margin-bottom: .25em;
}

a.nextimage { float: right; }
a.previmage { float: left; }

/* Find Page */
p.searchingfor {
 	margin: .5em;
	float: left;
	clear: right;
}
div.searchresults {
	clear: both;
	background-color: white;
	border: 1px solid #888888;
	padding: .5em;
}

/* footer gallery_bottom*/
div.bottom { 
	clear: both;
	margin-left: auto;
	margin-right: auto;
}
div.prefs { float: left; }
div.search { text-align: center; }
div.copyright { float: right; }

/* other pages */
div.login, div.userprefs, div.saveprefs, div.savecomment {
	background-color: white;
	border: 1px solid black;
	margin-top: .5em;
	padding: .5em;
}
