/*  
Theme Name: Leptinotarsa Decemlineata
Theme URI: http://wordpress.org/
Description: Official Leptinotarsa Decemlineata theme
Version: 1
Author: Martin Laine
*/

html {
	width:100%;
	height:100%;
	/* Fix for scroll bars disappearing in Mozilla when no scrolling required */
	overflow-y:scroll;
}

body {
	background:#f8f8f8;
	margin:0;
	padding:0;
	position:relative;
	width:100%;
	height:100%;
	color:#444;
	text-align:center;
	font:70% Verdana, Arial, Helvetica, sans-serif;
}

div#flashContainer {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	display:none;
}

table, input, select, textarea { font:1em Verdana, Arial, Helvetica, sans-serif; }
input, select, textarea { padding:2px; }

hr { display:none; }

/* Typography ====================================================== */

a {
	text-decoration:none;
	color:#AB7B21;
}
a:hover {
	text-decoration:underline;
	color:#06f;
}

h2, h3, h4, h5 {
	font-family:"Palatino Linotype", "Times New Roman", Times, serif;
	color:#825E1A;
	margin:0.5em 0;
}

h2 {
	font-size:1.7em;
	font-weight:normal;
}

h3 {
	font-size:1.5em;
	font-weight:normal;
}

/* Layout ========================================================== */

div#outer-wrapper {
	position:static;
	width:778px;
	margin:0 auto;
	text-align:left;
}
div#inter-wrapper {
	float:left;
	background:#fff url(images/vertical-bg.jpg) repeat-x left 62px;
}

div#inner-wrapper {
	background:url(images/horizontal-bg.gif) repeat-y top left;
	float:left;
}
div#inner-wrapper.nosidebar  {
	background:url(images/horizontal-bg-nosidebar.gif) repeat-y top left;
}
div#top {
	padding:3px 93px 0 93px;
	background:url(images/top-bg.gif) no-repeat top left;
}

div#content {
	float:left;
	width:778px;
	margin-right:-269px;
}
div#content-margin {
	margin-right:269px;
	margin-left:93px;
	padding:0 20px;
}
.nosidebar div#content-margin {
	height:350px;
	margin-right:93px;
} html>body .nosidebar div#content-margin { height:auto; min-height:350px; }

div#sidebar {
	float:right;
	width:269px;
}
div#sidebar-margin {
	padding:6px 20px 0 20px;
	margin-right:93px;
}

/* Masthead ========================================================== */

div#masthead {
	padding:10px 0 3px 0;
	background:#f8f8f8;
}
div#masthead h1 {
	width:586px;
	margin:0 auto;
	padding:0;
	height:56px;
	background:url(images/masthead.gif) no-repeat top left;
}
div#masthead h1 a {
	text-decoration:none;
	display:block;
	text-indent:-9999px;
	overflow:hidden;
	width:586px;
	height:56px;
}

/* Strapline ========================================================== */

div#top p {
	height:1%;
	margin:0;
	text-align:center;
	padding:3px 0 13px 0;
	color:#825E1A;
	width:592px;
	font:1.2em "Palatino Linotype", "Times New Roman", Times, serif;
	font-weight:bold;
	background:url(images/strapline-bg.jpg) repeat-x bottom left;
	border-bottom:10px solid #fff;
}

/* Content ========================================================== */

.navigation {
	margin-bottom:1em;
	float:left;
	height:1%;
}
.alignleft { float:left; }
.alignright { float:right; }
.clearall { clear:both; }
img.alignleft { margin:0 10px 10px 0; }
img.alignright { margin:0 0 5px 10px; }

div#content-margin p {
	margin:0.75em 0;
	line-height:1.5em;
}

h2.pagetitle { background:url(images/page.gif) no-repeat left center; }
.post h3,
.post h2 { background:url(images/post.gif) no-repeat left 4px; }
h2.pagetitle,
.post h3,
.post h2 {
	clear:both;
	padding-left:20px;
	margin:0 0 0.5em 0;
}

.post h4 {
	font-size:1.2em;
}

