body {
	border-top: 5px solid #909090;
	background: white;
	color: #333;
}

a, a:link { color: blue; text-decoration: none; }
a:visited { color: #c9c; }
a:hover   { color: red; }

a, img { border: 0; }

h1,  h2,  h3,  h4,  h5 {
	color: #f99;
}

h1 		{ font-size: 2.2em; }
h2 		{ font-size: 1.9em; }
h3 		{ font-size: 1.7em; }
h4, h5, h6 { font-size: 1.6em; }

p, li, blockquote, q, label {	font-size: 1.5em; }
p {	margin-bottom: 1em; }

li li, li li li, li li li li {
    font-size: 1.0em;
}

.hidden, hr, .printonly { display: none; }

form { margin: 1em 0; }

/* Special elements */
.pagenavigation {
	margin: 2.5em 0;
	border-top: 1px solid #333;
	padding-top: 1.5em;
}

.pagenavigation a {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2em;
	text-decoration: none;
	color: #99f;
	margin-right: 0.5em;
	border-left: 2px solid #909090;
	background: #f3f3f3;
	padding: 0.2em 0.5em;
}

.pagenavigation a:hover { color: #f99; background: #ddd;}

.simplebox {
	float: left;
	margin: 0 15px 0 0;
	padding: 15px;
	border-right: 1px dotted #333;
}

    .simplebox h2 { margin-left: -15px; }

.tabbox {
    width: 280px;
    margin: 0 15px;
}

    .tabbox a.tab {
        display: block;
        float: left;
        font-size: 1.6em;
        color: #f99;
        border-bottom: 1px solid #999;
        width: 120px;
        padding: 3px 10px;
    }

    .tabbox a.tab:hover {
        color: red;
        cursor: pointer;
    }

    .tabbox a.current {
        border: 1px solid #999;
        border-bottom: none;
        width: 118px;
    }

    .tabbox .box {
        clear: both;
        border: 1px solid #999;
        border-top: none;
        padding: 10px 0;
    }

/*
 * MAIN DIVS
*/

#page {
    margin: 0 auto;
	width: 960px;
}


#header {
	float: left;
    border-bottom: 2px solid #909090;
	height: 160px;
	width: 100%;
	position: relative;
}

    #header h1 a {
        position: absolute;
        top: 16px;
        left: 0;
        width: 397px;
        height: 151px;
        background-image: url('../images/logo.png');
    }

    #header h1 a:hover { border-bottom: 3px solid #99f; }

	#mainmenu {
        position: absolute;
        top: 13px;
        right: 0;
	}

	#mainmenu li {
		font-size: 1.5em;
		line-height: 2.1em;
    	list-style-type: none;
	}

	#mainmenu a {
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1.6em;
		text-decoration: none;
		color: #99f;
	}

	#header a:hover, #header a.selected { color: #f99; }
	#header a.disabled { color: #909090; }

	#twitterlink {
	   width: 236px;
	   height: 152px;
	   background-image: url('../images/twitter.png');
	   background-image-position: 0 0;
       position: absolute;
       top: 23px;
       left: 330px;
	}

	   #twitterlink:hover {
	       background-position: 0 -152px;
	   }

#submenu {
	float: left;
	border-bottom: 1px dotted #909090;
	width: 100%;
	text-align: right;
}

	#submenu p {
    	padding: 5px 0.5em;
    	margin: 0;
	}

	#submenu p.location {
		color: #f99;
		font-weight: bold;
	}

	#submenu img {
		vertical-align: middle;
	}

