/* thp.io "revisited" theme, Copyright (c) 2015 Thomas Perl. All right reserved. */

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(/2015/archive/webfonts/SourceSansPro.ttf) format('truetype');
}

body {
    margin: 0px;
    background-color: #E8EAE6;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12pt;
    line-height: 140%;
}

h1, h2, h3 { margin: 0px; color: #3A2F11; }
h1 { font-size: 16pt; }
h2 { font-size: 15pt; }
h3 { font-size: 14pt; }

a { color: #34658D; }
a:hover { color: #6298C5; }

img { border-width: 0px; }

code { margin: -2px; }

code, pre {
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px;
    color: #222;
    font-size: 10pt;
}

pre {
    border: 1px solid #ddd;
    overflow: auto;
    max-height: 500px;
}

hr {
    border: 0px;
    border-top: 1px solid #ddd;
    height: 0px;
    margin-top: 6px;
    margin-bottom: 6px;
    clear: both;
}

div#root {
    background-color: white;
    max-width: 700px;
    box-shadow: 0px 0px 3px #bbb;
    margin-top: 0px;
}

@media all and (min-width: 901px) {
    div#root { margin-left: 100px; }
}

@media all and (min-width: 701px) {
    div#root {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 3px;
    }

    p#breadcrumbs {
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    address {
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }
}

@media all and (min-width: 701px) and (max-width: 900px) {
    div#root {
        margin-left: auto;
        margin-right: auto;
    }
}

@media all and (max-width: 700px) {
    div#root {
        margin-top: 0px;
    }
}

p#breadcrumbs {
    margin: 0px;
    background-color: #292d20;
    padding: 10px;
    /* https://developer.mozilla.org/en/docs/CSS/text-overflow */
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

p#breadcrumbs, p#breadcrumbs a {
    color: #eee;
    text-decoration: none;
}

p#breadcrumbs a:hover {
    color: white;
    background-color: inherit;
    text-decoration: none;
}

p#breadcrumbs #here { color: white; }

div#content {
    padding: 20px;
    margin: 0px;
}

address {
    text-align: right;
    background-color: #EEEDED;
    padding: 10px;
    font-style: normal;
}

address, address a:hover { color: #3A2F11; }

address a {
    text-decoration: none;
    color: #3A2F11;
}

div.image-gallery {
    text-align: center;
    padding: 10px;
}

div.image-gallery img {
    padding: 5px;
    max-width: 100%;
}
