/* @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: Georgia,"Times New Roman",serif;
    font-size: 87.5%;
    line-height: 1.5;
    color: #300;
    background-color: #c93;
    background-image: url(/skins/renaissance/images/background.jpg);
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
}
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: #930;
}
a:hover,
a:focus,
a:active {
    color: #c63;
}
ul,ol {
    margin: 0 1em;
    padding: 0 1em;
}
img {
    border: 0;
    vertical-align: text-bottom;
}

blockquote {
    margin: 1em 4em;
}

p,h2,h3,h4,h5,h6 {
    margin: 1em 0;
}

h1 {
    font-size: 156%;
    font-weight: normal;
    font-variant: small-caps;
}
h2 {
    font-size: 128%;
    font-weight: normal;
    font-variant: small-caps;
    letter-spacing: 0.1em;
}
h3 {
    font-size: 114%;
    font-weight: normal;
}
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 {
    background-color: #fc6;
    border: 5px solid #c93;
    padding: 10px;
    margin-bottom: 10px;
}

.meta {
    font-size: 0.8571em;
    text-align: right;
}

.spotless {
     background: #fc6;
}
.gleaming {
     background: #FFD16B;
}
.shiny {
     background: #FFD872;
}
.bright {
     background: #FFE17B;
}
.faded {
     background: #FFEA84;
}
.dull {
     background: #FFF38C;
}
.dirty {
     background: #FFFA94;
}

.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 Classes */

/* @group Structure */

#logo {
    text-align: right;
    height: 53px;
    background-image: url(/skins/renaissance/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/renaissance/images/logox2.gif);
    }
}
#logo a {
    border: none;
    display: block;
    float: right;
    width: 240px;
    height: 53px;
}
#logo span {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

nav {
    color: #c96;
    background-color: #c93;
    border: 5px solid #c93;
    font-size: 0.8571em;
    font-family: "Helvetica Neue", Arial, Helvetica ,sans-serif;
    font-weight: bold;
}
nav ul {
    border-top: 2px solid #963;
    margin: 0;
    padding: 0;
}
nav ul li {
    border: 2px solid #963;
    background-color: #630;
    list-style: none;
    margin: 0;
    padding: .4em;
    border-top-width: 0;
}
nav a {
    font-weight: bold;
    text-decoration: none;
}

nav a:link,
nav a:visited {
    color: #c63;
}
nav a.here {
    color: #f96;
}
nav a:hover,
nav a:focus,
nav a:active {
    color: #fc9;
}
main {
    background-color: #ff9;
    border: 5px solid #c93;
    padding: 10px;
    margin: 10px 0;
}
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;
}

body > aside {
    font-size: 0.8571em;
    margin: 10px 0;
}
body > footer {
    font-family: "Helvetica Neue", Arial, Helvetica ,sans-serif;
    font-size: 0.7143em;
    background-color: #ff9;
    border: 5px solid #c93;
    padding: 10px;
}

/* @end  Structure*/

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

    [role="presentation"] {
        width: 70%;
        height: 200px;
        float: left;
        border: 5px solid #c93;
        border-right-width: 0;
    }

    [role="presentation"] div {
        width: 100%;
        height: 100%;
    }
    .home,
    .offline,
    .archive,
    .tags {
        background-image: url(/skins/renaissance/images/columns.jpg);
    }
    .journal {
        background-image: url(/skins/renaissance/images/church.jpg);
    }
    .links {
        background-image: url(/skins/renaissance/images/columns.jpg);
    }
    .articles {
        background-image: url(/skins/renaissance/images/facade.jpg);
    }
    .notes {
        background-image: url(/skins/renaissance/images/porticoes.jpg);
    }
    .about {
        background-image: url(/skins/renaissance/images/windows.jpg);
    }
    .search {
        background-image: url(/skins/renaissance/images/statues.jpg);
    }
    .extras {
        background-image: url(/skins/renaissance/images/statues.jpg);
    }
    .contact {
        background-image: url(/skins/renaissance/images/columns.jpg);
    }

    nav {
        width: 30%;
        height: 200px;
        float: right;
        border-left-width: 0;
        margin-left: -10px;
    }
    nav ul {
        width: auto;
        overflow: hidden;
        margin: 0 0 0 10px;
    }

    main {
        width: 65%;
        float: left;
        clear: left;
    }

    body > aside {
        float: right;
        clear: right;
        width: 29%;
    }

    body > footer {
        clear: both;
        width: 65%;
    }
    body > aside h2 {
        display: none;
    }

}
