/*   
Theme Name: Elegant Grunge
Theme URI: http://michael.tyson.id.au/elegant-grunge-wordpress-theme
Description: An unwashed yet crisp theme with a feature footer, styled image frames, a page template with a uniquely configurable sidebar and a photoblog tag page
Author: Michael Tyson
Author URI: http://michael.tyson.id.au
Version: 1.0.2
Tags: tan, light, one-column, two-columns, three-columns, fixed-width, custom-header, right-sidebar, theme-options, threaded-comments, photoblogging

	Elegant Grunge by Michael Tyson
	http://michael.tyson.id.au/elegant-grunge-wordpress-theme
	
	The CSS, XHTML, design and PHP are released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
	
*/


/****************************
 **   Contents
 ****************************
 
	* General
	* Layout		(Top-level page element styles)
		- Menu
		- Header
		- Content
		- Sidebar
		- Footer
	* Content	(Formatting of items in main content area)
		- General
		- Standard wordpress
		- Comments
		- Comment form
		- Frame
	* Sidebar	(Formatting of items in sidebar)
		- General
		- Search
		- Tag cloud
		- Wordpress calendar
		- Photoblog widget
	* Footer		(Formatting of items in footer)
		






/****************************
 **   General
 ****************************/



*{ margin: 0; padding: 0;}

body{
	font-family: Tahoma; 
	color: #656565; 
	min-width:1000px; 
	font-size:11px; 
}

html, body{
	height: 100%;
}

td{
	vertical-align: top;
}

img{
	border: 0px;
}

/* ================================================================================*/

form{ margin: 0; padding: 0; }

div, td, input, select, p, a, li {
	font-family: Trebuchet MS;
	font-size: 14px;
	color: #4D4D4D;
}

a{
	color: #212121;
	text-decoration: underline;
}

a:hover{
	text-decoration: none;
}

#main_inside{
	position:relative; 
	min-height:100%; 
	margin: 0; 
	min-width: 1000px; 

}
	
/*For IE*/
* html #main_inside{
	height:100%; 
	width:expression((document.documentElement.clientWidth||document.body.clientWidth)<1001?'1000px':'100%');  
}

#main_inside_in{ 
	position:relative; 
	min-height:100%; 
	margin: 0 auto; 
	width: 1000px;
	background-image: url(/images/main_inside_in.jpg);			
	background-repeat: repeat-y;

}


#main_inside_in_black{ 
	position:relative; 
	min-height:100%; 
	margin: 0 auto; 
	width: 1000px;
	background-image: url(/images/main_inside_in_black.jpg);			
	background-repeat: repeat-y;

}

#main_content{
	margin: 0 auto;
	width: 978px;
	background-image: url(/images/main_content.jpg);		
	background-repeat: no-repeat;
	padding: 0px 11px 0px 11px;

}


#main_content_black{
	margin: 0 auto;
	width: 978px;
	background-image: url(/images/main_content_black.jpg);		
	background-repeat: no-repeat;
	padding: 0px 11px 0px 11px;

}
/*=======================================================*/


body{
	background-image: url(/images/body.jpg);
	background-repeat: repeat-x;
	background-position: center top;
}

/* Header and Navigation Style */
#header{
	height: 85px;
/*	overflow: hidden; */
	background-image: url(/images/header.jpg);
	background-repeat: no-repeat;

}

#logo{
	float: left;
	padding: 0px 0px 0px 14px;
}

#top_menu{
	float: right;
	width: 652px;
	text-align: left;
	padding: 51px 0px 0px 0px;
}

/* Root = Horizontal, Secondary = Vertical */
ul#navmenu-h {
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 652px; /*For KHTML*/
  list-style: none;
  height: 24px; 
}

ul#navmenu-h li { 
  margin: 0; 
  border: 0 none; 
  padding: 0px 2px 0px 0px; 
  float: left; /*For Gecko*/ 
  display: inline; 
  list-style: none; 
  position: relative; 
  z-index: 1000; 
  height: 24px; 
   
}

ul#navmenu-h ul {
  margin: 0;
  border: 0 none;
  padding: 4px 0px 3px 0px;
  width: 180px;
  list-style: none;
  display: none;
  position: absolute;
  top: 24px;
  left: 0;
  background-image: url(/images/top_menu_2_ul.png) !important;
  background-image: none;
  background-color: transparent !important;    
  background-color: #911A16;  
  background-repeat: repeat-y;  
}

ul#navmenu-h ul:after /*From IE 7 lack of compliance*/{
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

