/*
Theme Name: Basic2Col
Theme URI: https://github.com/nickg/basic2col
Description: Theme for doof.me.uk based on basic2col by Kristin K. Wangen.
Version: 3.1.2
Author: Nick Gasson
Author URI: http://www.doof.me.uk
Tags: white, two column, basic, minimalistic, elastic width, right sidebar
*/

/* Classes */
.center, .aligncenter, .centered {
    text-align: center;
}
.right, .alignright {
    float: right;
}
.left, .alignleft {
    float: left;
}
.none {
    display: none;
}
.righttxt {
    text-align: right;
}
.credits {
    clear: both;
    font-style: italic;
}
.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Images */
img {
    border: none;
    margin: 2px;
}
img.center, img.aligncenter, img.centered {
    display: block;
    margin: 5px auto;
}
img.alignright, img.right {
    margin-left: 5px;
}
img.alignleft, img.left  {
    margin-right: 5px;
}
img.rssimg {
    margin: 0px;
}
.postcontent img {
    max-width: 100%;
    overflow: hidden;
}
.wp-smiley {
    border: none;
    margin: 0px;
}

/* General layout */
body {
    background:#fff;
    color : #111;
    font-family: 'Arimo', Sans-Serif;
    font-style: normal;
    padding: 2px 2em;
    margin: 0px;
    line-height: 1.5em;
    font-size: 80%;
    text-align: center;
}
hr {
    border: 1px solid #ccc;
}
blockquote, code, pre {
    color: #111;
}
code {
    background-color: #f0f0f0;
}
code, pre {
    font-family: 'Source Code Pro', Monospace;
}

/* Font styles */
p {
    font-size: 1em;
    font-style: normal;
    padding: 0px;
}
h2 {
    font-size : 1.4em;
}
h3 {
    font-size:1.2em;
}
h4, h5, h6 {
    font-size:1em;
}
h2, h3, h1, h4, h5, h6 {
    color: #333;
    margin: 10px 0px;
    padding: 2px 0px;
    clear: both;
}

/* Link colour */
a:link, a:visited {
            font-weight: normal;
            color: #600;
            text-decoration: none;
        }
a:hover, a:active {
             color: #666;
             text-decoration: none;
             border: none;
         }
#content h2 a:link, #content h2 a:visited, #header h1 a:link, #header h1 a:visited, #content h3 a:link, #content h3 a:visited {
                                                                                                            color: #333;
                                                                                                            font-weight: normal;
                                                                                                            text-decoration: none;
                                                                                                            border: none;
                                                                                                        }
#content h2 a:hover, #content h2 a:active, #header h1 a:hover, #header h1 a:active, #content h3 a:hover, #content h3 a:active {
                                                                                                             color: #999;
                                                                                                         }

/* Border colours */
.postcontent img {
    border: 1pt solid #eee;
}
.border {
    border: 1px solid #ccc;
}

/* Wrap and header */
#accessnav {
    display: none;
}
#wrap {
    background: transparent;
    max-width: 65em;
    margin: 5px auto;
    padding: 0px;
    text-align: left;
}

/* Header */
#header {
    background : transparent;
    border-bottom: 1px solid #ccc;
    margin: 4px 4px 0px;
    padding: 15px 10px;
}
#header h1{
    padding: 0px;
    font-size: 2em;
    display: inline;
}
#header p {
    padding: 0px;
    margin: 2px 10px;
    font-size: 1.1em;
    display: inline;
}

/* Content and post settings */
#content{
    background : transparent;
    padding: 5px 1em;
    margin: 2px 0.1em 5px;
    width: 67%;
    float: left;
    font-size:1.1em;
}
.post h2, .archives h3, .search h3 {
    border-bottom: 1pt solid #eee;
}
.post {
    margin: 5px 0px;
}
.postmeta {
    font-size:0.9em;
    clear:both
}
div.postmeta p {
    margin: 2px 0px;
    padding:0px;
}
.postmeta {
    margin: 10px 0px 5px;
}
.postcontent {
    line-height:1.6em;
}

