/**
 * Main stylesheet for the OpenWebBoard Portal
 *
 * @author Janek Bevendorff
*/

@import url(editor.css);

* {
    margin: 0;
    padding: 0;
}

html, body {
    background-color: #eee;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
    padding: 3px;
}
a {
    color: #336;
    outline: none;
    text-decoration: none;
}

a:hover, a:focus {
    background-color: #fc9;
    color: #c00;
    text-decoration: underline;
}

a:active {
    left: 1px;
    position: relative;
    top: 1px;
}

a:visited {
    color: #333;
}

a.no_hover, a.no_hover {
    background: none;
    color: #336;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 1em;
    margin: 10px 0;
    text-align: center;
}

h2, h3, h4, h5, h6 {
    font-size: 15px;
    margin-bottom: 5px;
    text-align: left;
}

h3 {
    font-size: 13px;
}

h4 {
    font-size: 11px;
}

h5 {
    font-size: 9px;
}

h6 {
    font-size: 7px;
}

.dashed_section h2 {
    font-size: 12px;
    margin: 2px 0;
}

hr {
    background-color: #707070;
    border: none;
    color: #707070;
    height: 1px;
    margin: 7px 0;
}

p {
    margin: 4px 0 9px 0;
}

img {
    border: none;
}

fieldset {
    margin: 10px;
    padding: 7px;
}

table {
    border-collapse: collapse;
    margin-top: 15px;
    width: 100%;
}

dt {
    color: #333;
    float: left;
    font-style: italic;
    margin-right: 5px;
    width: 180px;
}

td {
    background-color: #efefef;
    border: 1px solid #000000;
    padding: 5px;
    vertical-align: middle;
}

th {
    background-color: #07137a;
    background-image: url(../img/backgrounds/table_header_back.png);
    background-repeat: repeat-x;
    border: 1px solid;
    border-color: #294699;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 5px;
}

input, textarea, option {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}

select {
    min-width: 45px;
}

label {
    text-align: left;
}

ol, ul {
    margin: 10px 40px;
}

li {
    margin-bottom: 5px;
}

/* ----- */

#topBanner {
    margin: 5px;
    text-align: center;
}
    #topBanner a {
        background: none;
        text-decoration: none;
    }

#wrapper {
    background-color: #eee;
    background-image: url(../img/backgrounds/wrapper.png);
    background-repeat: repeat-y;
    margin: 10px auto;
    width: 805px;
}

#header {
    background-color: #1a58a0;
    background-image: url(../img/backgrounds/header.png);
    background-repeat: no-repeat;
    color: #fff;
    height: 100px;
}
    #header div {
        font-size: 11px;
        padding: 5px 20px 0 0;
        text-align: right;
    }
        #header div input {
            font-size: 9px;
            margin: 0;
            padding: 0;
        }

#left, #right {
    color: #fff;
    float: left;
    padding: 10px 5px 30px 5px;
    width: 120px;
}
    #left h1, #right h1 {
        color: white;
        font-size: 12px;
        margin: 5px 0;
    }
    #left ul {
        margin: 0;
    }
    #left li, #right li {
        list-style-type: none;
        margin-bottom: 2px;
    }
    #left li:hover ul {
        display: block;
    }
        #left ul ul {
            display: none;
            margin: 2px 0 0 15px;
        }
    #left a {
        background-color: #9cf;
        display: block;
        font-weight: bold;
        padding: 1px;
        text-decoration: none;
    }
    #left a:hover, #left a:focus {
        background-color: #fc9;
    }

#right {
    float: right;
    margin-right: 10px;
    width: 115px;
}

#content {
    font-size: 13px;
    line-height: 1.5em;
    margin: 0 130px;
    padding: 5px 10px 30px 5px;
    text-align: justify;
}

#footer {
    background-color: #1a58a0;
    background-image: url(../img/backgrounds/bottom.png);
    background-repeat: no-repeat;
    clear: both;
    color: #fff;
    font-size: 10px;
    height: 35px;
    padding: 5px;
    text-align: center;
}
    #footer img {
        margin-top: 2px;
    }

#sub_footer {
    text-align: center;
    padding-bottom: 10px;
}

