body, ul, li, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

body {
    background: #fbf5e7 url(../media/body_bg.gif) repeat-x top;
    font-family: Arial, sans-serif;
    font-size: 80%;
    text-align: center;
}

#container {
    text-align: left;
    margin: 0 auto;
    width: 604px;
    background: url(../media/content_bg.gif) repeat-y;
}

#header {
    background: #fff url(../media/header.jpg)  repeat-x bottom;
    height: 90px;
}


#nav {
    background: url(../media/middle_bg.gif) no-repeat bottom;
    padding: 10px 15px 50px;
}
#nav a
{
color:#fff;
text-decoration:none;
}

#nav a:hover
{
text-decoration: underline;
}

#nav ul {
    list-style: none;
}

#nav ul li {
    display: inline;
    margin: 0 30px 0 0;
}

#nav ul li a {
    padding: 2px 3px 2px 18px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

#nav ul li a:hover {
    background-color: #fff;
	color:#000;
}

#recent_link {
    background: url(../media/star.png) no-repeat left center;
	
}


#ham_link {
    background: url(../media/comment.png) no-repeat left center;
}

#spam_link {
    background: url(../media/comment_delete.png) no-repeat left center;
}

#logout_link {
    background: url(../media/cancel.png) no-repeat left center;
}

#content {
    
    padding: 5px 30px 30px;
}
#bottom_bg
{
background: url(../media/bottom_bg.gif) no-repeat bottom;
width:605px;
height:18px;
margin:0 auto;
}
h2 {
    font-size: 2em;
    color: #8d0104;
    border-bottom: solid 2px #8d0104;
}

a {
    color: #06f;
}

.comment {
    margin-top: 15px;
    border-bottom: solid 1px #ccc;
    padding-bottom: 5px;
}

.comment .content {
    margin: 10px 0;
}

.comment .edit {
    font-size: 0.9em;
    color: #666;
    background-color: #eee;
    padding: 2px 0;
}

.comment .edit a {
    color: #c60;
}

.comment .edit a:hover {
    color: #099;
}

hr {
    padding: 1em;
    visibility: hidden;
}

form {
    margin: 10px 0;
}

form p {
    color: #f00;
}

.button {
    vertical-align: -42%;
}

#message {
    color: #fff;
    text-align: center;
    margin-bottom: 0.5em;
}

.error {
    background-color: #c00;
}

.confirm {
    background-color: #360;
}

.loading {
    background-color: #000;
}

#message p {
    margin: 0;
    padding: 0.5em;
    font-size: 1.6em;
}

.result_nav {
    text-align:center;
    margin-top:2px;
}

.result_nav a img {
    border:dashed 1px #fff;
}

.result_nav a:hover img {
    border-color:#0cc;
}