/*
Theme Name: hGrid
Theme URI: http://ryanflorence.com/
Description: Theme for my blog.
Version: 1.0
Author: Ryan Florence
Author URI: http://ryanflorence.com/
Tags: grid, typography

*/

/* @group Reset */

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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
  font-weight: normal;
}

body {line-height: 1; color: black; background: white;}
a img {border:none;}
ins {text-decoration: none;}
del {text-decoration: line-through;}

:focus {
  -moz-outline:0;
  outline:0;
  outline-offset:0;
}

div#content ol, div#content ul {

}

/* tables still need 'cellspacing="0"' in the markup */
table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}

blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* @end */

/* @group themes */

body, body.serif {
	font-family: "Palatino Linotype, Book Antiqua, Palatino, serif";
	font-size: 1em;
	line-height: 1.5em;
	color: #000;
	background: #fff;
}

h1, h2, h3, body.serif h1, body.serif h2, body.serif h3 {
	font-family: Optima, helvetica, Arial;
}

body.sans-serif {
	font-family: helvetica, arial;
	font-size: 0.9em;
}

body.sans-serif h1, body.sans-serif h2, body.sans-serif h3 {
	font-family: helvetica, arial;
}

a[rel=serif] {
	font-family: "Palatino Linotype, Book Antiqua, Palatino, serif" !important;
	font-size: 1em !important;
}

a[rel=sans-serif] {
	font-family: helvetica, arial !important;
}

body.sans-serif a[rel=serif]{
	font-size: 1.1em !important;
}

body.serif a[rel=sans-serif]{
	font-size: 0.9em !important;
}

/* @end */

/* @group Global */

div#wrapper {
	position: relative;
	overflow: hidden;
}

div#sidebar {
	position: absolute;
	right: 0;
	top: 0;
	width: 30%;
	background: #fff;
	padding: 0 3%;
	min-height: 100%;
	-webkit-box-shadow: -2px 2px 3px rgba(0,0,0,0.3);
	-moz-box-shadow: -2px 2px 3px rgba(0,0,0,0.3);
	box-shadow: -2px 2px 3px rgba(0,0,0,0.3);
	z-index: 1;
	overflow: hidden;
}

div#content {
	margin-right: 36%;
	padding: 0 3%;
	position: relative;
	z-index: 0;
	background: #f2f2f2;
}

span#toggle {
	font-family: optima, helvetica, arial;
	position: fixed;
	right: 35.8%;
	top: 1.2em;
	height: 1em;
	text-align: center;
	z-index: 2;
	cursor: pointer;
	color: #1b609a;
	background: #fff;
	border: 0;
	display: block;
	padding: 0;
	line-height: 0.8em;
	font-size: 1.5em;
	-webkit-border-top-left-radius: .2em;
	-webkit-border-bottom-left-radius: .2em;
	-webkit-box-shadow: -2px 2px 2px rgba(0,0,0,0.2);
	-moz-border-radius-topleft: .2em;
	-moz-border-radius-bottomleft: .2em;
	-moz-box-shadow: -2px 2px 2px rgba(0,0,0,0.2);
	border-top-right-radius: .2em;
	border-bottom-right-radius: .2em;
	box-shadow: -2px 2px 2px rgba(0,0,0,0.2);

}

p#controls {
	position: fixed;
	right: 5em;
	top: 0em;
	margin: 0;
	z-index: 3;
	color: #585858;
}

p#controls a {
	color: #aaa;
	text-decoration: none;
}

p#controls a.current {
	color: #fff;
}

span#toggle:hover {
	color: #000;
}

h2 {
	font-size: 2em;
	margin-bottom: 1em;
	padding-top: 2em;
	color: #000 !important;
	line-height: 1.5em;
}


h3.title a:hover {
	color: #1b609a;
	text-decoration: none;
}

h3 {
	font-size: 1.3em;
	margin-bottom: 1em;
	margin-top: 1em;
	color: #000 !important;	
	font-weight: bold;
}

h3.title a {
	font-weight: bold;
}

div.entry h3 {
	font-size: 1.5em;
	color: #9a6f1b !important;
}


body.home div.content h1, body.home div.content h2, body.home div.content h3, body.home div.content h4 {
	font-size: 1em;
	border: none;
}

p {
	margin-bottom: 1em;
	margin-top: 1em;
}

pre {
	background: #f8f8f8;
	padding: 0;
	margin-bottom: 1.5em;
	border: solid 1px #ccc;
	border-left: .33em solid #585858;
	line-height: 1.2em;
	overflow-x: auto;
	overflow-y: hidden;
}

code {
	font-family: 'monaco', 'andale mono', 'courier new', courier;
	font-size: 0.7em;
	background: #f8f8f8;
	color: #585858;
	border: 0.1em solid #eee;
}

