/* Style */

/* General */
body
{
    background:url("../../imgs/dirty-background.jpg") no-repeat;
    font-size:16px;
    line-height:2em;
    font-family:Helvetica, Arial, sans-serif;
    letter-spacing:0.105em;
    margin:0;
    padding:0;
}

strong
{
    font-weight:700;
}

em
{
    font-style:italic;
}

sup
{
	font-size:0.75em;
	vertical-align:top;
}

div#content hr
{
	border:0;
	height:1px;
	background:#bfbfbf;
	color:#bfbfbf;
	margin: 36px 0 39px;
	clear: both;
}

/* Headings */

h1,h2,h3,h4
{
    text-transform: uppercase;
    font-weight:700;
}

body.single h1,body.home h2,body.pageid-3 h2
{
    font-size:1.375em;
    line-height:1.4545454545455em;
    margin-bottom:36px;
    margin-top:7px;
}

body.single h1,body.home h2
{
    height:32px; /* Higher to fit underline background */
}

body.pageid-3 h2
{
    height:26px;
}

body.home h2
{
    background:url("../../imgs/solid-underline-large.png") repeat-x bottom left;
}

body.single h1,body.home h2:hover
{
    background:url("../../imgs/dashed-underline-large.png") repeat-x bottom left;
}

body.single h2
{
    font-size:1.25em;
    line-height:1.6em;
    margin-bottom:32px;
}

h3,h4
{
    font-size:1.125em;
    line-height:1.7777777777778em;
    margin-bottom:28px;
}

/* Categories */
div.category-quote blockquote {
  margin-top: -9px;
}
div.category-post-without-image p.summary {
  margin-top: -11px;
}

/* Contents */
p,ul,ol,blockquote,pre,td,th,hr
{
    font-size:0.875em;
    line-height:35px; 
    margin-bottom:25px; 
}
blockquote {
  margin: 2px 0 39px;
}
blockquote p
{
	padding:25px 25px 15px 25px;
	color:white;
	background:url("../../imgs/blockquote.png") no-repeat top;
	font-weight:700;
	line-height: 34px;
}
blockquote p a {
	color:#fff;
}
blockquote p.summary {
  line-height: 35px;
}

p.summary
{
    font-size:1em;
    line-height:37px;
    margin-bottom:25px;
}

table
{
    border-collapse:collapse;
    margin-bottom:2em;
}

.low-priority,.disabled,sup
{
    color:gray;
}

a
{
    text-decoration:none;
    color:#000;
}

div.entry-content ol, div.entry-content ul {
	list-style-position:inside;
}

div.entry-content ol {
	list-style-type:decimal;
}

div.entry-content ul {
	list-style-type:square;
}

div#content p.summary a
{
    background:url("../../imgs/solid-underline.png") repeat-x bottom left;
}

div#content p.summary a:hover
{
    background:url("../../imgs/dashed-underline.png") repeat-x bottom left;
}

div#content p a,div#footnotes p a,div#navigation ol a,div.month ol a,div#navigation ol span,div#content ul a,div#content ol a
{
    background:url("../../imgs/solid-underline.png") repeat-x bottom left;
    padding-bottom:3px;
}

div#content p a:hover,div#footnotes p a:hover,div#navigation ol a:hover,div#navigation ol span.current,div.month ol a:hover,div.month ol a.current,div#content ul a:hover,div#content ol a:hover
{
    background:url("../../imgs/dashed-underline-small.png") repeat-x bottom left;
}

div#content ol li,div#content ul li
{
    margin-left:20px; /* Indent wrapped link */
    text-indent:-20px;
}

div#content p.low-priority a,div#footnotes p.low-priority a
{
    color:gray;
    background:url("../../imgs/gray-solid-underline.png") repeat-x bottom left;
    padding-bottom:3px;
}

div#content p.low-priority a:hover,div#footnotes p.low-priority a:hover
{
    background:url("../../imgs/gray-dashed-underline.png") repeat-x bottom left;
}

