/* CSS Reset courtesy of http:///meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

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, b, u, i, center, 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;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q {	quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
/* remember to define focus styles! */
:focus { outline: 0; }

/* remember to highlight inserts somehow! */
ins { text-decoration: none; }
del { text-decoration: line-through; }

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }

/* Real Styling */
html {
    text-align: center;
    background: #f8f8f8 url(http://ferd.ca/dev/static/img/pinstripe.png?v1);
    color: #333;
    font-family: 'PT Sans', Trebuchet Ms, Arial;
}
body {
    margin: 0 auto;
    text-align: center;
}

header, footer, article {
    display: block;
    text-align: left;
}

header {
    font-size: 3.4em;
    margin: 0px auto 0.1em;
    padding: 0.5em 0px 0px;
    text-align: center;
    width: 70%;
}

header h1 {
    text-align: left;
    font-family: 'Lora', Georgia;
    font-style: italic;
}

header a {
    color: #232323;
    text-decoration: none;
    /*background: url("http://ferd.ca/static/img/separator.png") no-repeat transparent bottom -7% left 15%;
    padding-bottom: 0.5em;*/
}

header a span.hilight, h2 span.hilight, h3 span.hilight {
    color: #de1e4c;
}

article {
    width: 70%;
    margin: 0 auto;
    padding: 2em 0.5em 0.5em;
    color: #666;
    font-size: 1.1em;
}

article a {
    color: #888;
}

article span.date {
    font-family: 'Open Sans', monospace;
    font-size: 0.8em;
    color: #888;
    font-style: italic;
}

article h2 {
    margin: 0.2em 0;
    font-size: 1.8em;
    color: #de1e4c;
    font-family: 'Lora', Trebuchet MS, Arial;
    font-style: italic;
}

article h3 {
    margin: 1.2em 0 0.4em;
    font-size: 1.4em;
    font-style: italic;
    /*color: #69f;*/
    color: #232323;
    font-family: 'Lora', Trebuchet MS, Arial;
}
article h4 {
    margin: 1.2em 0 0.4em;
    font-size: 1.1em;
    font-style: italic;
    /*color: #69f;*/
    color: #232323;
    font-family: 'Lora', Trebuchet MS, Arial;
}

article p {
    margin: 1.2em 0 0.4em;
    max-width: 41em;
    line-height: 1.4em;
    font-size: 1.0em;
    color: #333;
    font-family: 'PT Sans', Trebuchet MS, Arial;
}

article div.syntaxhighlighter {
    max-width: 50em;
    margin-top: 1.6em !important;
    margin-bottom: 1.6em !important;
}

article div.syntaxhighlighter .lines {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

article dl,
article ul,
article ol {
    margin: 1.2em 0 0.4em 1.5em;
    color: #333;
    font-size: 1.0em;
    line-height: 1.4em;
    max-width: 36em;
}

article ul {
    list-style-type: disc;
}

article ol {
    list-style-type: decimal;
}

article ul li {
    padding-left: 0.5em;
}

article dl dt {
    font-style: italic;
    margin-top: 1em;
    color: #666;
}

article dl dd {
    margin-left: 0.7em;
    list-style-type: disc;
}

article blockquote {
    margin: 1.2em 0 0.4em 1.5em;
    padding: 0.5em;
    line-height: 1.4em;
    font-size: 0.9em;
    color: #555;
    font-family: 'PT Sans', Trebuchet MS, Arial;
    background: #eee;
    border: 0.1em dotted #ddd;
    max-width: 40em;
}

article code {
    font-size: 0.9em;
    background: #e5e5ff;/*#eeffcc;*/
    border-bottom: 1px #aaaadd dotted; 
}

article pre {
    margin: 1.2em 0 0.4em 1.5em;
    padding: 0.5em;
    line-height: 1.4em;
    font-size: 0.9em;
    color: #555;
    width: 90%;
    overflow: auto;
}

article ul.index {
    float:left;
    margin-bottom: 2em;
}
article img.index {
    margin: -2em 0 0 0;
    float: right;
}

article abbr {
    border-bottom: 0.1em dotted #666;
}

footer {
    clear: both;
    width: 70%;
    text-align: left;
    margin: 3em auto 0;
    font-size: 0.8em;
}

footer div.contact {
    float: left;
    width: 30%;
    font-style: italic;
}

footer div.contact ul {
    border-top: 0.1em #333 solid;
    margin-bottom: 1em;
}

footer div.contact ul li {
    margin: 0.2em 0;
}

footer div.contact ul li a {
    text-decoration: none;
    color: #666;
}

footer div.contact ul li a:hover {
    text-decoration: underline;
    color: #888;
}
