/* Overriding styles for narrow displays */

#header h1 {
    background-image: none;
    padding-left: 5px;
    padding-top: 5px;
    text-align: center;
}

#header h1:before {
    content: "";
    background-image: url('ledfg.jpg');
    background-repeat: no-repeat;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    width: 300px;
    height: 60px;
}

#navbar {
    margin-top: 1em;
    text-align: center;
    position: static;
    margin-bottom: 0px;
}

#navbar a {
    padding: 1em 0.5em 1em 0.5em;
}

#content {
    margin-left: 1em;
    border-left: none;
    padding-left: 0px;
}

#main {
    padding-top: 1em;
}

#backtoparent {
    margin: 0px;
    padding: 0px;
    height: auto;
    max-width: none;
}

#backtoparent a {
    display: inline-block;
    padding: 1em;
    margin-top: 1em;
    margin-left: 1em;
    margin-bottom: -1em;
    background-color: #efddc4;
    border-radius: 10px;
}

#header .wrapfix {
    display: none;
}

.article h1, .article h2 {
    padding-left: 5px;
    text-align: center;
    
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 30px;
}

.article h1 a, .article h2 a {
    color: #4e3613;
    text-shadow: 0px 1px #f2d09b;
}

.article h1 a:visited, .article h2 a:visited {
    color: #645846;
}

.article {
    text-align: center;
}

.article {
    position: relative;
    padding: 5px 10px 5px 10px;
    margin-top: 1em;
    background-color: #efddc4;
    border-radius: 10px;
    margin-bottom: 1em;
}

.article:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}

div.article .marginimg {
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.marginimg {
    float: none;
    clear: none;
    position: static;
    margin-right: 1em;
    padding-bottom: 1em;
}

ul a {
    display: inline-block;
    margin-bottom: 1em;
}

#content img {
    max-width: 95%;
}

video {
    max-width: 95%;
}

#rss img {
    width: 32px;
    height: 32px;
}

