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

html, body, #wrapper { 
    height: 100%; 
}
body > #wrapper { 
    height: auto; min-height: 100%; 
}

body {
	background: #fefefe url(/images/bg.jpg) repeat-x;
	font: 90% Georgia, Times New Roman, Times, serif;	
	color: #333333;
	padding: 0;
	margin: 0;
}
.entry ul,
.entry ol,
p {
    margin: 0 0 0.75em 0;
    line-height: 1.5em;
}
p a, 
p a:visited,
ul a,
ul a:visited,
ol a,
ol a:visited  {
    color: #f30000;
    text-decoration: none;
}
p a:hover,
ul a:hover,
ol a:hover {
    border-bottom: 1px solid #cccccc;
}

img {
    border: 0;
    padding: 5px;
    border: 1px solid #cccccc;  
}
blockquote {
    border-left: 2px solid #efefef;
    padding-left: 10px;
    font-style: italic;
}
.documentFirstHeading {
    padding-top: 10px;
    font-size: 180%;
	border-bottom: 1px solid #cccccc;
}
.source-code {
    font-family: monospace;
    font-size: 12px;
}
pre {
    background-color: #e2e2e2;
    border: 1px solid #cccccc;
    font-family: monospace;
    padding: 10px;
}

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

#wrapper {
    margin: 0 auto;
	padding: 0;
	width: 960px;
}


#header {
    margin-bottom: 25px;
}
#logo {
    background: url(/images/logo.jpg) no-repeat;
	margin-top: 10px;

}
#logo a {
    display: block; 
    text-decoration: none;
    overflow: hidden;
    border: 0;
    margin: 0;
    padding: 0;
    padding-top: 56px;
    height: 0px !important;
    width: 260px;
    cursor: pointer;
}
/* 
[=== Navigation =====================================================================] 
*/
#nav {
	position: absolute;
	top: 0;
	width: 555px;
	height: 33px;
    margin: 23px 0 0 410px;
	padding: 0;
}	
/* Dwyer Method to hide text */
#nav span {
    display: block;
    width: 0;
	height: 0;
	overflow: hidden;
}
#nav, #nav a:hover, #nav a.selected {
    background: url(/images/nav.jpg) no-repeat;
	border-bottom: none;
}
#nav li {
	position: absolute;
	list-style: none;
}
#nav li, #nav a {
	height: 30px;
	display: block;
}
/* Width controls width of each text image. Top refers to position
   that is relative to nav.jpg */
   
#plone, #plone a { top: 0px; left: 0px;  width: 72px;} 
#plone a:hover, #plone a.selected { background-position: 0px -33px; }

#webdesign, #webdesign a { top: 0px; left: 72px; width: 130px; }
#webdesign a:hover, #webdesign a.selected { background-position: -72px -33px; }

#print, #print a { top: 0px; left: 202px; width: 65px; }
#print a:hover, #print a.selected { background-position: -202px -33px; }

#photography, #photography a { top: 0px; left: 267px; width: 145px; }
#photography a:hover, #photography a.selected { background-position: -267px -33px;}

#about, #about a { top: 0px; left: 412px; width: 80px; }
#about a:hover, #about a.selected { background-position: -412px -33px; } 

#blog, #blog a { top: 0px; left: 492px; width: 65px; }
#blog a:hover, #blog a.selected { background-position: -492px -33px; } 

/* 

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

/* Content */


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

/* Sidebar */

#sidebar {
	float: right;
	width: 220px;
	position: relative;
	left: -15px;
}

/* Footer */

/* Sticky Footer - http://www.cssstickyfooter.com */
.clearfix:after {
    content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
    display: inline-block;
}
#content {
    padding-bottom: 50px;
    margin-bottom: 50px;
    width: 100%;
}
#footer-wrapper { 
    background: #003747 url(/images/bg-footer.jpg) repeat-x;
}
#footer {
    font: 90% "Trebuchet MS", Verdana, sans-serif;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    margin-top: -70px;
    width: 960px;
    color: #ffffff;
    height: 50px;
    text-align:right;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#footer ul {
    list-style-image: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#footer ul li {
    display: inline !important;
    font-size: 90%;
    padding: 0 8px;
    border-left: 1px solid #ffffff;

}
#footer ul li a,
#footer ul li a:visited {
    text-decoration: none;
    color: #fff;
}
#footer ul li a:hover {
    color: #f30000;
}
#copyright {
    float: left;
}

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

