* {
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0 0 10px 0;
	background: #f4f5eb;
	color: #404040;
	font: 62.5% "Lucida Grande", Verdana, Arial, sans-serif; /* Resets 1em to 10px */
	text-align: center;
}
img {
	border: 0;
}
a:link, a:visited {
	color: #7f807b;
	text-decoration: none;
}
a:hover {
	color: #404040;
}
#wrapper {
	margin: 10px auto 0;
	width: 850px;
	border: 1px solid #b3b6b0;
	background: #fff;
	position: relative;
}
b.cn {position: absolute; height: 3px; width: 3px; margin: 0; padding: 0; line-height: 1px; font-size: 1px;  } 
b.tl {top: -1px; left: -1px; background: url(images/bg-tl.gif) no-repeat; }
b.tr {top: -1px; right: -1px; background: url(images/bg-tr.gif) no-repeat; }
b.bl {bottom: -1px; left: -1px; background: url(images/bg-bl.gif) no-repeat; }
b.br {bottom: -1px; right: -1px; background: url(images/bg-br.gif) no-repeat; }

#header {
	text-align: left;
	padding: 20px 0 15px;
}
#header p {
	float: right;
	margin: 6px 25px 0 0;
	display: inline;
	text-align: right;
	font-size: 1.2em;
	/* allows you to add a few words to the top right of the gallery header */
}
#gallery-name {
	margin: 0;
	padding: 0 0 0 25px;
	/*color: #555;*/
	color: #0099FF;
	font-size: 2em;
}
#gallery-name a {
	color: #555;
}
#main-container {
}
#breadcrumbs {
	clear: both;
	margin: 0;
	font-size: 1.1em;
	min-height: 20px;
	background: url(images/lg-bg.gif) repeat-x bottom;
	border-top: 1px solid #b3b6b0;
	border-bottom: 1px solid #b3b6b0;
}
#slideshow {
	float: right;
	display: inline;
	padding: 4px 25px 0 0;
}
#breadcrumb_links {
	float: left;
	display: inline;
	padding: 4px 0 0 25px;
}
#thumbnail-container, #big-picture-container {
	margin: 10px 0 0;
	padding: 0;
}
#collections {
	text-align: left;
	margin: 0 0 0 25px;
	border-top: 1px solid #b3b6b0;
}
.collection {
	border-bottom: 1px solid #b3b6b0;
	padding: 10px 0;
	float: left;
	display: inline;
	width: 100%;
}
.collection img {
	border: 1px solid #dfded6;
	float: left;
	margin-right: 15px;
	padding: 3px;
	display: inline;
	background: #fff;
}
.collection img:hover {
	background: #eaeae0;
	border: 1px solid #b3b6b0;
}
.collection p {
	margin: 4px 0 0 0;
	line-height: 1.5em;
}
h2 {
	margin: 4px 0;
	padding: 0;
	/*color: #7f807b;*/
	color:#0066CC;
	font-size: 1.4em;
}

/* Begin Large Picture Page Section */
#picture-caption {
	/* ideally, no padding and width is equal THUMB_LARGE image */
	margin: 6px auto 6px;
	padding: 0 80px;
	font-size: 1.4em;
	text-align: center;
}
.date {
	padding: 0 0 2px 0;
	text-align: center;
	font-size: 1.1em;
	letter-spacing: 1px;
	color: #696a66;
}
#prev-link-container {
	width: 50%;
	text-align: left;
}
#next-link-container {
	width: 50%;
	text-align: right;
}
#nav-link-img-prev, #nav-link-img-next {
	padding: 6px 15px;
}
#nav-link-img-prev {
	float: left;
	display: inline;
}
#nav-link-img-next {
	float: right;
	display: inline;
}
#nav-link-img-prev a {
	border: 1px solid #fff;
	padding: 5px 15px;
}
#nav-link-img-next a {
	border: 1px solid #fff;
	padding: 5px 15px;
}
#nav-link-img-prev a:hover, #nav-link-img-next a:hover {
	border: 1px solid #b3b6b0;
	background: url(images/lg-bg.gif) repeat-x bottom;
}
#picture-holder {
	clear: both;
	margin: 10px 0 0 0;
}
#picture-holder a img {
	margin: 4px;
	padding: 3px;
	background: #fff;
	border: 1px solid #b3b6b0;
}
#picture-holder a:hover {
	white-space: normal;
}
#picture-description {
	margin: 6px auto 6px;
	padding: 0 80px;
	/* ideally, no padding, but width equal to THUMB_LARGE image */
	text-align: center;
	font-size: 1.1em;
}
#exif_toggle {
	margin: 0 0 20px 0;
	padding: 0;
}
#exif-toggle-container {
}
#exif_table {
}
#exif_data {
	margin: 0 auto 0;
	text-align: left;
}
#exif_data td {
	padding: 0 20px;
}
#comment-section {
	margin: 10px 25px 10px 25px;
	clear: both;
	text-align: left;
}
.comment-heading {
	margin: 12px 0 0 0;
}
#thumb-nav {
	list-style-type: none;
	margin: 25px;
}
#thumb-nav li {
	float: left;
	margin: 0 10px 0 0;
}
#thumb-nav li img {
	border: 1px solid #dfded6;
	padding: 3px;
	display: inline;
	background: #fff;
}
#thumb-nav li img:hover {
	background: #eaeae0;
	border: 1px solid #b3b6b0;
}
/* test the following stuff */
#comment-section form p {
	margin: 6px 0;
}
.comment, .comment_alt {
	border-top: 1px solid #dfded6;
	margin: 0;
	padding: 15px;
	list-style: none inside;
}
.comment_alt {
	background: #f4f5eb;
}
.comments p {
	margin: 0;
	font-size: 1.1em;
	line-height: 1.3em;
	padding: 0 0 15px;
}
.comments cite {
	margin-top: 8px;
	padding: 5px 5px 5px 23px;
	color: #000;
	background: url(images/com-bubble.gif) no-repeat 0 5px ;
	font-size: 1.0em;
	text-transform: uppercase;
	letter-spacing: 1px;
	height: 28px;
}
.comments-closed {
	color: #996;
	text-align: center;
}
#comment-section p.inputbuttonp {
	padding: 0 0 0 3px;
	background: url(images/btn-lt-bg.png) no-repeat left;
	/* this is the little left end cap of the button */
}
/* End Large Picture Page Section */

