
html {
    background: #d5d0bb;			/* for firefox in xhtml mode */
}

body {
    color:	black;
    font-size: 80%;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background: #d5d0bb;
    padding: 0;
    margin: 0;
}

a img { border: 0; }
pre, form, iframe, applet { padding: 0; margin: 0; }

.offline-header {
    margin-top: 1em;
    font-size: 150%;
    font-weight: bold;
}

.offline-message {
    margin: 3em 0;
}

#page {
    border-top: 1px solid #d5d0bb;
    background: #eed;
    min-width: 924px;
}

a {
    text-decoration: none;
    border-bottom: 1px solid #bba;
    color: #554;
}

a:hover {
    border-bottom: 1px solid #554;
}

a:visited {
    color: #776;
}

#menubar {
    background: #dcd9c7;
    padding-left: 30px;
}

#menubar ul { margin: 0; padding: 0; }
#menubar li {
    padding: 1px 7px 2px 7px;
    float: left;
    list-style: none;
}

#menubar li a {
    text-decoration: none;
    border: 0;
    font-weight: bold;
    color: #665;
}

#menubar li:hover {
    background: #dcd9c7 url(/images/menubar-bkg.png) center;
}

#menubar li a:hover {
    text-decoration: none;
    border: 0;
    color: black;
}

h1 {
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 1px;
}

h1 form {
    line-height: 1px;
    float: right;
    font-weight: normal;
    color: #554;
}


input, textarea {
    background: #fff;
    border: 1px solid #bba;
    padding: 1px 3px;
    margin: 8px 0 0 0;
}
input.button, button {
    background: #bba url(/images/button-bkg.png) center repeat-x;
    border: 1px solid #998;
    padding: 1px 3px;
    margin: 8px 10px 0 0;
}

h1 input.button, h1 button {
    border-left: 0;
}

h1 input  { font-size: 10px; }

h1 span {
    visibility: hidden;
}

.right-link { text-align: right; padding: 2px 5px;}
.right-link a { text-decoration: none; border: 0; font-weight: bold;}

h1 a { text-decoration: none; border: 0; }
h1 a:hover { border: 0 }

.message {
    border-left: 5px solid red;
    background: white;
    margin: 2em;
    padding: 1.5em;
    font-sixe: 110%;

}

#sidebar {
    float: right;
    margin: 0 10px 10px 0px;
    width: 160px;
    padding: 0;
}

#sidebar ul { margin-bottom: 4em; margin-top: 2em; }
#sidebar li { margin-bottom: 1em; }

#sidebar h4 {
    margin: 0;
    padding: 1px 4px;
    background: #d5d0bb;
}

#sidebar-item {
    background: #dcd9c7;
    margin-bottom: 5px;
    border: 1px solid #d5d0bb;
}

.clear, .clear-left, .clear-right, .clear-both {
    font-size: 1px;
    line-height: 1px;
    visibility: hidden;
}
.clear, .clear-both { clear: both }
.clear-left { clear: left }
.clear-right { clear: right }

#content {
    background: #eed url(/images/page-bkg.png) top repeat-x;
    padding: 16px 0 2em;
}

#main {
    margin: 0 180px 10px 10px;
}

.box {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #ccb;
}

.box h3 {
    margin-top: 0;
}

#footer {
    clear: both;
    background: #d5d0bb url(/images/footer-bkg.png) top repeat-x;
    padding: 7px 10px;
    text-align: center;
}

#footer a {
    text-decoration: none;
    color: #554;
    border-bottom: 1px solid transparent;
}

#footer:hover a {
    border-bottom: 1px solid #bba;
}

#footer a:hover {
    border-bottom: 1px solid #aa9;
}


#debug {
    margin: 2em 1em 1em;
    background: #c5c1b0;
    padding: 3px;
    color: #554;
}

.tag-cloud {
    margin: 1em 0;
    padding: 1em;
    color: #554;
    /* background: #eaead9; */
}

.tag-cloud a {
    text-decoration: none;
    border-bottom: 1px solid #bba;
    color: #554;
}

.tag-cloud a:hover {
    border-bottom: 1px solid #554;
}

.tag-cloud h3 {
    margin: 0 0 10px 0;
    border-bottom: 1px solid #ddc;
}

.item {
    margin: 1em 0;
    border-left: 4px solid #bba;
    padding-left: 10px;
}

.item-link a {
    font-size: 120%;
    font-weight: bold;
    border-bottom: 1px solid transparent;
}

.item-link:hover a {
    border-bottom: 1px solid #bba;
}

.item-link a:hover {
    border-bottom: 1px solid #554;
}

.item-tags {
    font-size: 80%;
    margin-top: 4px;
    color: #998;
}

.item-tags a {
    border-bottom: 1px solid transparent;
}

.item-tags:hover a {
    border-bottom: 1px solid #bba;
}

.item-tags a:hover {
    background: #ddc;
}



.ad-top, .ad-search, .ad-results { margin-bottom: 1em; }
.ad-top { width: 728px; margin: 0 auto;}
.ad-results, .ad-search { margin-top: 1em; }

#ad-page-bottom {
    height: 1%;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
}
