/*

Theme Name: Offset Writing

Description: A very clean and simple 2 column theme that doesn't really fit in the box.

Version: 1.2

Author: Andreas Hultgren

Tags: white, light, widget ready, clean, valid XHTML, valid CSS, two column, fixed witdth, left sidebar

*/


/* Body */

body
{
    margin: 20px;
    padding:20px;
    background: #fff url(images/bg.jpg) top left fixed repeat-x;
    font: 80%/140% verdana, arial, sans-serif;
}

*
{
    margin: 0;
    padding: 0;
}



/* Wrapper */

#wrap
{
    background: transparent;
    width: 650px;
    height: auto;
    margin: 60px 150px;
    border: 1px solid #000;
    overflow: visible;
}

/************header************/

#header
{
    height: 140px;
    width:550px;
    background: #fff url(images/bg.jpg) bottom left repeat-x;
    border: 1px solid #000;
    margin: -50px 0 30px 80px;
}
#header a
{
    text-decoration: none;
}
#header a:hover
{
    color: #333;
    text-decoration: none;
}
#feed
{
    background:#555 url(images/feed.gif) center center no-repeat;
    float:right;
    width:32px;
    height:32px;
    margin: -34px 20px 0 0;
    border:1px solid #000;
}
#feed a.feed
{
    display:block;
    width:32px;
    height:32px;
}


/* Headers */

#header h1
{
    font-size: 4em;
    font-weight: bolder;
    letter-spacing: -5px;
    line-height:1em;
    color: #000;
    text-align: left;
    text-transform:uppercase;
    margin: 20px 20px 0 20px;
}
#header h2
{
    font-family: verdana, arial,sans-serif;
    font-size: 1.6em;
    font-weight: bold;
    color: #000;
    text-align: left;
    letter-spacing:2px;
    margin-top: 0;
    margin-left: 40px;
    padding-bottom: 0px;
}
table#wp-calendar caption
{
    background:#fff;
    border: 2px solid #000;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    text-align:left;
    color: #000;
    margin: 0 18px 5px -25px;
    padding:3px 10px;
}




/************topmenu************/

#topmenu
{
    background: #fff;
    height:32px;
    width:450px;
    vertical-align:bottom;
    border: 1px solid #000;
    margin: 35px 0 0 20px;
}
#topmenu ul
{
    margin: 0px;
    padding: 0px;
}
#topmenu li
{
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}
#topmenu a
{
    border-right: 1px solid #000;
    display: block;
    font-size: 1.2em;
    padding: 7px 10px 8px;
    text-transform: uppercase;
}
#topmenu a:hover, #topmenu li.current_page_item a, #topmenu a.active
{
    text-decoration: underline;
}

/* Sidebar */

#sidebar
{
    background: #fff;
    float: left;
    width: 170px;
    margin: -80px 0 20px -130px;
    padding: 12px 12px 12px 12px;
    border: 1px solid #333;
    font-size: 0.9em;
}

#sidebar h2
{
    background:#fff;
    border: 2px solid #000;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    text-align:left;
    color: #000;
    margin: 0 10px 5px -25px;
    padding:3px 10px;
}

#sidebar p, #sidebar ul, #sidebar .textwidget
{
    margin: 0 0 15px 0px;
}

#sidebar li
{
    list-style: none;
    margin: 0 0 6px;
}

#sidebar li a
{
    font-size: 1.2em;
    font-weight: bold;
    padding: 2px;
    border-right:1px solid #000;
    border-bottom:1px solid #000;
    display:block;
}

#sidebar ul ul
{
    margin: 5px 0 5px 10px;
}

#sidebar ul ul li
{
    margin: 0 0 5px;
}

#sidebar ul ul li a
{
    font-weight: bold;
}



/* Content */

.content
{
    background: #fff;
    border: 1px solid #000;
    padding: 0 20px;
    margin: 10px -100px 20px 0;
    width: 600px;
    overflow: visible;
    display:block;
    float:right;
}
.content p
{
    font-weight: normal;
    color: #000;
    line-height: 140%;
    margin: 0 0 10px 0;
    padding: 0;
}

.content h2
{
    font-size: 1.25em;
    font-weight: bold;
    text-align: left;
    letter-spacing:2px;
    color: #000;
    background:#fff;
    border:2px solid #000;
    position:relative;
    top:-10px;
    padding:3px 5px;
}
.content h3
{
    font-size:1em;
    font-weight:bold;
    color:#111;
}

.content ul, .content ol
{
    margin: 0 0 18px 30px;
    padding: 0 0 0 5px;
    color:#333;
}

.content ul li, .content ol li
{
    margin: 0 0 3px;
}

.content ul ul, .content ol ol
{
    margin: 5px 0 5px 15px;
}

.content img
{
    float: right;
    clear:right;
    border: 2px #000 solid;
    margin: 10px;
    padding: 2px;
    background:#fff url(images/bg.jpg) top left repeat-x;
}

