/*
 * Copyright (c) 2001-2010 Jochen Kupperschmidt
 *  _                               _
 * | |_ ___ _____ ___ _ _ _ ___ ___| |_
 * |   | . |     | ._| | | | . |  _| . /
 * |_|_|___|_|_|_|___|_____|___|_| |_|_\
 *   http://homework.nwsnet.de/
 */

@import url('pygments.css');


/*** reset styles ***/

html,
body {
    margin: 0;
    padding: 0;
}

form {
    margin: 0;
    padding: 0;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

ol {
    list-style: none;
    margin: 0;
    padding: 0;
}


/*** layout/general ***/

body {
    background: #cac2b8 url('page-background.png') center top repeat-y;
    color: #333333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    padding-top: 70px;
    position: relative;
}

#content a,
#sidebar a,
#footer a {
    color: #117ccc;
    cursor: pointer;
    text-decoration: none;
}
#content a:hover,
#sidebar a:hover,
#footer a:hover {
    color: #333333;
    text-decoration: underline;
}

abbr,
acronym {
    border-bottom: dotted 1px;
    cursor: help;
}

.clear {
    clear: both;
}


/*** more layout ***/

#page {
    background: #ffffff url('columns-background.png') repeat-y 610px 0;
    margin: 0 auto;
    width: 880px;
}

#main {
    float: left;
    width: 610px;
}


/*** header (incl. navigation) ***/

#header {
    background: url('header-background.png') repeat-x left bottom;
    height: 70px;
    left: 0;
    padding-bottom: 8px;
    position: absolute;
    top: 0;
    width: 100%;
}
#header-box {
    line-height: 70px;
    margin: 0 auto;
    position: relative;
    width: 880px;
}

#header h1,
#nav {
    font-size: 100%;
    margin: 0;
    padding: 0;
}
#header h1 a,
#nav a {
    color: #ffffff;
    display: block;
    font-family: Helvetica, sans-serif;
    text-decoration: none;
    text-shadow: #666666 1px 1px 2px;
}

#header .part1 {
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 0.05em;
}
#header .part2 {
    font-size: 1.2em;
    font-weight: normal;
    letter-spacing: 0.1em;
}

#nav {
    top: 0;
    right: 0;
    position: absolute;
}
#nav li {
    float: left;
    font-size: 0.85em;
    margin: 0;
}
#nav a {
    display: block;
    padding: 4px 1px 1px 20px;
}
#nav a:hover {
    padding: 5px 0 0 21px;
}


/*** content ***/

#content {
    font-size: 80%;
    line-height: 1.5em;
    padding: 0 20px 20px 20px;
    text-align: justify;
}

#content h2,
#content h3,
#content h4 {
    font-family: 'Lucida Grande', 'Trebuchet MS';
    clear: both;
    text-align: left;
}
#content h2 {
    border-bottom: #dddddd solid 1px;
    font-size: 170%;
    margin: 1em 0 0.5em 0;
}
#content h3 {
    font-size: 150%;
    line-height: 1.3em;
    margin: 0;
    padding: 0.5em 0 0 0;
}
#content h4 {
    font-size: 120%;
    margin: 0;
    padding: 0.5em 0 0 0;
}

.additional {
    color: #888888;
    font-size: 0.8em;
}

.history li {
    clear: both;
}
.history span {
    color: #888888;
    display: block;
    font-size: 0.8em;
    float: right;
    padding-left: 1em;
    width: 11.5em;
}

#content img.float,
#content img.float-right {
    float: right;
    margin: 0.4em 0 0.4em 0.8em;
}
#content img.float-left {
    float: left;
    margin: 0.4em 0.8em 0.4em 0;
}

#content table {
    background-color: #eeeeee;
    border-spacing: 1px;
    width: 100%;
}
#content th,
#content td {
    background-color: #ffffff;
    font-size: 1.0em;
    padding: 0.2em 1em 0.2em 0.5em;
    text-align: left;
    vertical-align: top;
}
#content td.label {
    font-weight: bold;
}


/*** forms ***/

form.framed {
    border: #dddddd solid 1px;
}

#content form p {
    margin: 0.5em;
    padding: 0;
}

#content fieldset ol {
    padding: 6px 0;
}
#content fieldset li {
    margin: 0;
    padding: 2px 8px;
}

#content fieldset label,
#content fieldset span.label {
    display: -moz-inline-block;
    display: inline-block;
    vertical-align: top;
    width: 120px;
}
#content fieldset fieldset label {
    display: inline;
    width: auto;
}