ul#navmenu-h ul li {
  width: 180px;
  float: left; /*For IE 7 lack of compliance*/
  display: block !important;
  display: inline; /*For IE*/
}

ul#navmenu-h ul li.first {
  width: 180px;
  float: left; /*For IE 7 lack of compliance*/
  display: block !important;
  display: inline; /*For IE*/
}

/* Root Menu */
ul#navmenu-h a {
/*  border: 1px solid #FFF; */
/*  border-right-color: #CCC;
  border-bottom-color: #CCC;
  */
  padding: 3px 5px 3px 20px; 
  float: none !important; /*For Opera*/
  float: left; /*For IE*/
  display: block;
/*  background: #EEE; */
  color: #FFFFFF;
  font-size: 13px; 	
  background-image: url(/images/top_menu_li.gif);
  background-position: 5px 7px;
  background-repeat: no-repeat;
  text-decoration: none;
  height: auto !important;
  text-transform: uppercase;
  height: 1%; /*For IE*/
}

/* Root Menu */
ul#navmenu-h li.first a, ul#navmenu-h li:hover.first a, ul#navmenu-h li#first_link a {
/*  border: 1px solid #FFF; */
/*  border-right-color: #CCC;
  border-bottom-color: #CCC;
  */
  padding: 3px 5px 3px 20px; 
  float: none !important; /*For Opera*/
  float: left; /*For IE*/
  display: block;
/*  background: #EEE; */
  color: #AC1315;
  font-size: 13px; 	
  background-image: url(/images/top_menu_li_first.gif);
  background-position: 5px 7px;
  background-repeat: no-repeat;
  text-decoration: none;
  height: auto !important;
  text-transform: uppercase;
  height: 1%; /*For IE*/
}

li#second_link a {
  color: #AC1315;
  font-size: 13px; 	
  background-image: url(/images/top_menu_li_first.gif);
  background-position: 5px 7px;
  background-repeat: no-repeat;
  text-decoration: none;
  text-transform: uppercase;
}

/* Root Menu Hover Persistence */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a {
/*  background: #CCC; */
  color: #FFF;
  background-image: url(/images/top_menu_a_h.jpg);
  background-position: left -3px;
  background-repeat: no-repeat;
}

/* 2nd Menu */
ul#navmenu-h li li{
  background-image: url(/images/top_menu_2_a.png) !important;
  background-image: none;
  background-repeat: repeat;
  height: 19px;
}

/* 2nd Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a {
  float: none;
  color: #FFF;
  background-image: none;
  display: block;
  text-transform: none;
  padding: 0px 0px 1px 22px;
}

/* 2nd Menu Hover Persistence */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a {
  background: #CCC; 
  color: #FFF;
  background-image: url(/images/top_menu_2_a_h.jpg);
  background-repeat: no-repeat;
  background-position: right top;
  display: block;
  text-transform: none;
  background-color: transparent;
}

ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul {
  display: none;
  position: absolute;
  top: 0;
  left: 160px;
}

/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul {
  display: none;
}

ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul {
  display: block;
}


/* Footer Style */

#footer_block_pre{
	padding: 0px 14px;
	clear: both;

}

#footer_block{
	background-image: url(/images/footer_block.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	border-top: 1px solid #2E2E2E;
}

#copyright{
	width: 802px;
	margin: 0 auto;
	border-top: 1px solid #2E2E2E;
	text-align: center;
	color: #676767;
	padding: 40px 0px 37px 0px;
	clear: both;
}

#footer_menu{
	width: 764px;
	margin: 0 auto;
	padding: 10px 0px 21px 0px;
}

#footer_menu .column{
	padding: 5px 0px 0px 7px;	
	float: left;
	width: 145px;
	height: 220px;
	background-image: url(/images/footer_menu_column.gif);
	background-position: right bottom;
	background-repeat: no-repeat;
}

#footer_menu .column_last{
	background-image: none;
}

#footer_menu .column b{
	color: #888888;
	font-size: 16px;
}

#footer_menu .column ul{
	padding: 2px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

#footer_menu .column ul li{
	padding: 0px 0px 3px 0px;
	margin: 0px 0px 0px 0px;
	list-style: none;
}

#footer_menu .column ul li a{
	color: #676767;
	text-decoration: underline;
}

#footer_menu .column ul li a:hover{
	text-decoration: none;
}


/* Blog Page Content Style */

.page_title_pre{
	padding: 0px 14px 0px 0px;
}

.page_title{
	padding: 0px 14px 0px 14px;
	background-image: url(/images/page_title.jpg);
	background-repeat: no-repeat;
	background-position: 14px top;
}

