/*  
Theme Name: Gravy
Theme URI: http://www.darrenhoyt.com/products/gravy/
Description: A Baseline Theme for WordPress. 
Version: 1.4
Author: Darren Hoyt
Author URI: http://www.darrenhoyt.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php


TABLE OF CONTENTS
 
  Inherited Styles
  HTML Tags
  Structure
  Headers
  Content Styles
  Form Elements
  Footer
  


/* ---------- @ Inherited Styles -----------*/

@import url('css/nav.css');
@import url('css/posts.css');



/* ---------- @ HTML Tags -----------*/


* {
	margin:0;
	padding:0;
	outline:none;
	}

body,html {
	min-height:101%; /*Firefox scrollbar fix*/
	}
	
body {
	background:#F8F8F5;
	color: #111;
	border-top:3px solid #7d7d7c;
	padding:8px 0;
	}

body, select, input, textarea {
	font: 100% "minion-pro-1", "minion-pro-2", Palatino, Georgia, "Times New Roman", serif; /*Global font-size reset*/;
	}
	
p {	
	margin: 15px 0 18px;
	line-height:150%;
	}

strong {font-weight: 600;}

a, a:visited {
	color: #9C0001;
	}

a:hover, a:active {
	color:#cd0001;
	}
	
hr {
	display: block;
	height:1px;
	background:#CCC;
	border:0;
	color:#CCC;
	}

table {
	border-collapse:collapse;
	width:100%;
	margin:15px 0;
	}

td {
	padding:4px 6px;
	border-top:1px solid #CCC;
	}

tr {
	background:#e3e3e3;
	}
	
table caption {
	background:#FFF;
	padding:2px 0;
	}	
	
blockquote {
	color:#5a5a5a;
	padding:0 18px;
	margin:25px 45px;
	border-left:3px solid #CCC;
	font-style:italic;
	font-size:1em;
	letter-spacing:.03em;
	}

a img {border: none;}

/* ---------- @ Structure -----------*/

#main {
	overflow:hidden;
	padding:30px 30px 50px;
}

#wrapper {
	font-size:.8em /*Global content font-size*/;
	background:#FFF;
	overflow: hidden;
	padding: 4px;
	}

#page {width: 42em;margin:0 auto; background: url(images/shadow.png) 0 25px no-repeat; padding: 28px 2px 0}

#masthead {
	background:#dadada;
	padding:55px 28px 27px;
	overflow:hidden;
	}

#branding {
	float:left;
	width:22em;
	}
	
/*#content {
	width:565px;
	float:left
	}
*/

#sidebar {
	width: 260px;
	float:right;
	background:#f2f2f2;
	padding:0 20px 20px;
	display: none;
	}

.left {
	float:left
	}

.right {
	float:right
	}
	
.inner {
	border:1px solid #DCD9D5;
	padding: 0 3em;
	}	

#social {
	margin: 1.85em 0 0 43em; 
	list-style: none outside none; 
	position: absolute;
	}

#social li {
	margin-bottom: .6em;
	}	
		
#social li a {
	display:block; 
	width: 32px; 
	height: 32px; 
	text-indent: -999em; 
}

#icon-twitter {background: url(images/social_twitter.png);}
#icon-facebook {background: url(images/social_facebook.png);}
#icon-rdb {background: url(images/social_rdb.png);}

#social li a:hover, #social li a:active {background-position:0 -32px;}

	
/* ---------- @ Headers -----------*/

h1, h2, h3, h4, h5, h6 {
	font-weight:600;
	}

h1.pagetitle {
	border-bottom:1px solid #d7d7d7;
	padding-bottom: 12px;
	margin-bottom:20px;
	}

.page-template-mobile-welcome-php h1.posttitle {
	border-top:3px double #DCD9D5;
	padding-top: 32px;
	margin-bottom: -10px
	}

.search h1.pagetitle {border: none; padding: 0 0 10px; margin: 0;}
	
h2 {
	margin: 25px 0 20px;
	}

