p {
	
	margin-top: 0;
	padding: 0;
}/* These styles are just for the test template. Make some better ones. And yes, I know it's messy ;-) */
body {
	margin: 0;
	padding: 0;
	font-family:  Helvetica, sans-serif;
	font-size: 14px;
	text-align: left;
}

img {
	border: none
}

#main {
	
	margin: 23px 0 0 14px  ;
	text-align: left;
	
}
#mainImage {
	
	width: 550px;
}
#menu-and-images {
	
	white-space: nowrap;
}

#albumTitle {
	position: absolute;
	width: 550px;
	margin: 0;
	top: 16px;
	left: 222px;
	text-align: right;
	
}



.albumthumb {
white-space: normal;
	border: 0px;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	

	text-align: center;
	
}


.imagethumb img,.image img {
	border: 0px;
	margin: 0px;
	padding: 0px;
}

.image {
	margin: 0;
	margin-left: 5px;
	margin-top: 0px;
	padding: 0px;
	display:table-cell;
	display:inline-block;
	zoom:1;
	*display:inline;
	white-space: normal;
	vertical-align: top;

}

.indeximage {
	margin: 0;
	margin-left: 39px;
	margin-top: 0px;
	padding: 0px;
	display:table-cell;
	display:inline-block;
	zoom:1;
	*display:inline;
	vertical-align: top;
}
hr {
	clear: both;
	height: 0px;
	border: 0px;
	border-top: 1px solid #ccc;
	margin-top: 0px;
	padding: 0px;
}

.imgnav {
	margin-top: 10px;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: normal;
	color: #333;
	text-align: center;
}
.imgprevious {
	margin-right: 10px;
	float: left;
	text-align: right;
}
.imgnext {
	margin-left: 10px;
	float: right;
	text-align: left;
}
.imgnav a:hover,.imagenav a:active {
	color: #333;
	text-decoration: none ;
}

#images {
	margin: 5px 0px 10px;
	
	display: inline;
	white-space: nowrap;

}

#albums {
	
	margin: 0px;
	padding: 0px;
	margin-left: 24px;
	
	
}
#thumbs{
	margin: 0;
	top: 75px;
	left: 225px;
	
	padding: 0px;
	white-space: normal;
	
	position: absolute;
}
#fullimage{
	margin: 0;
	top: 110px;
	left: 135px;
	padding: 0px;
	white-space: normal;
	width: 860px;
	position: absolute;
}
#pageContent {
	color: #0;
	width: 550px;
	line-height: 17px;
}


.disabled_nav {
	visibility: hidden;
}

.disabledlink {
	color: #ddd;
	cursor: default;
}

.albumtitle H3 {
	margin: 0px;
	padding: 0px;
}

A:link,A:visited {
	text-decoration: none;
	color: #3366CC;
}



UL.pagelist {
	padding: 0px;
	margin: 5px auto auto 0px;
	list-style-type: none;
	height: 2em;
	
	
}

UL.pagelist LI {
	display: inline;
	font-weight: normal;

}

UL.pagelist LI A,UL.pagelist LI span.disabledlink {
	display: block;
	float: left;
	padding: 2px 8px;
	
	text-decoration: none;
	color: #000;
}

UL.pagelist LI span.disabledlink {
	
	color: #000;
	cursor: default;
}

UL.pagelist LI A:hover {

	color: #f00;
}

UL.pagelist LI.current A {
	font-weight: bold;
	color: #000;
	cursor: default;
}

#comments {
	border: 1px solid #f0f0f0;
	padding: 15px 20px;
	margin: 15px 0px;
	width: 360px;
	display: block;
	clear: both;
	padding-top: 10px;
}

.comment {
	margin: 15px 0px;
	padding: 10px 10px;
	border: 1px solid #f0f0f0;
	background-color: #f8f8f8;
}

.commentcount {
	font-weight: normal;
	font-size: 11pt;
	margin-top: 10px;
}

.commentmeta {
	color: #999;
}

.commentauthor {
	font-weight: bold;
}

.commentbody {
	margin: 5px 0px;
	line-height: 1.3em;
}

.commentform INPUT {
	margin-top: 4px;
	border: none;
}

.commentform TEXTAREA {
	margin-top: 4px;
	font-family: Arial, helvetica, verdana, sans-serif;
	font-size: 10pt;
	border: 1px solid #eee;
}

.error {
	color: #C33;
	font-weight: bold;
}

#admin, #admin_data {
	position: fixed;
	right: 0;
	top: 0;
	border-left: 1px solid #E6E6DF;
	border-bottom: 1px solid #E6E6DF;
	background: #fff;
	width: 120px;
}

#admin, #admin_data ul {
	text-align:center;
	margin: 0;
	padding: 0;
}

#admin_data {
	top: 15px;
}

#admin h3 {
	font: 100% "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #000;
	border-bottom: 1px dashed #E6E6DF;
	margin: 0;
	padding: 0;
}

#search {
	float: right;
	text-align:left;
	margin-top: -15px;
}

#search #search_input {
	width: 75px;
}
#search a {
text-decoration: none;
}
#search ul {
border: 1px solid #ccc; position:absolute; text-align:left; list-style: none; 
height: 8em; width: 20em; overflow: auto;
color: black;
background:transparent;
}

.clear {
	clear: both;
	height: 10px;
}

#map {
	margin-top: 25px;
}

#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: 0;
	background-color: #fafafa;
}

#imagemetadata table td {
	border-bottom: 1px solid #f0f0f0;
	background-color: #f8f8f8;
	padding: 2px 5px;
}

#fullsize_download_link {
	font-size: 8pt;
	text-align: right;
	float: right;
}