#no-pictures-msg {
	margin: 0 0 200px;
	padding: 80px 0;
	font-size: 1.4em;
	text-align: center;
}

#rss-image {
	margin: 0;
	padding: 0;
	display: inline;
}

.errors {
	margin: 0 0 15px 0;
	padding: 8px 8px 8px 30px;
	border: 1px solid #e3071f;
	font-size: 1.1em;
	color: #000;
	background: #f5a7ab url(images/null.gif) no-repeat 5px 5px;
}
.meta-header {
	margin: 0;
	padding: 0;
	color: #aaa;
	font-size: 90%;
}
.page_link {
	padding-left: 1px;
	padding-right: 1px;
	text-decoration: none;
}
.print {
}
div.large-thumb-toolbar {
	padding: 15px 0;
	text-align: center;
}
div.large-thumb-toolbar a {
	padding: 0 4px;
}
.photos-large {
	margin: 0 0 20px 0;
}

ul.slides {
	margin: 0 0 0 10px;
	padding: 0;
}
ul.slides li {
	/* width is calculated by PHP in the HTML, style is applied inline */
	float: left;
	margin: 5px;
	padding: 10px;
	display: inline;
	text-align: center;
}
ul.slides li img {
	border: 1px solid #dfded6;
	background: #fff;
	padding: 3px;
}
ul.slides li a {
	display: block; /* display:block required to make anchor tag's border surround img in Firefox */
}
ul.slides li img:hover {
	border: 1px solid #b3b6b0;
	background: #eaeae0;
}
.checkbox {
	clear: both;
	margin: 4px auto 0;
	padding: 0;
}
.thumbnail p {
	padding: 0 6px;
	margin: 4px 0 0 0;
	line-height: 1.2em;
	font-weight: bold;
	height: 2.5em;
	overflow: hidden;
	/* width is equal to the width of the thumbnail image, set inline in album.php */
}

/* Begin Footer Section */
#pagination {
	clear: both;
	padding: 10px 25px;
	font-size: 1.2em;
}
input {
	display: inline;
	height: 17px;
}
option {
	padding: 0 4px;
}
#download-selected {
	clear: both;
	float: left;
	display: inline;
	margin: 0 0 20px 25px;
}
#download-selected input {
	text-align: left;
	width: 135px;
	background: url(images/btn-bg-135.png) no-repeat left;
}
/*
#download-selected div, #download-selected span {
	text-align: left;
	width: 140px;
	/* this is the little left end cap of the button */
/*
	padding: 0 0 0 3px;
	background: url(images/btn-lt-bg.png) no-repeat left;
}
*/
#sort-control {
	margin: 0 25px 20px 0;
	float: right;
	display: inline;
}
#sort-control span {
	float: left;
	margin-left: 8px;
	display: inline;
	font-size: 1.2em;
}
#change_sortby {
	margin-left: 5px;
}
#footer {
	clear: both;
	padding: 0 25px;
	border-top: 1px solid #b3b6b0;
}
#search-container {
	float: right;
	white-space: nowrap;
	margin: 20px 0 0;
}
#search-container input {
	float: left;
}
#navigation-container, #rss-tag-container {
	float: left;
	white-space: nowrap;
	margin: 20px 0 0;
}
input.submit {
	font: 1.1em/1.8em "Lucida Grande", Verdana, Arial, sans-serif; /* Resets 1em to 10px */
	height: 21px;
	border: none;
	margin: 0;
	padding: 0 10px 2px;
	background: #fff url(images/btn-bg.png) no-repeat right;
	cursor: pointer;
}
#link-back {
	clear: both;
	padding: 8px 0 2px;
	color: #7f807b;
	display: block;
	font-size: 90%;
	text-align: center;
}
.credit {
	padding: 0 0 14px;
	color: #7f807b;
	font-size: 90%;
	text-align: center;
}
.clearfix:after {
	clear: both;
	display: block;
	content: ".";
	height: 0;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
/* End hide from IE-mac */
