/* @group Elements */

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: #c30;
    color: #000;
    background-image: url(/skins/zeldman/images/sideswipe.gif);
    background-repeat: repeat-y;
    background-attachment:fixed;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: "Verdana","Arial","Helvetica",sans-serif;
    line-height: 1.5;
    color: #000;
    background-color: #c30;
    background-image: url(/skins/zeldman/images/sideswipe.gif);
    background-repeat: repeat-y;
    background-attachment:fixed;
    border-top: 1px dotted #000;
    margin: 0;
    padding: 0;
}
img, video, object, iframe {
    max-width: 100%;
}
a, button, input, select, textarea, label, summary {
  touch-action: manipulation;
}
a, a * {
    font-weight: bold;
}
a:link,
a:visited {
    text-decoration: none;
    color: #900;
}
a.here {
    color: #600;
}
a:hover,
a:focus,
a:active {
    text-decoration: underline;
    color: #f60;
}

em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
h2,h3,h4,h5,h6 {
    margin: 1em 0 .4em 0;
}
h1,p {
    margin: .4em 0 1em 0;
}
ul,ol {
    margin: 0 1em;
    padding: 0 1em;
}
img {
    border: 0;
    vertical-align: text-bottom;
}

blockquote {
    margin: 1em 4em;
}
input,textarea,select,option {
    background-color: #f60;
}
pre {
    word-wrap: break-word;
}

/* @end Elements */

/* @group Classes */

.meta {
    text-align: right;
}

.box {
    margin: 1em;
}

.spotless {
     background: #876;
}
.gleaming {
     background: #987;
}
.shiny {
     background: #a98;
}
.bright {
     background: #ba9;
}
.faded {
     background: #cba;
}
.dull {
     background: #dcb;
}
.dirty {
     background: #edc;
}

.activity {
  display: table;
  margin: 1em 0;
}
.activity-item {
  display: table-row;
}
.activity-name,
.activity-total,
.activity-sparkline {
  display: table-cell;
}
.activity-total {
  padding: 0.5em 1em;
}
.activity-sparkline {
    max-width: 100%;
}

/* @end Classes */

/* @group Structure */

#logo {
    position: absolute;
    top: 2px;
    right: 33px;
    width: 250px;
    height: 53px;
    z-index: 1;
    background-image: url(/skins/zeldman/images/logo.gif);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    #logo {
        background-image: url(/skins/zeldman/images/logox2.gif);
    }
}
#logo a {
    border: none;
    display: block;
    width: 250px;
    height: 53px;
}
#logo span {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

nav {
    font-size: 80%;
    background-color: #fc9;
    border: 2px solid #000;
    position: absolute;
    top: 65px;
    left: 38px;
    margin-right: 38px;
    padding: .5em;
    z-index: 10;
    width: auto;
    overflow: hidden;
}

nav ul {
    margin: 0;
    padding: 0;
}
nav ul li {
    list-style: none;
    float: left;
    margin: 0 .6em;
}

main {
    font-size: 70%;
    background-color: #fed;
    border: 2px solid #000;
    margin: 55px 27px 0;
    padding: 1em;
    padding-top: 50px;
}
main * {
    max-width: 60em;
}
main .meta {
    max-width: none;
}
main p {
    overflow: hidden;
}
main img,
main video,
main iframe,
main object {
    max-width: 99%;
}
main img {
    border: 2px solid #000;
}

body > aside {
    font-size: 70%;
    background-color: #fc9;
    border: 2px solid #000;
    margin: 0 27px;
}

body > aside h2 {
    display: none;
}

body > footer {
    font-size: 65%;
    clear: both;
    margin-left: 60px;
}

/* @end Structure */

@media screen and (min-width: 50em) {

    [role="presentation"] {
        position: absolute;
        top: 55px;
        right: 30px;
        width: 256px;
        height: 256px;
        border: 2px solid #000;
    }

    [role="presentation"] div {
        width: 100%;
        height: 100%;
    }
    .home,
    .offline,
    .archive,
    .tags {
        background-image: url(/skins/zeldman/images/santos.gif);
    }
    .journal {
        background-image: url(/skins/zeldman/images/smileys.gif);
    }
    .links {
        background-image: url(/skins/zeldman/images/spockbetmona.gif);
    }
    .articles {
        background-image: url(/skins/zeldman/images/scary.gif);
    }
    .notes {
        background-image: url(/skins/zeldman/images/combat.gif);
    }
    .about {
        background-image: url(/skins/zeldman/images/santos.gif);
    }
    .contact {
        background-image: url(/skins/zeldman/images/santos.gif);
    }
    .extras {
        background-image: url(/skins/zeldman/images/santos.gif);
    }

    main {
        margin-right: 300px;
    }

    body > aside {
        position: absolute;
        top: 309px;
        right: 30px;
        width: 256px;
        margin: 0;
    }

}
