/*   
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: 0.4.5
Tags: grunge, dirt, monochrome, fixed width, footer, configurable, image frames, photoblog

	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   { color: #777; font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif; background: #7dc242; margin: 0; padding: 0 }

a  { color: #7DC242 }

img {
	border: 0;
}



/****************************
 **   Layout
 ****************************/


/* Menu */

#menu   { background-color: transparent; height: 3em }

#menu ul  { list-style: none; margin: 0 0 0 auto; padding: 0; position: absolute; top: 130px; right: 0; width: 300px; float: left }

#menu ul li  { float: left }

#menu .page_item a   { color: #666; font-size: small; line-height: 3em; text-decoration: none; display: block; padding-right: 40px }

#menu .current_page_item a, #menu .page_item a:hover    { color: #e5f3d9 }

/* Header */

#header-wrap  { background: url("images/header-repeat.jpg") repeat-x center top }

#header {
	height: 216px;
	background: url(images/header.jpg) no-repeat center;
}

#header div {
	width: 800px;
	margin: 0 auto;
}

#header h1  { font: 2.2em/169px Verdana, Arial, Helvetica, sans-serif; margin: 0 }

#header h1 a  { color: #e5f3d9; font-style: normal; font-weight: normal; text-decoration: none; float: left; text-shadow: #000 0 1px 2px }

#blog-description  { color: #d8e6d0; position: relative; top: 60px; left: 1.3em; text-shadow: #000 0 1px 1px }

/* Content */

#content-container  { background: #e5f3d9 url("images/body.jpg") repeat-y center 270px }

#content  { margin: 0 auto; width: 800px }

#body  { padding-right: 20px; padding-left: 20px; width: 490px; float: left }

/* Sidebar */

#sidebar {
	float: right;
	font-size: 0.9em;
	width: 220px;
	padding-right: 16px;
}

/* Footer */

#footer-wrap-outer  { background: #7dc242 url("images/footer-repeat.jpg") repeat-x center top; margin-top: -51px }

#footer-wrap   { background: url("images/footer.jpg") no-repeat center top; padding-top: 91px; padding-bottom: 30px; width: 100% }

#footer {
	width: 800px;
	margin: 0 auto;
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 90px;
	min-height: 30px;
}


/****************************
 **   Content
 ****************************/

/* General */

