/*
Theme Name: Davey Shafik
Theme URI: http://daveyshafik.com
Description: Theme for DaveyShafik.com
Version: 0.1
Author: Davey Shafik
Author URI: http://daveyshafik.com
Tags: green, brown, custom

	Davey Shafik 0.1
	 http://daveyshafik.com

	This theme was designed and built by Davey Shafik, based on the
	design by John O'Nolan <http://john.onolan.org>

	The CSS, (X)HTML and design is Copyright © Davey Shafik 2009

*/

/*--- CSS Reset ---*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strike, strong, tt, var,
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;
}

:focus {
   outline: 0;
}

body {
   line-height: 16px;
}

table {
   border-collapse: separate;
   border-spacing: 0;
}

caption, th, td {
   text-align: left;
   font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
   content: "";
}
blockquote, q {
   quotes: "" "";
}

.left {
	float: left;
}

.right {
	float: right;
	margin-right: 0 !important;
}
	
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End hide from IE-mac */


/*--- Common ---*/

body {
	font-family: Georgia, serif;
}

h1 {
	font-size: 50px;
	letter-spacing: -10px
}

h2 {
	width: 300px;
	float: left;
	font-size: 30px;
	line-height: 35px;
	letter-spacing: -1px;
	margin: 60px 0 0 180px;
	text-indent: -15px;
}

h3 {
	float: left;
	margin: 0;
	font-family: Helvetica, Verdana, sans-serif;
	font-weight: normal;
	font-size: 95%;
	line-height: 20px;
	margin-top: 7px;
	text-indent: 15px;
	width: 100%;
}

#content .box h3 a {
	border-bottom: 0;
	text-decoration: none;
}

h4 {
	float: left;
	margin: 0 0 20px 0;
	font-size: 20px;
}

p {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 16px;
}

em {
	font-style: italic;
	border-bottom: 1px dashed;
}

strong {
	font-weight: bold;
	text-transform: uppercase;
}

a {

}

a:hover {

}

/*--- Layout ---*/
#wrapper {
	width: 960px; 
	margin: 0 auto; 
}

/*--- Nav ---*/
#nav {
	list-style: none;
	margin: 0;
	padding: 7px 0 0 0;
	font-family: Helvetica, Verdana, sans-serif;
	font-size: 20px;
	letter-spacing: -1px;
	position: relative;
	z-index: 50;
}

#nav li {
	float: left;
	margin: 0 72px 0 0;
	padding-top: 5px;
}

#nav li a {
	text-decoration: none;
	padding: 3px 10px;
	border: none;
}

#nav li a:hover {
}

#nav li#first a {
	padding-left: 0;
}
	

/*--- Header ---*/
#header {
	height: 150px
}

#logo {
	float: left;
	margin: 65px 0 0 35px;
}

#logo a {
	display: block;
}

#logo img {
	position: relative;
	left: -5000px;
}

/*--- Content ---*/
.box {
	float: left;
	width: 100%;
	margin: 45px 30px 0 0;
	padding: 10px 0 0 0 ;
}

.box h3.post-header, .box h3.sub-content {
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 0.5em;
	margin-bottom: 12px;
	font-size: 24px;
	text-indent: 0;
}

.box p {
	text-indent: 20px;
	font-size: 90%;
}

.small p {
	width: 100%;
}

.small {
	width: 297px;
	margin-top: 0;
}

.medium {
	width: 455px;
	margin: 45px 45px 0 0;
}

.big {
	width:630px;
}

.sidenote p {
	text-align: right;
	font-size: 20px;
	line-height: 24px;
	margin: -1px 0 24px 0;
	float: none;
}

/*--- Footer ---*/
#footer {
	float: left;
	width: 100%;
	height: 370px;
	margin: 50px 0 0 0;
}

#footer h3 {
	margin-top: -15px;
	margin-bottom: 30px;
	font-size: 150%;
}

#footer .inner .right {
	margin-right: 30px !important;
}

#footer .inner .left {
	margin-top: 60px;
}

.inner {
	width: 896px;
	margin: 0 auto;
	padding: 50px;
}

#footer img {
	margin: 0 25px 10px 0; 
	width: 75px;
	float: left;
	padding: 5px;
}

.credits {
	margin: 52px 0 0 0;
	font-size: 13px;
	font-family: Helvetica, Verdana, sans-serif;
}
.credits a {
	text-decoration: none;
}

/*--- Style Switcher ---*/
#switcher {
	position: absolute;
	right: 50px;
	top: 50px;
}

#switcher span {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid black;
	cursor: pointer;
}

#switcher span#primary-color {
	top: -45px;
	right: 15px;
	z-index: 1000;
}

#switcher span#secondary-color {
	top: -35px;
	right: 5px;
	z-index: 999;
}


/*--- Tags ---*/
pre {
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	overflow: auto;
	clear: both;
	margin-bottom: 1em;
	font-family: Inconsolata, Consolas, Andale, Monaco, "Lucida Console", Courier, monospace;
}

code {
	font-family: Inconsolata, Consolas, Andale, Monaco, "Lucida Console", Courier, monospace;
	padding: 0.3em;
}

ul {
	clear: both;
	font-family: Helvetica, Verdana, sans-serif;
	font-size: 90%;
}

li {
	line-height: 2.2ex;
	font-family: Georgia, serif;
}

h3 {
	font-size: 120%;
	text-indent: 0;
}

h4 {
	font-size: 110%;
}

/*--- Code ---*/
.syntaxhighlighter {
	font-size: 12px !important;
}

/* Styles for IDE comparison table */
.page-id-515 table {
	color: #000;
	clear: both;
	margin-left: auto;
	margin-right: auto;
}

.page-id-515 th {
	background: #929292;
	border: 1px solid #929292;
	padding: 3px 10px;
	color: #FFFFFF;
	text-align: left;
	min-width: 60px;
}

.page-id-515 td {
	background: #D6D6D6;
	border: 1px solid #929292;
	padding: 1px 10px;
}

.page-id-515 td strong {
	color: #000;
	text-transform: none;
}

.page-id-515 td.full-support {
	width: 60px;
	background-color: #07BF3B;
	text-align: center;
}

.page-id-515 td.partial-support {
	width: 60px;
	background-color: #DAA927;
	text-align: center;
}

.page-id-515 td.no-support {
	width: 60px;
	background-color: #B8340A;
	text-align: center;
}

#books a img {
	margin-left: 20px;
}

#meta img {
	margin-left: 100px
}