/* @group Elements */

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    font-weight: normal;
    font-style: normal;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 75%;
    background-color: #fff;
    color: #330;
    background-image: url(/skins/hirnlego/images/topstrip.gif);
    background-position: top;
    background-repeat: repeat-x;
    padding: 0 4%;
}
img, video, object, iframe {
    max-width: 100%;
}
a, button, input, select, textarea, label, summary {
  touch-action: manipulation;
}
a, a * {
    font-weight: bold;
    text-decoration: none;
}
a:link,
a:visited {
    color: #960;
}
a:hover,
a:focus,
a:active {
    color: #996;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
h1,h2,h3,h4,h5,h6 {
    margin: 1em 0 .2em 0;
}

h1 {
    font-size: 1.4em;
    font-weight: bold;
    border-bottom: 4px dotted #cc9;
}
h2 {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px dotted #cc9;
}
h3 {
    font-size: 1.1em;
    font-weight: normal;
}

p {
    margin: .2em 0 1em 0;
}
ul,ol {
    margin: 0 1em;
    padding: 0 1em;
}
img {
    border: 0;
    vertical-align: text-bottom;
}

blockquote {
    margin: 1em 4em;
}
pre {
    word-wrap: break-word;
}

/* @end Elements */

/* @group Classes */

.box {
    font-family : Verdana,Arial,Helvetica,sans-serif;
    background-image: url(/skins/hirnlego/images/gradient.gif);
    background-repeat: repeat-x;
    padding-bottom: 50px;
}
.box * {
    margin: .2em;
}
.box h3 {
    border-bottom: 5px solid #8a0;
    padding-left: 1em;
    margin: 0;
    text-transform: lowercase;
    text-shadow: dimgray 2px 2px 2px;
    color: #eeb;
    background-color: #ac0;
}

.box h4 {
    letter-spacing: .1em;
    margin: 1.5em 0 0 0;
}
.meta {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: .8em;
    text-align: right;
    margin: 0;
}

.spotless {
     background: #ff8;
}
.gleaming {
     background: #ff9;
}
.shiny {
     background: #ffa;
}
.bright {
     background: #ffb;
}
.faded {
     background: #ffc;
}
.dull {
     background: #ffd;
}
.dirty {
     background: #ffe;
}

.embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 1em;
}
.embed iframe,
.embed video,
.embed object,
.embed embed {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.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%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.gallery img{
    width: 100%;
    height: auto;
}

/* @end Classes */

/* @group Structure */

#logo {
    width: 250px;
    height: 79px;
    text-align: right;
    background-image: url(/skins/hirnlego/images/logo.gif);
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    top: 1px;
    right: 15px;
    margin-right: -15px;
    z-index: 50;
}
#logo h1 {
    border: none;
}
#logo a {
    border: none;
    display: block;
    width: 250px;
    height: 80px;
}
#logo span {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

nav {
    color: #cc9;
    z-index: 30;
    height: 1.2em;
    margin-top: 90px;
}
nav ul {
    margin: 0;
    padding: 0;
    border: none;
}
nav ul li {
    list-style: none;
    display: inline;
    margin-right: 1em;
}
nav a:link,
nav a:visited {
    color: #ffc;
}
nav a.here {
    color: #ff9;
}
nav a:hover,
nav a:focus,
nav a:active {
    color: #ffe;
}

main {
    font-family : Arial,Verdana,Helvetica,sans-serif;
    text-align: justify;
    line-height: 1.5;
}
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: 1px solid #300;
}

main h3 {
    background-image: url(/skins/hirnlego/images/flower.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 15px;
}

body > aside {
    font-size: 0.8333em;
    line-height: 1.5;
}

body > aside ul {
    padding: 0;
    margin: 0;
}
body > aside ul li {
    padding: 0 .5em .5em 0;
    list-style-image: url(/skins/hirnlego/images/dots.gif);
    margin-left: 20px;
}
body > aside ul li a:hover {
    border-width: 1px 0;
    border-style: solid;
    border-color: #996;
}

body > footer {
    font-family: Arial,Verdana,Helvetica,sans-serif;
    font-size: .8em;
    text-align: center;
    line-height: 1.5;
    border-bottom: 8px solid #8a0;
    padding: .5em;
    position: relative;
    z-index: 50;
    color: #330;
    background-color: #ac0;
}
body > footer a:hover {
    color: #ffc;
}

body > footer p {
    display: inline;
}
#home h1 {
    border-bottom: none;
}

/* @end Structure */

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

    nav {
        position: absolute;
        top: 60px;
        left: 4%;
        right: 250px;
        margin: 0;
    }
    main {
        padding-top: 90px;
    }

}

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

    body {
        padding: 0;
        background-image: url(/skins/hirnlego/images/hirnlego.jpg);
        background-repeat: no-repeat;
        background-position: bottom right;
        background-attachment: fixed;
    }

    [role="presentation"] {
        position: absolute;
        top: 80px;
        right: 15px;
        margin-right: -15px;
        width: 200px;
        height: 119px;
        z-index: 20;
    }
    [role="presentation"] div {
        width: 200px;
        height: 119px;
        background-repeat: no-repeat;
    }
    .journal {
        background-image: url(/skins/hirnlego/images/journal.gif);
    }
    .about {
        background-image: url(/skins/hirnlego/images/about.gif);
    }
    .articles {
        background-image: url(/skins/hirnlego/images/articles.gif);
    }
    .contact {
        background-image: url(/skins/hirnlego/images/contact.gif);
    }

    main {
        position: relative;
        z-index: 10;
        background-image: url(/skins/hirnlego/images/topstrip.gif);
        background-repeat: repeat-x;
        padding: 90px 29% 0 4%;
        margin: 0;
    }
    body > aside {
        padding: 0 29% 0 4%;
    }

}

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

    main {
        position: relative;
        z-index: 10;
        background-image: url(/skins/hirnlego/images/topstrip.gif);
        background-repeat: repeat-x;
        padding: 90px 29% 0 29%;
        margin: 0;
    }
    body > aside {
        position: absolute;
        top: 90px;
        left: 4%;
        z-index: 20;
        width: 21%;
        padding: 0;
    }

    body > aside h2 {
        display: none;
    }
    body > footer {
        margin: 0 29%;
    }

}
