/* @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 {
    background-color: #69c;
    color: #543;
    font-family: "Lucida Grande", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    padding: 0 3%;
}
img, video, object, iframe {
    max-width: 100%;
}

em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
a, button, input, select, textarea, label, summary {
  touch-action: manipulation;
}
a, a * {
    text-decoration: underline;
}
a:link,
a:visited {
    color: #039;
}
a:hover,
a:focus,
a:active {
    color: #36c;
}

h2,h3,h4,h5,h6 {
    margin: 1em 0 .2em 0;
}
h1,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;
}
h1 {
    font-family: Courier,"Times New Roman", serif;
    font-size: 140%;
}
h2 {
    font-family: Courier,"Times New Roman", serif;
    font-size: 120%;
}
h3 {
    font-family: Courier,"Times New Roman", serif;
    font-size: 110%;
}
h1 a, h1 a *,
h2 a, h2 a *,
h3 a, h3 a * {
    text-decoration: none;
    font-weight: bold;
}
pre {
    word-wrap: break-word;
}

/* @end Elements */

/* @group Classes */

.box {
    margin: 0;
    padding: 10px;
}

.meta {
    font-family: "Verdana","Arial","Helvetica",sans-serif;
    font-size: 80%;
    text-align: right;
}

.spotless {
     background: #e1e1e1;
}
.gleaming {
     background: #ddd;
}
.shiny {
     background: #d8d8d8;
}
.bright {
     background: #d1d1d1;
}
.faded {
     background: #ccc;
}
.dull {
     background: #c8c8c8;
}
.dirty {
     background: #c1c1c1;
}

.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-name {
    font-weight: bold;
    text-decoration: none;
}
.activity-sparkline {
    max-width: 100%;
}

/* @end */

/* @group Stucture */

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

nav {
    clear: right;
    font-family: Courier,"Times New Roman", serif;
    font-size: 80%;
    font-weight: bold;
    text-align: right;
    background-color: #ccc;
    color: #666;
    padding: 10px;
    border-color: #543;
    border-width: 4px 3px 1px 3px;
    border-style: solid solid dashed solid;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    font-weight: bold;
}

nav ul li {
    list-style: none;
    border-bottom: 1px dotted #543;
}
nav a {
    text-decoration: none;
    font-weight: bold;
}
nav a.here:link,
nav a.here:visited {
    color: #006;
}

main {
    background-color: #bbb;
    color: #321;
    padding: 10px;
    font-size: 80%;
    border-color: #543;
    border-width: 1px 3px 4px;
    border-style: dashed solid solid solid;
}
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 #543;
}

body > aside {
    font-size: 70%;
    background-color: #aaa;
    color: #333;
    border-color: #543;
    border-width: 1px 3px 2px 3px;
    border-style: solid;
}
body > aside h2 {
    display: none;
}

body > footer {
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 65%;
    color: #543;
}

/* @end */

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

    body {
        background-image: url(/skins/adactizilla/images/zilla.jpg);
        background-repeat: no-repeat;
        background-position: bottom left;
        background-attachment: fixed;
        padding: 0 3% 1.5em 22%;
        margin: 0;
    }
    [role="presentation"] {
        clear: both;
    }

}

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

    nav {
        border-width: 4px 3px 1px 1px;
        border-style: solid solid dashed dashed;
        width: 60%;
        float: right;
    }

    main {
        border-width: 1px 3px 2px 1px;
        border-style: dashed solid solid dashed;
        width: 60%;
        float: right;
        clear: right;
    }

    body > aside {
        border-width: 4px 1px 2px 3px;
        border-style: solid dashed solid solid;
        width: 35%;
        float: right;
    }

    body > footer {
        clear: both;
        margin-left: 40%;
        text-align: center;
        padding-top: 2em;
    }

}