#content {
	float: left;
	width: 644px;
}

	#content h2 { padding: 0 0 0.5em 0; }
	#content h3 { padding: 15px 0 0.3em 0; }
	#content small { margin-top:-10px; }

	#content .smallicon { padding: 0; margin: 0; }

	/* Background  colors for some elements */
	.entry blockquote, .nicelist li, .entryinfo, .entry code, .entry q, .entry pre, #meta blockquote {
		background: #f3f3f3;
	}

    .entry {
        padding: 10px 0;
    }

    .entry img {
		margin: 0.5em 0;
	}

	.entry img.right {
		margin: 0.5em;
		float: right;
		margin-right: 0;
	}
	.entry img.left {
		margin: 0.5em;
		float: left;
		margin-left: 0;
	}
	.entry img.border {
		border: 1px solid #909090;
	}
	.entry p { line-height: 1.3em; }
	.entry li { margin-bottom: 5px; }
   	.entry ul { padding-left: 20px; }
   	.entry ol {
   	    padding-left: 30px;
   	    list-style-type: decimal-leading-zero;
    }

	.entry blockquote, .entry code, #meta blockquote {
		display: block;
		margin-top: 15px;
		border-left: 2px solid #909090;
		overflow: hidden;
		padding: 5px 10px;
		font-style: italic;
		font-size: 1.6em;
	}

	.entry pre {
	   font-size: 1.6em;
	   padding: 10px;
	   margin: 10px 0;
	}

	#meta blockquote {
		margin-left: 15px;
	}

	.entry code {
		font-size: 0.8em;
		font-family: monospace;
		font-style: normal;
	}

	.entry code.terminal {
		background	: black;
		color		: #0f0;
		font-size	: 1em;
	}

	.entry small { display: block; margin-top: -1.5em; }

	ul.nicelist, ol.nicelist {
		padding: 0 20px 0 30px;
	}

	.nicelist li {
		margin-bottom: 1em;
		border-left: 2px solid #909090;
		padding: 5px 10px;
        line-height: 1.3em;
	}

	   .nicelist li.author {
	       background-color: #fcc;
	       background-image: url('../images/bg_comment_author.png');
	       background-repeat: repeat-y;
	       background-position: right;
       }

	ul.entryinfo {
		border: 1px dotted #909090;
		overflow: hidden;
		padding: 2px 5px;
		margin-top: 10px;
	}

		ul.entryinfo li {
			font-size: 1.4em;
			list-style-type: none;
			line-height: 1.4em;
			margin: 0;
		}

	a.entrytitle {
		text-decoration: none;
		color: #99f;;
	}
	a.entrytitle:hover { color: #f99; }

	.archivelist li { list-style-type: none; }
	.archivelist a  { text-decoration: none; }
	ul.archivelist  { padding: 0 0 0 1em; margin: 0.5em 0 0 0; }

	.wp-caption-text {
	   padding: 5px 8px;
	   margin:0;
	   font-size: 1.2em;
	   background: #f3f7af;
	   border-top: 1px dotted #333;
	   border-bottom: 1px dotted #333;
	}

    #content .related {
        border-top: 1px dotted #999;
        margin: 5px 0;
    }

	#content .related p {
        margin: 10px 0 5px 0;
	}

	.nocomments {
	   margin: 10px 0;
	}

	#commentform .row {
	   float:left;
	   clear: both;
	   margin-bottom: 10px;
	}

	#commentform .row label {
	   display: block;
	   width: 100px;
	   float: left;
	}

	#commentform .row input {
	   display: block;
	}

#meta {
	float: right;
	width: 300px;
	margin: 0px 0 10px 15px;
	border-left: 1px dotted #333;
}

	#meta form#searchform { padding-top: 1em; }
	#meta ul { padding-left: 30px; }
	#meta ol {
	   list-style-type: decimal-leading-zero;
	   padding-left: 46px;
   }
	#meta p, #meta h2, #meta h3, #meta h4, #meta h5, #meta form  { padding-left: 15px; }
    #meta h2 {
        padding-bottom: 5px;
        margin: 20px 0 0 0;
    }

	#meta p {
    	line-height: 1.3em;
		margin-bottom: 0.8em;
	}

	ul.cloud {
		margin-left: -15px;
	}

	.cloud li {
		list-style-type: none;
		display: inline;
		padding-right: 0.5em;
	}
	.cloud a {
		text-decoration: none;
		font-size: 1.1em;
		line-height: 1.5em;
	 }

.footer {
	clear: both;
	text-align: center;
	float: left;
	border-top: 3px solid #909090;
	padding: 15px 0;
}

#footer-nav, .toplink {
    float: left;
    margin-bottom: 15px;
    overflow: hidden;
    width: 100%;
}

.toplink {
    width: 100%;
    text-align: center;
}

#footer-nav ul {
    width: 211px;
    float: left;
    text-align: left;
    margin-right: 10px;
    padding: 0 10px;
    border-right: 1px dotted #999;
}

#footer-nav ul:hover li.header { color: black; }

#footer-nav ul.first { padding-left: 0; }
#footer-nav ul.last { border:0; }

#footer-nav li {
    list-style-type: none;
    border-bottom: 1px dotted #ccc;
    padding: 3px 0;
}

#footer-nav li.header {
    margin-bottom: 5px;
    color: #999;
}