@charset "utf-8";
/* CSS Document */

/* Based on Eric Meyer's CSS 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,
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;
  vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
  outline: 0;
}
body {
  line-height: 1;
  color: black;
  background: white;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}
blockquote, q {
  quotes: "" "";
}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}

fieldset {
    margin-bottom: 1em;
}

/*
* {font-size: 100.1%;}
*/
html {
    font-size: 62.5%;
}

body {
    background: #231f20;
    color: #808080; 
    font-size: 1.2em;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.6em;
}

a { 
    color: #CC0000;
    text-decoration: none; 
}

a:hover {
    text-decoration: underline;
}


p {
    margin-bottom: 1em;
}

/* Headings */
h1 a { 
    color: #3D7AB8; 
}

h1 {
    margin-bottom: 0.5em;
    font-size: 1.5em;
    line-height: 1em;
    color: #3D7AB8;
}

h2 {
    margin-bottom: 0.5em;
    font-size: 1.5em;
    color: #808080; 
}

h2 a { 
    color: #3D7AB8;
}

h3 {
    font-size: 1.2em;
}

pre {
    overflow: auto;
}

/* Page Header */
#header {
    position: relative;
    height: 8.17em;
    border-top: 1px solid #646162;
    background: transparent url(/images/header/bg.png) top left repeat-x scroll;
}

#header h1 { 
    position: absolute;
    left: 1.05em;
    top: 0.45em;
    margin-bottom: 0.15em; 
    font-size: 2.2em;
}

#header h1 a {
    display: block;
    width: 294px;
    height: 65px;
    text-indent: -100000px;
    background: transparent url(/images/header/logo.png) top left no-repeat scroll;
}

#header a {
    color: #94C5E3;
}

#header h2 {
    font-size: 1.3em; 
    color: #ffffff; 
}

#header .corner {
    position: absolute;
    display: block;
    width: 18px;
    height: 98px;
}

#header .tl {
    top: -1px;
    left: 0px;
    background: transparent url(/images/header/corners.png) 0px -98px  no-repeat;
}

#header .tr {
    top: -1px;
    right: 0px;
    background: transparent url(/images/header/corners.png) 0px 0px no-repeat;
}

#header .title {
    float: left;
}

/* Top Navigation */
#top-nav {
    position: absolute;
    right: 2.5em;
    bottom: 1em;
}

#top-nav li {
    float: left;
    display: block;
    margin-right: 2.5em;
    list-style: none;
}
#top-nav li a {
    display: block;
    position: relative;
    height: 1.67em;
    text-indent: -10000px;
}
#top-nav li a span {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url(/images/nav/bg.png);
    background-repeat: no-repeat;
    
}

#top-nav li.blog a {
    width: 4.33em;
    background: transparent url(/images/nav/blog.png) top left no-repeat scroll;
}
#top-nav li.resume a {
    width: 7.25em;
    background: transparent url(/images/nav/resume.png) top left no-repeat scroll;
}
#top-nav li.sandbox a {
    width: 8.58em;
    background: transparent url(/images/nav/sandbox.png) top left no-repeat scroll;
}
#top-nav li.contact a {
    width: 7.92em;
    background: transparent url(/images/nav/contact.png) top left no-repeat scroll;
}
#top-nav li.logout a {
    width: 4.33em;
    text-indent: 0px;
    background: red none;
    color: #000;
}

/* Reusable Classes */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

.clearer {
    display: block;
    width: 100%;
    clear: both;
    height: 1px;
    overflow: hidden;
}

.hide {
    position: absolute;
    left: -100000px;
    top: -100000px;
}


/* Layout Elements */
#container {
    width: 79.17em;
    margin: 0 auto;
    padding-top: 1em;
}

#main {
    border: 1px solid #5a5757;
    background: #ffffff;
    color: #000000;    
}

#sidenav {
    background: #808080;
}

#sidenav ul.posts li {
    list-style: none;
}

#sidenav a {
    display: block;
    margin-bottom: 1em;
    line-height: 1.3em;
    color: #231F20;
}


#social-net-icons {
    background: #fff;
    padding: .5em;
    border: 3px solid #000;
    margin-bottom: 1em;
    -moz-border-radius: 0 1em 0 1em;
    -webkit-border-radius: 0 1em 0 1em;
}
#social-net-icons li {
    list-style: none;
    float: left;
    margin: 0 0 .5em 2em;
} 

#social-net-icons li.rss {
    clear: both;
    width: 100%;
    margin: 0;
    text-align: center;
}

#social-net-icons li a {
    margin: 0;
}

/* Footer */
#footer {
    background: #000000;
}

#footer p {
    padding: 0.25em 0.5em;
    text-align: right;
}

/* Layout 1: One wide column */
body.layout-1 #main {
    padding: 1em 2em;
}

/* Layout 2: Content and side nav */
body.layout-1 #main {
    padding: 0 2em;
}