.content p.yearstamp, .content p.timestamp
{
    background:#fff;
    text-align:center;
    width:30px;
    border:1px solid #000;
    margin: 0 5px 0 -50px;
    padding:5px 5px 0;
    line-height:1em;
    float:left;
    clear:left;
}

.content p.yearstamp
{
    font-size: 1.6em;
    letter-spacing:-2px;
    color:#000;
    font-weight:bold;
    border-bottom:0;
}
.content p.timestamp
{
    font-family:Arial, Sans-Serif;
    letter-spacing:-1px;
    border-top:0;
    padding-bottom:5px;
    margin-bottom:10px;
}
.content p.catstamp
{
    border:1px solid #999;
    padding: 2px 10px;
    margin: 5px 0 -10px 0;
}

#postnav
{
    background:#fff;
    border:1px solid #000;
    width:500px;
    float:right;
    clear:right;
    display:block;
    padding: 5px;
    margin: 0 -50px 18px;
}

#postnav p
{
    margin: 0;
    width:240px;
    float:left;
    padding-left: 5px;
}

#postnav p.right
{
    float:right;
    width:240px;
    text-align: right;
    padding-right: 5px;
}

/* Comments */

.content div.comment
{
    margin-bottom: 15px;
    border: 1px solid #000;
}

.content .comment p
{
    margin: 0 0 0px 10px;
    margin-bottom:10px;
}

#commentsection p
{
    margin: 0 0 0 10px;
}

#commentsection input, #commentsection textarea
{
    padding: 2px;
    width: 250px;
}

#commentsection textarea#comment
{
    width: 500px;
}

#commentsection input#submit
{
    width: 75px;
    color: #333;
    background-color: #fff;
    margin-bottom:10px;
}

#commentsection input, #commentsection textarea, form div.searchbox input
{
    font: 94% Verdana,Tahoma,Arial,sans-serif;
    border: 1px solid #000;
}

.gravatar
{
    background:#fff;
    border:2px solid #000;
    margin:5px -5px 5px 10px;
    height:54px;
    width:44px;
    float:right;
}
img.avatar
{
    margin:2px 0 2px 2px !important;
    padding:0 !important;
    border:1px solid #000 !important;
    background:none !important;
    float:left !important;
}

/* Footer */

#footer
{
    text-align:center;
    letter-spacing:5px;
    color:#009;
    background:#fff;
    width: 220px;
    height:40px;
    border:1px solid #000;
    padding: 5px;
    margin: 0 0 -30px 400px;
    clear:both;
}
#footer a
{
    color: #009;
}

/* Tags */

blockquote
{
    border: 1px solid #dadada;
    font-size: 0.9em;
    margin: 20px 10px;
    padding: 10px 10px 2px 10px;
    clear:both;
}
blockquote p
{
    padding: 0;
    margin: 0;
    font-weight: bold;
}

table#wp-calendar
{
    width: 180px;
    margin: 0 0 10px -5px;
    text-align:center;
}

p
{
    display: block;
}

ul, ol, dl
{
    font-size: 0.9em;
    margin: 2px 0 16px 35px;
}

ul ul, ol ol
{
    margin: 4px 0 4px 35px;
}

code
{
    font-size: 1.1em;
    background-color: #f4f4f4;
    color: #555;
    display: block;
    margin: 5px 0 15px 0;
    padding: 5px 5px 5px 7px;
    border: 1px solid #ccc;
}



/* Links */

a
{
    color: #009;
    font-weight: bold;
    text-decoration: none;
}
a:hover
{
    font-weight: bold;
    text-decoration: underline;
}

img
{
    border: 0;
    clear: both;
    z-index: 999;
}

a img
{
    border: 0;
    clear: both;
    z-index: 999;
}



/* Float fix */

.contenttext
{
    overflow: hidden;
}

* html .contenttext
{
    height: 1px;
    overflow: visible;
}

* html .contenttext p
{
    overflow: hidden;
    width: 99%;
}



/* Searchbox */

.searchbox
{
    margin: 8px 0 15px 10px;
}

.searchbox label
{
    display: none;
}

.searchbox input
{
    background:#fff;
    font-size: 0.9em;
    padding: 5px;
    width: 110px;
    border: 1px solid #ccc;
}



/* Other */

.post
{
    margin: 0 0 15px;
}

.textright
{
    text-align: right;
}

.textcenter
{
    text-align: center;
}

.hide
{
    display: none;
}

hr
{
    color: #900;
}

.aligncenter,div.aligncenter, .alignnone {
   display: block;
   margin-left: auto;
   margin-right: auto;
   float:none;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #000;
   text-align: center;
   background-color: #fff;
   padding: 5px;
   margin: 10px;
}
.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
   float:none;
}

.wp-caption p.wp-caption-text 
{
    font-size:0.9em;
    line-height:1em;
    margin:0;
}