/*

 NanoBlogger Default
 box model hack with 2 column layout

 see suggestions for proper display on ie 5 mac here:
 http://www.alistapart.com/articles/footers/

*/

html, body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #CCC;
    /* footerStickAlt
     *    http://www.themaninblue.com/writing/perspective/2005/08/29/
     */
    height: 100%;
}

body {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

a               { color: #003366; text-decoration: none; }
a:link          { color: #003366; text-decoration: none; }
a:visited       { color: #003366; text-decoration: none; }
a:active        { color: #999999; text-decoration: underline; }
a:hover         { color: #999999; text-decoration: underline; }

h1 {
    margin-top: 25px;
    margin-bottom: -0.25em;
    padding-top: 10px;
    font-size: x-large;
}

h2 {
    color: #999999;
    margin-bottom: 1.5em;
    padding: 0;
    text-align: center;
    font-family: vedana, arial, helvetica, sans-serif;
    font-size: large;
    font-weight: bold;
}

h3 {
    margin-top: 1.5em;
    margin-bottom: -0.75em;
    padding: 0;
    color: #003366;
    font-size: medium;
}

h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: -0.75em;
    font-size: x-small;
}

blockquote {
    background-color: #EEE;
    padding: 2mm;
    border-left: 5px solid #BBB;
}

img {
    border: 0;
}

pre {
    background-color: #EEE;
    padding: 2mm;
    border: 1px solid #999;
    overflow: auto;
    max-height: 300px;
}

#header {
    background-color: #FFF;
    margin: 0px;
    padding: 15px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

#header h1 {
    margin: 0;
    padding: 0 0 0 10px;
    font-size: x-large;
}

#header a,
#header a:link,
#header a:visited,
#header a:active,
#header a:hover {
    color: #999999;
    text-decoration: none;
}

.description {
    color: #999999;
    font-size: small;
    font-weight: bold;
    text-transform: lowercase;
    margin: 0;
    padding: 0 0 0 10px;
    font-size: small;
}

#container {
    position: relative;
    background-color: #FFF;
    margin: 0 auto;
    text-align: left;
    min-height: 90%;
    height: 90%;
}

html>body #container {
    height: auto;
}

#content {
    /* width: 65%; */
    padding: 10px 10px 10px 40px;
    background-color: #FFF;
    /* padding-bottom: 140px; */
    /* border: 1px solid red; */
}

/* #widecolumn deprecated
only here for backwards compat. */
#altcontent, #widecolumn {
    background-color: #FFF;
    padding: 10px 40px 10px 40px;
    /* padding-bottom: 140px; */
}

#links {
    background-color: #FFF;
    width: 210px;
    padding: 10px;
    margin-left: 30px;
    margin-bottom: 20px;
    /* padding-bottom: 140px; */
    border-left: 1px dashed #999;
    border-bottom: 1px dashed #999;
}

#wrap {
    margin-top: 0px;
    margin-left: 0px;
}

#menu, .menu {
    text-align: center;
    margin-bottom: 15px;
}

#footer {
    clear: both;
    position: relative;
    background-color: #FFF;
    bottom: 0;
    min-height: 10%;
    height: 10%;
    margin: auto;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

html>body #footer {
    height: auto;
}

.intro {
    border-bottom: 1px solid #999999;
    background-color: #FFF;
    color: #333;
    font-weight: normal;
    padding: 10px;
    margin-bottom: 45px;
}

.intro a {
    font-weight: normal;
    text-decoration: underline;
    color: #333;
}

.blog, .archives, .pages {
    color: #333;
    padding: 0px;
    font-weight: normal;
}

.draft {
    background: url(../images/draft.png);
}

.blogbody {
    padding: 0px 30px 0px 0px;
}

.blogbody p {
    text-align: left;
}

.blogbody a,
.blogbody a:link,
.blogbody a:visited,
.blogbody a:active,
.blogbody a:hover {
    font-weight: normal;
    text-decoration: underline;
}

