html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }

/* remember to define focus styles! */
:focus { outline: 0; }

/*	--Grid / Row */
.grid:after,
.row:after,
.head:after,
.portfolio:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.grid{ width:100%; }
.grid .column{ float:left; }
.grid .column.first{ margin-left:0px !important; }
.grid .column.last{ float:right; margin-right: 0px !important; }
.grid.center .column{ width: 49%; }
.grid.left .column.first{ width:62%; }
.grid.left .column.last{ width:37%; }
.grid.right .column.first{ width:37%; }
.grid.right .column.last{ width:62%; }
.grid.three .column{ width:270px; margin-right:15px; }

/*
General Styles
*/

body{ margin:0; padding:0; font-size:12px; font-family: Arial, Helvetica, sans-serif; color:#4e4e4e; background:#ebe9e0; line-height:18px; }

.container{ width:840px !important; margin:0 auto; }
.wrapper{ background:url(../images/body_bg.gif) repeat-x #faf7ed; }

p{ margin-bottom:18px; }
a{ color:#32a6bf; text-decoration:none; }
a:hover{ text-decoration:underline; }

em, i{ font-style:italic; }

strong, b{ font-weight:bold; }

h3{ font-weight:bold; font-size:14px; margin-bottom:18px; }
pre{ margin-bottom:18px; }
h2.replaced{ display:block; background:url(../images/headings.png) no-repeat; text-indent:-5000px; margin:23px 0; height:19px; width:209px; }
h2#about{  }
h2#selectedworks{ background-position:0 -50px; }
h2#written{ background-position:0 -100px; }
h2#findme{ background-position:0 -150px; }
h2#getintouch{ background-position:0 -200px; }

body#blog li#nblog a,
body#portfolio li#nportfolio a,
body#home li#nhome a,
body#contact li#ncontact a{ border-bottom:2px solid #fff; }

#header{ padding-top:25px; }
#header h1{ float:left; margin-top:-11px; }
#header ul{ float:right; }
#header ul li{ display:inline; }
#header ul li a{ display:block; float:left; font-size:19px; color:#fff; text-decoration:none; margin-left:35px; }
#header ul li a:hover{ color:#eaeaea; }

#header #splashbox{ width:844px; height:244px; background:url(../images/splash_box.png) no-repeat; margin:57px -2px 25px; clear:both;  }
#header #splashbox img{ margin:12px; }

#showcase{ border-top:1px solid #e2dfd5; margin-top:25px; padding-bottom:15px; }
#showcase .column.first p{ line-height:21px; }

#showcase #minishowcase li{ margin:0 0 10px; }
#showcase #minishowcase li img{ padding:5px; background:#dcd9cb; }

#showcase .column.last ul li{ margin-bottom:10px; padding-bottom:10px; font-size:14px; border-bottom:1px dotted #e2dfd5; }
#showcase .column.last ul li a{ display:block; }

#footer{ background:url(../images/footer_bg.gif) repeat-x; height:261px; }

#footer .column{ width:225px;  margin-right:0; }
#footer .column.first{ width:270px; margin-right:15px; }
#footer #twitterbox{ width:330px; height:225px; background:url(../images/twitter_bird.png) no-repeat; margin-top:16px; }
#footer #twitterbox #twitterblurb{ margin:25px 30px 0 35px; }
#footer #twitterbox #twitterblurb p{ color:#999; }
#footer .contact li{ margin-bottom:5px; }

#footer #socnets li{ margin-bottom:15px; }
#footer #socnets li a{ display:block; width:96px; height:22px; background:url(../images/socnets.png) no-repeat; text-indent:-5000px; }

#footer #socnets #facebook{ background-position:0 0; }
#footer #socnets #facebook:hover{ background-position:-96px 0; }
#footer #socnets #twitter{ background-position:0 -37px; }
#footer #socnets #twitter:hover{ background-position:-96px -37px; }
#footer #socnets #flickr{ background-position:0 -75px; }
#footer #socnets #flickr:hover{ background-position:-96px -75px; }
#footer #socnets #linkedin{ background-position:0 -112px; }
#footer #socnets #linkedin:hover{ background-position:-96px -112px; }
#footer #socnets #lastfm{ background-position:0 -149px; }
#footer #socnets #lastfm:hover{ background-position:-96px -149px; }

#subfooter{ padding:10px 0 10px; text-align:right; border-top:1px solid #e2dfd5; }
#subfooter p{ font-size:11px; }

.entry ul { margin-left:2em; list-style: square outside; margin-bottom:18px; line-height:18px; }


/* blog styles */

body.blog .wrapper{ background:url(../images/body_bg.gif) repeat-x #faf7ed left -150px; }
body.blog #header{ height:100px; }
body.blog #content{ min-height:100px; }

body.blog .post{ padding-top:35px; margin-bottom:35px; padding:20px; position:relative; border-bottom:2px solid #FAF7ED; }
body.blog .post p{ line-height:18px; color:#666; }

body.blog #content .column.first{ width:600px;  background:#fcfaf3; padding-bottom:20px;  }
body.blog #content .column.last{ width:200px; }

body.blog h2{ font-size:24px; line-height:26px; margin-bottom:18px; margin-left:-2px; }
body.blog #sidebar h2{ margin-top:18px; margin-bottom:7px; border-bottom:1px solid #e2dfd5; padding-bottom:7px;  }
body.blog #sidebar ul li{ margin-bottom:10px; }
ul, ol { list-style: none; }
body.blog span.time{ margin-top:11px; margin-bottom:11px; color:#999; display:block; }
body.blog .postmetadata{ margin-top:15px; padding-top:15px; border-top:1px dotted #ccc; }

body.blog .wpcf7-form-control-wrap{ padding:5px; background:#dcd9cb; display:block; }
body.blog .wpcf7-form-control-wrap input,
body.blog .wpcf7-form-control-wrap textarea{ padding:7px; border:1px solid #bbb; width:574px; }

body.blog .portfolio{ border-top:1px solid #e2dfd5; padding:10px 0; }
body.blog .portfolio img{ float:right; background:#dcd9cb; padding:10px; margin:0 0 0 40px; border:1px solid #eee; }
body.blog .portfolio .companies{ width:520px; float:right; margin:0 0 0 40px; height:100px; }
body.blog .portfolio .companies img{ background:none; border:none; }
body.blog .nobg{ background:none !important; }

/* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */
.dean_ch{ font-family: Monaco,Courier New, Courier, monospace; background-color: #141414; color: #eee; margin-bottom:18px; }
.dean_ch .de1, .dean_ch .de2 {font-weight:normal;background:transparent;color:#fff; padding-left: 5px;}
.dean_ch .kw1 {color: #a1a100;}
.dean_ch .kw2 {color: #f3e894; font-weight:bold; }
.dean_ch .kw3 {color: #fff;}
.dean_ch .kw4 {color: #fff;}
.dean_ch .co1, .dean_ch .co2, .dean_ch .coMULTI{color: #545055;}
.dean_ch .es0 {color: #000033; font-weight: bold;}
.dean_ch .br0 {color: #66cc66;}
.dean_ch .st0 {color: #8dd068;}
.dean_ch .nu0 {color: #ff0000;}
.dean_ch .me0 {color: #bf6247;}
.dean_ch .me1 {color: #f47d5b;}

#respond{ padding:10px; }
#commentform label{ display:block; }
#respond #comment,
#respond #author,
#respond #email,
#respond #url{ padding:5px; color:#666; border:1px solid #999; width:520px; }

.navigation{ padding:0 20px; height:15px; }
.navigation .alignleft{ float:left; }
.navigation .alignright{ float:right; }