div#content a.more-link
{
    text-indent:-9999px;
    background:url("../../imgs/read-more-link.png") top;
    width:147px;
    height:40px;
    display:block;
    margin:26px 0 39px;
    padding:0; /* Hack: Shouldn't have to cancel the padding... */
    border:0; /* ...and border! */
}

div#content a.more-link:hover
{
    background:url("../../imgs/read-more-link.png") bottom;
}

div.comment p {
	overflow:hidden;
}

/* Header */
div#header
{
    height:117px;
    position:relative;
}

div#header a#site-title
{
    position:absolute;
    top:49px;
    left:0;
    width:231px;
    height:42px;
    display:block;
    background:url("../../imgs/contrast-logo-wide.png") no-repeat top left;
    text-indent:-9999px;
}
div#header a#feed-link
{   
    position:absolute;
    top:20px;
    left:640px;
    display:block;
    width:141px;
    height:39px;
    text-indent:-9999px;
    background:url("../../imgs/the-feed-link.png") no-repeat top left;
}

div#header a#feed-link:hover
{
    background:url("../../imgs/the-feed-link.png") no-repeat bottom left;
}

div#header a#site-title:hover
{
    background:url("../../imgs/contrast-logo-wide.png") no-repeat bottom left;
}

div#header a#blog-title
{
    display:block;
    position:absolute;
    width:125px;
    height:39px;
    top:20px;
    left:240px;
    text-indent:-9999px;
    background:url("../../imgs/the-blog-link.png") no-repeat top left;
}

div#header a#blog-title:hover
{
    background:url("../../imgs/the-blog-link.png") no-repeat bottom left;
}

div#admin-link {
    position:absolute;
    width:93px;
    height:40px;
    top:11px;
    right:20px;
}

div#admin-link a {
    width:93px;
    height:40px;
    display:block;
    text-indent:-9999px;
    background:url("../../imgs/admin-link.png") no-repeat top left;
}

div#admin-link a:hover {
    background:url("../../imgs/admin-link.png") no-repeat bottom left;
}

/* Month */
div#navigation ol li,div.month ol li
{
    margin-left:10px; /* Indent wrapped link */
    text-indent:-10px;
}

/* Archives link */
div#navigation a.the-archives, div#content p.last a.the-archives
{
    text-indent:-9999px;
    background:url("../../imgs/the-archives.png") top;
    width:177px;
    height:40px;
    display:block;
    margin:2px 0 39px;
    padding:0; /* Hack: Shouldn't have to cancel the padding... */
    border:0; /* ...and border! */
}

div#navigation a.the-archives:hover, div#content p.last a.the-archives:hover
{
    background:url("../../imgs/the-archives.png") bottom;
}

/* Comment form */
div#content label
{
    display:none;
}

div#content form
{
    line-height:2.2857142857143em;
    margin-bottom:39px;
}

div#content input#author,div#content input#email,div#content input#url
{
    width:128px;
    height:16px;
    border:1px solid gray;
    color:gray;
    float:left;
    font-family:inherit;
    letter-spacing:inherit;
    font-size:0.75em;
    margin:0 10px 0 0;
    padding:6px 10px 0;
}

div#content input.focus,div#content textarea.focus
{
    border:1px solid #ffde00 !important;
}

div#content textarea
{
    width:608px;
    border:1px solid #000;
    font-family:inherit;
    letter-spacing:inherit;
    font-size:0.75em;
    padding:6px 10px;
    margin:11px 0 0;
}

div#content input#submit {
    width:150px;
    height:24px;
    padding:0;
    margin:0;
    border:0;
    float:left;
}

div#content p.subscribe-to-comments label {
    display: inline;
}

/* Misc. */
.low-priority .edit-link,.low-priority .logout {
    display:none;
}
.low-priority:hover .edit-link,.low-priority:hover .logout {
    display:inline;
}