#login_form {
    margin: 35px 0 0 0;
}
    #login_form label {
        display: block;
        float: left;
        margin-left: 80px;
        width: 130px;
    }
    #login_form input[type="submit"],
    #login_form input[type="checkbox"],
    #login_form div#login_links {
        margin-left: 210px;
        margin-top: 10px;
    }
    #login_form div#login_links {
        font-size: 12px;
        line-height: 1.2em;
        margin-top: 20px;
    }
    #login_form input[type="checkbox"] {
        margin-top: 0;
    }
    #login_form label[for="login_auto_login"] {
        display: inline;
        float: none;
        margin-left: 3px;
    }

#registration {
    
}
    #registration fieldset {
        padding-bottom: 15px;
    }
    #registration input, #registration label, #registration select {
        margin-bottom: 3px;
    }
    #registration label {
        display: block;
        float: left;
        font-weight: bold;
        width: 180px;
    }
    #registration input[type="checkbox"] {
        margin-left: 180px;
    }
    #registration label[for="reg_show_email_address"] {
        display: inline;
        float: none;
        font-size: 11px;
        font-weight: normal;
        width: auto;
    }
    #registration #optional label {
        font-weight: normal;
    }
    #registration hr {
        margin: 20px 0;
    }

#tutorial_options {
    margin: 10px 5px;
}
    #tutorial_options label, #tutorial_options select, #tutorial_options input {
        margin-bottom: 5px;
    }
    #tutorial_options select, #tutorial_options input {
        min-width: 300px;
    }
    #tutorial_options label {
        display: block;
        float: left;
        width: 150px;
    }

#upload {
    
}
    #upload input[type="submit"] {
        margin: 10px 0 0 140px;
    }
    #upload label, #write_news label {
        display: block;
        float: left;
        width: 140px;
    }
    #upload div, #write_news div {
        margin-bottom: 5px;
    }

#voting {
    font-size: 11px;
    text-align: center;
}
    #voting #vote_radios {
        margin: 6px 0;
    }

/* ----- */

.section {
    background-color: #eee;
    border: 1px solid #fc6;
    color: #000;
    font-size: 10px;
    padding: 2px;
}
    .section ul {
        margin: 0 0 0 15px !important;
    }
    .section li {
        list-style-type: square !important;
    }

.dashed_section {
    background-color: #fff;
    border: 1px dashed #505050;
    font-size: 12px;
    margin: 10px 0;
    padding: 5px;
    text-align: left;
}

.small_italic {
    color: #505050;
    font-size: 9px;
    font-style: italic;
}

table.downloads {
    border: 1px solid #777;
}    
    table.downloads td, table.downloads th {
        border: none;
        font-size: 11px;
        padding: 1px;
    }
    table.downloads tr.row2 td {
        background-color: #dedede;
    }
    table.downloads .version {
        background-color: #c0c0c0;
        border-top: 1px solid #777;
        padding-left: 5px;
    }
    table.downloads .version a {
        background-image: url(../img/toggle_close.gif);
        background-position: center left;
        background-repeat: no-repeat;
        padding-left: 16px;
    }

h2.header_small_middle {
    color: #333;
    font-size: 10px;
    font-style: italic;
    font-weight: normal;
    margin: 0 0 15px 0;
    text-align: center;
}

a.external {
    background-image: url(../img/external.gif);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 13px;
}

a.feed, a.bookmark, a.mister_wong, a.delicious, a.digg {
    background-image: url(../img/feed.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-left: 17px;
}

a.bookmark {
    background-image: url(../img/bookmark.png);
}

a.mister_wong {
    background-image: url(../img/mister_wong.gif);
}

a.delicious {
    background-image: url(../img/delicious.gif);
}

a.digg {
    background-image: url(../img/digg-guy.gif);
}

a.add, a.add_section, a.edit {
    background-image: url(../img/add.png);
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-left: 20px;
}

a.add_section {
    background-image: url(../img/section_add.png);
}

a.edit {
    background-image: url(../img/edit.png);
}

div.success {
    background-color: #9f9;
    border: 1px solid;
    margin: 10px auto;
    padding: 7px;
}

div.error {
    background-color: #f99;
    border: 1px solid;
    margin: 10px auto;
    padding: 7px;
}

.small {
    font-size: 10px;
}

.release_notes {
    font-family: "Courier New", Courier, monospace;
}

.hint {
    background-color: #fff;
    background-image: url(../img/hint.png);
    background-position: 10px 10px;
    background-repeat: no-repeat;
    border: 1px dashed #505050;
    font-size: 11px;
    margin: 3px 0;
    padding: 10px;
    padding-left: 42px;
}

.hint h2 {
    font-size: 12px;
    margin: 0 0 5px 0;
}

/* --- spam protection field --- */
.x {
    display: none;
}
