body {
    margin: 0; padding: 0;
}
form {
    margin: 0;
}

h1 {
    text-align: center;
}
#close_node, #edit_node {
    font-size: 35%;
    text-transform: uppercase;
    display: inline;
    margin-left: 2em;
    font-weight: normal;
}
#close_node a #edit_node a {
    color: #666;
}

h2 {
    text-align: center;
}
h2 .answer {
    padding: 0.2em;
    font-size: 170%;
}
.answer {
    color: black;
    text-transform: uppercase;
}
.answer-yes {
    background: #0f0;
}
.answer-no {
    background: #f99;
}
.answer-maybe {
    background: #999;
}
.linktocategory {
    text-align: center;
    font-size: 90%;
}

#headbar {
    padding: 0.3em 0.5em;
}
#user {
    font-size: 80%;
    float: right;
    text-align: right;
}
#close-button {
    float: right;
    font-weight: bold;
}
#close-button a {
    padding: 0.2em 0.6em;
    margin: 1em;
    text-decoration: none;
    color: white;
    background: blue;
}
#back-button {
    clear: left;
    font-size: 80%;
    padding: 1em;
}

.message {
    width: 35em;
    margin: 1em auto;
    padding: 0.5em 1em;
    border: solid 1px blue;
    background: #ccf;
    color: #006;
    font-style: italic;
}

#search {
    display: inline;
    margin-left: 0.5em;
}
#search form {
    display: inline;
}
#search input#q {
    font-size: 1em;
    display: inline;
    width: 8em;
}

#login {
    width: 25em;
    border: solid 1px #69c;
    padding: 1em;
    margin: 2em auto 0 auto;
}
#login table {
    margin: 0 auto;
}
#login table .buttons {
    text-align: center;
}
#register {
    text-align: center;
}

#recentnodes {
    text-align: center;
    width: 50em;
    border: solid 1px #396;
    padding: 0.5em 0;
    margin: 1em auto;
}
#examplenodes {
    width: 50em;
    padding: 0.5em;
    margin: 1em auto;
    border: solid 1px #396;
}
#examplenodes p {
    font-weight: bold;
    text-align: center;
    margin: 0;
}
#examplenodes ul {
    list-style: none;
    margin: 1em 0 0 0;
    padding: 0;
    overflow: auto;
}
#examplenodes ul li {
    width: 9.8em;
    float: left;
    text-align: center;
    margin: 0;
    padding: 2px 0;
    overflow: hidden;
}
#examplenodes ul li a {
    display: block;
}

#mini_about {
    width: 40em;
    background: #eee;
    border: solid 1px #ccc;
    padding: 0.5em 1em;
    margin: 0 auto;
}
#mini_about p {
    font-size: 80%;
    line-height: 150%;
    margin: 0;
}
#index, #about, #contact {
    width: 40em;
    background: #eee;
    border: solid 1px #ccc;
    padding: 0.5em 1em;
    margin: 0 auto;
}
#about h3, #contact h3 {
    margin: 0.5em 0;
}
#about p, #contact p {
    line-height: 130%;
}

#index h3 {
    text-transform: uppercase;
    margin: 0.5em 0 0.3em 0;
}
#index p {
    margin: 0.1em 0;
}
#index table {
    width: 100%;
}

.sourcelist_cnt {
    width: 45em;
    margin: 1em auto;
    padding: 1em;
}
.sourcelist_cnt h3 {
    margin: 0;
    padding: 0 0.5em;
}
.source-answer {
    margin: 0 0.5em;
    padding: 0.1em 0.2em;
}
.sourcelist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sourcelist li {
}
.sourcelist li.source {
    padding: 1em 0.5em;
    border-top: solid 1px #ccc;
    height: 48px;
}
.sourcelist li.unmoderated-source {
    background: #ccf;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}
.sourcelist li.addsource {
    border-bottom: none;
    margin: 0;
    padding: 1em;
    text-align: center;
    background: #eee;
    border: solid 1px #ccc;
}
.sourcelist li.addsource .directions {
    margin: 0 0 1em 0;
    font-size: 80%;
    color: #666;
}
#captcha_cnt {
    display: none;
}
#recaptcha_widget_div {
    text-align: center;
}
#recaptcha_area {
    margin: 0.5em auto;
}
.sourcelist li.addsource label {
    padding-right: 0.5em;
}
.sourcelist li.addsource input {
    width: 30em;
}

.vote-widget {
    float: left;
    width: 128px;
}
.vote-yes {
    float: left;
    width: 64px;
    height: 32px;
    margin-bottom: 4px;
    background: transparent url(/media/cifmd/images/vote_grey.png) no-repeat 0 0;
}
.vote-yes-selected {
    background: transparent url(/media/cifmd/images/vote.png) no-repeat 0 0 !important;
}
.vote-no {
    float: left;
    width: 64px;
    height: 32px;
    margin-bottom: 4px;
    background: transparent url(/media/cifmd/images/vote_grey.png) no-repeat -64px 0;
}
.vote-no-selected {
    background: transparent url(/media/cifmd/images/vote.png) no-repeat -64px 0 !important;
}
.vote-bar {
    height: 14px;
    width: 126px;
    border: solid 1px #666;
    background: #ccc;
    overflow: hidden;
}
.vote-bar-yes {
    background: #393;
    float: left;
}
.vote-bar-no {
    background: #933;
}

.moderate-widget {
    float: left;
    width: 128px;
}
.moderate-widget div {
    text-align: center;
    font-size: 8px;
    padding: 1px 0;
}
.moderate-widget div.awaiting-moderation {
    margin-top: 1.9em;
    font-style: italic;
}
.moderate-widget div a {
    font-size: 10px;
    padding: 0 2px;
    color: black;
    text-transform: uppercase;
    text-decoration: none;
}
.moderate-widget div.okay a {
    background: #9f9;
}
.moderate-widget div.delete a {
    background: #f99;
}

.link {
    overflow: hidden;
    display: block;
    padding-left: 1em;
}
.link .editsource {
    color: #633;
    font-size: 70%;
    margin-left: 0.6em;
    text-transform: uppercase;
}
.link .deletesource {
    color: #633;
    font-size: 70%;
    margin-left: 0.2em;
    text-transform: uppercase;
}
.link .url {
    display: block;
    color: #666;
    font-size: 70%;
    margin-left: 1em;
    margin-top: 0.4em;
    text-decoration: none;
}

#closenode, #editsource {
    width: 40em;
    background: #cf9;
    padding: 0.5em 1em;
    margin: 0 auto;
}
#closenode p, #editsource p {
    margin: 0.5em;
}
#closenode label {
    width: 15em;
}
#editsource label {
    width: 4em;
}
#closenode label,
#editsource label {
    display: block;
    float: left;
    padding-right: 0.5em;
    text-align: right;
}
#closenode_redirect {
    font-size: 100%;
    width: 22em;
}
#editsource_title {
    font-size: 100%;
    width: 33em;
}
#closenode .button,
#editsource .button {
    text-align: center;
}

#search_results {
    width: 40em;
    margin: 1em auto;
    padding: 1em;
    background: #9f9;
}
#search_results p {
    margin: 0;
}

.category-members {
    width: 20em;
    margin: 1em auto;
    padding: 1em;
    border: solid 1px #ccc;
    background: #eee;
}
.category-members h3 {
    margin: 0;
    padding: 0;
    text-align: center;
}
.catmemberlist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.catmemberlist li {
    padding: 0;
    margin: 0.5em 0;
}

#footer {
    margin: 2em 0 1em 0;
    font-size: 70%;
    color: #999;
    text-align: center;
}
#footer a {
    color: #999;
}
