/*   
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
 ****************************/

body {
	margin: 0px;
	padding: 0px;
	background: #dadada;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666;
}
#page{
margin: 0px;
	padding: 0px;
width:100%;
}
a {
	color: #5f5f5f;
}

img {
	border: 0;
}



/****************************
 **   Layout
 ****************************/
#logo{
	float:left;	
}

/* Menu */

#menu {
	height:3.0em;
	float:right;
}

#menu ul {
	width: 400px;
	margin: 0 auto;
	padding: 0;
	bottom: 0;
	left: 0;
	list-style: none;
}

.double-right-sidebar #menu ul {
	width: 947px;
}

#menu ul li {
	float: left;
}

#menu .page_item a {
	display: block;
	padding-right: 40px;
	line-height: 3.0em;
	color: #868686;
	text-decoration: none;
}

#menu .current_page_item a, #menu .page_item a:hover {
	color: #fff;
}

/* Header */
#header-inner{
	width:900px;
	margin:0px auto;
}
#header-wrap {
	background: url(images/header-bg.png) repeat-x center top;
	height:322px;
}

#header {
	height: 283px;
	background: url(images/header-content-bg.png) no-repeat center;
}

.no-sidebar div #header {
}

.double-right-sidebar div #header {
}

#header div {

}
#header-left{
	width:500px;
	float:left;
}
#header-right{
	float:right;
	padding-top:17px;
}
.double-right-sidebar #header div {
	width: 947px;
}

#header h1 {
	font: 2em/100px "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;
}

#blog-description {
	color: #888;
	text-shadow: #000 0 1px 1px;
}
#free-quote{
	margin-top:50px;	
}
/* Content */

#content-container {
	background: #e8e8e8 url(images/content-bg.png) repeat-x center bottom;
	padding:25px 0px 25px 0px;
	
}

.no-sidebar div #content-container {
}

.double-right-sidebar div #content-container {
}

#content {
	width: 900px;
	margin: 0 auto;
}

.double-right-sidebar #content {
	width: 947px;
}

#body {
	float: left;
	width: 900px;
}
#body-custom {
        float: left;
	width: 650px;
}
#index-text{
	float:left;
	width:200px;
	padding-top:25px;
	background:url(images/index-body-spacer.png) right 35px no-repeat;
}
#index-text-title{
	font-size:20px;
	text-shadow:0 1px 1px #000000;	
}
#index-text-link{
	color:#009933;
	margin-top:50px;
	font-weight: bold;
}
#index-projects{
	float:right;
	width:700px;
}
.no-sidebar div div #body {
	width: 900px;
	float: none;
}

/* Sidebar */

#sidebar {
	float: right;
	font-size: 0.9em;
	width: 220px;
	position: relative;
	left: -15px;
}

.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 {
	background: #dadada url(images/footer-bg.png) repeat-x center top;
}
#footer-top{
	height:280px;
}
#footer-wrap {
	width: 100%;
	padding:0px;
}

.no-sidebar div #footer-wrap {
}

.double-right-sidebar div #footer-wrap {
}

#footer {
	width: 800px;
	margin: 0 auto;
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 7px;
	min-height: 10px;
}


/****************************
 **   Content
 ****************************/

/* General */

h2 {
	font-size: 1.5em;
	font-weight: normal;
	font-style: normal;
	color: #666666;
	margin-top: 0px;
	margin-bottom: 0.5em;
        border-bottom:dashed 1px #999999;
        text-shadow:0 1px 1px #000000;
}

h2 a {
	text-decoration: none;
	color: #3b3b3b;
}
.post{


}
.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: #bcbcbc;
	font-size: 0.8em;
}

.post .date {
	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;
}

.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;
	padding-left: 30px;
}

.hr {
	clear: both;
	border: 0;
	color: #f8faf7;
}

.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: 460px;
}

.commentlist li .comment-content,
.commentlist li .before-comment,
.commentlist li .after-comment,
.commentlist li .after-comment div {
}

.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;
}

.frame-outer span span {
}

.frame-outer span span span {

}

.frame-outer span span span span {
	text-align: center;
	overflow: hidden;
}

