@import url('reset.css');

html {
    height: 100%;
}

body {
    font-size: 62.5%;
    height: 100%;
    margin: 2em;
    padding: 0;
    font-family: "Geneva", "Lucida Grande", Arial;
    background: #e9e9e0 url(../images/bg.jpg);
    color: #452817;
    text-rendering: optimizeLegibility;
}

/* ----------------
    DEFAULTS
    ------------- */
strong, b { font-weight: bold; }
em, i { font-style: italic; }

p { 
    font-size: 1.2em;
    margin-bottom: 1em;
    margin-top: 0;
    line-height: 1.5em;
    text-shadow:0 1px 0 #f6f6f2;
}

small,
.small { font-size: 0.8em; }

h1, h2, h3 { 
    font-family: 'Droid Serif', arial, serif;
    font-weight: normal; 
    text-shadow:1px 1px 1px #BFBFBF;
}

h1 {
    font-size: 28px;
    color: #452817;
    border-bottom: 1px dotted #c7c3bd;
    margin: 0 -20px 1em -20px;
    padding-left: 20px;
}

h2, h3, h4, h5, h6 {
    font-size: 16px;
    color: #452817;
    margin-bottom: 0.5em;
}

h3 { font-size: 14px; }
h4, h5, h6 { 
    font-size: 12px; 
    font-weight: bold;
}

#sidebar h3 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
    color: #8F8C86;
}

p.date {
    font-size: 0.8em;
    color: #8F8C86;
} 

ul {
    font-size: 1.2em;
}

ul ul {
    font-size: 1em;
}

li {
    margin-bottom: 0.5em;
    line-height: 1.5em;
    text-shadow:0 1px 0 #f6f6f2;
}
 
li span {
   color: #5F584D; 
}

a,
a:visited {
    position: relative;
    padding: 1px 3px;
    margin-left: -3px;
    color: #452817;
    text-decoration: none;
    border-bottom: 1px dotted #99c2ea;
}
a:hover,
a:active { 
    color: #fff;
    background-color: #99c2ea;
    border-bottom: 1px solid #99c2ea;
    -moz-border-radius: 3px;
    text-shadow: 0 1px 0 #14508b;
}

#nav a:hover,
#nav a:active {
    text-shadow: none;
}

#wrapper {
    width: 960px;
}

#content {
    width: 560px;
    padding: 20px;
    border-right: 1px dotted #c7c3bd;
    border-left: 1px dotted #c7c3bd;
    border-bottom: 1px dotted #c7c3bd;
    margin-bottom: 2em;
}

#footer { display: none; }

#content img {
    padding: 5px;
    background-color: #fff;
    border: 1px solid #5F584D;
}
#content img.paypal {
    padding: 0;
    border: 0;
}

#nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav li {
    float: left;
    margin: 0 0 1px 0;
    border-right: 1px solid #babaad;
}

#nav {
    position: relative;
    background-color: #dadacb;
    border-top: 5px solid #452817;
    margin: -2em -2em 0 -2em;
    padding: 0 2em;
}

#nav a {
    display: block;
    padding: 4px 6px;
    border: 1px solid #dadacb;
}
    #nav li:first-child {
        border-left: 1px solid #babaad;
    }
    #nav a:hover {
        color: #fff;
        border-color: #EFEFE0;
        background-color: #c3c3b8;
    }
    
#sidebar {
    position: absolute;
    left: 640px;
    top: 0;
    width: 220px;
}

.post {
    margin-bottom: 2em;
    clear: both;
}

.post.free {
    width: 250px;
    margin-right: 30px;
    float: left;
    clear: none;
}

.post ul,
#sidebar ul {
    margin: 0 1.5em;
    list-style: disc;
}

#sidebar ul {
    margin: 1em 1.5em;
}

.post ul li {
    margin: 0.5em 0;
}

#content .post img.thumbnail {
    float: right;
    margin: 0 0 1em 1em;
    padding: 0;
    box-shadow:0 2px 12px #452817;
    -webkit-box-shadow:0 2px 12px #452817;
    -moz-box-shadow:0 2px 12px #452817;
    border: 0;
}

.paginate {
    margin-top: 3em;
    color: #5F584D;
}

p.title {
    position: absolute;
    top: 2px;
    right: 20px;
    color: #fff;
    font-family: georgia, serif;
    font-style: italic;
    font-size: 1.4em;
    z-index: 999;
    text-shadow: none;
}

.iesucks {
    background-color: red;
    color: white;
    border: 1px solid white;
    padding: 1em;
    margin: 1em;
}

.twitter {
    border-top: 5px solid #1F120A;
    padding: 20px;
    padding-top: 0;
    background-color: #DADACB;
    margin-bottom: 3em;
}

.twitter p {
    margin-bottom: 0;
}

.twitter .status {
    margin-bottom: 1em;
}

.twitter .username {
    height: 24px;
    line-height: 24px;
    display: block;
    background: url(../images/twitter-16x16.png) 0 50% no-repeat;
    padding-left: 22px;
    margin-bottom: 1em;
}

.twitter .username img {
    border: none;
}

.pastie {
    line-height: 1.4em;
    color: #2f2f2f;
}

.pastie .buttons {
    display: none !important;
}

var {
    font-family: courier;
}

#comments-wrapper {
    padding: 2em;
    margin: 0 -20px;
    background-color: #DADACB;
}

.comment {
    margin: 1.5em;
    padding: 0 2em;
}




div.tag {
    border-bottom: 1px solid #1F120A;
}

code,
pre {
    display: inline-block;
    margin: 3px 0 15px 0;
    -moz-background-clip: border;
    -moz-background-inline-policy: continuous;
    -moz-background-origin: padding;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    background: #F5F5F5 none repeat scroll 0 0;
    border: 1px solid #E0E0E0;
    color:#666666;
    font-family: monospace;
    font-size: 1.4em;
    padding: 1px 2px;
}

pre {
    font-size: 1.6em;
    color: #333;
    padding: 4px 2px;
}

div.documentation {
    margin-top: 4em;
}

div.links {
    float: right;
    width: 160px;
    text-align: center;
    padding: 20px;
}
div.links a {
    display: block;
    box-shadow:0 2px 12px #452817;
    -webkit-box-shadow:0 2px 12px #452817;
    -moz-box-shadow:0 2px 12px #452817;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #DADACB;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    margin: 0 auto 12px auto;
    background-color: #fff;
}
div.links a:hover,
div.links a:active {
    color: #fff;
    background-color: #99c2ea;
}
div.links a span {
    font-size: 0.6em;
    display: block;
    font-weight: normal;
}

.flourish { text-align: center; margin-bottom: 3em; }
#content .flourish img { background: none; border: 0; margin: 0; padding: 0; }



.notice {
    background-color: #fff; 
    color: red; padding: 1em;
}


.clearfix:after,
#content:after {
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}
