
@media all {

    /********** General stuff **********/
    * {
        padding: 0;
        margin: 0;
        border: none;
        font-family: sans-serif;
    }
    p, h1, h2, h3, h4, h5, h6, h7 {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    p {
        text-indent: 1em;
    }
    pre {
        font-family: Monaco, Courier New, sans-serif;
        white-space: pre;
    }
    :link {
        color: #e0750c;
        font-weight: bold;
        text-decoration: none;
    }
    :visited {
        color: #e0750c;
        font-weight: bold;
        text-decoration: none;
        font-style: italic;
    }
    :link:hover, :visited:hover {
        background: #ffffbb;
    }

    /********** Forms and such **********/

    form textarea {
        width: 15em;
        height: 4em;
        background:  #fbefe1;
    }
    form ul {
        list-style: none;
        display: block;
    }
    form ul > li {
        display: inline;
    }
    input[type=submit], button {
        width: auto;
        padding: 1px;
        border-color: #e0750c;
        border-style: solid;
        border-width: thin;
        color: #e0750c;
        background-color: #fbefe1;
    }
    form.invisible, form.invisible input {
        width: auto;
        height: auto;
        border: none;
        color: inherit;
        background: inherit;
        padding: 0;
        font: inherit;
    }
    h2 form input[type=text], li form input[type=text] {
        width: 20em;
    }
    
    /********** The whole page  **********/
    body {
        color: #000000;
        background: #ffffff;
        font-size: normal;
        padding: 0;
        margin: 0;
        border: none;
                                        
    }

    /********** Page information bar (top) **********/
    div.pageinfo {
        position: absolute;
        background: #ffffff;
        color: #000000;
        top: 0em;
        left: 9em;
        right: auto;
        width: 30em;
        height: 5em;
        padding: 0;
        padding-left: 0.5em;
        padding-right: 0.5em;
        border: none;
        margin: 0em;
    }
    div.pageinfo h1 {
        font-size: x-large;
    }

    /********** Navigation section **********/
    div.navigation {
        background: #fbefe1;
        color: #000000;
        position: fixed;
        top: 0em;
        left: 0em;
        width: 8em;
        bottom: 0em;
        padding: 0.5em;
        border: none;
        border-right-width: thin;
        border-right-style: solid;
        border-right-color: #e0750c;
        margin: 0em;
        padding-top: 6em;
    }
    div.navigation h1 {
        display: none;
    }
    div.navigation ul {
        margin: 0em;
        padding: 0;
        padding-left: 0;
        border: none;
        list-style-type: none;
    }
    div.navigation li {
        margin: 0em;
        padding: 0;
        padding-left: 0.5em;
        border: none;
        list-style-type: none;
    }

    /********** Administration section **********/
    div.administration {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 8em;
        margin: 0;
        border: none;
        padding: 0.5em;
        z-index: 2;
    }

    div.contact a.honeypotemail, div.contact p.honeypotemail, div.contact h1{
        display: none;
    }

    div.account h1 {
        display: none;
    }

    div.account {
        border-width: thin;
        border-color: #e0750c;
        border-style: solid;
        width: 8em;
        text-align: center;
    }

    /********** Normal page bodies **********/
    div.body {
        position: absolute;
        left: 9em;
        right: 0em;
        top: 5.5em;
        width: 31em;
        background: #ffffff;
        color: #000000;
    }

    div.body>* {
        padding-left: 0.5em;
        padding-right: 0.5em;
        text-align: justify;
        /*width: 30em;*/
    }
    div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6, div.body h7, div.body h8, div.body h9 {
        /*width: 30em;*/
    }

    div.body h1 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #00000;
        font-size: x-large;
        border-top-width: thin;
        border-top-color: #e0750c;
        border-top-style: solid;
    }
    div.body h2 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
        border-top-width: thin;
        border-top-color: #e0750c;
        border-top-style: solid;
    }
    div.body h3 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
    }
    div.body h4 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
    }
    div.body h5 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
    }
    div.body h6 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
    }
    div.body h7 {
        left: 0;
        right: 0;
        background: #fbefe1;
        color: #000000;
        font-size: large;
    }

    div.body dl {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    div.body dt {
        font-weight: bolder;
        margin-top: 0.5em;
    }
    div.body dd {

    }

    /********** Image galleries **********/

    div.gallery {
    }

    .rating {
        font-size: smaller;
    }
    
    div.image {
        position: static;
        width: 30em;
        height: 128px;
        background: #fbefe1;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        padding: 0.5em;
    }
    div.image img {
        position: static;
        float: left;
        width: 128px;
        height: 128px;
    }
    div.image > span {
        display: block;
        text-align: left;
        position: absolute;
        margin-left: 1.5em;
        margin-right: 0em;
        left: 128px;
        right: 0.5em;
        text-align: justify;
    }
    div.image form label {
        display: block;
    }
    div.image a {

    }

    div.controls {
        text-align: center;
    }
    div.controls a.full {

    }
    div.controls a.next {
        position: absolute;
        left: 0.5em;
    }
    div.controls a.previous {
        position: absolute;
        right: 0.5em;
    }

    div.image textarea {
        width: auto;
        right: 0;
        /**width: 20em;*/
    }

    div.displayimage {

    }

    /******** Debugging output ********/
    .dprintln {
        color: #ff0000;
        background-color: #ffffff;
        font-size: xx-small;
    }

    .phpinfo {
        position: relative;
        left: 30em;
    }
}