.entry h2 {
	font-size:1.4em;
	margin: 27px 0 -12px;
	}
	
h2.posttitle, h1.posttitle {
	margin:0;
	font-size: 2.2em;
	line-height: 1.1em
	}

#sidebar h3 {
	border-bottom:3px solid #CCC;
	padding-bottom:5px;
	margin:22px 0 10px;
	color:#939393;
	font:normal .85em Arial, Helvetica, sans-serif;
	letter-spacing:.08em;
	text-transform:uppercase
	}

.entry h3 {
	font-size:1.6em;
	}
	
#respond h3, h3#comments, h3#trackbacks {
	margin:45px 0 20px;
	font-weight:bold;;
	font-size:1.5em;
	}

#respond h3 {margin-bottom: 0;}

h3#comments {
	margin:32px 0 12px;
	border-top: 3px double #DCD9D5;
	padding-top: 14px;
	}

h4 {
	font-size:1.4em; 
	}
	
h5 {
	font-weight: bold;
	font-size: 1.2em
	}

h6 {
	font-weight: bold;
	font-size: 1em;
	}



	
/* ---------- @ Content Styles -----------*/

/*Misc*/

#back {margin: 0; 
	text-align: right; 
	font-size:.9em; 
	padding-bottom: 6px;}

#logo {
	font-size: 2.3em;
	padding: 4px 0 0
	}

#description {
	font-style: italic;
	font-size: 1.2em;
	color:#939393;
	margin:-.2em 0 0 0;
	padding-left: 3.2em;
	}
	
.commentcount {
	padding-left: 17px;
	background:url(images/bubble.gif) no-repeat;
	margin-left:14px;
	}

.more-link {
	display:block;
	margin-top:12px;
	clear:both
	}


/*Custom Welcome Pages*/

.page-template-mobile-welcome-php #page {
	/*width:50em; T+L: width needed for iOS welcome page image assets */
	}

.page-template-mobile-welcome-php #social, 
.page-template-mobile-welcome-php #searchform, 
.page-template-mobile-welcome-php #footer {
	display: none
	}

.page-template-mobile-welcome-php #main {
	padding:10px 0 15px;
	}
	
	


/* Author Page*/

#writer {
	overflow:hidden;
	background:#f2f2f2;
	margin-bottom:20px;
	padding:16px;
	}

#writer p {
	margin-top:0;
	}
		
#writer .avatar {
	margin:4px 17px 7px 0
	}



/* Search and Archives*/

#no-results {
	border-top:1px solid #d7d7d7;
	padding-top: 8px;
	}
	
.search-highlight {
	background:#FFFF00	
	}

#comment_pagination {
	margin-top:22px;
	overflow:hidden;
	display: none;
	}

#archive_pagination {
	overflow: hidden;
	padding: 20px;
	text-align: center
	}
	
.current-numeric-page {
	padding: 5px 8px;
	}
	
#archive_pagination a, #archive_pagination a:visited {
	border:1px solid #CCC;
	padding: 5px 8px;
	text-decoration: none;
	}
	
#archive_pagination a:hover {
	background: #f5f5f5;
	}

#archive_pagination a:active {
	background:#e6e6e6;
	border-color:#bebebe;
	}
		
#comment_pagination div {
	float:left;
	margin-right:10px;
	}

a #icon-rss {
	border:none
	}

.archive #icon-rss {
	vertical-align: middle;
	margin-left:3px;
	}		
		
	

/*Sidebar and Widgets*/

.widget {
	margin-bottom:20px;
	overflow:hidden
	}
	
.widget li {
	list-style:none;
	border-bottom:1px solid #CCC;
	padding:6px 0;
	line-height:140%;
	}

.widget li a, .widget li a:visited {
	color:#111;
	text-decoration:none
	}

.widget li a:hover, .widget li a:active {
	color:#6d6d6d;
	}

