/*   
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;
	background: #F8F8F8 url("images/background.png") repeat-x 0px 0px;
	font-family: "Trebuchet", "Arial", "Helvetica";
	color: #666;
}

a {
	color: #5f5f5f;
}

img {
	border: 0;
}



/****************************
 **   Layout
 ****************************/


/* Menu */

#menu {
position: absolute; top: -20px; left: 10px;
background: url("images/menu-background.png") no-repeat 0px 0px;
width: 185px;
height: 95px;
}

#menu ul {
	
	margin: 18px 0px 0px 25px;
	padding: 0;
	bottom: 0;
	left: 0;
	list-style: none;
}

#menu ul li {
	margin-bottom: 5px;
}

#menu .page_item a {
	 font-weight: bold;
	 color: #000;
	 text-decoration: underline;
	 font-size: 1.2em;
}


/* COMENTARIO ---- Menu original en cabecera 

#menu {
	background-color: #191919;
	height:3.0em;
	border-bottom: 1px solid #373737;
	
}

#menu ul {
	width: 800px;
	margin: 0 auto;
	padding: 0;
	bottom: 0;
	left: 0;
	list-style: none;
}

#menu ul li {
	float: left;
        
}

.double-right-sidebar #menu ul {
	width: 947px;
}


#menu .page_item a {
	display: block;
	padding-right: 40px;
	line-height: 3.0em;
	color: #CE035C;
        font-size: 1.3em;
	
}

#menu .current_page_item a, #menu .page_item a:hover {

}

FIN COMENTARIO MENU*/

/* Header */

#header-wrap {
	
}

#header {
	height: 206px;
	background: url("images/header.jpg") no-repeat 270px 0px;
	border-bottom: 2px solid #A5BE47;
}

.no-sidebar div #header {
	
}


#header div {
	width: 800px;
	margin: 0 auto;
}

.double-right-sidebar #header div {
	width: 947px;
	height: 168px;
	position: relative;
}

#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;
	display: block;
	width: 100%;
	height: 168px;
	text-indent: -99999px;
}

#blog-description {
	position: relative;
	top: 60px;
	color: #616161;
	text-shadow: #000 0 1px 1px;
	left: 1.3em;
	display: none;
}

/* Content */

#content-container {
	
}

.no-sidebar div #content-container {
	
}

.double-right-sidebar div #content-container {
	background: url("images/content_bg.png") repeat-y center 0px;
}

#content {
	width: 800px;
	margin: 0 auto;
        
}

.double-right-sidebar #content {
	width: 848px;
	
	border-right: 1px solid #e0e0e0;
}

#body {
	float: left;
	width: 550px;
	padding:15px 20px 20px 20px;
	//background-color: #fff;
	border-left: 1px solid #e0e0e0;
}

.no-sidebar div div #body {
	width: 760px;
	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;
	width: 220px;
	padding: 100px 10px 10px 10px;
	margin-left: 15px;
}

.double-right-sidebar #sidebar2 {
	font-size: 0.8em;
	float: right;
	position: relative;
	left: -8px;
	width: 169px;
}

/* Footer */

#footer-wrap-outer {


	
}

#footer-wrap {
	width: 850px;
	margin: 0px auto;
}

.no-sidebar div #footer-wrap {
	
}

.double-right-sidebar div #footer-wrap {
	border-top: 1px solid #e0e0e0;
}

#footer {
	width: 100%;
	margin: 0px auto;
	padding-top: 120px;
	height: 80px;
	background: url("images/footer.jpg") no-repeat 600px 40px;
}


/****************************
 **   Content
 ****************************/

/* General */

h2 {
	font-size: 1.3em;
	font-weight: normal;
	font-style: normal;
	color: #000;
	margin-top: 5px;
	margin-bottom: 0.3em;
	line-height: 1.2em;
}


h1 em{
	font-size: 0.8em;
	font-style: italic;
        line-height: 1.1em;
}


h2 a {
	text-decoration: none;
	color: #000;
	font-weight: bold;
}
h2 a:hover {
text-decoration: underline;
}

h4 {
color: #333;
}
.post { position: relative; }
.post .entry {
	font-size: 0.8em;
	line-height: 1.3em;
	clear: both;
        color:black;
        margin-top: 25px;
}
.post .entry a {
        color: #000;
}

.post .author {
	font-size: 0.7em;
        margin-top:8px;
        color:#999
}

.post .info {
	color: #bcbcbc;
	font-size: 0.8em;
}

.post .date {
	float: left;
	font-size: 0.7em;
	background: #A0C422 url("images/date-background.jpg") no-repeat right 0px;
    color: #fff;
	position: absolute;
	top: 5px;
	left: -70px;
	width: 68px;
	height: 33px;
}

