/*   
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.3
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
 ****************************/


body {
	margin: 0;
	padding: 0;
	color: #210200;
	font-family: "Trebuchet MS", "Georgia", "Baskerville", serif;	
padding-top: 30px;
background: url(images/sitebackground.jpg) top no-repeat;


background-color: #702505;
}


a {
	color: #A6621F;
}

img {
	
border: 0;
}



/****************************
 **   Layout
 ****************************/

/****************************
 **   CSS Drop Down Menu
 ****************************/

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
background:url(images/menu.jpg);
font-size:12pt;
font-family: "Trebuchet MS"; "Arial";
font-weight: semi-bold;
height:32px;
position:relative;
width:910px;
z-index:1;
height:80px;
margin:auto;
}

/* hack to correct IE5.5 faulty box model */
* html .menu {width:910px; w\idth:916px;}


/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0; margin:0;list-style-type:none;}
.menu ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:149px;position:relative;}


/* style the links for the top level */
.menu a, .menu a:visited {
color:#C89E80;
display:block;
font-size:12pt;
height:55px;
line-height:29px;
padding-left:0px;
text-decoration:none;
width:149px;
padding-top:25px;
text-align:center;


}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:149px; w\idth:140px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#d4d8bd url(images/drop.gif) right no-repeat;}

/* style the second level hover */
.menu ul ul a.drop:hover{background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
.menu ul ul :hover > a.drop {background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#702505;}

/* style the third level hover */
.menu ul ul ul a:hover {background:#A6621F;}

/*CHRISTY EDITED 10:39*/
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:80px;
left:0; 
width:149px;
border-top:1px 
solid #000;
float: right;
}

/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited 

/*CHRISTY EDITED 10:46*/
{background:#702505; 
color:#C89E80; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:148px;
border-width:0 1px 1px 1px;}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:128px;}

/* CHRISTY EDITED 10:48*/
/* style the top level hover */
.menu a:hover, .menu ul ul a:hover
{
color:#C89E80; 
background:#4C0D04;}

.menu :hover > a, .menu ul ul :hover > a 
{color:#C89E80;
background:#4C0D04;} 

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}


/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */


.menu ul ul .current_page_item a {
  color: red;
  background: white;
/*  border-left: 1px solid black; */
}

.menu .current_page_item a {
  color: red;
  font-weight: normal;
  background: white;
}

.menu ul .current_page_item ul a {
  color: white;
  font-weight: normal;
  background: black;
}

.menu ul .current_page_item ul a:hover {
  background: gray;
}

.menu .current_page_item a:hover {
  background: white;
}


/****************************
 **   END CSS Drop Down Menu
 ****************************



/* Header */

#header-wrap {
	background: url(images/headerwrap.png) no-repeat center;
margin: 0 auto;

}

#Header {
	height: 278px;
width:910px;
	margin: 0 auto;
}

.no-sidebar div #header {
	background-image: url(images/header-no-sidebar.jpg);
margin: 0 auto;
}

.double-right-sidebar div #header {
	background-image: url(images/header-double-sidebar.jpg);
}



.double-right-sidebar #header div {
	width: 947px;
}
#header h1 {
	font: 2.2em/169px "Arial", "Baskerville", serif;
	margin: 0;
opacity:0;
filter:alpha(opacity=0)
}

#header h1 a {
	color: #d3d3d3;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	text-shadow: #000 0 1px 2px;
	float: left;

opacity:0;
filter:alpha(opacity=0)
}

#blog-description {
	position: relative;
	top: 60px;
	color: #883B0B;
	text-shadow: #000 0 1px 1px;
	left: 1.3em;
opacity:0;
filter:alpha(opacity=0)
}

/*copied from PTG site*/
div.Header
{
	margin: 0 auto;
	position: relative;
	z-index:0;
	width: 910px;
	height: 300px;
}



















/* Content */

#content-container {
	background: url(images/body.png) repeat-y center top;

}

.no-sidebar div #content-container {
	background: url(images/body.png) repeat-y center top;
}

.double-right-sidebar div #content-container {
	background: url(images/body.png) repeat-y center top;
}

#content {
	width: 900px;
	margin: 0 auto;
padding-top:20px;

}

.double-right-sidebar #content {
	width: 947px;
}

#body {
	float: left;
	width: 630px;
	padding-left: 20px;
	padding-right: 20px;
/*background-color: #E8CAA2*/
}

.no-sidebar div div #body {
	width: 760px;
	float: none;
}

/* Sidebar */

#sidebar {
	float: left;
	font-size: 0.9em;
	width: 220px;
	position: relative;
	left: 0px;
display:inline;
}




.double-right-sidebar #sidebar {
	font-size: 0.8em;
	float: left;
	position: relative;
	left: 28px;
	width: 181px;
}

.double-right-sidebar #sidebar2 {
	font-size: 0.8em;
	float: right;
	position: relative;
	left: -8px;
	width: 169px;
}

/* Footer */

