/*  
Theme Name: Hitherto Orange 
Theme URI: http://hitherto.net/
Description: Wordpress theme for the umpteenth rebirth of my personal site.
Version: 0.1 
Author: Simon Batistoni
Author URI: http://hitherto.net/
*/

/* Basics and Typography */

body {
	margin: 0;
	padding: 0;
	background: #e1e0d1;
	font-size: 78%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
	color: #333;
	text-align: center;
}
p {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.2em 0;
}
ol, ul {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.2em 0 1.2em 2em;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin: 1.2em 0;
    font-family: Georgia, "Times New Roman", Times, serif;
	color: #000; 
}
h1, h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1.2em;
}
a {
	text-decoration: none;
}
a:link {
	color: #eb7c16;
}
a:visited {
	color: #eb7c16;
}
a:hover, a:active {
	color: #000;
}

a:hover img, a:active img {
    background-color: #000;
}

input, textarea, select {
	border: 1px solid #C1C0B5;
	background-color: #e1e0d1;
	color: #333;
	font-size: 1em;
	font-family: "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
}
blockquote {
	margin: 0 20px;
	padding: 0 20px;
	border-left: 4px solid #E8E7D0;
	font-size: 0.9em;
}
code {
	font-family: monospace;
	color: #666;
}
form, img {
	margin: 0;
	padding: 0;
	border: 0;
}
.small {
	font-size: 0.9em;
	color: #999;
}

/* Layout */

#wrapper {
        position: absolute;
        top: 0;
        left: 100px;
        z-index: 0;
	margin: 0 auto;
	width: 800px;
	background-color: #FFF;
	text-align: left;
}

#align {
    position: relative;
}

#header {
	padding: 5px 0 0 0;
	border-bottom: 10px solid #eb7c16;
}
	/* Header Styles */
	#header h1 {
		margin: 0;
		font-size: 1.8em;
	}
	#header h1 a {
		text-decoration: none;
		color: #80904F;
	}		
#content {
	margin: 20px;
        width: 530px;
        * clear: both;
}

* html #content, * html #sidebar {
	overflow: hidden; /* For IE */
}

#contentViewer {
        position: absolute;
        z-index: 2;
	margin: 0 auto;
        padding: 10px;
        top: 50px;
        left: 115px;
	width: 750px;
	background-color: #FFF;
	text-align: left;
}

.contentViewerClose {
        position:relative;
        float:right;
}

.sidebar {
    width: 188px;
    padding: 0;
    font-size: 0.9em;
}

#sidebar {
    background: #eee;
    right: 0px;
    top:0px;
    margin: 0 20px 0 20px;
    position: absolute;
    border: 2px solid #eee;
}

#sidebar_open {
    position: absolute;
    z-index: 1;
    top: 151px;
    left: 690px;
    float:right;
    border: #fff 5px solid;
    border-top: none;
    background: #eb7c16;
    padding: 2px;
    color: #fff;
    white-space: nowrap;
}

#sidebar_open a {
    color: #fff;
}
#sidebar_open a:hover img{
    background-color: #eb7c16;
}

* html #content, * html #sidebar {
	overflow: hidden; /* For IE */
}

#sidebar ul {
	margin: 0 0 0 10px;
	list-style-type: none;
}

#sidebar ul ul {
    margin: 0;
    padding: 0 0 0 10px;
}

#sidebar small {
    margin: 0 0 0 5px;
    font-weight: bold;
    color: #eb7c16;
}

#footer {
	clear: both;
	font-size: 0.9em;
	text-align: right;
}
	/* Footer Styles */
	#footer p {
		margin: 0;
		padding: 10px 0 20px 0;
		background-color: #e1e0d1;
		border-top: 10px solid #eb7c16;
		font-size: 0.9em;
		text-align: right;
	}
	
/* Sidebar Styles */

#category_title, #meta_title, #upcoming_title, #nerd_title {
    margin: 0;
    padding: 2px 2px 2px 2px;
    background: #eee;
    text-align: right;
}

