/* Basics
------------------------------ */
html { /* Moz */ height: 100%; }

#credit, #sort {
	margin: 0 auto;
	width: 100%;
	font-size: 85%;
	color: #333;
	text-align: right;
	clear: both;
}
#gallerytitle {
	border-bottom: 1px solid #EEE;
	margin-bottom: 10px;
}
#gallerytitle h1 {
	font-weight: normal;
	font-size: 1.2em;
	margin-top:10px;
	width:700px;
	height:2em;
}

/* Miscellaneous
------------------------------ */
hr {
	clear: both;
	height: 0;
	border: 0;
	border-top: 1px solid #E6E6DF;
	margin: 0 0 12px 0;
	padding: 0;
}
img { border: 0; }
blockquote {
	border-left: 1px dotted #96967E;
	margin-left: 20px;
	padding-left: 20px;
	color: #363630;
}

#imagemetadata { text-align:right; position:relative; display:none; }
#imagemetadata table {
  text-align: left;
  line-height: 1em;
  border: 1px solid #ccc;
  position: absolute;
  top: 2em;
  right: 0px;
  background-color: #fafafa;
}
#imagemetadata table td {
  border-bottom: 1px solid #f0f0f0;
  background-color: #f8f8f8;
  padding: 2px 5px;
}


/* Page Navigation
------------------------------ */
ul.pagelist { clear:both; padding:0; margin:20px 0 0 0; list-style-type:none; }
ul.pagelist li { display: inline; }
ul.pagelist li a, ul.pagelist span.disabledlink { padding: 4px; }
ul.pagelist li.current a {
	font-weight: bold;
	text-decoration: none;
	cursor: default;
	color: #5A5A4B;
}
ul.pagelist li.prev { margin-right:10px; }
ul.pagelist li.next { margin-left:10px; }
.disabledlink { color: #ddd; cursor: default; }
.pagenav { clear: both; }
.disabled_nav { visibility: hidden; }


/* AJAX
------------------------------ */
#albumDescEditable, #albumTagsEditable { margin-bottom: 12px; }
#imageDescEditable, #albumTagsEditable { margin-top: 24px; }
#imageDesc { margin:10px 0 10px 0; }
#tagContainer { margin:5px 0 10px 0; }

/* Tags
------------------------------ */
.taglist ul { display: inline; list-style-type: none; }
.taglist li {
	background: url(../images/tag.png) no-repeat left center;
	list-style-type: none;
	padding-left: 18px;
	float:left;
	padding-right: 5px;
	color: #999999;
}
.taglist .tags_title { background: none; padding-right: 5px; padding-left: 0; }

/* Image Thumbnails
------------------------------ */
.imagethumb a, .imagethumb a:hover {
	display: block;
	padding: 1px;
	margin: 0px 5px 5px 0;
	line-height: 0px;
	border: 1px solid #EEE;
	width:140px;
	height:194px;
}
.imagethumb a:visited { background-color: #fcfcfc; border: 1px solid #f8f8f8; }
.imagethumb a:hover { border: 1px solid #CCC; }
.imagethumb { float: left; }
.albumdesc2 { line-height: 1.2em; }


/* Album Thumbnails
------------------------------ */
#albums { float: left; }
.album {
	margin: 0 5px 5px 0;
	padding:5px;
	float: left;
	width: 283px;
	height:194px;
	/*border:1px solid #CCC;*/
	/* background:#EEE; */
	/*line-height: 100%;*/
}
.album a img { }
.album a { text-decoration:none;  }
.album a:hover { text-decoration:none; color:#DE3737; }
.album .thumb { float: left;  margin-right:5px; }
.album h2 { padding:0; margin:0; font-size:1.2em; line-height:1.2em; }
.album p { padding: 4px 0px 0px; margin: 0px; }
.albumdesc small { color: #DE3737; }


/* Individual Image
------------------------------ */
.image { margin: 0; padding: 0; border: 0; }
#image { text-align: center; line-height: 0; }
.imgnav {
	float: right;
	width: 130px;
	text-align: center;
	border: 1px solid #CCC;
	background: #EEE;
	margin-top:1px;
}
.imgnav .imgprevious a, .imgnav .imgnext a {
	display: block;
	width: 50%;
	height: 100%;
	float: left;
	padding: 4px 0;
	font-size: 120%;
	text-decoration: none;
	line-height: 180%;
	color:#333;
}
.imgnav .imgprevious a:hover, .imgnav .imgnext a:hover {
	background-color: #fff;
	text-decoration: none;
	color: #333;
}
.imgnav .imgprevious a { float: left; }
.imgnav .imgnext a { float: right; }
#narrow { margin: 0 auto; width: 600px; }


/* Comments
------------------------------ */
#comments { clear:both; }
.error { color:#DE3737; font-weight: bold; }
.comment {
	padding: 10px;
	border: 1px solid #CCC;
	background: #EEE;
	margin-bottom: 10px;
}
.commentmeta { margin-bottom: 10px; }
.commentauthor { font-weight: bold; }
.commentdate { margin-top: 12px; color: #DE3737; font-size: 85%; }


/* Forms
------------------------------ */
/*.inputbox { width: 250px; padding: 2px; }
textarea { padding: 4px; width: 100%; color: #5A5A4B; }
.checkbox { cursor: pointer; }
.pushbutton { cursor: pointer; padding: 5px 10px; }
label { cursor: pointer; }
label:hover { color: #000; }
#map {margin-left: -77px;}*/

/* Admin Toolbox
------------------------------ */
#admin, #admin_data{
	position: fixed;
	_position: absolute;
	right: 0px;
	top: 0px;
	width: 130px;
	border-bottom: 1px solid #E6E6DF;
	border-left: 1px solid #E6E6DF;
	background: #fff;
    z-index: 2;
}
#admin_data{
	top: 0px;
	padding-top: 20px;
	z-index: 1;
	line-height: 1.6em;
}
#admin h3 {
	font-weight: normal;
	color: #999;
	margin:0;
	padding:0;
}
#admin h3:hover { color: #036; }

/* Search Box
------------------------------ */
#search {
	float: right;
	text-align: center;
	background: #fff;
}
#search input.pushbutton {
	padding: 1px;
	font-size: 80%;
}
#search ul {
  position:absolute;
  text-align: left;
  width:20px;
  margin:0px;
  padding:2px;
  list-style:none;
}
#search ul .item {
  display:none;
}
#search ul:hover .item {
  display:block;
  padding:1px;
  margin:0px;
  background:#fff
}
#search li {
width:150px;
}
.clear {
  clear:both;
  height:10px;
}

/* Archive View
---------------------------- */
#archive{
	width: 300px;
	margin: 0 auto;
	text-align: center;
}
ul.archive * {
	padding:0;
	margin:0;
	list-style:none;
}
ul.archive #year {
	margin-top:10px;
	text-align: center;
	margin-bottom:5px;
	font-weight:bold;
	font-size:18px;
}
ul.archive #month {
	font-size: 14px;
	list-style:none;
	border-top:2px solid #E6E6DF;
	padding-top: 5px;
}

/* Tag Cloud
---------------------------- */
#tag_cloud {
	text-align: center;
	background: #eee;
}
#tag_cloud p {
	padding:10px 0;
	margin:20px 0;
	background: #fff;
	border-top: 3px solid #E6E6DF;
	border-bottom: 3px solid #E6E6DF;
	font-size: 18px;
	font-weight:bold;
	text-align: center;
}

