* {
    margin:0;
    padding:0;
}

body {
    margin: auto;
    text-align: justify;
    font-size: 16px;
    background-color: #444;
    padding-bottom: 20px;
}

div.Page {
    display: block;
    max-width: 800px;
    margin: auto;
}

.Header {
    margin-bottom: 10%;
}

.Headertransition {
    transition: margin-bottom 0.5s ease-in-out;
}

.Header img{
    display: block;
    width: 100%;
    height: auto;
}

div#Content {
    display: inline-block;
    max-width: 100%;
}

a#Menubutton svg {
    display: block;
    margin-top: -10%;
    width: 10%;
    height: 10%;
    background: #999;
}

svg rect {
    fill: #000;
}

div.Menu {
    font-size: 1.2rem;
    display: inline-block;
    position: absolute;
    float: left;
    width: 200px;
    background-color: #d0d0ed;
    margin-left: -272px;
    padding: 20px;
}

div.Menutransition {
    transition: margin-left 0.5s ease-out;
}

div.Menu li {
    padding: 0px;
    margin-left: 10px;
    list-style: none;
}

div.blogpost, div.comments {
    display: block;
    background: #c0c0dd;
    margin-bottom: 20px;
    padding: 20px;
}

.blogpost h1 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

@media (max-width: 450px) {
    .blogpost h1 {
        font-size:1.2em;
    }
}

.comments h3, .comments h4{
    margin-bottom: 20px;
    font-size: 1.2em;
}

.comments p {
    margin-bottom: 20px;
}

@media (max-width: 450px) {
    .comments h3 {
        font-size:1.1em;
    }
}

ol.imagebar, ol.image {
    display: block;
    width: 90%;
    background-color: #333;
    overflow: hidden;
    padding: 10px;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
}

ol.image {
    width: auto;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

ol.imagebar li, ol.image li{
    display: inline-block;
    vertical-align: top;
    list-style: none;
    margin: 5px;
    padding: 0;
}

ol.imagebar img, ol.image img {
    display: block;
}

.blogpost p {
    margin-bottom: 20px;
}

.blogpost .abstract {
    font-weight: bold;
}

.blogpost .morelink a {
    display: block;
    background-color: #aaaadd;
    text-align: center;
    padding: 3px;
    margin-bottom: -20px;
}

div.createdit {
    display: block;
    margin-top: -34px;
    margin-bottom: -20px;
    float: right;
    padding: 2px 5px;
    font-size: 0.7em;
    background-color: #aaaadd;
}

.codehilite {
    display: block;
    background-color: #333;
    padding: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #eee;
    margin-bottom: 20px;
}

.codehilite pre {
    white-space: pre-wrap;
}

.codehilite {
    counter-reset: listing;
}

.codehilite a {
    counter-increment: listing;
}

.codehilite a:before {
    content: counter(listing) ". ";
    color: gray;
}

.codehilite a {
    float: left;
    clear: both;
    min-width: 2.5em;
    text-align: right;
}

li {
    margin-left: 60px;
}

ol, ul {
    margin-bottom: 20px;
}

#footer {
    font-size: 12px;
    background-color: #aad;
    bottom: 0;
    color: #555;
    display: block;
    height: 14px;
    left: 0;
    position: fixed;
    text-align: center;
    width: 100%;
}

div.comment {
    display: block;
    padding: 20px;
    background-color: #ccc;
    margin-bottom:20px;
}

.login {
    text-align: right;
    width: 400px;
    margin: auto;
    margin-bottom: 20px;
}

.addcomment {
    width: 506px;
    margin:auto;
}

.addcomment table {
    table-layout: fixed;
    width: 500px;
    background-color: #fff;
    margin-bottom: 20px;
}

.addcomment .column1 {
    width:100px;
}

.addcomment .column2 {
    width: 400px;
}

.addcomment .confirm {
    position:absolute;
    display: None;
}

.addcomment input {
    width: 380px;
}
.addcomment textarea {
    width: 394px;
}

.buttonwrap {
    text-align: right;
}

.buttonwrap input {
    width: auto;
}
td {
    vertical-align: top;
}
#id_username, #id_password {
    width: 262px;
    margin-left: 10px;
}

#login {
    margin-right: -4px;
}

.providerremove {
    display: inline;
    margin-left: 30px;
}

.provider {
    display: inline-block;
    width: 100px;
}

form.setpassword span {
    display: inline-block;
    width: 250px;
}

form.setpassword div {
    margin-bottom: 5px;
}

form.setpassword {
    display: block;
    width: 500px;
    margin: auto;
}


@media (min-width: 800px) {
    div.Menu {
        position: static;
        float: left;
        width: 20%;
        margin:0px;
        padding: 2.5%;
    }
    div#Content {
        width:75%;
        float: right;
    }
    div.Page {
        max-width: 1200px;
    }

    div.blogpost, div.comments {
        margin: 0 0 2.5% 2.5%;
    }
}

.notransition {
  transition: none !important;
}