.post .date .month { text-transform: uppercase; font-weight: bold; font-size: 1.1em; position: absolute; top: 2px; left: 33px; }
.post .date .year { font-weight: bold; position: absolute; top: 17px; left: 34px; }
.post .date .day { padding-right: 3px; border-right: 1px solid #fff; position: absolute; top: 2px; left: 3px; display: block; font-size: 2em; font-weight: bold; }

.post img {
	/*border: 1px solid #DFDFDF;*/
	border: 1px solid #a0c422;
    padding: 1px;
}

.post blockquote {
	border: 1px solid #e2e2e2;
        margin:0px 0px;
        padding: 2px 15px;
        font-size:0.9em;
        background: #f7f7f7;
        font-height: 1.2em;
        color: #666;
        margin: 40px 0px;
}

.metadata {
	margin-top: 30px;
	text-align: left;
	font-size: 0.7em;
	color: #000;
	margin-bottom: 0px;
}
.metadata span.tags { font-size: 0.8em; text-transform: uppercase; padding: 1px 2px 1px 13px; background: url("images/tags-background.png") no-repeat 0px 0px; }
.metadata span.comments { text-transform: uppercase; padding: 0px 0px 3px 19px; background: url("images/comments-background.png") no-repeat 0px 0px; }
.metadata span.comments a { text-decoration: none; }
.metadata span.postedin { margin: 15px 0px 0px 0px; display: block; background: url("images/postedin-background.png") no-repeat 0px 3px; padding: 0px 0px 0px 15px; }

.metadata a {
color: #666666;
	text-decoration: underline;
}
.metadata a:hover {
	text-decoration: underline;
	color: #94b520;
}

.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: 0px;
	background: url("images/puntos.png") repeat-x 0px 17px;
	width: 550px;
	height: 40px;
	margin: 5px auto 0px auto;
}

.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;
        margin-right: 15px;
}

.alignright {
   float: right;
   margin-left: 15px;
}

.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 */
#comments {
font-size: 0.7em;
color: #888;
font-weight:bold;
} 

.comment cite{
font-size: 0.9em;
color: #333;
font-weight:bold;
} 

.commentlist {
	padding: 0;
	list-style-type: none;
	margin-left: 0px;
}

.commentlist li {
	width: 540px;
	margin-bottom: 20px;
	border: 1px solid #F3E5EC;
	background-color: #FEFCFD;
}





.commentmetadata {
line-height: 1.6em;
}

.commentmetadata  a{
text-decoration: none;
}

.commentlist .comment {
	font-size: 0.8em;
	padding: 15px;
}

.comment-text {
	font-size: 0.9em;
	color: #888;
        line-height: 1.4em;
}

.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 */

form#commentform label { display: block; width: 200px; color: #333; text-transform: uppercase; font-weight: bold; font-size: 0.9em; }
form#commentform .subscribe-to-comments label { font-size: 0.8em; font-weight: normal; text-transform: none; display: inline; width: auto; }
input.text {
	width: 200px;

	padding: 5px;
	border: 1px solid #ccc;
}

textarea {
	width: 410px;
	height: 100px;
	margin: 0;
	padding: 5px;
	border: 1px solid #ccc;
}

/* 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: 1.3em;
	color: #1A171B;
	margin-bottom: 10px;
    font-weight:bold;
	border-bottom: 1px solid #CDCDCD;
	padding-bottom: 3px;
}

.sidebar a {
	color: #000;
}

.sidebar ul, .sidebar ul ol {
	margin: 0px 0px 0px 10px;
	padding: 0;
}

.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 32px;
}

.sidebar ul p, .sidebar ul select {
	margin: 5px 0 8px 0px;
}

.sidebar ul ul, .sidebar ul ol {
	margin: 5px 0 0 0px;
}

.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: 8px 0 0;
	padding: 0;
}




/****************************
 **   Footer
 ****************************/

#footer #subscribe a {
	display: block;
	position: absolute;
	top: 45px;
	padding-left: 20px;
	background: url("images/rss.png") no-repeat 0px 0px;
}

#footer .legal, #footer .credit {
	color: #999999;
}

#footer .legal {
	position: absolute;
	top: 70px;
	left: 0px;
}

#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.75em;
	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;
}

.topLinks {
	position: absolute;
	height: 30px;
	margin: 0px 0px;
	padding: 0px 0px;
	overflow: hidden;
	list-style-type: none;
	right: 48px;
	top: 0px;
}
.topLinks li {
	float: left;
	margin-left: 10px;
	list-style-type: none;
	background-color: #CE035C;
	padding: 0px 5px 4px 5px;
}
.topLinks li a {
	color: #fff;
	font-size: 0.9em;
	text-decoration: none;

}
.topLinks li a:hover {
	text-decoration: underline;
}

