/*
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
Text Domain: basic2col
Domain Path: /lang
*/

@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-code-pro-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Source Code Pro'), local('SourceCodePro-Regular'),
       url('fonts/source-code-pro-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-code-pro-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-code-pro-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-code-pro-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-code-pro-v7-latin-regular.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/arimo-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Arimo Regular'), local('Arimo-Regular'),
       url('fonts/arimo-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/arimo-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/arimo-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/arimo-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/arimo-v11-latin-regular.svg#Arimo') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Arimo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/arimo-v11-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Arimo Italic'), local('Arimo-Italic'),
       url('fonts/arimo-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/arimo-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/arimo-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/arimo-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/arimo-v11-latin-italic.svg#Arimo') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/arimo-v11-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Arimo Bold'), local('Arimo-Bold'),
       url('fonts/arimo-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/arimo-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/arimo-v11-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/arimo-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/arimo-v11-latin-700.svg#Arimo') format('svg'); /* Legacy iOS */
}

/* 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%;
    height: auto;
    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: 0.8em;
    text-align: center;
    word-wrap: break-word;
}
hr {
    border: 1px solid #ccc;
}
blockquote, code, pre {
    color: #111;
}
code, kbd {
    background-color: #f5f2f0; /*: #f0f0f0;*/
    /*background-color: #101030;*/
    padding: 1px 4px 1px 4px;
    border-radius: 5px;

    font-family: 'Source Code Pro', Monospace;
    /*font-family: Consolas, Monaco, 'Lucida Console', Monospace;*/
    font-size: 1em;

    color: #444;
}
pre {
    overflow: auto;
}

/* 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.2em;
}

@media screen and (max-width: 799px) {
    #content {
        width: 100%;
        padding: 5px 0em;
    }
}

.post h2, .archives h3, .search h3 {
    border-bottom: 1pt solid #eee;
}
.post {
    margin: 5px 0px;
}
.postmeta {
    font-size: 0.9em;
    clear:both
}
footer.postmeta p {
    margin: 2px 0px;
    padding: 0px;
}
.postmeta {
    margin: 10px 0px 5px;
}
.postcontent {
    line-height: 1.5em;
    /*text-align: justify;*/
}

/* 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: 1.2em;
}
#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: 0.9em;
}
.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: 1em;
}
#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;
}

@media screen and (max-width: 799px) {
    #sidebar {
        float: bottom;
        width: 100%;
    }

    #sidebar li li {
        border-bottom: none;
    }

    #searchform {
        display: none;
    }
}

/* 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: 1em;
    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;
    max-width: 100%;
    -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;
    height: auto;
}

.wp-caption p.wp-caption-text {
    padding: 0 4px 5px;
    margin: 0;
}
