/* Style based on Silhouette by Brian Gardner
   http://www.briangardner.com/themes/silhouette-blue-wordpress-theme.htm
   which was released under the GPL:
   http://www.opensource.org/licenses/gpl-license.php therefor this
   stylesheet is GPL as well.

   I just can't design myself.
 */

/* Based on traceback.org */

/***** Render HTML5 elements as block *****/
header, footer, aside, nav, article, section {
    display: block;
}


/***** Main markup *****/

body {
    color: #333333;
    background: #FFFFFF;
    font-size: 14px;
    font-family: verdana, arial, times new roman;
    margin: 0px;
    padding: 0px;
}

h1 {
    font-family: arial, verdana, times new roman;
    font-size: 120%;
    text-transform: uppercase;
    margin: 45px 15px 15px 0;
    padding: 5px 0;
    border-top: 1px dotted #C0C0C0;
    border-bottom: 1px dotted #C0C0C0;
    overflow: hidden;
}

h2 {
    font-family: arial, verdana, times new roman;
    font-size: 120%;
    margin: 15px 15px 5px 0;
    padding: 5px 0;
    overflow: hidden;
}

h3 {
    font-family: arial, verdana, times new roman;
    font-size: 110%;
    margin: 15px 15px 5px 0;
    padding: 5px 0;
    overflow: hidden;
}

h4 {
    font-weight: bold;
    margin: 15px 0;
    overflow: hidden;
}

h5 {
    font-weight: bold;
    overflow: hidden;
}

p {
    margin: 7px 15px 14px 0;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited {
    color: #333333;
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover {
    color: #BE0C0C;
    text-decoration: none;
}

/* XXX Consider different colour for visited link */
a, a:visited {
    color: #BE0C0C;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.anchor {
    color: #333333;
    text-decoration: none;
}

blockquote {
    color: #333333;
    background: #F2F2F2;
    margin: 20px;
    padding: 5px;
    border: 1px solid #000000;
    overflow: hidden;
}

pre, code, tt {
    font-family: 'Monaco', 'Bitstream Vera Sans Mono', monospace;
}

pre {
    margin: 10px;
    padding: 5px;
    border: 1px solid #000000;
    overflow: auto;
}

img {
    margin: 10px;
}

img.icon {
    margin: 0;
}

li {
    margin: 10px 0;
}

dt {
    font-weight: bold;
    margin: 10px 8px 0;
}


/***** Global layout building blocks *****/

.page {
    margin: 0 auto;
    padding: 0px;
    max-width: 940px;
    overflow: hidden;
}

/* duplicate: epiphany does not pick up the .page above */
div.page {
    margin: 0 auto;
    padding: 0px;
    max-width: 940px;
    overflow: hidden;
}


/***** Header block (includes navigation) *****/

header.site {
    color: #FFFFFF;
    background: #313032;
    margin: 0;
    padding: 5px;
}

header.site h1, header.site h1 a, header.site h1 a:visited {
    font-family: arial, verdana, times new roman;
    font-size: 36px;
    color: #C0C0C0;
    text-decoration: none;
    font-weight: normal;
    text-transform: none;
    margin: 0;
    padding: 20px 0 0;
    border-style: none;
}

header.site a:hover {
    color: #BE0C0C;
    text-decoration: none;
}

header.site h2 {
    font-weight: bold;
    font-size: 100%;
    text-decoration: none;
    margin: 0 0 10px;
    padding: 0;
}

nav.site {
    color: #FFFFFF;
    background: #313032;
    margin: 0;
    padding: 0;
    border-top: 2px solid #BE0C0C;
    font-weight: bold;
}

nav.site ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav.site ul li {
    display: inline;
    float: left;
    margin: 0;
}

nav.site ul li a {
    display: block;
    width: 7em;
    text-align: center;
    line-height: 2em;
}

nav.site a, nav a:visited {
    color: #FFFFFF;
    background: #313032;
    text-decoration: none;
}

nav.site a:hover {
    background: #BE0C0C;
    text-decoration: none;
}


/***** Aside block *****/

aside {
    color: #333333;
    background: #F2F2F2;
    margin: -10px 0 15px 15px;
    padding: 10px;
    border: 1px solid #D9D9D9;
    float: right;
    width: 25%;
}

aside h1 {
    color: #BE0C0C;
    font-size: 100%;
    font-weight: blold;
    text-transform: capitalize;
    margin: 0;
    padding: 5px 0;
    border-top-style: none;
    border-bottom-style: none;
}

aside ul {
    list-style: none;
    margin: 0;
    padding: 0 0 10px;
    border-top: 1px dotted #C0C0C0;
}

aside ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted #C0C0C0;
}

aside ul li a, aside ul li a:visited {
    display: block;
    color: #333333;
    padding: 5px 0;
}

aside ul li a:hover {
    color: #BE0C0C;
    background: #EAEAEA;
    text-decoration: none;
}

aside ul.hierarchy a, aside ul.hierarchy li a {
    display: inline;
    padding: 0;
}

aside ul.hierarchy a:hover {
    color: #BE0C0C;
    background: #F2F2F2;
    text-decoration: none;
}

aside p {
    margin: 0;
    padding: 5px 0;
}


/***** Main content block *****/

section#content {
    margin: 15px 5px 15px;
}

/***** Blog posts *****/

section#blog-posts {
    margin: 0 0 45px 0;
}

div.date-header {
    color: #A9A9A9;
    text-align: right;
}

div.navmessage {
    color: #333333;
    background: #F2F2F2;
    text-align: center;
    margin: 45px 15px;
    padding: 5px;
    border: 1px solid #000000;
    overflow: hidden;
}

article.comment {
    border-bottom: 1px dotted #C0C0C0;
}

footer.comment {
    color: #333333;
    background: #FFFFFF;
    border-style: none;
    padding: 5px;
}


/***** Footer *****/

footer {
    color: #333333;
    background: #F2F2F2;
    border-top: 2px solid #000000;
    border-bottom: 1px solid #000000;
    font-size: 0.8em;
    padding: 10px;
    overflow: hidden;
}

footer.site {
    color: #333333;
    background: #A9A9A9;
    margin: 15px 0 0;
    padding: 8px;
    border-top: 2px solid black;
    border-bottom-style: none;
    font-size: 1em;
}
