@import url('https://fonts.googleapis.com/css?family=PT+Sans|Lora:700italic');

/* 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(../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;
}

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: #fcfcfa;
    border-bottom: 1px #d4d2d1 dotted;
    /*background: #fffcf5; /*#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;
    background-color: #fcfcfa;
    padding: 1em;
    border: 1px solid #ecebea;
}

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;
    column-count: 2;
    border-top: 0.1em #333 solid;
}

footer div.contact {
    /*float: left;
    width: 30%;
    font-style: italic;*/
    column-span: 1;
}

footer div.publications {
    column-span: 1;
    text-align: right;
}

@media (max-width: 382px) {
    footer {
        column-count: 1;
    }

    footer div.publications {
        text-align: left;
    }
}

footer div ul {
    margin-bottom: 1em;
}

footer div ul li {
    margin: 0.2em 0;
}

footer div ul li a {
    text-decoration: none;
    color: #666;
}

footer div ul li a:hover {
    text-decoration: underline;
    color: #888;
}

/* SYNTAX HIGHLIGHT RULES FOR CODE */
.highlight { /*background-color: #fdf6e3;*/ color: #586e75 }
.highlight .c { color: #93a1a1 } /* Comment */
.highlight .err { color: #586e75 } /* Error */
.highlight .g { color: #586e75 } /* Generic */
.highlight .k { color: #859900 } /* Keyword */
.highlight .l { color: #586e75 } /* Literal */
.highlight .n { color: #586e75 } /* Name */
.highlight .o { color: #859900 } /* Operator */
.highlight .x { color: #cb4b16 } /* Other */
.highlight .p { color: #586e75 } /* Punctuation */
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
.highlight .cp { color: #859900 } /* Comment.Preproc */
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
.highlight .cs { color: #859900 } /* Comment.Special */
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #dc322f } /* Generic.Error */
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
.highlight .gi { color: #859900 } /* Generic.Inserted */
.highlight .go { color: #586e75 } /* Generic.Output */
.highlight .gp { color: #586e75 } /* Generic.Prompt */
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
.highlight .gt { color: #586e75 } /* Generic.Traceback */
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
.highlight .kn { color: #859900 } /* Keyword.Namespace */
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
.highlight .kt { color: #dc322f } /* Keyword.Type */
.highlight .ld { color: #586e75 } /* Literal.Date */
.highlight .m { color: #2aa198 } /* Literal.Number */
.highlight .s { color: #2aa198 } /* Literal.String */
.highlight .na { color: #586e75 } /* Name.Attribute */
.highlight .nb { color: #B58900 } /* Name.Builtin */
.highlight .nc { color: #268bd2 } /* Name.Class */
.highlight .no { color: #cb4b16 } /* Name.Constant */
.highlight .nd { color: #268bd2 } /* Name.Decorator */
.highlight .ni { color: #cb4b16 } /* Name.Entity */
.highlight .ne { color: #cb4b16 } /* Name.Exception */
.highlight .nf { color: #268bd2 } /* Name.Function */
.highlight .nl { color: #586e75 } /* Name.Label */
.highlight .nn { color: #586e75 } /* Name.Namespace */
.highlight .nx { color: #586e75 } /* Name.Other */
.highlight .py { color: #586e75 } /* Name.Property */
.highlight .nt { color: #268bd2 } /* Name.Tag */
.highlight .nv { color: #268bd2 } /* Name.Variable */
.highlight .ow { color: #859900 } /* Operator.Word */
.highlight .w { color: #586e75 } /* Text.Whitespace */
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