.fullimage { text-align:center; }
.fullimage img { margin:0 auto; }

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 10px;
	border-left: 5px solid #ddd;
}
	
small.date {
	color:#999;
}

.post img {
	padding:4px;
	display:block;
	background:#eee;
	border:1px solid #ccc;
}
.post img.wp-smiley {
	padding:0;
	display:inline;
	border:none;
	background:none;
}

a.overlay {
	position:relative;
	display:block;
	height:1%;
	text-decoration:none !important;
}
a.overlay span {
	position:absolute;
	text-indent:-9999px;
	overflow:hidden;
	display:block;
	top:5px;
	right:5px;
	height:27px;
	width:120px;
}	
a.overlay:hover span {
	filter:alpha(opacity=80);
	background:url(/wp-content/plugins/image-viewer/overlay.gif) top left no-repeat;
} html>body a.overlay:hover span { background-image:url(/wp-content/plugins/image-viewer/overlay.png); }

.post ul {
	padding-left:20px;
	margin-left:0;
	list-style-type:square;
}

.post ul li { margin:0.25em 0; }

a.gallery-launcher {
	display:block;
	width:200px;
	height:30px;
	text-indent:-9999px;
	overflow:hidden;
	text-decoration:none;
	background:#d2d2d2 url(images/launch-gallery.gif) no-repeat top left;
}
a.gallery-launcher:hover {
	background-color:#09c;
	text-decoration:none;
}

div.flickr {
	margin:1em 0;
}

div.flickr-image {
	background:#f8f8f8;
	float:left;
	width:364px;
	padding:5px;
	border:1px solid #ddd;
	margin-bottom:1em;
}
div.flickr-image img {
	margin-right:5px;
	border:1px solid #ddd;
	padding:0;
	display:block;
	float:left;
}
div.flickr-image h4 {
	font-weight:bold;
	font-size:1em;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	margin-top:0;
}
div.flickr-image ul {
	list-style-type:none;
	margin:0;
	padding:0;
}
div.flickr-image li {
	display:block;
	margin-bottom:0.5em;
}
div.flickr-post {
	clear:left;
	margin-top:1em;	
}

.postmetadata {
	border-color:#eee;
	border-width:1px 0;
	border-style:solid;
	padding:2px 0;
	margin-bottom:2em;
	clear:both;
}

.commentlist {
	margin:0;
	padding:0;
	list-style-type:none;
}
.commentlist li {
	height:1%;
	position:relative;
	padding:10px;
	background:#eee;
	margin-bottom:1em;
}
.commentlist div {
	position:relative;
	z-index:2;
	margin-right:5em;
}
.comment-number {
	font-family:"Palatino Linotype", "Times New Roman", Times, serif;
	font-size:6em;
	font-weight:bold;
	color:#ddd;
	position:absolute;
	top:-0.35em;
	right:0;
	z-index:1;
}

.commentlist li.alt { background:#f8f8f8; }

.commentlist cite {
	font-weight:bold;
	font-style:normal;
}

h3#respond {
	padding-left:25px;
	background:url(images/comment.gif) no-repeat left center;
}

#commentform textarea {	width:365px; }

/* Photo albums ========================================================== */

#albums a img { border:2px solid #AB7B21; }
#albums a:hover img { border-color:#06f; }

#albums h2 {
	padding-left:20px;
	margin-top:0;
	background:url(images/photo.gif) center left no-repeat;
}

#albums-nav ul {
	list-style-type:none;
	padding:0;
	margin:0.5em 0 0 0;
	float:right;
	margin-bottom:1em;
}
#albums-nav ul li {
	display:inline;
	border-left:1px solid #ccc;
	padding:0 0.5em;
}
#albums-nav ul li.first {
	display:inline;
	border-left:none;
}

