/*
Theme Name: David Sax 
Description: Custom theme for David Sax  
*/

/* global */
* { margin: 0; padding: 0; }
a img, fieldset { border: 0 none; }
code, samp, kbd, pre, tt { font-size: 115%; font-family: "courier new", courier, monaco, monospace; }
pre code, code pre { font-size: 100%; }
acronym, abbr { border-bottom: 1px dotted #707070; cursor: help; }
dfn { font-style: italic; }
ol, ul { list-style: none; }
th, caption { text-align: center; }
legend { font-weight: bold; }
input, select, textarea { font-size: 100%; font-family: Arial, Tahoma, Verdana, Helvetica, Geneva, sans-serif; }
label { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; font-size: 100%; }
hr { display: none; }
	
/* basic styles */
.clear { clear: both; font-size: 0; height: 0; line-height: 0; position: relative; }
.right { text-align: right; }
.left { text-align: left; }
.fleft { float: left; padding-right: 9px; padding-bottom: 12px; }
.fright { float: right; padding-left: 9px; padding-bottom: 12px; }
.center { text-align: center; margin: 0 auto; }
.strong { font-weight: bold; }
.italic { font-style: italic; }
.upper { text-transform: uppercase; }
.lower { text-transform: lowercase; }

/* links */
a:link, a:visited, a:active { text-decoration: none; color: #9b0000; background: transparent; }		
a:hover { text-decoration: underline; }

/* hiding and clearing */
.hide { display: block; font-size: 1px; height: 1px; width: 1px; left: 0; overflow: hidden; position: absolute; text-indent: -9999em; top: -9999em; }
div.clearfix:after, div.container:after, div.sidebar div.box:after, div.search:after, .navigation:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
	
/* structure */
body {
	background: #636363;
	color: #434343;
	font: 100% Arial, Tahoma, Verdana, Helvetica, Geneva, sans-serif;
	text-align: center; 
} 
	
div.container {
	width: 730px;
	padding: 25px 0; 
	margin: 0 auto; 
	font-size: 0.7em;
}

div.post {
	margin-bottom: 25px;
}
	
/* header */
div.header {
	background: #000;
	border-bottom: 2px solid #fff; 
	height: 99px;
	overflow: hidden;
}
	
div.header div.inner {
	width: 730px;
	margin: 0 auto;
	position: relative; 
	height: 99px;
	background: url(/wp-content/themes/davidsax/images/eyes.gif) no-repeat bottom left;
}
	
div.header h1, 
div.header h1 span {
	display: block;
	width: 208px;
	height: 49px;
	overflow: hidden;
	cursor: pointer;
	text-align: right;
}
	
div.header h1 {
	position: absolute;
	top: 31px;
	right: 0;
	font-size: 1.8em;
	color: #fff;
	font-weight: bold;
}

div.header h1 a {
	color: #fff; 
}

div.header h1 a:hover {
	text-decoration: none;
}
	
div.header h1 strong { 
	font-weight: bold;
	color: #9b0000; 
}

div.header h1 em {
	font-style: normal; 
	display: block;
	color: #fff; 
	padding-right: 11px;
	font-size: 0.5em;	
	text-transform: uppercase;
}
		
div.header h1 span {	
	position: absolute; 
	top: 0;
	left: 0;
	z-index: 10;
	background: url(/wp-content/themes/davidsax/images/logo.gif) no-repeat;
}
	
/* content */
div.content {
	text-align: left; 
	overflow: hidden;
	color: #707070;
	float: left;
	width: 414px; 
}

div.content div.post-image img {
	border: 6px solid #fff;
	display: block;
	margin: 0 0 21px;
}

div.content div.entry {
	background: #fff;
	padding: 20px;
}

div.content p { 
	padding-bottom: 18px;
	line-height: 1.4;
}

div.content p.date {
	color: #ba0000;
	font-weight: bold;
	font-size: 1.3em;
	padding: 0;
}

div.content p.meta {
	color: #9b0000;
	padding: 0;
}

div.content h2 {
	color: #000;
	line-height: 1.1;
	font-weight: bold;
	padding-bottom: 12px;
	font-size: 1.8em;
}

div.content h2 a, div.content h2 a:link, div.content h2 a:visited, div.content h2 a:active {
	color: #000;
}

div.content h2 a:hover {
	color: #9b0000;
	text-decoration: none;
}
	
/* sidebar */
div.sidebar {
	text-align: left;
	float: right;
	overflow: hidden;
	color: #000;
	width: 288px; 
} 

div.sidebar div.box {
	background: #ccc;
	padding: 5px;
	line-height: 1.3;
	margin-bottom: 20px;
}

div.sidebar div.box p {
	padding-bottom: 10px;
}

div.sidebar div.box img {
	border: 2px solid #fff; 
	display: block;
} 

div.sidebar div.box div.side-image {
	float: left;
	width: 102px;
}

div.sidebar div.box div.side-con {
	float: right;
	width: 165px;
}

div.sidebar div.about div.side-image {
	width: 151px;
}

div.sidebar div.about div.side-con {
	width: 114px;
}

div.sidebar div.box h2 { 
	font-size: 1.8em;
	letter-spacing: 1px;
	padding-bottom: 8px;
	color: #9b0000;
	font-weight: normal;
}

div.sidebar div.box h2.connecton,
div.sidebar div.box p.connecton {
	padding-bottom: 0;
} 
 


/* flickr */
div.sidebar div.flickr h2 {
	padding: 0 0 0 9px; 
}

div.sidebar div.flickr ul li { 
	width: 77px;
	float: left;
	margin: 8px 6px 12px 9px;
}

div.sidebar div.flickr ul li img {
	border: 0;
}

div.sidebar div.flickr ul li a img {
	border: 2px solid #fff;
}

div.sidebar div.flickr ul li a:hover img {
	border-color: #9b0000; 
}

div.sidebar div.box2 h2 {
	padding: 0 0 0 9px;
}

div.sidebar div.box2 ul {
	padding: 0 9px 9px 9px;
}

div.sidebar div.box2 ul li {
	list-style: square;
	margin-left: 14px;
}


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

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	} 

/* Image placement */
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
	}  