body.sans-serif code {
	font-size: 0.8em;
}

pre code {
	border: none;
	background: none;
}

iframe {
	display: block;
	border: 0.1em solid #94999C;
	border-top: none;
	margin-bottom: 1.5em;
	width: 98%;
}

strong {
	color: #9a6f1b;
}

div.single img {
	float: left;
}

body.single div.post ul {
padding-left: 1em;
}

div#header {
	background: #000;
	color: #fff;
	padding: 0 2%;
	white-space: nowrap;
	overflow: hidden;
	position: fixed;
	left: 0;
	right: 0;
	z-index: 3;
}

div#header a {
	color: #fff;
}

form#search input {

}

div#sidebar > div > ul {
	list-style: none;
}

div#sidebar h3 {
	font-size: 1em;
	margin: 0;
	margin-top: 1.5em;
}

div#sidebar li > ul {
	list-style: ;
	padding-left: 1em;
	color: #aaa;
	list-style-type: square;
}

div#sidebar a {
	color:  #1b609a;
}

div#sidebar a:hover {
	text-decoration: underline;
}

div#footer {
	clear: both;
	padding: .5em;
	color: #585858;
	border-top: solid 0.1em #ddd;
	margin-top: 0.9em;
	text-align: center;
}

a#rss {
	position: absolute;
	z-index: 1;
	right: 10px;
	width: 28px;
	height: 28px;
	top: 0.1em;
}

a#twitter {
	position: absolute;
	right: 44px;
	top: 0.1em;
}

a#twitter img, a#rss img {
	height: 1.2em;
}

div.postmetadata, div.navigation {
	border-top: solid 1px #ddd;
	margin-top: 1.5em;
}

/* @end */

/* @group Colors */

.red {
	color: #e40053;
}

.blue {
	color: #0094d5;
}

.green {
	color: #43aa38;
}

a {
	color: #1b609a;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: #585858;
}

a:active {
	color: #b32022;
}

p a {
	text-decoration: underline;
}

/* @end */

/* @group Home */

div#content h3 a:hover {
	text-decoration: underline;
}

p.read_more {
	text-align: right;
}

p.read_more a {
	background: #ccc;
	background: -moz-linear-gradient(top, #aaa, #eee); 
	background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#aaa));
	color: #333;
	padding: 0.2em 1em;
	text-decoration: none;
	font-size: 13px;
	font-family: helvetica, arial;
	-webkit-border-radius: 1em;
	-moz-border-raidus: 1em;
	text-shadow: rgba(255,255,255,0.5) 0 1px 0;
}

/* @end */

/* @group sidebar search */

div#navigation h2 {
	font-size: 1em;
	padding-top: 1.5em;
	margin-bottom: 0;
}

div#navigation h3.title {
	font-size: 1em;
	margin-top: 0em;
	margin-bottom: 0;
	border: none;
	text-indent: -1em;
	margin-left: 1em;
}

div#navigation h3.title a:hover {
	text-decoration: underline;
}

div#navigation div.content p {
	margin-top: 0em;
	display: none;
}

form#searchform {
	position: relative;
}

input#s {
	width: 100%;
}

img#wp-search-indicator {
	position: absolute;
	bottom: -1.2em;
	left: 0;
	width: 1em;
	height: 1em;
}



/* @end */

/* @group Comments */

body.serif ol.commentlist{
	font-family: optima, helvetica, arial;
}

ol.commentlist {
	list-style: none;
	padding-left: 0 !important;
	font-size: 0.9em;
	line-height: 1.3;
}

li.comment, li.pingback, li.trackback {
	position: relative;
	clear: both;
	border-bottom: solid 1px #585858;
	overflow: auto;
	padding-bottom: 1em;
}

li.comment:last-child, li.pingback:last-child {
	border-bottom: none;
}

div.vcard {
	float: right;
	margin-left: 20px;
	background: #fff;
	width: 19em;
	border: solid 1px #ccc;
	border-bottom: none;
}

div.vcard img {
	margin: .5em;
	vertical-align: bottom;
	background: ;
}

div.comment-meta {
	float: right;
	clear: right;
	margin-left: 20px;
	width: 18.55em;
	background: #fff;
	padding-left: 0.5em;
	padding-bottom: 1em;
	border: solid 1px #ccc;
	border-top: none;
}

div.comment-meta a {
	font-size: 0.8em;
}

li.bypostauthor div.vcard {
	background: #000;
	color: #fff;
}

li.bypostauthor div.comment-meta {
	background: #000;
	color: #fff;
}

li.bypostauthor div.comment-meta a {
	color: #fff;
}

li.comment blockquote {
	font-style: italic;
	border-left: solid 3px #ccc;
	padding-left: 1em;
	color: #585858;
}

/* @end */
div.description {
	font-family: Optima, Arial;
	color: #499a1b;
}