.title  {
    text-transform: none;
    color: #003366;
    margin-bottom: 15px;
    font-family: verdana, arial, sans-serif;
    font-size: medium;
}

.date {
    color: #666;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.7em;
    font-family: verdana, arial, sans-serif;
    font-weight: bold;
    font-size: large;
    border-bottom: 1px solid #999;
}

.posted {
    color: #000000;
    margin-bottom: 25px;
    font-size: x-small;
}

.calendar {
    color: #003366;
    padding: 2px;
    text-align: center;
    letter-spacing: 0.2em;
    font-family: verdana, arial, sans-serif;
    font-size: x-small;
    font-weight: normal;
}

.calendar a,
.calendar a:link,
.calendar a:active,
.calendar a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.calendarhead {
    color: #003366;
    padding: 2px;
    text-align: center;
    font-weight: bold;
    letter-spacing: .3em;
    text-transform: uppercase;
    border-bottom: 1px solid #999;
}

.calendarday {
    font-weight: bold;
    text-align: center;
}

.side {
    color: #333;
    padding: 2px;
    line-height: 1.7em;
    text-align: right;
    font-size: small;
    overflow: hide;
}

.sidetitle {
    color: #003366;
    padding: 2px;
    margin-top: 10px;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: .1em;
    border-bottom: 1px dotted #999;
}

.syndicate {
    background-color: #EEE;
    padding: 2px;
    margin-top: 10px;
    text-align: center;
    font-size: small;
}

.metainfo {
    background-color: #FFF;
    color: #666;
    text-align: center;
    padding: 10px;
    font-size: x-small;
}

.metainfo a {
    font-weight: bold;
}

/* --- tools --- */

.clear {
    clear: both;
}
.right {
    float: right;
    margin: 0 0 10px 10px;
}
.left {
    float: left;
    margin: 0 10px 10px 0;
}

img.left {
    float: left;
    margin: 0 10px 10px 0;
}

img.right {
    float: right;
    margin: 0 0 10px 10px;
}

.center {
    text-align: center;
}

.block {
    display: block;
}

/* class to hide elements */
.hide {
    display: none;
}

/* used to clear the floats: http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
}

* html body {
    font-size: x-small;
    /* be nice to opera */
}

/* --- extras --- */

.comments-body {
    color: #666;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: small;
    font-weight: normal;
    border-bottom: 1px dotted #999;
}

.comments-post {
    color: #666;
    font-size: x-small;
    font-weight: normal;
}


.trackback-url {
    color: #666;
    padding: 5px;
    font-size: small;
    font-weight: normal;
    border: 1px dotted #999;
}


.trackback-body {
    color: #666;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: small;
    font-weight: normal;
    border-bottom: 1px dotted #999;
}

.trackback-post {
    color: #666;
    font-size: x-small;
    font-weight: normal;
}


.comments-head  {
    color: #666;
    margin-top: 20px;
    font-size: small;
    font-weight: bold;
    border-bottom: 1px solid #999;
}

#header-commentspop {
    color: #FFF;
    padding: 5px 5px 15px 15px;
    font-size: large;
    font-weight: bold;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-top: 1px solid #FFF;
}

/* Desktop mode */
@media screen and (min-width: 800px) {
    body {
        font-size: 12px;
    }
    #container {
        width: 1000px;
    }
    #links {
        float: right;
    }
    #footer {
        width: 980px;
    }
    .date {
        width: 550px;
    }
    img {
        /* scale down image if needed */
        max-width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .posted, h4, h5, h6 {
        font-size: small;
    }
    blockquote {
        margin: 1.5em 10px;
    }
    #links {
        display: none;
        position: absolute;
        right: 0px;
    }
    img {
        /* scale down image if needed */
        max-width: 100%;
    }
    #content {
        /* half the left padding on mobile */
        padding: 10px 10px 10px 20px;
    }
    img#avatar {
        width: 70px;
    }
}
