/*
 * Common
 */
#document {
    font-family: serif;
    padding: 0.2em;
    line-height: 1.5;
}
a {
    color: #777777;
    cursor: pointer;
}
a:hover {
    color: #1199cc;
}
h1 a {
    color: #000;
    text-decoration: none;
}
h1 a:hover {
    background-color: inherit;
    color: #1199cc;
    text-decoration: underline;
}
input[type=text],
input.text,
textarea,
select {
    border-color: #7C7C7C #CECECE #C3C3C3 #7C7C7C;
    border-width: 1px;
    border-style: solid;
    padding: 0.2em;
    font-family: 'Lucida Grande', Verdana, sans-serif !important;
}
textarea {
    padding: 0.2em 0.4em;
}
select {
    padding: 1px 0;
}
input.text:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    background-color: #d0ffff;
}
blockquote {
    border-left: 1px solid #000;
    padding-left: 1em;
}
h1 {
    font-weight: 400;
    padding-bottom: 0.05em;
    margin-bottom: 0.15em;
    margin-top: 0;
    font-size: 152%;
    border-bottom: 1px solid #F17B50;
}
pre {
    padding: 0.2em;
    border-color: #CCCCCC #BBBBBB #BBBBBB #CCCCCC;
    border-style: solid;
    background-color: #333333;
    color: #EEEEEE;
    border-width: 1px 4px 4px 1px;
    line-height: 1.1;
    margin: 0.5em 0;
}
pre {
    font-size: 85%;
    line-height: 1;
}
/* IE6 */
* html pre {
    font-size: 93%;
    line-height: 1.2;
}
/* IE7 */
*:first-child+html pre {
    font-size: 93%;
    line-height: 1.2;
}
ul li {
    list-style-type: square;
}
.left {
    float: left;
}
.right {
    float: right;
}
.center {
    text-align: center;
}


/*
 * Document
 */
#document {
    margin: 0 auto;
    background-color: #fff;
    padding: 1em;
}


/*
 * Typogrify
 */
.amp {
    font-size: 1.2em;
    font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif;
    font-style: italic;
}
.dquo {
    margin-left: -.38em;
}
.caps {
    font-size: .92em;
}

/*
 * Form Table
 */
form table {
    width: 100%;
}
form table td,
form table th {
    border: none;
    padding: 0.25em;
}
form table th {
    text-align: left;
}
form table input[type="text"],
form table input[type="password"] {
    width: 99.5%;
}
form table textarea {
    width: 98.1%;
}
form table .buttons {
    text-align: center;
}


/*
 * Header
 */
#hd h1 {
    border: none;
    margin-left: 0.5em;
}
#hd h1 a {
    color: #1199cc;
    text-decoration: none;
    font-weight: bold;
}

#hd form {
    float: right;
    position: relative;
    padding-right: 0.7em;
    padding-top: 0.3em;
}
#hd form input.text {
    font-size: 11px;
    font-weight: normal;
}
#search-buttons {
    position: absolute;
    top: 2.5em;
    left: -2em;
    height: 0;
    width: 350px;
    overflow: hidden;
}

#nav {
    float: right;
    margin: 0 0.5em;
    z-index: 1;
    position: relative;
    top: 2px;
}
#nav li {
    list-style: none;
    float: left;
    margin-right: 0.25em;
}
#nav li a {
    text-decoration: none;
    font-weight: bold;
    display: block;
    color: #aaaaaa;
    padding: 0.5em 1em;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
#nav li a:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
    color: #999;
}
#nav li a.active {
    color: #000;
    background-color: #f0f0f0;
    border-color: #aaa;
}
#nav li ul {
    display: none;
}


/*
 * Body
 */
#bd {
    border: 1px solid #999;
    -moz-box-shadow: #ccc 0px 0px 3px;
    -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    padding: 1.5em 2em;
    z-index: 2;
    position: relative;
}

/*
 * Footer
 */
#ft {
    padding-top: 0.75em;
    text-align: center;
}

/*
 * Messages
 */