body.layout-2 #content {
    float: left;
    width: 50.58em;
    padding: 1em 2em;
}
body.layout-2 #sidenav {
    float: right;
    padding: 1em 2em;
    width: 20.33em;
}

body.layout-2 #main:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
body.layout-2 #main { display: inline-block; }
html[xmlns] body.layout-2 #main { display: block; }
* html body.layout-2 #main { height: 1%; }


/* Body Content */
#content ul {
    margin-left: 1.3em;
}

div.post {
    padding-bottom: 1em;
    border-bottom: 1px solid #808080;
    margin-bottom: 1em;
}

div.post h1 {
    margin-bottom: 0.2em;
}
div.post h2 {
    margin-bottom: 0.75em;
}

div.post h2.title {
    margin-bottom: 0.2em;
}


div.post span.date {
    display: block;
    color: #808080;
}

div.post a.more {
    display: block;
    text-align: right;
} 


.dp-highlighter
{
    font-family: "Consolas", "Courier New", Courier, mono, serif;
    font-size: 12px;
    background-color: #E7E5DC;
    width: 99%;
    overflow: auto;
    margin: 18px 0 18px 0 !important;
    padding-top: 1px; /* adds a little border on top when controls are hidden */
}

/* clear styles */
.dp-highlighter ol,
.dp-highlighter ol li,
.dp-highlighter ol li span 
{
    margin: 0;
    padding: 0;
    border: none;
}

.dp-highlighter a,
.dp-highlighter a:hover
{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.dp-highlighter .bar
{
    padding-left: 45px;
}

.dp-highlighter.collapsed .bar,
.dp-highlighter.nogutter .bar
{
    padding-left: 0px;
}

.dp-highlighter ol
{
    list-style: decimal; /* for ie */
    background-color: #fff;
    margin: 0px 0px 1px 45px !important; /* 1px bottom margin seems to fix occasional Firefox scrolling */
    padding: 0px;
    color: #5C5C5C;
}

.dp-highlighter.nogutter ol,
.dp-highlighter.nogutter ol li
{
    list-style: none !important;
    margin-left: 0px !important;
}

.dp-highlighter ol li,
.dp-highlighter .columns div
{
    list-style: decimal-leading-zero; /* better look for others, override cascade from OL */
    list-style-position: outside !important;
    border-left: 3px solid #6CE26C;
    background-color: #F8F8F8;
    color: #5C5C5C;
    padding: 0 3px 0 10px !important;
    margin: 0 !important;
    line-height: 14px;
}

.dp-highlighter.nogutter ol li,
.dp-highlighter.nogutter .columns div
{
    border: 0;
}

.dp-highlighter .columns
{
    background-color: #F8F8F8;
    color: gray;
    overflow: hidden;
    width: 100%;
}

.dp-highlighter .columns div
{
    padding-bottom: 5px;
}

.dp-highlighter ol li.alt
{
    background-color: #FFF;
    color: inherit;
}

.dp-highlighter ol li span
{
    color: black;
    background-color: inherit;
}

/* Adjust some properties when collapsed */

.dp-highlighter.collapsed ol
{
    margin: 0px;
}

.dp-highlighter.collapsed ol li
{
    display: none;
}

/* Additional modifications when in print-view */

.dp-highlighter.printing
{
    border: none;
}

.dp-highlighter.printing .tools
{
    display: none !important;
}

.dp-highlighter.printing li
{
    display: list-item !important;
}

/* Styles for the tools */

.dp-highlighter .tools
{
    padding: 3px 8px 3px 10px;
    font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: silver;
    background-color: #f8f8f8;
    padding-bottom: 10px;
    border-left: 3px solid #6CE26C;
}

.dp-highlighter.nogutter .tools
{
    border-left: 0;
}

.dp-highlighter.collapsed .tools
{
    border-bottom: 0;
}

.dp-highlighter .tools a
{
    font-size: 9px;
    color: #a0a0a0;
    background-color: inherit;
    text-decoration: none;
    margin-right: 10px;
}

.dp-highlighter .tools a:hover
{
    color: red;
    background-color: inherit;
    text-decoration: underline;
}

/* About dialog styles */

.dp-about { background-color: #fff; color: #333; margin: 0px; padding: 0px; }
.dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; }
.dp-about td { padding: 10px; vertical-align: top; }
.dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; }
.dp-about .title { color: red; background-color: inherit; font-weight: bold; }
.dp-about .para { margin: 0 0 4px 0; }
.dp-about .footer { background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right; }
.dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px; }

/* Language specific styles */

.dp-highlighter .comment, .dp-highlighter .comments { color: #008200; background-color: inherit; }
.dp-highlighter .string { color: blue; background-color: inherit; }
.dp-highlighter .keyword { color: #069; font-weight: bold; background-color: inherit; }
.dp-highlighter .preprocessor { color: gray; background-color: inherit; }


#sexyforms-demo div.example { margin: 0 0 1em 1em; }
