/* ############### */
/*  Compatibility  */
/* ############### */
section, article, aside, footer, header, nav, hgroup { 
    display:block;
}

/* ############### */
/*      Fonts      */
/* ############### */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(/static/fonts/2014021501/OpenSans-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans - Bold';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(/static/fonts/2014021501/OpenSans-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans - Extra Bold';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(/static/fonts/2014021501/OpenSans-ExtraBold.ttf) format('truetype');
}

/* ############### */
/*     Defaults    */
/* ############### */
body {
    background-color: #000000;
    color: #EEEEEE;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

code {
    font-family: 'Open Sans - Bold', sans-serif;
    color: #FFFFFF;
}

h1, h2, h3, h4 , h5 {
    font-family: 'Open Sans - Bold', sans-serif;
    color: #FFFFFF;
}

li {
    /* fix firefox behavior */
    margin-left: 1em;
}

#page{
    width: 1000px;
    margin: 0 auto;
}

* {
    margin: 0;
    padding: 0;
}

li {
    padding-left; 2em;
}

/* ############### */
/*     Mix Ins     */
/* ############### */
.spaced {
    margin: 5px;
}

.outlined {
    border: solid 1px #f00000;
}

.nav {
    width: 20ex;
    margin-bottom: 5px;
}

/* ############### */
/* Placement Rules */
/* ############### */
#header {
    clear: both;
}

#navigation {
    float: left;
    clear: left;
}

#login {
    float: left;
    clear: left;
}

#content{
    float: left;
    clear: right;
}

#footer{
    clear: both;
}

/* ############### */
/*     Elements    */
/* ############### */
.import {
    border-bottom: solid 1px #f00000;
    background-color: #800000;
    padding: 0.5ex;
    font-family: 'Open Sans - Bold', sans-serif;
}

/* Headers */
#logo {
    float: left;
    clear: left;
}
#header > .container {
    float: left;
    margin: 5px;
}
#sitename {
    float: left;
    clear: both;
}
#header::after {
    content: "";
    display: block;
    visibility: hidden;
    clear: both;
}

/* Navigation */
#login > span {
    margin-left: 0.5ex;
    margin-right: 0.5ex;
}

#navigation > nav > menu {
    margin-left: 1ex;
    margin-right: 1ex;
}

/* Articles */
#content { 
    background-color: #600000;
    width: 80%;
    width: calc(100% - 25px - 20ex);
}
.articles > article { 
    background-color: #000000;
    padding: 5px; 
}

.articles > article .header {
    background-color: #600000;
    margin-bottom: 1ex;
    font-family: 'Open Sans - Extra', sans-serif;
}

.articles > article p {
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 1em;
}

.articles > article ul {
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 1em;
}

.articles > article ul {
    padding-left: 1em;
    padding-bottom: 1el;
}

.articles > article pre > code {
    margin: 1em 3em;
    display: block;
    padding: 1ex;
    padding-left: 2ex; 
    border: solid 1px #f00000;
    border-left: solid 5px #f00000;
    overflow: auto;
}

.articles > article > .read_more {
    float: right;
    padding-left: 1em;
}

.articles > article > footer > date {
    float: left;
}
.articles > article > footer {
    margin-top: 5px;
}
.articles > article > footer > address {
    float: right;
}
.articles > article::after {
    content: "";
    display: block;
    visibility: hidden;
    clear: both;
}

/* Footer */
footer > p {
    margin-left: 1ex;
    margin-right: 1ex;
}
 