/* Postnav */
#postnav {
    clear:both;
    margin:0px;
}
#postnav li {
    display:inline;
    margin: 2px 0px;
}

/* Comments */
#commentbox {
    background : transparent;
    clear:both;
    margin:10px 0px;
}
ol#commentlist  {
    list-style-position: inside;
    margin:2px 0px;
    padding:0px;
}
#commentlist li{
    border-bottom:1pt solid #eee;
    margin: 10px 0px;
}
#commentform fieldset {
    padding:0;
    margin:0;
}
#commentform legend {
    color: #333;
    margin: 10px 0px 5px;
    padding:2px 0px;
    font-size:120%;
}
#commentform textarea {
    width:90%;
}
#commentform label, #commentform textarea {
    display:block;
}
#commentform input {
    width:50%;
}
#commentform input.submit {
    width:40%;
    margin:2px 0px;
}
.approve {
    border: 1pt solid #ccc;
    background : #eee;
    padding:5px;
    font-size:90%;
}
.comment_time {
    font-size:0.8em;
    text-align:right;
    clear:both;
}
#commentlist cite {
    font-style:normal;
}

#commentbox {
    border-top: 1pt solid #eee;
}
.avatar {
    float:right;
    border: 1pt solid #eee;
    margin-left:10px;
    padding:2px;
}

/* Sidebar */
#sidebar {
    background : transparent;
    padding: 5px 0px;
    margin: 5px 0px;
    width: 25%;
    float:right;
}
#sidebar ul, #sidebar li{
    list-style-type: none;
    margin: 2px;
    padding:0px;
}
#sidebar li {
    margin:0px;
    padding: 2px 0px;
}
#sidebar div {
    margin: 2px;
    padding:0px;
}
#sidebar h2 {
    margin: 5px 0px 0px;
    padding: 4px 0px;
    font-size:100%;
}
#sidebar li a {
    border:none;
}
#sidebar li li {
    border-bottom: 1pt solid #eee;
}
#sidebar li li li {
    list-style:circle inside;
    border:none;
    margin-left:0px;
}

/* Search form */
#searchform label {
    font-weight:bold;
}
#searchform input#s {
    width:50%;
}
#searchform input.submit {
    width:30%;
}

/* Widgets fixing */
.widget_rss h2 a {
    color:#333;
    font-weight:bold;
}
.widget_rss img {
    margin:0px;
}

/* Calendar */
#wp-calendar a {
    font-weight:bold;
}
#today {
    background:#eee;
}

/* Footer */
#footer {
    background : transparent;
    border-top:1px solid #ccc;
    margin:5px;
    clear: both;
    padding:5px 10px;
    text-align:center;
}
#footer ul{
    margin: 2px;
    padding:0px;
}
#footer li{
    display: inline;
    margin:0px 3px;
}

/* Forms */
input, textarea, select, option {
    font-size:100%;
    padding: 2px;
    background : #eee;
    color : #111;
    border: 1px solid #ccc;
    margin: 2px;
}
fieldset, legend {
    background: transparent;
    color : #111;
    border: none;
    padding: 5px;
}
label, legend {
    font-weight:normal;
}

/* Lists */
ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 5px 2em;
    padding:2px;
}
ol {
    list-style-position: outside;
    margin: 5px 2em;
    padding:2px;
}

/* Tables */
table {
    color : #111;
    width: 90%;
    margin: 5px auto;
    padding: 0px;
    font-size:1em;
}
caption {
    color: #333;
    font-weight: normal;
    padding: 5px;
}
td, th, tr {
    padding: 5px;
    text-align:left;
}

/* Photo captions */
.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}
.wp-caption p.wp-caption-text {
    padding: 0 4px 5px;
    margin: 0;
}