body {
    padding: 0px;
    margin: 0px;
    font-family: sans-serif;
    background-color: #e3e3e3
}

#nav {
    height: 60px;
    width: 100%;
    background-color: #485780; 
}

#nav #logo img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 468px;
    height: 60px;
    margin: 0px;
    padding: 0px;
    border: 0;
}


/* This is used in the blog. */
#nav #mbar #search {
    position: absolute;
    top: 73px;
    right: 45px;
    z-index: 0;
    padding: 0px;
    margin: 0px;
    text-align: right;
}

#nav #mbar ul {
    position: absolute;
    top: 73px;
    left: 45px;
    z-index: 0;
    padding: 0px;
    margin: 0px;
    text-align: left;
}

#nav #mbar li {
    display: inline;
    z-index: 3;
    font-family: sans serif;
    margin-right: 1em;
    margin-left: 0em;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

#nav #mbar A:link, #sidebar A:link    { 
    color: #485780;
    text-decoration: none; 
    font-weight: bold; 
    white-space: nowrap;
}
#nav #mbar A:visited, #sidebar A:visited  { 
    color: #485780;
    text-decoration: none; 
    font-weight: bold; 
    white-space: nowrap;
}
#nav #mbar A:active, #sidebar A:active  { 
    color: #485780;
    text-decoration: none; 
    font-weight: bold; 
    white-space: nowrap;
}
#nav #mbar A:hover, #sidebar A:hover    { 
    color: #006882;
    text-decoration: none; 
    font-weight: bold; 
    white-space: nowrap;
}

#sidebar {
    background: #e3e3e3;
    padding: 0px;
    margin: 0px;
    margin-left: 20px;
    float: right;
}

#sidebar h3 {
    text-align: center;
    font-size: 80%;
    padding: 5px;
    margin: 0px;
    background: #485780;
    color: #FFF;
}

#sidebar ul {
    padding: 5px;
    margin: 0px;
    list-style-type: none;
}

#sidebar li {
    padding: 2px;
    font-size: 70%;
}

#sidebar em {
    font-size: 70%;
}

/* This is used in the blog. */
#search-results {
    margin: 45px;
    padding: 0px;
}

#main {
    margin: 45px;
    padding: 20px;
    border: solid #485780 0.02em;
    background-color: #FFF;
}
.maintable {
    width: 100%;
}
.maintable-right {
    vertical-align: top;
    align: right;
    width: 120px;
}

#main h1, #main h2 {
    padding: 0px;
    margin: 0px;
}

#main .post #code {
    white-space: pre;
    font-family: monaco, courier, monospace;
    font-style: normal;
    background-color: #e3e3e3;
    padding: 12px;
    margin: 0 25px;
    border: 2px solid #485780;
}

#main .post {
    text-align: justify;
}

#main .post #poem {
    font-family: sans-serif;
    font-style: italic;
    white-space: pre;
    padding: 12px;
    margin: 0 25px;
}

#project {
    #border: solid #000 0.2em;
    background-color: #FFF;
    padding: 15px;
}

#project table {
    border: 0px;
}

#project .title {
    height: 30px;
    width: 100%;
    background-color: #485780;
    text-align: center;
    color: #FFF;
    font-weight: bold;
}

#project .info {
    padding: 15px;
    padding-bottom: 0px;
}

#project .thumb {
    padding: 15px;
    vertical-align: middle;
}

#project .data {
    font-weight: bold;
    text-align: right;
}