.frame-outer span span span span * {
    max-width: 425px;
}

.frame-outer.small span {
}

.frame-outer.small span span {

}

.frame-outer.small span span span {
}

.frame-outer.small span span span span {
	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: #9f9f9f;
}

.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 {
	width: 226px;
	height: 49px;
	margin-left: -7px;
}
.sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 152px;
	height: 16px;
	color: #909090;
	font-size: 1.1em;
	outline: none;
}
.sidebar #searchform div #searchsubmit {
	border: 0;
	background: none;
	width: 39px;
	height: 26px;
	margin-left: 4px;
	overflow: hidden;
	text-indent: -2000px;
	cursor: pointer;
}
.double-right-sidebar .sidebar #searchform div {
	width: 190px;
	height: 45px;
	margin-left: -3px;
}
.double-right-sidebar .sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 115px;
	height: 16px;
	color: #909090;
	font-size: 0.9em;
	outline: none;
}


/* 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-top{
	width:900px;
	margin:0px auto;
}
.footer-column{
	float:left;
	width:275px;
	margin:10px 25px 0px 0px;
}
.footer-top{
	background:url(images/footer-rule.png) no-repeat bottom center;
	font-size:20px;
	text-shadow: #000 0 1px 1px;
	
}
.social{
	padding-top:15px;
	padding-bottom:15px;
}
.social-link{
	margin:15px;	
}
.footer-bottom
{
	font-size:14px;
}
#footer #subscribe a {
	display: block;
	position: absolute;
	width: 149px;
	height: 126px;
	margin-left: -126px;
	margin-top: -68px;
	text-indent: -2000px;
	overflow: hidden;
}

#footer .legal, #footer .credit {
	color: #5f5f5f;
}

#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: #a3a3a3;
}

#footer h2 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: normal;
	font-style: normal;
	
}
.boxgrid{ 
	width: 215px; 
	height: 190px; 
	margin:10px 0px 10px 0px; 
	float:left; 
	position: relative; 
	background:url(images/project-bg.png) top left no-repeat;
	padding:7px 0px 0px 18px;
}
.boxgrid-work{ 
	width: 400px; 
	height: 309px; 
	margin:10px 0px 10px 20px; 
	float:left; 
	position: relative; 
	background:url(images/project-bg-big.png) top left no-repeat;
	padding:10px 0px 0px 30px;
}
.boxgrid-inner{
	width:190px;
	height:157px;
	overflow: hidden; 
	position: relative; 
}
.boxgrid-inner-work{
	width:340px;
	height:283px;
	overflow: hidden; 
	position: relative; 
}
.boxcaption{ 
	float: left; 
	position: absolute; 
	background: #000; 
	height: 50px; 
	width: 100%; 
	opacity: .8; 
	/* For IE 5-7 */
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	/* For IE 8 */
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	font: 12px Georgia;
	padding-left:5px;
}
.captionfull .boxcaption {
	top: 161px;
	left: 0;
}
.boxgrid-inner-work .work{
	top: 283px;
	left: 0;
}
.caption .boxcaption {
	top: 30;
	left: 0;
}

.footer-bottom ul {
	list-style-type:none;
	margin:0;
	padding:10px;
}

.footer-bottom ul li {
	background:transparent url(images/bullet.png) no-repeat scroll 0 6px;
	padding-left:20px;
	padding-top:2px;
}
.footer-bottom ul li a:link, .footer-bottom ul li a:visited{
	text-decoration:none;
}
.footer-bottom ul li a:hover{
	color:#FFFFFF;
}

#portfolioTitle {
margin:0 0 0 30px;
}
#portMain {
margin:0 0 10px 20px;
min-height:400px;
}
#portfolioImg {
float:left;
padding:21px 0 0 10px;
width:500px;
}
#information {
float:left;
margin:15px 0 0 35px;
width:225px;
font-size:12px;
}
.lead{
font-weight:bold;
color:#000;
}
ul.tools{
list-style-type:square;
margin:-4px 0 20px;
padding:0 0 0 14px;
}
.info-rule{
height:2px;
background:url('images/rule.jpg') top left repeat-x;
}