/*  
Theme Name: Juhani WordPress
Theme URI: http://juhani.naskali.net/
Description: Theme for my personal webpage.
Version: 1.0
Author: Juhani Naskali, eDeus.net
Author URI: http://edeus.net/

	All rights reserved by default, though I like sharing. Contact me if you want to use something.

*/

body {
	background: #fff url(img/bback.png) repeat-x fixed;
	padding: 0;
	margin: 15px 0 0;
	
	text-align: center;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: #333;
}
a,a:visited { color: #369; text-decoration: none; }
a:hover { color: #900;}
a img { border: none; }
content * a img { border: 1px solid #006a80; }
content * a:hover img { border: 1px solid #a8001c; }
h1, h2, h3, h4, h5 {
	border-bottom: 1px dashed #8fbf60;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	/* font-family: georgia, times; */
	font-weight: normal;
	color: #8fbf60;
	margin-bottom: 2px;
	clear: left;
}
h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #8fbf60 !important;
	border-bottom: none !important;
}
h3,h4,h5 {
	font-size: 10pt;
}
textarea { width: 80%;}
#submit { margin-bottom: 20px; }
code {
	font-family: 'Courier New', Courier, monospace;
	color: #7ca653;
}
acronym, abbr, span.caps {
	cursor: help;
	font-size: 0.9em;
	letter-spacing: .07em;
}
acronym, abbr {
	border-bottom: 1px dashed #999;
}
blockquote {
	/* background: url() */
	margin: 15px 30px 0 10px;
	padding-left: 20px;
}


#head, #main, #foot {
	text-align: left;
	width: 90%;
	margin: 0 auto;
}
#head {
	border: 1px solid #223;
	border-bottom: none;
	padding: 0;
}
	#topbar {
		height: 25px;
		background: #dddddf url(img/top.png) repeat-x;
		padding: 2px 20px 0 20px;
		border-bottom: 1px solid #000;
		
		font: 11px times;
		text-align: right;
		word-spacing: 20px;
		overflow: hidden;
	}
	#navigation {
		background: url(img/background.jpg) top left repeat-x;
		height: 103px;
		min-width: 395px;
		margin: 0;
		padding: 0;
		border: 1px solid #ddd;
		white-space: nowrap;
		overflow: hidden;
	}
	#navigation span {
		float: left;
		color: white;
		font-size: xx-large;
		padding: 10px;
		font-family: georgia;
	}
	#navigation ul, #navigation li {
		display: inline;
		list-style-type: none;
		margin: 0;
		padding: 0;
		line-height: normal;
	}
	#navigation a {
		height: 103px;
		float: right;
		display: table-cell;
		margin: 0;
		padding: 80px 5px 10px 5px;
		border-left: 1px solid #eef;
		
		color: #fff;
		word-spacing: normal;
		text-decoration: none;
	}
	#navigation a:hover{
		background: transparent url(img/trans.png) top left no-repeat !important;
		border-left: 1px solid #669;
		color: #004;
	}
	.bottombar {
		height: 10px;
		padding: 1px 10px;
		background: #dddddf url(img/top.png) repeat-x;
		border-bottom: 1px solid #ddf;
		border-top: 1px solid #aaa;
		clear: both;
		
		font-family: georgia;
		font-size: 9px;
		color: #777;
	}

#main {
	background: #fff url(img/rightbg.png) top right repeat-y;
	border: 1px solid #223;
	border-top: 1px solid #aaa;
	margin: 0 auto;
	
}
	#content {
		overflow: hidden;
		background: #fff url(img/shadow.gif) top repeat-x;
		margin: 0;
		padding: 10px 20px;

		font-size: 1.2em
	}
	#content * a { border-bottom: 1px solid #cfe2e5; }
	#content * a:hover { border-bottom: 1px solid #e5cfd2; }
	#sidebar {
		width: 200px;
		float: right;
		min-height: 399px;
		
		background-color: #eee;
		border-left: 1px solid #aaa;
		font-size: 0.9em;
	}
	#sidebar h2, #sidebar h3 {
		margin: 4px 10px 10px 0;
	}
	#sidebar ul {
		margin: 10px 10px 10px 20px;
		padding: 0;
	}
	#sidebar * ul {
		margin: 5px 0 0;
		padding: 0;
		line-height: 4px;
	}
	#sidebar ul li {
		list-style-type: none;
		list-style-image: none;
		margin-bottom: 8px;
		line-height: normal;
	}
	
#foot {
	height: 27px;
	/* background: url(img/mirror.png) top center no-repeat; */
}

#post-7 div {
	margin: 10px 50px;
}
#post-7 textarea, #post-7 input {
	width: 300px;
}
#post-7 textarea {
	height: 200px;
}

/* WordPress stuff */

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

code {
	font: 1em 'Courier New', Courier, Fixed;
}


/* Begin Images */
p img {
	padding: 4px;
	max-width: 100%;
	}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
}

.center {
	text-align: center;
}

.alignleft {
	float: left
}

.large { font-size: 1.2em; }
.x-large { font-size: 1.3em; font-weight: bold; }
.xx-large { font-size: 1.5em; font-weight: bold; }

.navigation {
	display: inline;
	text-align: center;
	margin: 0;
}
.navigation div {
	font-size: 0.8em;
	margin-bottom: 20px;
}
.postmetadata {
	margin: 30px 0;
	font-size: 0.9em;
	clear: left;
}

.contbox {
	float: left;
	border: 1px solid #a9a9a9;
	padding: 5px;
	margin: 20px;
	text-align: center;
}

.roundtop {
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.roundbottom {
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.dropshadow {
	-moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
	-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}


/* PNGfix for Internet Explorer */
/*\*/
* { behavior: url(iepngfix.htc) }
/**/
