/*
Theme Name: Clean and Simple
Theme URI: http://codescape.net/wordpress/clean_and_simple/
Description: A clean and simple wordpress theme based on minimal intervention in styling
Author: Alan Briolat
Author URI: http://www.alanbriolat.co.uk/
Version: 0.1
*/

/*
 * GUIDELINES
 *
 * Colours:
 *      #fff    :   Main background
 *      #333    :   Normal text
 *      #eee    :   Faint lines, light background
 *      #999    :   Faint text
 *      #363    :   Coloured text
 *      #7b7    :   Light coloured text
 *
 * Fonts:
 *      "Georgia", serif        :   Serif font
 *      "Verdana", sans-serif   :   Sans-serif font
 *
 * Sizes:
 *      small   :   Normal text
 *      x-small :   Small text
 */


/********************************************************************
 * GENERAL STYLES
 *******************************************************************/

body {
    padding: 0;
    margin: 0;
    font-size: small;
    font-family: "Verdana", sans-serif;
    background-color: #fff;
    color: #333;
}

/* Heading typography */
h1, h2, h3  { font-family: "Georgia", serif; font-weight: normal; clear: both; }
h4, h5, h6  { font-family: "Verdana", sans-serif; }
h1          { font-size: 2.6em; }
h2          { font-size: 2.2em; border-bottom: 1px solid #eee; }
h3          { font-size: 1.8em; }
h4          { font-size: 1.4em; }
h5          { font-size: 1.2em; }
h6          { font-size: 1.0em; }

/* General typography */
p       { text-align: justify; line-height: 1.6; margin: 1em 0; }
small   { font-size: x-small; color: #999; }
blockquote { font-family: "Georgia", serif; font-style: italic; }

/* Links */
a       { text-decoration: underline;   color: #363; }
a:hover { text-decoration: none;        color: #7b7; }

/* Image link border fix */
a img   { border: none; }

/* Heading link fix */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #333; text-decoration: none; }

/* Lists */
li { line-height: 1.5; }


/********************************************************************
 * PAGE LAYOUT
 *******************************************************************/

#page {
    margin: 0 auto;
    width: 900px;
}

#header {
    text-align: center;
    margin: 2em 0 3em 0;
}

#content.narrowcolumn {
    float: left;
    clear: left;
    width: 580px;
}

#content.widecolumn {
    width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#sidebar {
    float: right;
    clear: right;
    width: 260px;
    padding-left: 25px;
    border-left: 1px solid #eee;
}

#footer {
    clear: both;
    text-align: center;
    font-size: x-small;
    color: #999;
    margin-top: 2em;
    border-top: 1px solid #eee;
}

#footer p {
    text-align: center;
}


/********************************************************************
 * HEADER STYLES
 *******************************************************************/

#header h1 {
    display: inline;
    padding-right: 0.5em;
    border-right: 1px solid #eee;
    font-style: italic;
    vertical-align: baseline;
}

#header .description {
    display: inline;
    padding-left: 1.0em;
    color: #999;
    font-style: italic;
    font-family: "Georgia", serif;
    vertical-align: baseline;
}


/********************************************************************
 * INTER-SITE NAVIGATION
 *******************************************************************/

#sites-navigation {
    font-size: x-small;
    font-weight: bold;
    background-color: #eee;
    text-align: right;
    padding: 0 30px;
}

#sites-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sites-navigation li {
    display: inline;
}

#sites-navigation a {
    display: inline-block;
    text-decoration: none;
    color: #999;
    padding: 3px 10px;
}

#sites-navigation a:hover, #sites-navigation a.sites-current {
    background-color: #fff;
}


/********************************************************************
 * WORDPRESS-SPECIFIC
 *******************************************************************/

.alignright {
    float: right;
    clear: right;
    margin: 0.5em 0 0.5em 1em;
}

.alignleft {
    float: left;
    clear: left;
    margin: 0.5em 1em 0.5em 0;
}

img.alignright, img.alignleft {
    padding: 5px;
    border: 1px solid #eee;
}

.navigation {
    margin: 1em 0;
}

.navigation .alignleft, .navigation .alignright {
    margin: 0;
}

#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar ul ul {
    list-style: disc outside;
    margin-left: 2em;
}

#sidebar > ul > li {
    margin-bottom: 2em;
}

#sidebar h2 {
    font-size: 1.6em;
    margin: 1em 0 0.5em 0;
}

#sidebar p {
    text-align: justify;
    line-height: 1.2;
}

#tag_cloud a {
    margin-right: 10px;
}

.post {
    margin-bottom: 3em;
}

.post h2, .page h2 {
    margin-bottom: 0;
}

.postmetadata {
    font-size: x-small;
    margin-top: 0.5em;
    color: #999;
}

.postmetadata img {
    vertical-align: middle;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist li {
    border-bottom: 1px solid #eee;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}

.commentlist .avatar {
    float: right;
}

.commentmetadata {
    font-size: x-small;
}

#respond p {
    line-height: 1.0;
    margin: 0.3em 0;
}

#respond input {
    width: 200px;
}

#respond textarea {
    width: 550px;
}

#respond input#submit {
    width: auto;
}

.wp-caption {
    border: 1px solid #eee;
}

.wp-caption img {
    margin: 5px;
}

.wp-caption p {
    margin: 5px;
    text-align: center;
    font-size: x-small;
}

h2.pagetitle {
    color: #999;
    font-style: italic;
    border-bottom: none;
}

