/*

AGDFAR theme
based on "Offset Writing" Version: 1.2 by Andreas Hultgren
http://thewebhunter.se/
Theme URI: http://templates.thewebhunter.se/WP-offset

Heavily modified for my own use by Jon Ironside
*/


/* Body */

body
{
    background: #fff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino,Georgia,"Times New Roman",serif;
    text-align: center;
}

*
{
    margin: 0;
    padding: 0;
}



/* Wrapper */

#wrap
{
    background: transparent;
    width: 1000px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

/************header************/

#header
{
    height: 140px;
    width:1000px;
    background: #fff url(images/bg.jpg) bottom left no-repeat;
    color: #000;
    border: 1px solid #fff;
}
#header a
{
    color: #000;
    text-decoration: none;
}
#header a:hover
{
    color: #000;
    text-decoration: underline;
}
#feed
{
    background: transparent;
    float: right;
    margin: -32px 0 0 0;
}
#feed a.feed
{
    display:block;
    height:32px;
}


/* Headers */

#header h1
{
    font-size: 2em;
    font-weight: bold;
    line-height:1em;
    text-align: left;
    margin: 80px 20px 0 20px;
}
#header h2
{
    font-size: 1.2em;
    text-align: left;
    letter-spacing:2px;
    margin-top: 0;
    margin-left: 40px;
    padding-bottom: 0px;
}
table#wp-calendar caption
{
    background:#ccc;
    border-bottom: 2px solid #000;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
/*    text-align:left;
    color: #000;
    margin: 0 18px 5px -25px; */
    padding:3px 10px;
}




/************topmenu************/

#topmenu
{
    background: transparent;
    height:32px;
    float: right;
    margin: -32px 0 0 0;
}
#topmenu ul
{
    margin: 0px;
    padding: 0px;
}
#topmenu li
{
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}
#topmenu a
{
    display: block;
    font-size: 1em;
    padding: 7px 10px 8px;
    color: #000;
    text-decoration: none;
}
#topmenu a:hover, #topmenu li.current_page_item a, #topmenu a.active
{
    text-decoration: underline;
}

/* Sidebar */

#sidebar
{
    background: #fff;
    float: left;
    width: 170px;
    margin: 20px 0 0 0;
    font-size: 1em;
}

#sidebar h2
{
    background:#ccc;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    text-align:left;
    color: #000;
    padding:3px 10px;
}

#sidebar p, #sidebar ul, #sidebar .textwidget
{
    margin: 0 0 15px 0px;
    background:#ccc
}

#sidebar li
{
    list-style: none;
    margin: 0 0 6px;
}

#sidebar li a
{
    font-size: 1em;
    font-weight: bold;
    padding: 2px;
    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 dotted #ccc;
    padding: 0 20px;
    margin: 20px 0 0 0;
    overflow: visible;
/*    display:block; */
    float:right;
    width: 750px;
}
.content p
{
    font-weight: normal;
    color: #000;
    line-height: 130%;
    margin: 10px 0 10px 0;
    padding: 0;
    text-align: justify;
    text-indent: 25px;
}

.content h2
{
    font-size: 1.2em;
    text-align: left;
    color: #000;
    background:#fff;
    border:2px solid #ccc;
    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: 15px;
/*    background:#fff url(images/bg.jpg) top left repeat-x; */
}


.content p.yearstamp, .content p.timestamp
{
    font-family:Arial, Sans-Serif;
    background:#fff;
    text-align:center;
    width:35px;
    border:1px solid #000;
    margin: 0 5px 0 -50px;
    padding:5px 5px 0;
    line-height:1em;
    float:left;
    clear:left;
    text-indent: 0px;
}

.content p.yearstamp
{
    font-size: 1.6em;
    letter-spacing:-2px;
    color:#000;
    font-weight:bold;
    border-bottom:0;
    margin:10px 5px 0 -50px;
}
.content p.timestamp
{
    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;
    text-indent: 0px;
}

#postnav
{
    background:#fff;
    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;
}

.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:1px solid #ccc;
    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;
    margin-left: auto;
    margin-right: auto;
    font-size: .7em;
    color:#000;
    background:#fff;
    width: 600px;
    height: auto;
    border:1px solid #ccc;
    padding: 5px;
    clear:both;
}
#footer a
{
    color: #333;
}

/* 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
{
    background: #ccc;
    width: 170px;
    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: #666;
    text-decoration: none;
}
a:hover
{
    color: #999;
    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;
}

table.RAStats
{
    background-color: #ccc;
    border: 1px solid #ccc;
    text-align: center;
    width: 170px;
    padding:12px 12px 12px 12px;
}
span.RATitle
{
    font-weight: bold;
}
