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

.left {
	text-align:left;
}


/* Main Layout
------------------------------ */
#main {
	text-align: left;
	margin: 20px auto;
	width: 685px;
	background: #FEF4E2;
	padding: 20px 30px 70px;
	border: 1px solid #A4A193;
}

#main-index {
	margin:0 auto;
	width:94%;
}

#main-index #gallerytitle {
	margin-bottom: 10px;
}

#credit, #sort {
	margin:0 auto;
	width:640px;
	font-size:11px;
	text-align:right;
	clear:both;
}

#credit a, #sort a {
	text-decoration: none;
	color: #96967E;
	border-bottom: 1px dotted #96967E;
}

#credit a:hover, #sort a:hover {
	color: #BDBDAE;
	border-bottom: 1px solid #BDBDAE;
	text-decoration: none;
}

#gallerytitle {
	margin-bottom: 20px;
	text-align:center;
}

#gallerytitle h2 {
	line-height:100%;
}


/* 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;
}
ul.pagelist li.prev {
	margin-right: 10px;
}
ul.pagelist li.next {
	margin-left: 10px;
}
.disabledlink {
	color: #ddd;
	cursor: default;
}
.pagenav {
	clear: both;
}


/* AJAX
------------------------------ */
#albumDescEditable {
	margin-bottom: 12px;
}
#imageDescEditable {
	margin-top: 24px;
}


/* Image Thumbnails
------------------------------ */

#albumdesc {

}


#images {
	margin:24px auto 0 auto;
	width:600px;
}

.imagethumb a {
	display: block;
	padding: 10px;
	margin: 6px;
	border: 1px solid #B5B3AB;
	background: #f7f7f7;
	line-height: 0px;
}

.imagethumb a:visited {
	border: 1px solid #65DC65;
	background: #D4F7D4;
}

.imagethumb a:hover {
	border: 1px solid #65DC65;
	background: #D4F7D4;
}

.imagethumb {
	float: left;
}


/* Album Thumbnails
------------------------------ */
#albums {
	}

.album {
	padding:10px 10px 0px 10px;
	clear: both;
	border: 1px solid #686458;
	background: url(bg.gif);
	margin:0 auto 12px auto;
	}

.album img {
	border:1px solid #B5B3AB;
	float: left;
	margin:0 12px 12px 0;
	}

.album h3 {
	font-size:1.2em;
	padding:0 0 0 0;
	margin:2px 0 6px 0;
	}

.album h3 a {
	padding:0px;
	}

.album p {
	margin:0;
	padding:0 0 4px 0;
	}

.albumdesc {
	padding: 0 10px;
	}

.albumdesc small {
	margin-top: 8px;
	line-height: 130%;
	width: 120px;
	float: right;
	color: #8DB8CF;
}


/* Individual Image
------------------------------ */
#imagenav {
	margin: 0 auto;
	margin-bottom:-1px;
	padding:0;
	position:relative;
	z-index:999;
	}

.image { 
	border:0;
	margin: 0;
	padding:0;
}

#image {
	background: #f7f7f7;
	border: 1px solid #686458;
	line-height: 0;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	}

#image img {
	border: 1px solid #c0c0c0;
	display: block;
	}

.imgprevious {
	background:#f7f7f7;
	border: 1px solid #686458;
	border-bottom-color:#F7F7F7;
	float:left;
	margin-left:-11px;
	text-align:center;
	width:85px;
	}

.imgnext {
	background:#f7f7f7;
	border: 1px solid #686458;
	border-bottom-color:#F7F7F7;
	float:right;
	margin-right:-11px;
	text-align:center;
	width:85px;
	}

#imgslideshowlink {
	background:#f7f7f7;
	border: 1px solid #686458;
	border-bottom-color:#F7F7F7;
	margin: 0 auto;
	margin-bottom:-26px;
	position:relative;
	text-align:center;
	width:120px;
	z-index:1100;
}

.imgprevious a, .imgnext a, #imgslideshowlink a {
	display:block;
	padding:4px 0;
	text-decoration:none;
	}

#imgslideshowlink a {
	padding:5px 0;
	}



/* container for comments, description, form etc
------------------------------ */
#narrow {
	margin: 0 auto;
}


#rating {
	font-size:11px;
	margin:0px auto 10px auto;
	text-align:center;
}


/* Comments
------------------------------ */
div.imgcommentform {
	margin:20px auto;
	text-align:left;
	width:620px;
	}

div.imgcommentform h4 {
	padding-bottom:6px;
	}

#comments {
	clear: both;
	margin:20px auto;
	text-align:left;
	width:620px;
}

#comments h4 {
	padding-bottom:6px;
	}

.error { 
	background:#FBEFEF;
	border:2px solid #C33;
	color: #C33; 
	padding:6px;
	margin:10px auto;
	}

.comment {
	padding: 10px;
	border: 1px solid #686458;
	background: #FBFCFD;
	margin-bottom: 12px;
}

.commentmeta {
	margin-bottom: 12px;
}

.commentauthor {
	font-weight: bold;
}

.commentdate {
	margin-top: 12px;
	color: #8DB8CF;
	font-size: 85%;
}


/* Forms
------------------------------ */
.inputbox {
	width: 250px;
	padding: 2px;
}
textarea {
	padding: 4px;
	width: 100%;
	color: #5A5A4B;
	font: 100% "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.checkbox {
	cursor: pointer;
}
.pushbutton {
	cursor: pointer;
	padding: 5px 10px;
}
label {
	cursor: pointer;
}

label:hover {
	color: #000;
}
#map {margin-left: -77px;}
#rating { margin-top: 10px; }


/* Thumbnail Preview selectbox effect.
------------------------------------- */

.thumbselect {
  height: 80px;
  padding-left: 90px;
  background-repeat: no-repeat;
  background-position: center left;
}

.thumboption {
  padding-left: 90px;
  height: 220px;
  margin-bottom: 2px;
  background-position: center left;
}

/* Other...
------------------------------------- */

#printImageDesc {
	border-bottom:1px dashed #9D6606;
	margin:14px auto;
	padding-bottom:14px;
	padding-top:14px;
	text-align:left;
	width:620px;
	}

#printImageDesc h4 {
	padding-bottom:10px;
}

#printSlideShowLink {
	margin:14px auto;
	text-align:center;
}