/* General */

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-family: Georgia, Times New Roman, Times, serif;
    letter-spacing: 1px;
	font-weight: normal;
}
h1 {
    color: #004a80;
    font-size: 160%;
}
h2 {
    color: #000000;
    font-size: 140%;
}
h3 {
    color: #004a80;
    font-size: 120%;
    margin: 2em 0 .5em 0;
    padding: 0;
}
h2 a, 
h3 a {
    color: #004a80;
    text-decoration: none;
}
h2 a:hover, 
h3 a:hover {
    color: #f30000;
    border-bottom: none;
    text-decoration: none;
}
.no-padding {
    padding: 0 !important;
}
.no-border {
    border: 0 !important;
}
.posted {
    margin: 0;
    padding: 0;
    font-size: 0.85em;
    color: #8e8e8e;
}
.post .entry {
        margin-top: 2em;
	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 {
        float: left;
	font-size: 1.2em;
        width: 90px;
	color: #333333;
}

.post-content {
    margin-left: 100px;
}

.more-link {
   font-size: 1.2em;
}
.metadata {
	margin-top: 40px;
        padding: 4px 0px;
	font-size: 0.85em;
        border-top: 2px solid #efefef;
        text-transform: capitalize;
}
.metadata a {
	text-decoration: none;
}
.metadata p {
   padding: 0;
   margin-top: 0; 
}
.photoblog-thumbnail {
	display: inline;
	vertical-align: middle;
}

.more-link {
	
}

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

.navigation a,
.navigation a:visited {
	text-decoration: none;
	font-size: 1em;
	color: #f30000;
}
.navigation a:hover {
	border-bottom: 1px solid #cccccc;

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


.comment-content {
    padding-bottom: 20px;
}
.comment-author {
    xbackground: #efefef;
    color: #333333;
    padding: 4px 8px;
}

.comment-author a {
    color: #f30000; 
    text-decoration: none;
}
.comment-author a:hover {
    color: #f30000; 
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
}
.comment-text {
    padding: 0px 0px 0px 10px;
    margin-left: 20px;
    border-left: 2px solid #efefef;
}

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


#submit {
        margin: 15px 0 20px 0;
	border: 0;
	background-color: #cccccc;
	font: .9em Georgia, Times New Roman, Times, serif;	
	width: 120px;
	height: 22px;
	overflow: hidden;
	cursor: pointer;
	color: #000000;
	text-transform: capitalize;
}

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

/* Comment Form */


input.text {
	width: 250px;
	padding: 5px;
	border: 1px solid #cccccc;
}

textarea {
	width: 580px;
	height: 200px;
	margin: 0;
	padding: 5px;
	border: 1px solid #cccccc;
}

/* 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;
}

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

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

/* General */

.sidebar h2 {
	font-size: 120%;
	color: #676767;
	margin-bottom: 20px;
}

.sidebar a,
.sidebat a:visited {
	color: #f30000;
        text-decoration: none;
}
.sidebar a:hover {
        border-bottom: 1px solid #cccccc;
}
.sidebar li p {
    padding: 0 10px;
    font-size: 11px;
}
.sidebar ul, .sidebar ul ol {
	margin: 0;
	padding: 0;
}

.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 25px;
}
ul#recent-posts li {
        margin-bottom: 10px;
}
.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 */

#searchform input {
    border: 1px solid #cccccc !important;
    text-transform: uppercase;
}
#searchform div #s {
        float: left;
	border: 0;
        height: 14px;
        width: 170px;
        padding: 4px;
        margin: 20px 0;
	outline: none;
}

#searchform div #searchsubmit {
        border: 0;
	background-color: #cccccc;
	font: .9em Georgia, Times New Roman, Times, serif;	
	width: 30px;
	height: 24px;
        margin-top: 20px;
	overflow: hidden;
	cursor: pointer;
	color: #000000;
	text-transform: uppercase;
}
.sidebar #searchform div #s,
.sidebar #searchform div #searchsubmit {
        margin-top: 0 !important;
}

/* 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;
}