.widget li.current_page_item a, .widget li.current_page_item a:visited, 
.widget li.current-cat a, .widget.current-cat a:visited {
	font-weight:bold
	}

.widget li.current_page_item li a, .widget li.current_page_item li a:visited, 
.widget li.current-cat li a, .widget li-current-cat li a:visited {
	font-weight:normal;
	}
			
.widget li li {
	margin-left:34px;
	border:0;
	list-style:disc;
	}

#wp-calendar tr {
	background:#f2f2f2;
	}
	
#wp-calendar td {
	text-align:center;
	padding:3px;
	}	
	
#recentcomments {
	color: #787878;
	}

#recentcomments a, #recentcomments a:visited {
	font-style:italic
	}

#recentcomments a.url, #recentcomments a.url:visited {
	font-weight:bold;
	font-style:normal;
	}

a.rsswidget, a.rsswidget:visited {
	font-weight: bold
	}

.rssSummary {
	line-height:160%;
	}
	
#wp125adwrap_2c {
	overflow:hidden
	}

#wp125adwrap_2c .wp125ad {
	float:left;
	margin-right: 8px;
	}	

.wp125ad a img {
	border:none;
	}

#wp125adwrap_2c div+div {
	margin:0 !important;
	}

#footer-widgets {
	overflow: hidden;
	background: #f1f1f1;
	}
	
#footer-widgets .widget {
	width: 270px;
	float: left;
	margin: 0 20px 0 30px;
	padding:20px 0 35px;
	} 		
	
	
/* ---------- @ Form Elements -----------*/

#author, #email, #comment, #url, #searchfield {
	background:#FFF !important;
	padding:4px;
	border-width:1px;
	border-style:solid;
	border-color: #6d6d6d #bfbfbf #bfbfbf #6d6d6d;
	-moz-box-shadow:2px 2px 0 0 #F8F8F5 inset;
	box-shadow:2px 2px 0 0 #F8F8F5 inset;
	-webkit-box-shadow:2px 2px 0 0 #F8F8F5 inset;
	}

#author, #email, #url {
	width:220px;
	}
		
.button {
	padding: 8px 14px 6px;
	background:#424242;
	border-style:solid;
	border-width:1px;
	border-color:#bbbbbb #a2a2a2 #9a9a9a;
	font-size:1.2em;
	background: url(images/bg_button.jpg) repeat-x;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	-moz-box-shadow: 0 1px 0 rgba(226,226,223,1);
	-webkit-box-shadow: 0 1px 0 rgba(226,226,223,1);
	box-shadow: 0 1px 0 rgba(226,226,223,1);
	}

.button:hover {
	border-color:#7a7a7a
	}

.button:active {
	background-position:0 -55px;
	}
	
#commentform textarea {
	width: 98%;
	height:250px;
	}

#masthead #searchform {
	float:right;
	width:183px;
	text-align:right;
	padding:6px 15px 6px 4px;
	background: #f8f8f5;
	margin-top:10px;
	}

#searchsubmit {opacity:.7}
#searchsubmit:hover {opacity:1}

#searchfield {
	width:77%;
	border: none;
	border-color:#babab6 #dfdfdb #dfdfdb #babab6;
	border-width:1px;
	border-style: solid;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	}

#searchfield:focus {
	border-color:#9b9b95 #cecec8 #cecec8 #9b9b95
	}

#searchform, #searchfield {	
	-moz-border-radius:30em;
	border-radius:30em;
	-webkit-border-radius:30em;
	padding: 3px 7px;
	}
		
#searchsubmit {
	vertical-align:top;
	margin-top: -2px;
	}		
	



/* ---------- @ Footer -----------*/

#footer {
	font-size:.8em;
	overflow:hidden;
	padding: 12px 18px 16px;
	}

#footer .left {
	float:left;
	width:50%;
	}

#footer.right {
	float:right;
	width:50%;
	text-align: right
	}
	
#footer img {
	vertical-align: middle;
	margin-right:5px;
	}

.entry img { max-width: 100%; }
		