#upcoming {
    margin-left: 5px;
    margin-right: 20px;
}

#upcoming .upb_date {
    padding-top: 5px;
    color: #999;
    border-bottom: 1px #999 solid;
}

#upcoming .upb_more {
    padding-top: 7px;
    text-align: right;
}

#sidebar_close {
    text-align: right;
    padding: 3px 0 3px 0;
}


/* Calendar */

#wp-calendar {
	margin: 0;
	width: 190px;
	border: 1px solid #eeeeee;
	background: #eee;
	line-height: 1.2em;
	text-align: center;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 188px;
} 

#wp-calendar caption {
	margin: 0;
	padding: 0.4em 0;
	background: #fff;  
	color: #eb7c16;
	font-weight: bold;
}
#wp-calendar td {
	border: 1px solid #eee;
	border-collapse: collapse;
	background: #FFF;
}
#wp-calendar td a {
	display: block;
	width: 100%;
}
#wp-calendar td.pad {
	background: transparent;
	border: 0;
}
#wp-calendar td#next, #wp-calendar td#prev {
	padding: 0.1em 2px;
	background: transparent;
	border: 0;
}
#wp-calendar td#next a, #wp-calendar td#prev a {
	display: inline;
}
#wp-calendar td#next {
	text-align: right;
}
#wp-calendar td#prev {
	text-align: left;
}

/* Blog */

.dateheader, .pagetitle {
       border-top: #eb7c16 2px solid;
       width: 100%;
       padding-top: 3px;
       color: #eb7c16;
}

.divider {
       border-top: #999 1px dashed;
       width:100%;
}
.post {
}
.posttitle {
	margin-bottom: 0;
	width: 100%;
	color: #000;
	overflow: auto;
	/* Width and overflow to clear '.posttitle a' */
}
.posttitle a {
	float: left;
        background: #e1e0d1;
	padding: 0 10px;
}
.posttitle a:link, .posttitle a:visited {
	color: #000;	
}
.posttitle a:hover, .posttitle a:active {
	background: #eb7c16;
	color: #000;
}
.posttime {
    float:left;
    margin-top: 0;
    margin-bottom:0;
    padding: 0 10px;
    background: #999;
    color: #FFF;
    font-size:0.9em;
}

.postmeta {
    float:left;
    clear: left;
    text-align:left;
    margin-top: 0;
    padding: 0 10px;
    background: #eee;
    font-size: 0.9em;
}
.postentry {
    clear:left;
}

.postimage {
    color:#ffffff;
    padding: 5px;
}

.permalink {
	margin: 0 1.8em 0 0;
}
.commentslink {
	padding: 0 0 0 17px;
}

/* Comments */

#commentlist {
	margin: 1.2em 0;
	padding: 0;
	border-bottom: 1px solid #E8E7D0;
	list-style-type: none;
}
#commentlist li {
	border-top: 1px solid #E8E7D0;
	padding: 1px 20px;
	background-color: #FFF;
}
.alt {
	background-color: #EEE !important;
}
.commenttitle {
	margin-bottom: 0;
	font-size: 1.1em;
}
.commentmeta {
	margin-top: 0;
	font-size: 0.9em;
	color: #999;
}
#comment {
	width: 98%;
}

/* Widgets and Etc */

.widget_search div {
	margin: 1.2em 0;
}

#search {
    margin: 3px 3px 3px 3px;
}

#sidebar #s {
    margin-top: 3px;
	margin-bottom: 2px;
	width: 180px;
}

/* custom noodling */
.clearicon {
    background-color:#eb7c16;
    background-image:url(images/clearbits/bg_rounded.gif);
    background-repeat: no-repeat;
}

.navigation {
	display: block;
	text-align: center;
        width: 100%;
	padding-top: 5px;
        padding-bottom: 15px;
	}

.navigation .left {
	float: left;
	width: 50%;
	text-align: left;
	}

.navigation .right {
	float: right;
	width: 50%;
	text-align: right;
	}