/*
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/
*/
.custom #header {padding: 0em; margin:0em; height: 250px; width: 959px; border-bottom: 0px double #ddd; clear: both; }

/*---:[ my Set 1 custom code to put image in background ]:---*/
/*---:[ end Set 1 ]:---*/

/*Begin welcome box font and padding code */
.custom div.welcome_box { 
font-size:1.4em;
line-height:1.4em;
padding-bottom:0.6em;
padding-top:0.6em;
text-align:left;
}

/*added by kristarella*/
	.custom div.welcome_box ul {width:20%; float:right; font-size:0.95em; list-style:none; text-align:right; line-height:1.6em;}
		.custom div.welcome_box ul li.subscribe {background:url('images/rss.png') right center no-repeat;}
		.custom div.welcome_box ul li.email {background:url('images/email.png') right center no-repeat;}
		.custom div.welcome_box ul li.contact {background:url('images/contact.png') right center no-repeat;}
			.custom div.welcome_box ul li a {padding-right:28px; text-decoration:none;}
			.custom div.welcome_box ul li a:hover {color:#000;}
	.custom div.welcome_box p {width:75%;}
/*end welcome box font and padding code*/

/*Begin before sidebars code */
.custom div.before_sidebars { 
text-align:left; 
font-size: 1.4em; 
padding-top: 0.3em;
padding-left: 1em;
}
/*END before sidebars code*/

/* BEGIN code for placing avatar before post title, linked to code in php file line 22*/
.custom .title-avatar {
    float:left; 
    margin: 0 1em 0 0;}
/*END code for placing avatar before post title*/

/* edits by kristarella for dropdown nav */
ul#tabs {position:relative;}
	ul#tabs li ul {display:none; float:none; list-style:none; position:absolute; margin-left:-1px;}
		ul#tabs li ul li {float:none;}

/* edits by kristarella for sidebar */
.custom #sidebar_2 ul.sidebar_list {text-align:center;}

.custom #page {
  padding:0;
}

.custom #container {
   margin: 0 auto;
   width: 960px;
}

/* Custom Archives Page */
function my_archive() {
?>
<div class="archive">
<div class="archivel">
  <h3>By Month:</h3>
  <ul>
    <?php wp_get_archives('type=monthly'); ?>
  </ul>
  <h3>By Category:</h3>
  <ul>
    <?php wp_list_categories('sort_column=name&title_li='); ?>
  </ul>
   <h3>By Tag:</h3>
 <?php wp_tag_cloud('smallest=10&largest=10&format=list'); ?>
</div>
<div class="archiver">
   <h3>By Post: (Last 100 articles)</h3>
   <ul>
     <?php wp_get_archives('type=postbypost&limit=100'); ?>
   </ul>
</div>
</div>
<?php
}
remove_action('thesis_hook_archives_template', 'thesis_archives_template');
add_action('thesis_hook_archives_template', 'my_archive');
