img,
img.left,
img.right {
    float: none;
    margin: 10px 0px;
    max-width: 90%; }

body {
    margin-top: 0; }

#nav {
    bottom: 10px;
    left: 0px; }

#masthead,
#content,
#footer {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
    box-shadow: none;
    margin: 0px;
    padding: inherit 10px;
    width: inherit; }

#masthead {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-position: 0px -20px;
    height: 120px;
    padding: inherit 0px; }

#masthead h1 {
    -webkit-background-size: 50px;
    background-position: 0px 10px; }

#masthead h1 a {
    background-position: 50px 0px;
    margin: 0 auto;
    top: 0;
    width: 260px; }

#masthead li a {
    font-size: 1.6em;
    margin-left: 0.5em;
    margin-top: 0px;
    padding: 18px 0.5em inherit;
    text-shadow: 0 2px 1px rgba(0,0,0,.8); }

#masthead li:first-child {
    margin-left: -0.5em; }

#main,
body.onecol #content {
    padding-right: 10px; }

body.twocol #main {
    border-bottom: 1px solid rgba(0,0,0,0.3);
    border-right: none;    
    float:none;
    padding-bottom: 1em;
    width: 100%; }

body.twocol #sidebar {
    border-top: 2px solid rgba(255,255,255,0.8);
    float: none;
    padding: 1em 0 0 0;
    width: 100%; }

#content a.action {
    float: none;
    margin-left: 0; }

#portfolio_page [role=main] p,
#portfolio_page [role=main] h2 {
    margin-left: 0; }

#portfolio_page [role=main] li {
    padding-top: 0; }

a.lightbox img.overlay {
    visibilty: hidden; }

#footer {
    min-height: 1em;
    padding-top: 0.6em;
    padding-bottom: 0.2em; }

