/*   
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
 ****************************/
* {
	margin: 0; padding: 0;
}
body {
	margin: 0;
	padding: 0;
	background: #dfc4a7 url(i/bg-tile.png); 
	color: #400;
	font-family: "Palatino", "Georgia", "Baskerville", serif;
}

a {color: #900;}
a:hover {color: #c00;}
img {
	border: 0;
}
p {
	margin-bottom:1em;
}

div.red {
	background: #9d1319;
	color: #decdb2;
}
.red a {
	color:#fff;
	text-decoration: none;
	text-shadow:2px 2px 4px #300;
}

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


/* Menu */

#menu {
	background: #9d1319;
	color: #decdb2;
	border-top:6px solid #600;
	padding-left:460px;
	-height: 1%;
}

#menu ul {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1em;
	text-align: justify;
	line-height: 1em;

	margin: 0 auto;
	padding: 0;
	bottom: 0;
	left: 0;
	list-style: none;
}

#menu ul li {
	float: left;
}

#menu .page_item a,
#menu .cat-item a {
	display: block;
	padding-right: 40px;
	line-height: 2em;
	color: #f0e9dd;
	text-decoration: none;
}

#menu .current_page_item a, 
#menu .page_item a:hover,
#menu .cat-item a:hover {
	color: #fff;
}

/* 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 "Georgia", "Baskerville", serif;
	margin: 0;
}

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

#blog-description {
	position: relative;
	top: 60px;
	color: #616161;
	text-shadow: #000 0 1px 1px;
	left: 1.3em;
}

/* Content */

#content-container {
	background: url(i/line-tr.png) 0 0 repeat-x;
	padding-top:40px;
}

#logo {
/*	border: 1px solid #0f0;*/
	width:421px; height:208px; background:url(i/ca.png) 0 0 no-repeat;
	position: relative; top:-70px;
	text-align: center;
	padding-top: 350px;
	margin-left:20px;
	-margin-left:10px;	
	float: left;
}
#logo a {
	display: block;
	text-decoration: none;
	cursor: pointer;
	color: #d9c2ab; 
}
#logo a:hover {
	color: #f6f0eb; 
}
#logo h1{
	margin: auto;
	/*margin-top:350px;*/
	width:294px; height: 102px;
	text-transform: uppercase;
	overflow: hidden;
	font:bold 60px/50px "Book Antiqua", Palatino, serif;
	position: relative;
	background: #9d1319;
}
#logo h1 span { display: block; width:294px; height: 102px; background: url(i/crivia_aeterna.png) 0 0 no-repeat; position: absolute; top:0; left:0;}
#logo h2{
	margin: auto;
	margin-top:10px;
	padding-top: 4px;
	width: 240px;
	border-top: 3px solid #8a2028;
	font:bold 17px "Book Antiqua", Palatino, serif;
	text-transform: uppercase;
}

#datetime {
	text-align: center;
	position: absolute; top:510px; left:150px;
	background: url(i/datetime.png);
	width: 71px; height:66px;
	font-weight: bold;
	color: #961b23;
	padding: 26px 24px;
	font-family: "Book Antiqua", Palatino, serif;
	line-height: 15px;
}


#content {
	margin: 0 0 0 460px;
	padding-right:220px;
}

#body {
	width:100%;
	float: left;
	padding-right: 20px;
}

/* Sidebar */

#sidebar {
	float: left;
	margin-right:-100%;
	font-size: 0.9em;
	width:200px;
}

/* Footer */

#footer-wrap-outer {
	padding-top: 14px;
	background: url(i/line-br.png) repeat-x center top;
	-height: 1%;
}

#footer-wrap {
	width: 100%;
	background: #9d1319;
	border-bottom: 8px solid #300;
}

#footer {
	margin: 0 8px 0 120px;
	padding-left: 80px;
	padding-right: 7px;
	padding-top: 40px;
	min-height: 30px;
}


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

/* General */

h2 {
	font-size: 2.4em;
	font-weight: normal;
	font-style: normal;
	margin-top: 0px;
	margin-bottom: 1.8em;
}

h2 a {
	text-decoration: none;
	color: #3b3b3b;
}

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

.post .author {
	text-transform: uppercase;
	color: #949494;
	font-size: 0.8em;
	position: relative;
	top: -70px;
}

.post .info {
	color: #bcbcbc;
	font-size: 0.8em;
}

.post .date {
	background-image: url(i/date.png);
	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: #994d00;
	font-weight: bold;
}

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

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

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

.metadata a {
	text-decoration: none;
}

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

.more-link {
	margin-top: 20px;
	font-size: 0.9em;
}

.hr {
	clear: both;
	border: 0;
	background: url(i/hr.png) 0 0 no-repeat;
	color: #f8faf7;
	height: 41px;
	margin: -4px auto 0 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: #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: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
}

.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(i/comment-top.png);
/*	width: 481px;*/
	height: 21px;
}

.commentlist .comment {
	margin: 0;
	font-size: 0.8em;
/*	width: 437px;*/
	background: url(i/comment-middle.png) 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(i/comment-bottom.png);
/*	width: 481px;*/
	height: 37px;
}

.avatar {
	float: left;
	margin:0 10px 0 0!important;
}

/* Comment Form */


input.text {
	width: 200px;

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

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

/* Frame */


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

.frame-outer span {
	display: inline-block;
}

.frame-outer span span span span {
	padding: 32px;
	min-width: 150px;
	min-height: 150px;
	text-align: center;
	overflow: hidden;
}

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

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

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

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

.frame-outer span span span span {
	background: url(i/frame-bottom-right-small.png) 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 {
	font-size: 1.4em;
	color: #676767;
	margin-bottom: 20px;
}

#sidebar a {
	color: #a34d00;
}

#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(i/searchform.png);
	width: 213px;
	height: 49px;
	margin-left: -20px;
}
#sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 12px;
	width: 152px;
	height: 22px;
	color: #900;
	font-size: 1.1em;
	background: transparent;
}
#sidebar #searchform div #searchsubmit {
	border: 0;
	background: none;
	width: 39px;
	height: 26px;
	margin-left: 4px;
	overflow: hidden;
	text-indent: -2000px;
	cursor:pointer;
}

.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: #fff;
	border: 1px solid #aaa;
	padding: 3px;
	display: inline;
}


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

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

#credits .legal, #credits .credit {
	color: #5f5f5f;
}

#credits .legal {
	float: left;
}

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

#credits .credit {
	float: right;
}


#footer .widget-wrap {
	float: left;
	width: 25%;
	margin-bottom: 36px;
}


#footer .widget {
	margin: 0 8px;
}
#footer .widget ul {
	padding-left:16px;
}
#footer .widget li{
	margin: 0 0 .5em 0;
}

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

#footer a {
	color: #a3a3a3;
}

#footer h2 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: normal;
	font-style: normal;
}
#credits {
	background: #600;
	padding:.5em 4em;
	height:20px;
	font-size:.9em;
}