div.album {
	float:left;
	width:530px;
	margin-bottom:1em;
	background:#f8f8f8;
	padding:10px;
	border:1px solid #ddd;
}
div.album#album-single {
	padding:0;
	width:100%;
	background:transparent;
	border:0;
	margin:0;
}
div.album h3 {
	font-size:1.5em;
	margin-top:0;
}
div.album h4 {
	font-weight:normal;
	margin:0 0 0.25em 0;
	font-size:1.4em;
}
div.album a.album-primary {
	float:left;
	margin:0 0.5em 0.5em 0;
}
div.album p.album-desc {
	margin-top:0 !important;
	text-align:justify;
} 
div.album#album-single p.album-desc {
	font-size:1.2em;
} 
div.album p.meta {
	clear:left;
	margin:0 !important;
}
div.album div.album-photos {
	margin-top:0.5em;
	float:left;
}
div.album#album-single div.album-photos {
	float:left;
	width:540px;
	padding:0 0 10px 10px;
	margin-bottom:1em;
	background:#f8f8f8;
	border:1px solid #ddd;
}
div.album#album-single div.album-photos a {
	float:left;
	display:block;
	margin:9px 11px 0 0;
}
div.album#album-single div.album-photos a img {
	display:block;
}

div.flickr-meta-links { margin-top:0.5em; }

div.albums-list {
	clear:left;
	float:left;
	width:100%;
}

div#album-photo {
	text-align:center;
}
div#album-photo img {
	margin:0 auto;
	display:block;
}
p.photo-desc {
	text-align:justify;
	font-size:1.2em;
	margin:0.5em 0 0 0 !important;
}
div#photo-context {
	float:left;
	background:#eee;
	padding:10px;
	width:532px;
	text-align:center;
	margin:1em 0;
}
div#photo-context a {
	float:left;
}
div#photo-context div.prev {
	float:left;
}
div#photo-context div.next {
	float:right;
}
div.label a {
	width:79px;
	clear:left;
	background:#AB7B21;
	color:#fff;
	padding-bottom:3px;
	display:block;
	float:left;
	height:1%;
}
div.label a:hover {
	background:#06f;
	color:#fff;
}
/* Sidebar ========================================================== */

div#sidebar p {
	line-height:1.4em;
	margin:0 0 2em 0;
}
div#sidebar img {
	padding:1px;
	border:3px solid #825E1A;
	margin-left:5px;
	float:right;
}

div#sidebar h2 {
	background:url(images/separator.gif) no-repeat center bottom;
	text-align:center;
	font-size:1.2em;
	font-weight:bold;
	padding-bottom:6px;
	margin:0 0 1em 0;
	text-transform:uppercase;
	clear:left;
}
div#sidebar h2.sidebar-toggle {
	cursor:pointer;
}

div#sidebar form {
	border-top:1px solid #ddd;
	margin:0 0 2em 0;
	height:1%;
	float:left;
}
div#sidebar form div {
	border-top:1px solid #fff;
	border-bottom:1px solid #ddd;
	background:#f8f8f8;
	padding:5px;
	float:left;
}

div#sidebar #s {
	float:left;
	width:95px;
}
div#sidebar #searchsubmit {
	background:transparent url(images/search.gif) no-repeat left 2px;
	border:none;
	text-indent:-9999px;
	height:20px;
	width:18px;
	padding:0;
	margin:0;
	float:right;
	cursor:pointer;
}

div#sidebar ul {
	margin:0 0 2em 0;
	padding:0;
	list-style-type:none;
	border-top:1px solid #ddd;
}
div#sidebar ul li {
	text-align:center;
	margin:0;
	padding:0;
	background:#f8f8f8;
	border-top:1px solid #fff;
	border-bottom:1px solid #ddd;
}
div#sidebar ul li a {
	display:block;
	padding:2px 3px;
	margin:1px 0;
}
div#sidebar ul li a:hover {
	text-decoration:none;
	background:#f8f8f8;
}


/* Footer ========================================================== */

div#footer {
	clear:both;
	background:url(images/footer-bg.gif) bottom left no-repeat;
	padding:0 93px 20px 93px;
}

div#footer p {
	margin:0;
	border-top:10px solid #fff;
	height:1%;
	background:url(images/footer-top-bg.jpg) top left repeat-x;
	padding:14px 20px 16px 20px;
}