* {
    margin: 0;
    padding: 0;
}

html {
    background: #CCC;
    color: #333;
}

body  {
    font-family: sans-serif;
    font-size: 1em;
}

#head {
    color: #fff;
    background: #222;
    overflow: auto;
    height: 2em;
    line-height: 1.6em;
}

#head h2 {
    float: left;
    font-size: 1.1em;
    margin: 0.2em;
}

#head h2 a {
    color: #fff;
    background-color: inherit;
    text-decoration: none;
}

#head h2 a:hover {
    color: #aaa;
}

#head img {
    float: left;
}

#searchbox {
    margin: 0.3em;
    float: right;
}

#supermain {
    background: #CCC url("../img/header-background.png") repeat-x;
    color: inherit;
    min-height: 50px;
    padding-top: 1px;
}

#main {
    width: 50em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border-left: 1px solid #808080;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    background: #EEE;
    color: #222;
}

#actions {
    text-align: right;
    background: #AAA;
    border-bottom: 1px solid #EEE;
    color: #222;
    padding: 2px;
    font-size: 0.8em;
}

#article {
    padding: 0px 5px 5px 5px;
}

#article h1 {
    border-bottom: 1px solid #BBB;
    margin: 0px 5px 5px 5px;
}

p {
    text-align: justify;
}

p label {
    display: block;
}

p.required label {
    font-weight: bold;
}

table, th , tr, td {
    border-spacing: 0;
}

table {
    width: 100%;
    margin-bottom: 6px;
}

.tbheader {
    background: #ccc;
}

.tbodd {
    background: #fff;
}

.tbeven {
    background: #eee;
}

#article li {
    margin-left: 30px;
}

ul.errorlist {
    padding:  0;
    margin-left:  15px;
    list-style:  none;
    border: 1px solid #800000;
}

ul.errorlist li:before {
    content: "<!> ";
}

ul.errorlist li {
    background: #B00000;
    color: #FFF;
}

#footer {
    border-top: 1px solid #BBB;
    text-align: center;
    font-size: 0.7em;
}

#id_comment, textarea {
    width: 80%;
}

#id_tags, #id_comment, #id_title, #id_q, textarea {
    font-size: 1em;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
}

#id_comment:focus, #id_title:focus, #id_tags:focus, #id_q:focus, input:focus, textarea:focus {
    background: #fafafa;
}

#messages {
    border: 1px solid #c90;
    background: #ff9;
    padding: 5px;
    margin: 10px;
}

#messages li {
    margin-left: 15px;
}

.section h1 {
    font-size: 1.5em;
}

.section h2 {
    font-size: 1.3em;
}

#login
{
    padding: 20px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.center
{
    text-align: center;
}

a {
    color: #444;
    text-decoration: underline;
}

a:hover {
    color: #555;
    text-decoration: underline;
}

#article {
    margin-left: 10px;
    margin-right: 10px;
}

#article p {
    margin: 8px 0px 8px 0px;
}

#article p:first-letter {
    padding-left: 20px;
}

.spacer {
    width: 100%;
    clear: both;
}
