/*

	Hardy har-har. Non-optimized and a bit of a mess!

*/

/* Basics
------------------------------ */
html {
	/* IE */
	overflow-y: scroll;
	/* Moz */
	height: 100%;
	margin-bottom: 0em;
}

/* Main Layout
------------------------------ */
html, body { min-height:100.1%; }
body {
	background-image: url(images/frmbg.png);
	margin: 0;
	padding: 15px 0 0 0;
}
#main {
	margin-right: auto;
	margin-left: auto;
	width: 640px;
}
#frmt {
	background-image: url(images/frmt.png);
	height: 32px;
}
#frmm { background-image: url(images/frmm.png); }
#frmb {
	background-image: url(images/frmb.png);
	height: 18px;
}


/*  */
#pagenumbers, #moreinfo {
	clear: both;
	text-align: center;
	margin: 0 auto; /*  20px auto; */
}
#moreinfo {
	text-align: left;
	padding-top:10px;
}


/* Footer
------------------------------------ */
#footer {
	color: #b1aea7;
	font-size: 11px;
	text-align: center;
	padding: 0 0 2px 0;
	clear: both;
}
#footer a {
	color: #b1aea7;
	border: none;
}
#footer a:hover {
	color: #fff;
	border: none;
}


/* Text Styles
------------------------------ */
body {
	font-family: Verdana,Arial,sans-serif;
	font-size: 11px;
	text-align: center;
	color: #666;
}
h2, h3 {
	font: 120% "Trebuchet MS", Helvetica, Arial, sans-serif;
	color: #666;
}
h2 { margin-top: 25px; }
h3 { margin-top: 30px; }
#sitetitle {
	font-size: 12px;
	text-align:left;
	width: 600px;
	margin: 0 auto;
	color: #fff;
}
#menu {
	width: 575px;
	text-align: right;
	margin: 0 auto;
	padding-top:0px;
	padding-bottom:2px;
	border-bottom: 1px solid #ccc;
	font-size: 12px;
}


/* Link Styles
------------------------------ */
a:link, a:active { text-decoration: none; color: #666; }
a:visited { text-decoration: none; color: #888; }
a:hover, a:focus { text-decoration: none; color: #d58900; }
h2 a:link, h2 a:visited, h2 span { color: #ccc; }
h2 a:hover { color: #fff; }
#sitetitle a { color: #fff;}
#sitetitle a:hover { color: #edad00; }
#menu a {
	text-decoration: none;
	color: #666;
	font-size: 12px;
}
#menu a:hover {
	text-decoration: none;
	color: #d58900;
	font-size: 12px;
}


/* Miscellaneous
------------------------------ */
hr {
	clear: both;
	height: 0;
	border: 0;
	border-top: 1px solid #e6e6df;
	margin: 0 0 12px 0;
	padding: 0;
}
img { border: 0; }
.thanks { 
	font: 24px "Trebuchet MS", Helvetica, Arial, sans-serif;
	color: #006400;
	padding-bottom: 4px;
}


/* Page Navigation
------------------------------ */
ul.pagelist {
	clear: both;
	padding: 0;
	margin: 20px 0 0 0;
	list-style-type: none;
	font-size: 12px;
}
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; }


/* AJAX
------------------------------ */
#albumDescEditable { margin-bottom: 12px; }
#imageDescEditable { margin-top: 24px; }
#imageEXIF {
	margin-top: 20px;
	background: #ddd;
	color: #600;
}


/* 	Index: Header, Gallery Thumbnails
------------------------------------ */
#randomhead {
	padding: 6px 0 0 0;
	margin: 0 auto 14px auto;
	width: 600px;
	border: none;
	line-height: 0px;
}
#randomhead img {
	border-right: 2px solid #aaa;
	border-bottom: 2px solid #aaa;
}
.galleries {
	float: left;
	width: 600px;
	margin: 0 0 15px;
	padding: 1px 0 0 20px;
	text-align: center;
}
.index .galleries {
	margin-bottom:10px;
	padding-bottom:1px;
}
.galleries ul {
	float: left;
	width: 100%;
	margin: 0;
	padding-left: 45px;
	list-style: none;
	text-align: left;
}
.galleries li {
	background:url(images/bg_thumb.png) 0px -1px no-repeat!important;
	background:url(images/bg_thumb.gif) 1px -1px no-repeat;
	position: relative;
	float: left;
	width: 220px;
	margin: 0;
	padding: 4px 45px 20px 7px;
}
.galleries img { padding-left: 4px; }
.galleries h3 {
	font-size: 1.5em;
	padding: 12px 0 0 0;
	margin: 0;
	color: #d58900;
}


/* Album:
------------------------------ */
#albumimages { padding: 0 0 0 40px; }
#albumtitle {
	clear: both;
	float: left;
	font-size: 1.25em;
	color: #d58900;
	padding: 8px 0 4px 0;
}
#albumdesc {
	float: left;
	margin: 0 auto;
	width: 510px;
	text-align: left;
	padding: 0 0 10px 25px;
}
#thumbsbox {
	margin: 0;
	padding: 0;
	border: 0;
}