/*#footer-wrap-outer {
	margin-top: -51px;
	background: #883B0B url(images/footer-repeat.jpg) repeat-x center top;
}

#footer-wrap {
	width: 100%;
	background: url(images/footer.jpg) no-repeat center top;
	padding-top: 91px;
	padding-bottom: 30px;
}

.no-sidebar div #footer-wrap {
	background-image: url(images/footer-no-sidebar.jpg);
}

.double-right-sidebar div #footer-wrap {
	background-image: url(images/footer-double-sidebar.jpg);
}
*/
#footer {
	width: 977px;
	margin: 0 auto;
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 90px;
	min-height: 30px;
background: url(images/footer.png) center top;
}

/****************************
 **   Content
 ****************************/

/* General */

h2 {
	font-size: 1.5em;
	font-weight: normal;
	font-style: normal;
	color: #79391A;
	margin-top: 0px;
	margin-bottom: 0.5em;
}

h2 a {
	text-decoration: none;
	color: #79391A;
}
h3 {
	font-size: 1.5em;
	font-weight: normal;
	font-style: normal;
	color: #E8CAA2;
	margin-top: 0px;
	margin-bottom: 0.5em;
}

h3 a {
	text-decoration: none;
	color: #E8CAA2;
}


.post .entry {
	font-size: 0.9em;
	line-height: 1.3em;
	clear: both;
}

.post .author {
	color: #949494;
	font-size: 0.8em;
	position: relative;
	top: -1.5em;
}

.post .info {
	color: #79391A;
	font-size: 0.8em;
font-style: italic;
}

.post .date {
	background-image: url(images/date.jpg);
	width: 89px;
	height: 73px;
	text-align: center;
	float: right;
	text-transform: uppercase;
color: ##E8CAA2;
}

.post .date .month {
	display: block;
	font-size: 14px;
	line-height: 17px;
	padding-top: 3px;
	color: ##E8CAA2;
	font-weight: bold;
}

.post .date .day {
	display: block;
	font-weight: bold;
	font-size: 20px;
	padding-top: 3px;
	line-height: 18px;
	color: #E8CAA2;
}

.post .date .year {
	display: block;
	font-size: 0.7em;
	padding-top: 3px;
	color: #E8CAA2;
}

.metadata {
	margin-top: 40px;
	text-align: center;
	font-size: 0.7em;
	color: #797979;
}

.metadata a {
	text-decoration: none;
}

.photoblog-thumbnail {
	display: inline;
	vertical-align: middle;
}

.more-link {
	clear: both;
	display: block;
	margin-top: 30px;
	margin-left: 20px;
	font-size: 0.9em;
	color: #88897b;
	background: url(images/more-link.png) no-repeat left center;
	padding-left: 30px;
}

.hr {
	clear: both;
	border: 0;
	background-image: url(images/hr.jpg);
	color: #f8faf7;
	background-color: #f8faf7;
	width: 426px;
	height: 121px;
	margin: -8px auto 0;
}

.hr hr {
	display: none;
}

.navigation {
	width: 100%;
	margin-top: 50px;
}

.navigation a {
	text-decoration: none;
	font-size: 0.7em;
}

.navigation .previous {
	float: right;
}

.navigation .next {
	float: left;
}

.search_result {
	margin-left: 20px;
}

.search_result h4 {
	margin-left: -20px;
}

.search_result h4 a {
	text-decoration: none;
}

.search_result .metadata {
	color: #BFC4C1;
	margin-top: 10px;
	text-align: left;
}

.search_result .metadata a {
	color: #BFC4C1;
}


/* Standard wordpress */

.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
  	float: left;
}

.alignright {
   float: right;
}

.clear {
	clear:both;
}