/* Comments */
.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;
	} 

.commentmetadata {
	font-weight: normal;
	}
	
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 90%;
	padding: 2px;
	}
 
	
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	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;
	} 
	
/* 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 { 
	background-color: #fff; 
	}  
 
/* 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;
	}  

.navigation {
	display: block;
	text-align: center; 
	padding: 12px 0 13px;
	} 
	
	.navigation div {  color: white; }
	.navigation a { color: white; }
	
	.navigation .alignright {
	float: right;width: 50%;  text-align: right;
	}

.navigation .alignleft {
	float: left;width: 50%; text-align: left;
	}  
	
	h3#respond, h3#comments { font-weight: bold; font-size: 1.4em; padding: 15px 0 5px; }
h3#comments { padding-top: 0; }
/* 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 {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	} 
	
	
h2.pagetitle { margin: 0; padding: 15px; background: white; }


/* search */
div.search {
	margin-bottom: 20px;
}

div.search form input {
	border: 1px solid #434142;
	color: #434142;
	padding: 8px 5px;
	float: left;
	margin-right: 5px;
	width: 205px;
}

#commentform input, #commentform textarea {
	border: 1px solid #434142;
	color: #434142;
	padding: 4px 3px; 
}

#commentform textarea { height: 100px; width:95%; }

div.search form input.submit,#commentform input.submit {
	background: #9b0000;
	text-align: center; 
	color: #fff;
	width: auto;
	margin: 0;
	font-weight: bold;
	padding: 7px 10px;
	cursor: pointer;
}
#commentform input.submit { 
	padding: 5px 7px;  
}