h2  { color: #666666; font-size: 2.4em; font-style: normal; font-weight: normal; margin-top: 0; margin-bottom: 0.8em }

h2 a  { color: #7DC242; text-decoration: none }

.post .entry {
	font-size: 0.9em;
	line-height: 1.3em;
	clear: both;
}

.post .author  { color: #949494; font-size: 0.8em; text-transform: uppercase; position: relative; top: -20px }

.post .info {
	color: #bbbbbb;
	font-size: 0.8em;
}

.post .date {
	background-image: url(images/date.jpg);
	width: 89px;
	height: 73px;
	text-align: center;
	float: right;
	text-transform: uppercase;
}

.post .date .month  { color: #bbbbbb; font-size: 14px; font-weight: bold; line-height: 17px; display: block; padding-top: 3px }

.post .date .day  { color: #bbbbbb; font-size: 20px; font-weight: bold; line-height: 18px; display: block; padding-top: 3px }

.post .date .year  { color: #bbbbbb; font-size: 0.7em; display: block; padding-top: 3px }

.metadata  { color: #949494; font-size: 0.7em; text-align: center; margin-top: 40px }

.metadata a {
	text-decoration: none;
}

.photoblog-thumbnail {
	display: inline;
	vertical-align: middle;
}

.more-link {
	margin-top: 20px;
	font-size: 0.9em;
}

.hr  { color: #f8faf7; background-color: #e5f3d9; background-image: url("images/hr.jpg"); margin: -8px auto 0; width: 426px; height: 121px; clear: both; border: 0 }

.hr hr {
	display: none;
}

.navigation {
	width: 100%;
}

.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: #949494; text-align: left; margin-top: 10px }

.search_result .metadata a  { color: #949494 }


/* Standard wordpress */

.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
  	float: left;
}

.alignright {
   float: right;
}

.clear {
	clear:both;
}

.wp-caption  { background-color: #e5f3d9; text-align: center; margin: 10px; padding-top: 4px; border: solid 1px #ddd }

.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;
	margin: 0 0 0 14px;
	list-style-type: none;
}


.commentlist li {
	margin-top: 16px;
	margin-left: 0px;
}

.before-comment {
	background: url(images/comment-top.jpg);
	width: 481px;
	height: 21px;
}

.commentlist .comment {
	margin: 0;
	font-size: 0.8em;
	width: 437px;
	background: url(images/comment-middle.jpg) repeat-y;
	padding-right: 10px;
	width: 451px;
	padding-left: 26px;
}

.comment-text {
	margin-left: 42px;
	margin-right: 10px;
	margin-top: 24px;
	font-size: 0.9em;
}

.comment-text * {
	margin-bottom: 0;
	padding-bottom: 0;
}

.after-comment {
	background: url(images/comment-bottom.jpg);
	width: 481px;
	height: 37px;
}

.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;
	padding: 10px;
	min-height: 38px;
	min-width: 38px;
}

.frame-outer span span span span span {
	background: none;
}

/****************************
 **   Sidebar
 ****************************/

/* General */

#sidebar h2  { color: #666; font-size: 1.4em; margin-bottom: 20px }

#sidebar a  { color: #606060 }

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 25px;
}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}

/* Search */

#sidebar #searchform div {
	background-image: url(images/searchform.jpg);
	width: 226px;
	height: 49px;
	margin-left: -7px;
}
#sidebar #searchform div #s  { color: #949494; font-size: 1.1em; margin-top: 14px; margin-left: 19px; width: 152px; height: 16px; border: 0 }
#sidebar #searchform div #searchsubmit {
	border: 0;
	background: none;
	width: 39px;
	height: 26px;
	margin-left: 4px;
	overflow: hidden;
	text-indent: -2000px;
}

.more-link {
	padding-left: 20px;
	font-size: 0.8em;
}


/* Tag cloud */

.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: #e5f3d9; display: inline; padding: 3px; border: solid 1px #bcbcbc }


/****************************
 **   Footer
 ****************************/

#footer #subscribe a {
	display: block;
	position: absolute;
	background-image: url(images/rss.gif) no-repeat;
	margin-left: -126px;
	margin-top: -68px;
	text-indent: -2000px;
	overflow: hidden;
	}
	
#footer .legal, #footer .credit  { color: #666 }

#footer .legal {
	float: left;
}

#footer .credit a {
	text-decoration: none;
}

#footer .credit {
	float: right;
}


#footer .widget-wrap {
	float: left;
	width: 264px;
	margin-bottom: 36px;
}


#footer .widget {
	margin-right: 21px;
	margin-left: 21px;
}

#footer {
	font-size: 0.8em;
	line-height: 1.1em;
}

#footer a {
	color: #e5f3d9;
}

#footer h2  { color: #e5f3d9; font-size: 1.3em; font-style: normal; font-weight: normal; margin-bottom: 15px }

/**
 * Custom
 */
/**
#sidebar li.twitter-item {
    margin-bottom: 10px;
}

#sidebar li.twitter-item a  { color: #666; font-size: 0.8em; text-decoration: none }

.twitter-timestamp  { color: #949494; font-size: 0.8em }

.twitter_image  { display: inline-block; border: solid 1px #bcbcbc }

.promotion {
	position: absolute;
	width: 217px;
	height: 119px;
	top: 140px;
	left: 50%;
	margin-left: 20px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/wp-content/themes/elegant-grunge/loopy.png", sizingMethod="crop");
	text-indent: -9999px;
	z-index: 1000;
}

html>body .promotion {
	background: url('loopy.png') no-repeat;
}

.promotion a {
	display: block;
	width: 100%;
	height: 100%;

}*/