/* Album: Thumbnails
------------------------------ */
div.imagethumb a, .div.imagethumb a:visited {
	display: block;
	padding: 6px;
	margin: 6px;
	border-top: 1px solid #eee;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #eee;
	background: #eee;
	line-height: 0px;
}
div.imagethumb a:hover{
	border: 1px solid #d58900;
	background: #FFEFD5;
}
div.imagethumb a:hover img{
  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
  -moz-opacity: 1;
}
div.imagethumb {float: left; }



/* Image: Image Display
------------------------------ */
#imageHolder { position: absolute; }
#imagenav {
	float: right;
	text-align: right;
	width: 100px;
}
#imagenav a {
  text-decoration: none;
  color: #5a5a4b;
  font-size: 12px;
  }

#imagenav a:hover {
	text-decoration: none;
	color: #d58900;
	font-size: 12px;
}
#imageref {
	float: left;
	width: 315px;
	text-align: right;
}


/* ImagePhoto
------------------------------------ */
#image img{
	padding-top:7px;
	padding-bottom:3px;
	border:none;
}
#imageinfo {
	clear: both;
	width: 550px;
	margin: 0px auto;
	text-align: left;
	font-size: 12px;
}

#imagetitle {
	clear: both;
	float: left;
	font-size: 1.25em;
	color: #d58900;
	padding-bottom: 4px;
}
#imagedesc {
	float: left;
	margin: 0 auto;
	width: 510px;
	text-align: left;
	padding: 0 0 10px 25px;
}


/* EXIF display
------------------------------ */
div#exifTab {
	position: absolute;
	top: 0px;
	left: 3px;
	width: 15px;
	height: 75px;
	background: transparent;
	color: #fff;
	font-size: 10px;
	font-weight: normal;
	line-height: 12px;
	margin: 0;
	padding: 0;
	text-align: center;
	/* z-index: 100; */
}
div#exifTab a {
	display: block;
	border: none;
	text-decoration: none;
	color: #900;
}
div#exifTab a span { display: none; }
div#exifTab a:hover {
	color: #411;
	background: transparent;
	border: none;
}
div#exifTab a:hover span {
	text-align: left;
	display: block;
	position: absolute;
	font-size: 11px;
	line-height: 15px;
	top: -12px;
	left: 5px;
	width: 225px;
	padding: 7px;
	margin: 10px;
	z-index: 100;
	border: 2px solid #666;
	background: #eee;
	color: #333;
}
div#exifTab a img { border: none; }


/* Comments
------------------------------ */
#commenthdr {
	color: #98958f;
	font-size: 12px;
}
#comments {
	clear: both;
	margin: 10px 0 30px 0;
}
.error { 
	color: #ff0000;  
}
.comment { margin-bottom: 20px; }
.commentinfo {
	color: #98958f;
	border-bottom: 1px solid #d8d6cf;
	padding: 5px 0 3px 0;
}
.commenttext {
	margin-top: 5px;
	padding: 0 5px;
	color: #98958f;
}
.commentbody { margin: 5px 0px; line-height: 1.3em; }

#commain {
	margin-right: auto;
	margin-left: auto;
	width: 490px;
	padding-top: 15px;
}
#addcomment {
	width: 480px;
	margin: 0 auto;
	text-align: left;
	padding-bottom: 1px;
}
#addcomment h3 {
	font: 120% "Trebuchet MS", Helvetica, Arial, sans-serif;
	color: #666;
	margin-top: 10px;
}


/* Forms
------------------------------ */
/* Comment */
#commentform { margin-top: 10px; }
#commentform input {
	font: 12px/22px Arial, Helvetica, Tahoma, Verdana, sans-serif;
	background: #fff;
	border-top: 1px solid #b1aea7;
	border-right: 1px solid #b1aea7;
	border-bottom: 1px solid #c4c2bb;
	border-left: 1px solid #c4c2bb;
	padding: 2px;
	color: #98958f;
}
#commentform input:focus {
	background: #fafaf9;
}
#commentform textarea {
	font: 12px/16px Arial, Helvetica, Tahoma, Verdana, sans-serif;
	background: #fff;
	border-top: 1px solid #b1aea7;
	border-right: 1px solid #b1aea7;
	border-bottom: 1px solid #c4c2bb;
	border-left: 1px solid #c4c2bb;
	color: #7b7871;
	margin: 2px 0 5px 0;
	padding: 3px;
	width: 480px;
}
#commentform textarea:focus { background: #fafaf9; }


/* Lightbox CSS
------------------------------------ */
#lightbox {
	background-color: #eee;
	padding: 10px;
	border-bottom: 1px solid #666;
	border-right: 1px solid #666;
}
#overlay {
	text-align: left;
	background-image: url(addons/lightbox/overlay.png);
}
#lightboxCaption {
	color: #333;
	background-color: #eee;
	font-size: 90%;
	text-align: center;
	border-bottom: 1px solid #666;
	border-right: 1px solid #666;
}
* html #overlay {
	background-color: #000;
	background-image: url(addons/lightbox/blank.gif);
	filter: Alpha(opacity=50);
}

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