#content fieldset fieldset {
    border: #aaaaaa solid 1px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    width: 423px !important;
}
#content fieldset div,
#content fieldset fieldset,
#content fieldset input,
#content fieldset select {
    display: -moz-inline-block;
    display: inline-block;
    width: 420px;
}
#content fieldset textarea {
    height: 30em;
    /* Include 3px for the space character
     * between label and element. */
    width: 546px;
}

fieldset.footer {
    padding: 8px 0 6px 0;
    text-align: center;
}

button {
    font-size: 89%;
    font-weight: bold;
    padding: 0.3em 0.6em;
}

button,
input,
select,
textarea {
    border: #aaaaaa solid 1px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 0.1em;
}
button {
    padding: 0.1em 0.4em;
}
button:focus,
input:focus,
select:focus,
textarea:focus {
    background-color: #ddeeff;
    border-color: #888888;
}


/*** releases ***/

.release {
    background: none;
    min-height: auto;
    padding-left: 0;
}
.release .date {
    color: #888888;
    font-family: 'Lucida Grande', 'Trebuchet MS';
    font-weight: bold;
    margin-top: 2.2em;
}
.release h3 {
    margin: 0.1em 0 !important;
    padding: 0 !important;
}
.release h3 a,
.release h3 a:hover {
    color: #333333 !important;
}
.release p {
    text-align: justify;
}
.release p.meta {
    background-color: #f8f8f8;
    background-position: 10px 50%;
    background-repeat: no-repeat;
    border: #cccccc solid 1px;
    -moz-border-radius: 7px;
    color: #888888;
    display: block;
    font-size: 1.1em;
    line-height: 32px;
    margin: 0.5em 0;
    min-height: 32px;
    padding: 0.5em 1em 0.5em 50px;
    text-align: left;
}

.release p.admincontrols {
    background-image: url('icons/key.png');
}
.release p.download {
    background-image: url('icons/floppy.png');
}
.release p.tags {
    background-image: url('icons/label.png');
}

img {
    border: 0;
}
img.framed {
    border: #dddddd solid 1px;
    padding: 2px;
}
img.screenshot {
    border: #dddddd solid 7px;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    display: block;
    margin: 0 auto;
}

blockquote {
    border-left: #dddddd solid 0.3em;
    margin: 0;
    padding-left: 0.7em;
}
div.highlight {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 90%;
    line-height: 1.3em;
    margin: 0.5em 0;
    overflow: auto;
}
pre {
    font-size: 130%;
}


/*** tags ***/

#switcher a.current {
    font-weight: bold;
}

ol.tags-list {
    column-count: 4;
    -moz-column-count: 4;
    -webkit-column-count: 4;
}

.tags-cloud li {
    display: inline;
}
.tags-cloud a {
    line-height: 1.4em;
    margin: 0 0.1em;
}
.tags-cloud a.level-1 { font-size: 80%; }
.tags-cloud a.level-2 { font-size: 100%; }
.tags-cloud a.level-3 { font-size: 130%; }
.tags-cloud a.level-4 { font-size: 160%; }
.tags-cloud a.level-5 { font-size: 200%; }
.tags-cloud .additional {
    display: none;
}

/*** sidebar ***/

#sidebar {
    margin: 0 0 0 610px;
    text-align: justify;
}
#sidebar div.container {
    background: url('gradient-top-dark.png') 80px -10px no-repeat;
    border-bottom: #d8d8d8 solid 1px;
    font-size: 70%;
    padding: 1.3em 1.5em;
}
#sidebar div.container:first-child h2 {
    margin-top: 8px;
}
#sidebar h2 {
    color: #666666;
    font-family: 'Lucida Grande', 'Trebuchet MS';
    font-size: 145%;
    margin: 0 0 0.8em 0;
    padding: 0;
}
#sidebar li {
    margin-bottom: 0.35em;
}


/*** footer ***/

#footer {
    border-top: #d8d8d8 solid 1px;
    clear: both;
    color: #888888;
    font-size: 60%;
    margin: 4em 20px 0 20px;
    padding: 1em 20px 2em 20px;
    text-align: left;
    width: 530px;
}
#footer p {
    margin: 0.2em 0;
    padding: 0;
}


/*** icons ***/

.admin,
.email,
.feed,
.twitter {
    background-position: 0 0;
    background-repeat: no-repeat;
    min-height: 16px;
    padding-left: 20px;
}
.admin      { background-image: url('icons/user_red.png'); }
.email      { background-image: url('icons/email.png'); }
.feed       { background-image: url('icons/feed.png'); }
.twitter    { background-image: url('icons/twitter.png'); }

ol.bullets > li {
    background: url('icons/bullet_yellow.png') 0 1px no-repeat;
    min-height: 16px;
    padding-left: 18px;
}