.wp-caption {
   border: none;
   text-align: center;
   background-color: #f8faf7;
   padding-top: 4px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* Comments */


.commentlist {
	padding: 0;
	list-style-type: none;
	margin-top: 16px;
	margin-left: 0px;
}

.commentlist li {
	margin-top: 16px;
	margin-left: 30px;
	max-width: 620px;
}

.commentlist li .comment-content,
.commentlist li .before-comment,
.commentlist li .after-comment,
.commentlist li .after-comment div {
	background:#E8CAA2
}

.commentlist li .comment-content {
	position:relative;
	zoom:1;
	_overflow-y:hidden;
 	padding: 28px 0 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-left: 42px;
	margin-right: 10px;
	margin-top: 24px;
	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 Form */


input.text {
	width: 200px;

	padding: 5px;
	border: 1px solid #f2f2f2;
}

textarea {
	width: 410px;
	height: 100px;
	margin: 0;
	padding: 5px;
	border: 1px solid #f2f2f2;
}

/* Frame */


.frame-outer.aligncenter {
	text-align: center;
}

.frame-outer span {
	display: inline-block;
	background: url(images/frame-top-left.jpg) no-repeat left top;
}

.frame-outer span span {
	background: url(images/frame-bottom-left.jpg) no-repeat left bottom;
}

.frame-outer span span span {
	background: url(images/frame-top-right.jpg) no-repeat right top;
}

.frame-outer span span span span {
	background: url(images/frame-bottom-right.jpg) no-repeat right bottom;
	padding: 32px;
	min-width: 150px;
	min-height: 150px;
	text-align: center;
	overflow: hidden;
}

.frame-outer span span span span * {
    max-width: 425px;
}

.frame-outer.small span {
	background: url(images/frame-top-left-small.jpg) no-repeat left top;
}

.frame-outer.small span span {
	background: url(images/frame-bottom-left-small.jpg) no-repeat left bottom;
}

.frame-outer.small span span span {
	background: url(images/frame-top-right-small.jpg) no-repeat right top;
}

.frame-outer.small span span span span {
	background: url(images/frame-bottom-right-small.jpg) no-repeat right bottom;
	/*testing padding: 10px;*/
	min-height: 38px;
	min-width: 38px;
}

.frame-outer span span span span span {
	background: none;
}

.frame-outer span span span span .wp-caption-text {
	margin-top: 10px;
}


/****************************
 **   Sidebar
 ****************************/

/* General */


.sidebar h2 {
	font-size: 1.4em;
	color: #652002;
	margin-bottom: 20px;
text-align:center;
align:center;



}

.sidebar a {
	color: #E8CAA2;
text-align:center;
align:center;
text-decoration:none;
}
.sidebar a:hover {
	color: #D29B51;
text-align:center;
align:center;
text-decoration:none;
}

.sidebar ul, .sidebar ul ol {
	margin: 0;
	padding: 0;
text-align:center;
align:center;
background color: #652002
}


.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 25px;
padding: 10;
text-align:center;

}

.sidebar ul p, .sidebar ul select {
	margin: 5px 0 8px;
text-align:center;
align:center;
color: #4C0D04;
	
}
#sidebar ul {
color: #3A1C01;

float: center;


}
.sidebar ul ul, .sidebar ul ol {
	margin: 5px 0 0 10px;
text-align:center;
align:center;
color: #4C0D04;

}

.sidebar ul ul ul, .sidebar ul ol {
	margin: 0 0 0 10px;
text-align:center;
align:center;
color: #4C0D04;
}

ol li, .sidebar ul ol li {
	list-style: decimal outside;
padding: 10;
text-align:center;
align:center;
color: #4C0D04;
}




/* the one above used to say ol li, .sidebar ul ol li {
	list-style: decimal outside; */

.sidebar ul ul li, .sidebar ul ol li {
	margin: 3px 0 0;
	padding: 10;
text-align:center;
align:center;
}

/* Search */

.sidebar #searchform div {
	background-image: url(images/searchform.jpg);
	width: 226px;
	height: 49px;
	margin-left: 2px;
}
.sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 149px;
	height: 16px;
	color: #909090;
	font-size: 1.0em;
	outline: none;
}
.sidebar #searchform div #searchsubmit {
	border: 0;
	background: none;
	width: 39px;
	height: 26px;
	margin-left: 4px;
	overflow: hidden;
	cursor: pointer;
	font-family: "Palatino", "Georgia", "Baskerville", serif;
	color: #999;
	font-size: 0.7em;
	text-transform: lowercase;
}

.double-right-sidebar .sidebar #searchform div {
	background-image: url(images/searchform-double-sidebar.jpg);
	width: 190px;
	height: 45px;
	margin-left: -3px;
}
.double-right-sidebar .sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 117px;
	height: 16px;
	color: #909090;
	font-size: 0.9em;
	outline: none;
}

/* Tag cloud */
.sidebar #subscribe a {
	display: block;
	position: absolute;
	background-image: url(images/rss.png);
	width: 149px;
	height: 126px;
	margin-left: 0px;
	margin-top: 0px;
	text-indent: 0px;
	overflow: hidden;
}
.widget_tag_cloud a {
	text-decoration: none;
}

/* Wordpress calendar */

#calendar_wrap {
	margin: 0px;
}

#wp-calendar {
	width: 100%;
}

#wp-calendar th {
	text-align: left;
}

/* Photoblog widget */

.sidebar .elegant_grunge_photoblog div {
	text-align: center;
}

.sidebar .photoblog-thumbnail img {
	background: #fff;
	border: 1px solid #aaa;
	padding: 3px;
	display: inline;
}

/*Next Gen Gallery Widget*/
.ngg_sidebar_gallery_widget  a {

background-color: #CAC9B1; 
}


/****************************
 **   Footer
 ****************************/

#footer #subscribe a {
	display: block;
	position: absolute;
	background-image: url(images/rss.png);
	width: 149px;
	height: 126px;
	margin-left: -126px;
	margin-top: -68px;
	text-indent: -2000px;
	overflow: hidden;
}

#footer .legal, #footer .credit {
	color: #ffffff;
}

#footer .legal {
	float: left;
}

#footer .credit a {
	text-decoration: none;
}

#footer .credit {
	float: right;
}


#footer .widget-wrap {
	/*float: left;*/

	width: 264px;
	margin-left: 20px;
}


#footer .widget {
	margin-right: 21px;
	margin-left: 21px;
}

#footer {
	font-size: 0.8em;
	line-height: 1.1em;
}

#footer a {
	color: #E8CAA2;
}

#footer h2 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: normal;
	font-style: normal;
}
