/*
 * Copyright © 2009 Peter Colberg
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 *
 * This stylesheet is based on the R755 light theme, which is licensed as follows:
 *
 * The CSS, XHTML and design is released under GPL: http://www.opensource.org/licenses/gpl-license.php
 *
 * http: //www.varometro.net/blog/r755_light_theme/
 */

body {
    font-size: 87.5%;
    background-color: #FFF;
    color: #111;
    font-family: sans-serif;
    line-height: 1.6em;
    text-align: center;
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
}

html, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
}

/**
 * page layout
 */

#container {
    text-align: left;
    max-width: 60em;
    margin: 0 auto 0;
}

#sidebar {
    background: none;
    float: right;
    width: 200px;
    font-size: 0.87em;
    line-height: 1.6em;
    padding: 10px;
}

#container #body #content {
    background: none;
    margin: 0 220px 0 0;
    padding: 30px 30px 10px 10px;
}

#container #body .clear {
    clear: right;
    display: block;
}

#container #footer {
    background-color: #FFF;
    border-top: solid 2px #000;
    font-size: 1em;
    line-height: 1.2em;
    padding: 0 0 0 10px;
}

.entry, .page {
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/**
 * navigation
 */

ul.nav {
    position: absolute;
    top: 1px;
    right: 10px;
}

ul.nav li {
    display: inline;
    padding: 1px 8px 7px 8px;
}

ul.nav li a, ul.nav li a:link {
    color: #000;
    font: normal 1.1em corbel, liberation sans, georgia, lucida grande, sans-serif;
    text-decoration: none;
    border-bottom: none;
}

ul.nav li a:hover {
    color: #999;
    background: none;
}

/**
 * header
 */

div#header {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 10px;
    overflow: hidden;
    background: #fff;
    border-top: solid 5px #000;
    padding: 11px 10px;
    overflow: hidden;
}

div#header h1 {
    font-size: 2.4em;
    font-weight: 700;
    padding: 0 0 24px 0;
    letter-spacing: -1px;
    white-space: nowrap;
}

div#header div {
    border: 1px solid red;
    width: 0;
    overflow: visible;
}

div#header h1 a {
    color: #000;
    text-decoration: none;
    border-bottom: none;
}

div#header h1 a:hover {
    text-decoration: none;
    border-bottom: none;
    color: #777;
    background-color: transparent;
}

div#header span.title {
    display: block;
    position: absolute;
    top: 40px;
    left: 12px;
    text-align: right;	
    color: #666;
    font-size: 0.87em;
    font-weight: 400;
}

/**
 * typography
 */

blockquote {
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    color: #666;
}

pre.literal-block {
    margin: 10px;
    background: #eee;
    padding: 6px 8px;
}

code strong {
    color: #930;
}

#content p {
    text-align: justify;
}


/**
 * headings
 */

h1, h2, h3, h4 {
    font-weight: 700;
    color: #000;
    padding: 20px 0 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.625em;
}

h3 {
    font-size: 1.375em;
}

h4 {
    font-size: 1em;
}

/**
 * links
 */

a, a:visited {
    border-bottom: 1px solid #ccc;
    color: #000;
    text-decoration: none;
}

a {
    outline: none;
}

a img, a:visited img, a:hover img {
    background-color: transparent;
    border: 0 !important;
    border-bottom: 0 !important;
}

a:hover {
    background-color: #ffffcc;
    border-bottom: 1px solid #ffffcc;
    color: #000;
}

h2.title, h2.title a {
    padding-top: 0;
    font-size: 1.25em;
    line-height: 1.2em;
    color: #000;
    font-weight: 700;
    margin: 0;
    border-bottom: 0;
}

h2.title a:hover {
    color: #666;
    text-decoration: none;
    background: none;
}

a.image-border {
    text-decoration: none;
    border: 0 none;
    background-color: transparent;
}

/**
 * sidebar
 */

#sidebar ul {
    margin: 0 0 30px;
    padding: 0;
}

#sidebar ul li ul {
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    list-style: none;
}

#sidebar ul li ul li {
    list-style: none;
    list-style-position: outside;
    list-style-image: url(/media/images/arrow.gif);
    margin-left: 17px;
}

#sidebar h3 {
    font-size: 1.25em;
    padding: 0;
    margin: 20px 0 0;
}

/**
 * images
 */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img {
    border: 0;
}

p img {
    max-width: 100%;
    padding: 0;
}

img.alignright {
    display: inline;
    margin: 7px 0 2px 7px;
    padding: 4px;
}

img.alignleft {
    display: inline;
    margin: 7px 7px 2px 0;
    padding: 4px;
}

img.centered, .aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