.page_title p{
	color: #FFFFFF;
	font-size: 18px;
	padding: 5px 0px 7px 20px;
}

#text_content_pre{
	padding: 0px 14px 0px 14px;
	margin-bottom: 14px;
}

#text_content{
	background-image: url(/images/text_page_title.jpg);
	background-repeat: no-repeat;
	background-position: 0px top;
	background-color: #FFFFFF;
}

#text_content2{
	background-image: url(/images/text_block.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
	padding: 20px 48px 43px 36px;	
}

/* #text_content2 h1{
	color: #AE1311;
	font-size: 21px;
	font-weight: normal;
	padding: 0px 0px 17px 0px;
	margin: 0px 0px 0px 0px;
}

#text_content2 h2{
	color: #212121;
	font-size: 36px;
	font-weight: bold;
	padding: 0px 0px 10px 0px;
	margin: 0px 0px 50px 0px;
}

#text_content2 p{
	font-size: 14px;
	padding: 0px 0px 18px 0px; */
}

.post  {
        padding: 5px 0;
        margin: 0;
}
.post .date {
	/* background-image: url(http://nitro.bg/blog/wp-content/themes/elegant-grunge/images/date.jpg); */
	width: 89px;
	height: 73px;
	text-align: center;
	float: right;
	text-transform: uppercase;
}

.post .date .month {
	display: block;
	font-size: 14px;
	line-height: 17px;
	padding-top: 3px;
	color: #a9a9a9;
	font-weight: bold;
}

.post .date .day {
	display: block;
	font-weight: bold;
	font-size: 20px;
	padding-top: 3px;
	line-height: 18px;
	color: #afafaf;
}

.post .date .year {
	display: block;
	font-size: 0.7em;
	padding-top: 3px;
	color: #a5a5a5;
}

#text_content2 .post h1{
	padding: 0px 0px;
	margin: 15px 0px 17px 0px;
}

#text_content2 .post h2 {
	padding: 0px 0px;
        color: #AE1311;
	margin: 15px 0px 17px 0px;

}
.post h1 a{
        color: #AE1311;
	font-size: 21px;
	font-weight: normal;
        text-decoration: none;
}

#text_content2 .post .entry p {
        font-size: 14px;
	padding: 0px 0px 18px 0px;
        color: #4D4D4D;
}
#text_content2 .post .entry p a {
        text-decoration: underline;
}

.metadata {
	margin-top: 40px;
	text-align: center;
	font-size: 11px;
}
.metadata a {
	text-decoration: none;
	font-size: 12px;
}


/* comments */

h4#comments {
        margin: 5px 0 0 0;
        padding: 0;
}
.commentlist {
	padding: 0;
	list-style-type: none;
	margin: 10px 0 0 0;
}

.commentlist li {
        margin:0 0 0 30px;
	/*margin-top: 16px;
	margin-left: 30px;
	max-width: 560px;
        background: green; */
}

.commentlist li .comment-content,
.commentlist li .before-comment,
.commentlist li .after-comment,
.commentlist li .after-comment div {
	/* background:transparent url(images/comment.jpg) no-repeat top right; */
}

.commentlist li .comment-content {
	position:relative;
	zoom:1;
	_overflow-y:hidden;
 	padding: 5px 0px 0px;
}

.commentlist li .before-comment {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width: 27px; /* top slice width */
	margin-left: -27px;
	height:100%;
	_height:1600px; /* arbitrary long height, IE 6 */
	background-position:top left;
}

.commentlist li .after-comment {
	/* bottom */
	position:relative;
	width:100%;
}

.commentlist li .after-comment,
.commentlist li .after-comment div {
	height: 40px; /* height of bottom cap/shade */
	font-size:1px;
}

.commentlist li .after-comment {
	background-position:bottom right;
}

.commentlist li .after-comment div {
	position:relative;
	width:27px; /* bottom corner width */
	margin-left: -27px;
	background-position:bottom left;
}

.commentlist .comment {
	margin: 0;
	font-size: 0.8em;
	padding-right: 27px;
}

.comment-text {
        margin: 5px 5px 5px 42px;
	font-size: 0.9em;
}

.comment-text * {
	margin-bottom: 0;
	padding-bottom: 0;
}

.commentlist .comment .reply {
	text-align: right;
	position: relative;
	top: 15px;
	z-index: 100;
	font-size: 0.9em;
}

.commentlist .comment .reply a {
	color: #D7DBD8;
	text-decoration: none;
}



.avatar {
	float: left;
	margin:0 10px 0 0!important;
}

.comment .comment_data a{
       font-size:10px;
       color: #888888;
       text-decoration: underline;
}