/*
Theme Name: juhaperala.net
Description: Designed for juhaperala.net based on white as milk
Version: 1.0
Author: Juha Perälä
Author URI: http://juhaperala.net
Tags: clean
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol,ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	color: #333;
	background: white;
	text-align: center;
	font-family:Helvetica,Arial,sans-serif;
	font-size: .85em;
}
		
#top {
	border-top: 10px solid #333;
}
	
#page {
	margin: 0 auto;
	width: 800px;
	text-align: left;
}

#header {
	margin-top: 15px;
	float: left;	
	margin-bottom: 50px;
}

#header h1 a {
	font-family:Helvetica,Arial,sans-serif;
	font-weight:normal;
	letter-spacing:-0.02em;
	font-size:2.5em; 
	line-height:1.428;
	text-decoration: none;
	color: #333;
}

#navigation {
	margin-top: 30px;
	float: right;	
}
#navigation a {
	color: #BF4601;
}
#navigation li.active a {
	color: #a0a0a0;
	text-decoration: none;
}

#navigation ul {
	list-style-type: none;
}

#navigation li {
	display:inline;
	margin-left: 20px;	
}

	

#content a {
	color: #BF4601;
}
#content p {
	padding: 6px 0;
}

#content h2 {
	padding: 14px 0;
	font-weight: bold;
}

#content {
	float: right;
	padding: 70px 0 20px 10px;
	width: 555px;
	overflow:hidden;
	line-height: 1.4;
}

#sidebar {
	width: 200px;
	text-align: left;
	padding-right: 35px;
}

#sidebar h2 {
	padding: 20px 0 0 0;
}
#sidebar ul {list-style-type: none;}
#sidebar li {
	padding: 8px 0 0 0;
}
#sidebar a {
	color: #a0a0a0;
	text-decoration: none;
}
#sidebar a:hover {
	color: #BF4601;
}
.submitbutton {
	padding: 2px 5px;
	color: white;
	background-color: #BF4601;
	font-weight: bold;
	text-align: center;
	border: 0;
	cursor: pointer;
}
		
#footer p {
	padding-left:250px;
	margin: 0;
	padding-bottom:24px;
	}

#footer {
	color: #a0a0a0;
	padding: 0;
	margin: 0 auto;
	width: 100%;
	clear: both;
	line-height: 1.4;
}
#footer a {
	color: #BF4601;
}

.post {
  border-bottom:1px solid #999;
  padding-bottom:4px;
}

.post h2 {
  padding-top:14px;
  padding-bottom:2px;
}
.post h2 a {
	color: #333 !important;
	text-decoration: none;
}

.post hr {
  display: block;
}



	.alt {
		background-color: #f8f8f8;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		}



	small {
		color: #a0a0a0;
		font-size: 0.9em;
		line-height: 1.5em;
		}



	#wp-calendar caption, cite {
		text-decoration: none;
		}

	.entry p a:visited {
		color: #b85b5a;
		}

	.commentlist li, #commentform input, #commentform textarea {
		
		}

	.commentlist li {
		font-weight: bold;
		}

	.commentlist li .avatar { 
		float: right;
		border: 1px solid #eee;
		padding: 2px;
		background: #fff;
		}

	.commentlist cite, .commentlist cite a {
		font-weight: bold;
		font-style: normal;
		font-size: 1.1em;
		}

	.commentlist p {
		font-weight: normal;
		line-height: 1.5em;
		text-transform: none;
		}

	#commentform p {
		
		}

	.commentmetadata {
		font-weight: normal;
		}


	

	code {
		font: 1.1em 'Courier New', Courier, Fixed;
		}

	acronym, abbr, span.caps
	{
		font-size: 0.9em;
		letter-spacing: .07em;
		}



	
	.postmetadata a,
	.navigation a,
	ol.commentlist cite a,
	.commentmetadata a {
	       text-decoration:none;
	}



	#wp-calendar #prev a, #wp-calendar #next a {
		font-size: 9pt;
		}

	#wp-calendar a {
		text-decoration: none;
		}

	#wp-calendar caption {
		font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
		text-align: center;
		}

	#wp-calendar th {
		font-style: normal;
		text-transform: capitalize;
		}
	/* End Typography & Colors */


	/* Begin Structure */








	#tags {
	font-size:11px !important;
	color:#999;
	}

	#content .postmetadata {
		margin: 10px 0;
		}

	#content .smallattachment {
		text-align: center;
		float: left;
		width: 128px;
		margin: 5px 5px 5px 0px;
	}

	#content .attachment {
		text-align: center;
		margin: 5px 0px;
	}

	.postmetadata {
		clear: both;
	}

	.clear {
		clear: both;
	}



	/* End Structure */


	h3 {
		padding: 0;
		margin: 30px 0 0;
		}

	h3.comments {
		padding: 0;
		margin: 40px auto 20px ;
		}
	/* End Headers */



	/* Begin Images */
	p img {
		padding: 0;
		max-width: 100%;
		}

	/*	Using 'class="alignright"' on an image will (who would've
		thought?!) align the image to the right. And using 'class="centered',
		will of course center the image. This is much better than using
		align="center", being much more futureproof (and valid) */

	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;
		}

	.alignleft {
		float: left
		}
	/* End Images */


	.entry ol {
		padding: 0 0 0 35px;
		margin: 0;
		}

	.entry ol li {
		margin: 0;
		padding: 0;
		}

	.postmetadata ul, .postmetadata li {
		display: inline;
		list-style-type: none;
		list-style-image: none;
		}





	/* Begin Form Elements */
	#searchform {
		margin: 10px auto;
		padding: 5px 0px 5px 3px;
		}



	.entry form { /* This is mainly for password protected posts, makes them look better. */
		text-align:center;
		}



	#commentform input {
		width: 170px;
		padding: 2px;
		margin: 5px 5px 1px 0;
		}

	#commentform textarea {
		width: 98%;
		padding: 2px;
		}

	#commentform #submit {
		margin: 0;
		}
	/* End Form Elements */



	/* Begin Comments*/
	.alt {
		margin: 0;
		padding: 10px;
		}

	.commentlist {
		padding: 0;
	margin:0px;
		text-align: justify;
		}

	.commentlist li {
		margin: 15px 0 3px;
		padding: 5px 10px 3px;
		list-style: none;
		}

	.commentlist p {
		margin: 10px 5px 10px 0;
		}

	#commentform p {
		margin: 5px 0;
		}

	.nocomments {
		text-align: center;
		margin: 0;
		padding: 0;
		}

	.commentmetadata {
		margin: 0;
		display: block;
		}
	/* End Comments */



	/* Begin Calendar */
	#wp-calendar {
		empty-cells: show;
		margin: 10px auto 0;
		width: 155px;
		}

	#wp-calendar #next a {
		padding-right: 10px;
		text-align: right;
		}

	#wp-calendar #prev a {
		padding-left: 10px;
		text-align: left;
		}

	#wp-calendar a {
		display: block;
		}

	#wp-calendar caption {
		text-align: center;
		width: 100%;
		}

	#wp-calendar td {
		padding: 3px 0;
		text-align: center;
		}

	#wp-calendar td.pad:hover { /* Doesn't work in IE */
		background-color: #fff; }
	/* End Calendar */



	/* Begin Various Tags & Classes */
	acronym, abbr, span.caps {
		cursor: help;
		}

	acronym, abbr {
		border-bottom: 1px dashed #999;
		}

	blockquote {
		margin: 15px 30px 0 10px;
		padding-left: 20px;
		border-left: 5px solid #ddd;
		}

	blockquote cite {
		margin: 5px 0 0;
		display: block;
		}

	.center {
		text-align: center;
		}

	.hidden {
		display: none;
		}

	hr {
		display: none;
		}

	a img {
		border: none;
		}

	.navigation {
		display: block;
		text-align: center;
		margin-top: 10px;
	  	padding:2px 0px 20px 0px;
		}

	.navigation .alignleft{padding-right:4px;}

	/* End Various Tags & Classes*/


	/* Captions */
	.aligncenter,
	div.aligncenter {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.wp-caption {
		border: 1px solid #ddd;
		text-align: center;
		background-color: #f3f3f3;
		padding-top: 4px;
		margin: 10px;
		-moz-border-radius: 3px;
		-khtml-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	.wp-caption img {
		margin: 0;
		padding: 0;
		border: 0 none;
	}

	.wp-caption p.wp-caption-text {
	
		padding: 0 4px 5px;
		margin: 0;
	}
	/* End captions */