#meta_link {
	font-size: 8pt;
	text-align: left;
	float: left;
}

#image_data {
	margin-bottom: 15px;
}

/* Archive View  */
#archive {
	width: 300px;
	padding: 0;
	margin: 0 auto;
	text-align: center;
}

ul.archive * {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.archive .year {
	margin-top: 10px;
	text-align: center;
	color: #FF6600;
	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;
	margin-bottom: 15px;
}

#tag_cloud ul li {
	display: inline;
	list-style-type: none;
}

#tag_cloud p {
	color: #FF6600;
	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;
}

/* Tags */
.taglist ul {
	display: inline;
	list-style-type: none;
}

.taglist li {
	background: url(tag.png) no-repeat left center;
	list-style-type: none;
	line-height: 18px;
	padding-left: 18px;
	float: left;
	padding-right: 5px;
}

.taglist .tags_title {
	background: none;
	padding-right: 5px;
	padding-left: 0;
}

.rating {
	margin-top: 15px;
	margin-bottom: 15px;
}

/* Error Messages
------------------------------ */
.errorbox {
	padding: 20px;
	background-color: #FDD;
	border-top: 1px solid #FAA;
	border-left: 1px solid #FAA;
	border-right: 1px solid #FAA;
	border-bottom: 5px solid #FAA;
	margin-bottom: 10px;
	font-size: 100%;
	color: #DD6666;
}

.errorbox h2 {
	color: #DD6666;
	font-size: 100%;
	font-weight: bold;
	margin: 0px;
}

/* Zenphoto link
------------------------------ */

#zen-part {
 font-family: Arial, Helvetice, sans-serif;
 font-size: 2em;
 font-weight: 100;
}

#photo-part {
font-family: Arial, Helvetice, sans-serif;
 font-size: 0.9em;
 font-weight: bold;
}

/* login form */
table.password td.userlabel{
	text-align:right;
}
table.password td.userinput{
	text-align:left;
}

table.password td.userinput input, td.passwordinput input {
	width: 15em;
}

/* login form */
table.password td.passwordlabel{
	text-align:right;
}

table.password td.passwordinput{
	text-align:left;
}

table.password td.submit{
	text-align:center;
}

table.password td.hint{
	text-align:left;
}
#album-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 21px;
	font-size: 14px;
	font-size: normal;
}
#pages-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 21px;
	font-size: 14px;
	font-size: normal;
}
.album-menu-active {
	font-weight: bold;
	color: #000;
}
.pages-menu-active {
	font-weight: bold;
	color: #000;
}

form {
	margin: 0;
	padding: 0;
}
.album-menu-active a:hover {
	background: none;
	text-decoration: none;
	color: #f00;
}
#pages-menu  a:hover {
	background: none;
	text-decoration: none;
	color: #f00;
}

.imageCaption {
margin: 0px auto;
	color: #aaa;
	font-size: 12px;
	max-width: 290px;
	white-space: normal;
	text-align: center;
}
.imgDesc {
	
}
#albumDesc {
	clear: both;
	margin: 0;
	font-size: 14px;
	margin-top: 20px;
	padding: 0px;
	white-space: normal;
	color: #000;
	line-height: 20px;
	width: 550px;
	padding-top: 20px;

}
#pageNav {
	position: relative;
	top: 10px;
	clear: both;
	
	
	text-align: center;
	float: left;
	white-space: nowrap;
	left: -50%;
}
#pager {
position: relative;
	clear: both;
	float: left;
	left: 50%;
	
}
#galleryTitle {
	text-transform: uppercase;
	margin: 0;
	margin-left: 24px;
	margin-top: 23px;
	margin-bottom: 24px;
	font-weight: normal;
	color: #000;
	font-size: 22px;
	white-space: nowrap;
	
}
#galleryTitle span {
	text-transform: none;
	
	
}
.caption {
	font-size: 16px;
	color: #000;
	width: 550px;
		
}
#galleryTitle  a,  a:active, a:link, a:visited {
	
	background: none;
	text-decoration: none;
	color: #000;
}
#galleryTitle span a,  a:active, a:link, a:visited {
	
	background: none;
	text-decoration: none;
	color: #000;
}
#galleryTitle  a:hover {
	background: none;
	text-decoration: none;
	color: #f00;
}
#galleryTitle span a:hover {
	
	background: none;
	text-decoration: none;
	color: #555;
}
h1 {
	
	font-size: 16px;
	font-weight: normal;
}
#albumDesc h1 {
	margin-top: -36px;
	margin-bottom: 15px;
	font-size: 18px;
	color: #000;
	
	margin-right: 10px;
}
#alb2Desc h1 {
	margin-top: -33px;
	margin-bottom: 15px;
	font-size: 18px;
	color: #000;
	
	margin-right: 10px;
}
a, a:active, a:link, a:visited {
	background: none;
	text-decoration: none;
	color: #000;
}

a:hover {
	background: none;
	text-decoration: none;
	color: #f00;
	
}

.langselector {
	
	margin-top: 10px;
}
.langselector input {
	cursor:  pointer;
	margin: 0;
	padding: 0;
	border: none;
	color: #000;
	background: #fff;
	font-size: 14px;
	
}

.langselector input:hover {

color: #f00;
	
}


#copyright {
 
line-height: 12px;
	clear: both;
	color: #000;
	margin-top: 320px;
	margin-left: 5px;
	font-size: 10px;
	
}
#zen-part {
 font-family: Arial, Helvetice, sans-serif;
 font-size: 1.8em;
 font-weight: 100;
}

#photo-part {
 font-family: Arial, Helvetice, sans-serif;
 font-size: 0.9em;
 font-weight: bold;
}