#messages {
    margin-bottom: 1.5em;
    border-left: 2px solid #000;
}
#messages div {
    padding: 0.5em;
    background-color: #eee;
}
.icon {
    background-color: #1199cc;
    color: #fff;
    padding: 0 0.3em;
    margin-right: 0.5em;
    font-weight: bold;
}


/*
 * Sidebar
 */
#sidebar {
    float: right;
    width: 19em;
    border-left: 1px dashed #aaa;
}
#sidebar div.panel {
    padding: 1em;
    margin-bottom: 0.2em;
}
#sidebar h2 {
    font-size: 114%;
    font-weight: bold;
    padding-bottom: 0.2em;
    margin-bottom: 0.2em;
    margin-top: 0;
}
#sidebar h2 a {
    text-decoration: none;
    color: #000;
}
#sidebar h2 a:hover {
    color: #1199cc;
}
#sidebar div.items {
    padding-left: 0.2em;
}
#sidebar div.items a {
    display: block;
    text-decoration: none;
    margin-bottom: 0.4em;
    padding-left: 0.9em;
}
#sidebar div.items span {
    float: left;
}


/*
 * Main
 */
#main {
    margin-right: 21em;
}


/*
 * Blog Entries
 */
.blog-entry {
    margin-bottom: 2.5em;
}
.blog-entry .date {
    float: right;
    font-size: 92%;
    font-weight: normal;
    padding-top: 0.85em;
    padding-right: 1em;
    color: #aaa;
}
.blog-entry .tags {
    font-size: 92%;
    color: #aaa;
}
.blog-entry .tags ul {
    margin: 0;
    display: inline;
}
.blog-entry .tags ul li {
    list-style: none;
    display: inline;
}
.blog-entry .body {
    margin-top: 1em;
    padding-bottom: 0.7em;
}
.blog-entry h2 {
    font-size: 114%;
    font-weight: bold;
    padding-bottom: 0.2em;
    margin-top: 1.5em;
}
.blog-entry p {
    margin-bottom: 0.75em;
}
.blog-entry .tools {
    margin-top: 2em;
    font-size: 92%;
}
.blog-entry .tools strong {
    padding-right: 0.5em;
    font-size: 129%;
    font-family: monospace;
}

/*
 * Post Comments
 */
.comments {
    margin-top: 2em;
}
.comments > h2,
.comments legend {
    font-size: 129%;
    font-weight: bold;
    margin-bottom: 0.2em;
}
.noComments {
    padding-left: 0.4em;
}
.comments .comment {
    margin: 0 0 1em 0.75em;
    padding: 0.25em 0;
    border-left: 2px solid #444;
}
.comments .comment .content {
    border: none;
    background-color: #bbb;
    line-height: 1.1;
    padding: 0.75em 1em 0.5em;
    color: #000;
}
.comments .comment .by {
    position: relative;
    left: -1px;
    margin-top: 0.5em;
    font-size: 85%;
}

/*
 * Links
 */
.link {
    margin-bottom: 1em;
}
.link > a {
    font-size: 122%;
}
.link .tags,
.link .extended {
    margin-left: 1em;
}
.link .tags a {
    text-decoration: none;
}
.link .date {
    font-size: 85%;
    padding-left: 1em;
}

#delicious {
    margin-left: 0.5em;
    font-size: 122%;
}
.delLogo {
    float: left;
    height: 2em;
    width: 2em;
}
.delLogo * {
    float: left;
    height: 1em;
    width: 1em;
}
.delLogo b.w {
    background-color: white;
}
.delLogo b.b {
    background-color: blue;
}
.delLogo b.d {
    background-color: black;
}
.delLogo b.g {
    background-color: #eee;
}

/*
 * Login
 */
#login h1 {
    margin-bottom: 1em;
}
#login div {
    margin-top: 0.3em;
    line-height: 2;
}
#login div label {
    float: left;
    width: 7em;
}
#login div .button {
    margin-top: 0.6em;
    margin-left: 7em;
}

/*
 * Page
 */
#page {
    height: 1em;
}
#page a {
    text-decoration: none;
}
#page a span {
    text-decoration: underline;
}
#page a.older {
    float: left;
}
#page a.newer {
    float: right;
}