.credit { display: none; }
#footer { position: relative; }

#submit {
cursor: pointer; padding: 3px 7px; border: none; color: #fff; font-size: 0.8em; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #9DC121;
}


/****************************
 **   Widgets
 ****************************/

/****   Twitter ****/

.sidebar .twitter-item {
        color:#666;
        font-size:0.9em;
        margin-bottom:10px;
}

.sidebar .twitter-item a{
        font-size:1em;
        margin-bottom:10px;
}

.sidebar .twitter_title_link {
	font-size: 1em;
	color: #CE035C;
        font-weight:bold;
}


/**** 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;
}


/**** Search ****/

.sidebar #searchform div {
	background-image: url(images/searchform.jpg);
	width: 226px;
	height: 49px;
	margin-left: -7px;
}
.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 a { padding: 1px 5px 2px 5px; line-height: 1.8em; text-decoration: none; margin-right: 5px; background-color: #c4d57f; /*background-color: #A0C422;*/ }
#tag_cloud a:hover { background-color: #A0C422; color: white;}
.tagsLinks { padding-left: 0px; }

#recent-posts ul li { padding-bottom: 10px; border-bottom: 1px dotted #ccc; }
#recent-posts ul li a { text-decoration: none; }
#recent-posts ul li a:hover { color: #94b520; }
#recent-comments .recentcomments { margin-bottom: 15px; }
#recent-comments .recentcomments a { text-decoration: none; font-size: 0.85em; }

#twitter-1 h2 { padding-bottom: 10px; text-indent: -99999px; width: 225px; height: 35px; background: url("images/twitter.jpg") no-repeat 0px 0px; }
#twitter-1 li { padding-bottom: 10px; border-bottom: 1px dotted #ccc; }
#twitter-1 .twitter-link { color: #96BF11; font-size: 0.8em; }

#flickr_badge_wrapper { width: 240px; }
#flickr_badge_wrapper br { display: none; }
#flickr_badge_wrapper a { float: left; margin: 0px 5px 10px 0px; }
#flickr_badge_wrapper img { padding: 1px; border: 1px solid #A5BE47; width: 65px; height: 55px; }

#text-441845481 { background-color: #EEF6CB; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 5px 10px; }
#text-441845481 h2 { border: none; margin-bottom: 0px; }
#text-441845481 p { color: #000; margin-top: 0px; font-size: 0.85em; }
#text-441845481 input[type='text'] { border: 1px solid #C6C6C1; }
#text-441845481 input[type='submit'] { cursor: pointer; padding: 3px 6px; border: none; color: #fff; font-weight: bold; font-size: 0.9em; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #9DC121; }

.widget_categories ul li { padding: 0px 0px 0px 15px !important; background: url("images/category-item.jpg") no-repeat 0px 4px; }
.widget_categories ul li a { text-decoration: none; }
.widget_categories ul li a:hover { color: #94b520; text-decoration: underline; }

#commentform { padding-top: 10px; background: url("images/form-background.png") no-repeat 340px 10px; }

#body .post .stico_default { display: block; width: 97px; height: 23px; text-indent: -999999px; background: url("images/sharethis-background.png") no-repeat 0px 0px !important; }

ul#audience { list-style-type: none; margin: 0px !important; padding: 0px !important; }
ul#audience li { width: 150px; float: left; margin-right: 40px; margin-bottom: 30px; height: 200px; }
ul#audience li:nth-of-type(3n+0) { margin-right: 0px !important; }
ul#audience li img { height: 130px; width: 150px; border: 1px solid #A5BE47; margin-bottom: 5px; }

ul#networks { /*display: none;*/ }
ul#networks li { float: left; margin-right: 9px; }
ul#networks li a { background: url("images/networks_fons.jpg") no-repeat 0px 0px; height: 60px; width: 33px; text-indent: -99999px; display: block; }
ul#networks li a.facebook { background-position: 0px 0px; }
ul#networks li a.youtube { background-position: -43px 0px; }
ul#networks li a.twitter { background-position: -87px 0px; }
ul#networks li a.flickr { background-position: -130px 0px; }
ul#networks li a.linkedin { background-position: -173px 0px; }
ul#networks li a.facebook:hover { background-position: 0px -61px; }
ul#networks li a.youtube:hover { background-position: -43px -61px; }
ul#networks li a.twitter:hover { background-position: -87px -61px; }
ul#networks li a.flickr:hover { background-position: -130px -61px; }
ul#networks li a.linkedin:hover { background-position: -173px -61px; }

#text-1091642001 { margin: 0px !important; }
