/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag
will be appended with the "custom" class, like so: <body class="custom">. You can use
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the
following declarations to this file:

	.custom a, .custom a:visited { color: #090; } <--- This makes links green
	.custom a:hover { color: #00f; } <--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/


/* tweaks to default body style */
body.custom { background: #f9f5db url('images/gradient29333542.png'); background-attachment: fixed; }
.custom #container { margin-top: 2em; margin-bottom: 2em; padding: 0.2em; background: #fff; border: 0.2em solid #fff; }
.custom #page { padding: 1em 1em; background: #fff; border: 0.1em solid #00CCEE; }
.custom h3 {padding-bottom: 1em; }

/*	get WordPress image captioning to place nice with Thesis */
.custom .format_text .alignleft { margin: 0 1.571em 1.571em 0; float: left; clear: left; }
.custom .format_text .alignright { margin: 0 0 1.571em 1.571em; float: right; clear: right; }
.custom .format_text .aligncenter { display: block; margin: 0 auto 1.571em auto; float: none; clear: both; }
.custom .format_text .alignnone { display: block; margin: 0 auto 1.571em 0; clear: both; }
.custom .format_text .wp-caption { background-color: #F3F3F3; border: 0.071em solid #CCC; text-align: center; padding: 0.714em; }
.custom .format_text .wp-caption p { font-size: 0.786em; margin-bottom: 0; }

/* we're going to move some stuff into the header's right-hand-side */
.custom #header #header_rhs {float: right; width: 200px; padding: 0 10px;}

/* tweak the footer a bit */
.custom #footerlinks a { border-bottom:none; }

/* style the related posts a little */
.custom #yarpp h4 { font-style:bold; padding-top:1.5em;  }

.custom .sticky {
   background:#fff8dc;
   border: 1px solid black !important;
   padding: 1em;
   margin-bottom: 7px;
} 

/* removing non-printable bits AND adding printable URLs for HREFs */
@media print {
    body.custom { border: 0;  margin: 0; padding: 0; width: auto; background: white; color: black;}
    .custom #container { border: 0; background: none; width: auto; padding: 0;}
    .custom #header { border-bottom: 3px double #000; }
    .custom #page{ border: 0; background: none;}
    .custom #content { width: auto; border: 0; margin: 0; padding: 0; float: none !important;}
    .custom .format_text p.alert { background: none; border: 1px solid #000; }
    .custom #footer { color: black; border-top: 3px double #000;}
    #logo, .breadcrumb, ul#tabs, .sociable, .headline_meta, #dropline, .post_tags, .post_nav, #sidebars, .archive_info, #footerlinks, #comments, #header_rhs  { display: none; }
    #copyright { text-align:center; color:black; }
    a {color: black; font-size: 95%; text-decoration: none;}
    a:link:after, a:visited:after { content: " (" attr(href) ") ";  font-size: 90%; }
    a[href^="/"]:after { content: " (http://www.diesmart.com" attr(href) ") ";}
}

