/**
 * Theme Name: Tavern News
 * Theme URI: http://wptavern.com
 * Description: A custom child theme for WP Tavern based.
 * Version: 0.3
 * Author: Justin Tadlock
 * Author URI: http://justintadlock.com
 * Tags: theme-options, threaded-comments, sticky-post, microformats, two-columns, fixed-width
 * Template: hybrid
 * Status: publish
 *
 * Copyright (c) 2009 - 2010 Justin Tadlock & Jeff Chandler.  All rights reserved.
 * Modified 2011 by Otto
 */

/* Get base CSS. */
@import url('../hybrid/library/css/20px.css');

/* Get drop-downs CSS. */
@import url('../hybrid/library/css/drop-downs.css');

/**
* Body
************************************************/
body {
	font: 12px/22px Verdana, Geneva, Tahoma, sans-serif;
	background: #241c15 url(images/woodbackground.jpg) repeat;
	}

/* Body container */
#body-container {
	background: url(images/bg.png) repeat-x 0 0;
	}

/**
* Elements
************************************************/

/* Links */
a, a:visited  {
	color: #CC3300;
	text-decoration: none;
	}
a:hover, a:active {
	text-decoration: underline;
	}
.entry-content a {
	color: #CC3300;
	}

/* Headers */
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, Times, 'Times New Roman', serif;
	color: #444;
	}

/* Lists */
.content ul {
	list-style: none;
	margin-left: 20px;
	}
.content ul li {
	overflow: hidden;
	padding-left: 15px;
	background: url(images/bullet.gif) no-repeat 0 6px;
	font-weight: bold;
	}

/* Blockquotes */
blockquote {
	overflow: hidden;
	margin: 0 10px 20px 10px;
	padding: 20px 20px 0 30px;
	font-style: italic;
	color: #444;
	background: #E9E4D4 url(images/quotes.gif) no-repeat 5px 15px;
	border: none;
	}
blockquote blockquote {
	color: #555;
	}
blockquote em {
	font-style: normal;
	}
blockquote.pullquote {
	width: 210px;
	margin-top: 6px;
	margin-bottom: 3px;
	padding: 6px 9px;
	text-align: center;
	font: italic normal normal 20px/22px Georgia, Times, 'Times New Roman', serif;
	color: #444;
	background: transparent;
	border-top: 3px double #DFD5B5;
	border-bottom: 3px double #DFD5B5;
	}
.pullquote p {
	margin: 0;
	}

.guestposter {
	border: 1px solid #DFD5B5;
	padding-bottom: 16px;
	display: block;
	margin-bottom: 20px;
	font-style:italic;
	background: #E9E4D4;
	}

/* Code */
code {
	padding: 0 3px;
	font-size: 12px;
	background: #F8F8F4;
	}
pre {
	overflow: auto;
	padding: 9px;
	font-size: 12px;
	color: #000;
	border: 1px solid #DFD5B5;
	}
pre code {
	padding: 0;
	background: transparent;
	}

/* Tables */
table {
	width: 100%;
	background: #DFD5B5;
	}
caption {
	font: italic normal normal 12px/22px Verdana, Geneva, Tahoma, sans-serif;
	text-align: center;
	color: #666;
	}
tr {
	margin: 1px;
	border: 1px solid #DFD5B5;
	}
td {
	padding: 3px;
	background: #E9E4D4;
	border: 1px solid #DFD5B5;
	}
tr.alt td, tr.even td {
	background: #F8F8F4;
	}
th {
	padding: 3px;
	color: #fff;
	background: #211912;
	border: 1px solid #DFD5B5;
	}
th a {
	font-weight: bold;
	color: #F8F8F4;
	}

/* Acronyms */
acronym {
	border-bottom: 1px dotted #333;
	}

/* Notes */
.note {
	padding: 6px 9px;
	background: #F8F8F4;
	border: 1px solid #DFD5B5;
	}

/* Warnings/Alerts */
.warning, .alert {
	padding: 6px 9px;
	background: #fffbbc;
	border: 1px solid #E6DB55;
	}

/* Errors */
.error {
	padding: 6px 9px;
	background: #ffebe8;
	border: 1px solid #C00;
	}

/* Downloads */
.download {
	padding: 6px 9px;
	background: #e7f7d3;
	border: 1px solid #6c3;
	}

/* Alignment */
.left, .alignleft {
	float: left;
	margin: 0px 10px 0 0;
	}
.right, .alignright {
	float: right;
	margin: 5px 0 0 20px;
	}
.center, .aligncenter {
	display: block;
	margin: 0 auto 20px auto;
	text-align: center;
	}
.block, .alignnone {
	display: block;
	margin: 0 0 20px 0;
	}
.clear {
	clear: both;
	}

/**
* Images
************************************************/
.hentry img {
	max-width: 600px;
	padding: 4px 4px 4px 4px;
	background: #E9E4D4;
	border: 1px solid #AFADA4;
	}
img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}

/* Captions */
.wp-caption {
	max-width: 590px;
	padding: 4px 4px 4px 4px;
	background: #E9E4D4;
	border: 1px solid #DFD5B5;
	text-align: center;
	}
.wp-caption .wp-caption-text {
	margin: 0;
	padding: 0 5px;
	text-align: center;
	font-size: 11px;
	color: #666;
	}
.wp-caption img {
	max-width: 588px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #666;
	}

/* Gallery [gallery] */
.gallery {
	display: block;
	text-align: center;
	margin-bottom: 20px !important;
	}
.gallery img {
	border: 1px solid #3c738c;
	}
.gallery dl {
	margin:0;
}

/* Avatars */
.img-gravatar {
	float:left;
	margin-right: 10px;
	margin-bottom: 0px;
	}
.avatar {
	float: left;
	width: 60px;
	height: 60px;
	margin-right: 20px;
	padding: 4px;
	background: #E9E4D4;
	border: 1px solid #DFD5B5;
	}

/* Thumbnail */
.thumbnail {
	float: left;
	width: 100px;
	height: 100px;
	margin: 0 20px 10px 0;
	padding: 4px;
	background: #E9E4D4;
	border: 1px solid #DFD5B5;
	display: none;
	}

/**
* Secondary Menu (top of page).
************************************************/
#secondary-menu {
	width: 980px;
	height: 25px;
	margin: 0 auto;
	}
#secondary-menu div.menu {
	float: left;
	width: 700px;
	margin: 0 0 0 -15px;
	}
#secondary-menu ul {
	list-style: none;
	margin: 0;
	}
#secondary-menu li {
	float: left;
	margin: 6px 0 0 0;
	padding: 0 0 8px 0;
	}
#secondary-menu li li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #29211A;
	}
#secondary-menu a {
	display: block;
	padding: 0 15px;
	font: normal normal normal 11px/11px Verdana, Geneva, Tahoma, sans-serif;
	color: #a0a09b;
	border-right: 1px solid #a0a09b;
	}	
#secondary-menu li li a {
	padding: 5px 15px 7px 15px;
	border: none;
	}
#secondary-menu a :hover {
	color: #CC3300;
	}

/* Drop-down controls */
#secondary-menu ul ul {
	width: 180px;
	float: left;
	background: #211912;
	}
#secondary-menu li:hover ul {
	top: 19px;
	}
#secondary-menu li ul li {
	width: 180px;
	}
#secondary-menu li ul ul {
	margin: -25px 0 0 180px;
	}

/**
* Search form (in navigation)
************************************************/
#secondary-menu .search {
	float: right;
	width: 200px;
	height: 25px;
	}
#secondary-menu input {
	float: right;
	width: 170px;
	height: 15px;
	margin: 4px 0 0 0;
	padding: 1px 8px 1px 22px;
	font: normal normal normal 11px/15px Verdana, Geneva, Tahoma, sans-serif;
	color: #aaa;
	background: #2F2922 url(images/search-icon.png) no-repeat 5px 0;
	border: 1px solid #3F3F38;
	}
#secondary-menu .search-submit, #secondary-menu .button {
	display: none;
	}

/**
* Header
************************************************/
#header-container {
	overflow: hidden;
	height: 90px;
	border-bottom: 1px solid #021f32;
	background: url(images/headerbg.png) repeat-x;
	}
#header {
	overflow: hidden;
	width: 980px;
	height: 60px;
	margin: 15px auto;	
	}

#site-title {
	float: left;
	width: 450px;
	height: 60px;
	}
#site-title a {
	display: block;
	width: 450px;
	height: 60px;
	background: url(images/siteheader.png) no-repeat 0 0;
	}
#site-title a span {
	display: none;
	}

#site-description {
	display: none;
	}

/**
* Header utility widget
************************************************/
#utility-header {
	overflow: hidden;
	float: right;
	width: 500px;
	height: 60px;
	}
#utility-header .widget {
	line-height: 19px;
	margin: 0;
	padding: 0;
	color: #aaa;
	background: transparent;
	border: none;
	}
#utility-header .widget-inside div, #utility-header .widget-inside img {
	float: right;
	}

/**
* Primary Nav Menu
************************************************/
#primary-menu {
	width: 980px;
	height: 28px;
	margin: 0 auto;
	font: normal normal bold 12px/12px Verdana, Geneva, Tahoma, sans-serif;
	text-transform: uppercase;
	}
#primary-menu div.menu {
	float: left;
	width: 980px;
	height: 25px;
	border-left: 1px solid #CFC8B5;
	}
#primary-menu ul {
	list-style: none;
	margin: 0;
	}
#primary-menu li {
	float: left;
	border-right: 1px solid #CFC8B5;
	}
#primary-menu a {
	display: block;
	padding: 7px 20px 6px 20px;
	text-transform: uppercase;
	color: #555555;
	}
#primary-menu li li a {
	width: 160px;
	font: normal normal bold 10px/10px Verdana, Geneva, Tahoma, sans-serif;
	padding: 8px 10px;
	background: #E1DAC8;
	border-top: 1px solid #CFC8B5;
	}

/* Drop-down controls */
#primary-menu ul ul {
	width: 180px;
	float: left;
	background: #E1DAC8;
	}
#primary-menu li ul li {
	width: 180px;
	}

/**
* Container (content/primary/secondary)
************************************************/
#container {
	overflow: hidden;
	width: 980px;
	margin: 0 auto;
	padding: 20px 0;
	}

.content {
	overflow: hidden;
	height: 100%;
	float: left;
	width: 600px;
	padding: 20px 20px 20px 20px;
	background: #F7F4EA;
	}
.primary-inactive.secondary-inactive .content {
	width: 940px;
	}

/**
* Posts
************************************************/
.hentry {
	clear: both;
	overflow: hidden;
	height: 100%;
	margin-bottom: 20px;
	}
.singular .hentry {
	margin-bottom: 0;
	}
.page-template-blog .hentry, .page-template-page-blog .hentry {
	margin-bottom: 20px;
	}

/* Post title */
.entry-title {
	margin-bottom: 3px;
	font: 20px/23px georgia, times, 'times new roman', serif;
	font-weight: bold;
	}
.entry-title a {
	color: #222;
	}
.singular .entry-title, .error-404-title {
	font: normal normal bold 22px/22px georgia, times, 'times new roman', serif;
	}
.singular-page .entry-title, .singular-attachment .entry-title, .error-404-title {
	margin: 0 0 20px 0;
	}

/* Byline */
.byline {
	font-size: 1.1em;
	font-style: italic;
	color: #777;
	}
.blog .byline, .archive .byline, .search .byline {
	margin-bottom: 3px;
	}
.byline a {
	font-style: normal;
	}

/* Entry */
.entry-content, .entry-summary {
	overflow: hidden;
	font-size: 13px;
	}

/* Entry meta. */
.entry-meta {
	clear: both;
	display: block;
	padding: 5px 0 5px 0;
	font-size: 1.1em;
	font-style: italic;
	color: #777;
	border-top: 1px solid #DFD5B5;
	border-bottom: 1px solid #DFD5B5;
	}
.entry-meta a {
	font-style: normal;
	}

/* Page links */
p.pages {
	font-weight: bold;
	}
p.pages a {
	margin: 0 2px;
	padding: 4px 12px;
	font-weight: normal;
	font-style: italic;
	color: #F8F8F4 !important;
	background: #093653;
	border: 1px solid #F8F8F4;
	}

/* Archive templates */
.archive-title, .search-title {
	font: normal normal bold 22px/22px georgia, times, 'times new roman', serif;
	color: #222;
	}
.archive-info, .search-info {
	overflow: hidden;
	margin: 0 0 20px 0;
	}

/* Attachments. */
.singular-attachment object {
	width: 100%;
	height: 100%;
	min-height: 400px;
	}
.singular-attachment object.video {
	width: 100%;
	height: 360px;
	}
.singular-attachment object.audio {
	width: 100%;
	}
.attachment-image .entry-meta {
	clear: left;
	}
.singular-attachment .download {
	display: block;
	margin-bottom: 20px;
	}
.attachment-application-octet-stream .video {
	height: 400px;
	margin-bottom: 20px;
	}

/* Breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 5px 10px;
	font-size: 1.1em;
	color: #6F6868;
	background: #E9E4D4;
	}

/* WP PageNavi */
.wp-pagenavi {
	overflow: hidden;
	}
.wp-pagenavi .pages, .wp-pagenavi .current, .wp-pagenavi a, .wp-pagenavi .extend {
	float: left;
	margin: 0 6px 0 0;
	padding: 4px 12px;
	color: #F8F8F4 !important;
	background: #28211B;
	border: 1px solid #F8F8F4;
	}

/* Navigation links */
.navigation-links {
	overflow: hidden;
	height: 100%;
	padding: 5px 10px;
	background: #E9E4D4;
	}
.next, .previous {
	max-width: 50%;
	font-size: 13px;
	}
.previous {
	float: left;
	}
.next {
	float: right;
	text-align: right;
	}
#comments-template .paged-navigation {
	text-align: center;
	}
#comments-template .paged-navigation .page-numbers {
	padding: 3px 6px;
	font-style: italic !important;
	border: 1px solid #F8F8F4 !important;
	}
#comments-template .paged-navigation .next, #comments-template .paged-navigation .prev {
	float: none;
	text-align: left;
	border: none !important;
	}

/**
* Widgets in general
************************************************/
.widget {
	overflow: hidden;
	margin: 0 0 20px 0;
	padding: 9px 9px 0 9px;
	background: #E9E4D4;
	border: 1px solid #DEDBD1;
	text-align:justify;
	}
.widget-title {
	height: 19px;
	margin: 0 0 15px 0;
	padding: 3px 10px;
	font: 15px/18px georgia, times, 'times new roman', serif;
	font-weight: bold;
	color: #E9E4D4;
	text-align: center;
	background: url(images/widget-title.png) repeat-x 0 0;
	}
.widget-title a {
	color: #E9E4D4;
	}
.widget ul {
	list-style: none;
	margin-left: 0;
	}
.widget ul li {
	padding: 0  0 0 18px;
	}

/* Widget search */
.widget-search .search-text {
	width: 300px;
	}

/* Widget categories */
.widget-categories img {
	position: relative;
	max-height: 16px;
	top: 1px;
	margin: 0;
	padding: 0;
	}

/**
* Content-area widgets (mostly utility widgets)
************************************************/
.content .widget {
	margin: 0 0 20px 0;
	padding: 5px;
	border: none;
	}
.content .widget ul li {
	list-style: none;
	}
.content .widget-title {
	margin: 0 0 5px 0;
	padding: 0 0 5px 0;
	font: normal normal bold 14px/20px georgia, times, 'times new roman', serif;
	color: #333;
	background: transparent;
	border-bottom: 1px solid #DFD5B5;
	text-align:left;
	}
.content .widget-title a {
	color: #093653;
	}

/**
* Primary and Secondary
************************************************/
#primary, #secondary {
	overflow: hidden;
	float: right;
	width: 320px;
	}
#secondary {
	clear: right;
	}
#primary .widget ul li, #secondary .widget ul li {
	margin: 0 0 5px 0;
	padding: 0 5px 5px 20px;
	border-bottom: 1px solid #DFD5B5;
	}
#primary .widget ul ul, #secondary .widget ul ul {
	margin: 5px 0 0 0;
	}
#primary .widget ul li li, #secondary .widget ul li li {
	margin: 0 0 2px 0;
	padding: 0 0 2px 20px;
	border: none;
	}
#primary object, #secondary object {
	float: left;
	width: 300px;
	padding: 0;
	margin: 0 0 9px 0;
	}

/**
* Comments
************************************************/
#comments-template {
	margin-top: 20px;
	}

/* Comment headers */
#comments-number, #reply {
	margin: 0 0 20px 0;
	padding: 5px 10px;
	font-size: 1.5em;
	background: #E9E4D4;
	}

/* Comments are closed */
.comments-closed {
	color: #666;
	font-style: italic;
	}

/* Comment list */
#comments-template ol {
	list-style: none;
	margin: 0;
	}

/* Individual comments */
#comments li {
	overflow: hidden;
	margin: 0 0 15px 0;
	padding: 15px 15px 0 15px;
	color: #333;
	background: #E9E4D4;
	border-top: 1px solid #DFD5B5;
	border-bottom: 1px solid #DFD5B5;
	}
#comments li li, #comments li li li li, #comments li li li li li li {
	background: #fff;
	}
#comments li li li, #comments li li li li li {
	background: #E9E4D4;
	}

/* Comments by the entry author. */
#comments li.entry-author {
	background: #F7F4EA;
	}

/* Avatar */
#comments li .avatar {
	width: 40px;
	height: 40px;
	float: left;
	margin-right: 20px;
	padding: 0;
	border: 1px solid #666;
	}

/* Comment meta data */
#comments .comment-author {
	font-weight: bold;
	}
#comments .comment-meta {
	margin-bottom: 15px;
	background: #F7F4EA;
	}

/* Comment text */
.comment-text {
	clear: left;
	font-size: 13px;
	}

/* Forms */
.text-input {
	display: block;
	padding: 3px 6px;
	width: 300px;
	font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif;
	}
#comments-template label {
	font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif;
	}
textarea {
	clear: left;
	display: block;
	width: 98%;
	font: 14px/20px Arial, 'Helvetica Neue', Helvetica, sans-serif;
	background: #F5F4F0;
	}
.button, #submit {
	width: 100px;
	margin-right: 9px;
	padding: 6px 9px;
	font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-weight: bold;
	color: #363636;
	background: #E9E4D4;
	border: none;
	}
.button:hover, #submit:hover {
	cursor: pointer;
	background: #DFDFDF;
	}
.search-form input {
	margin-right: 9px;
	}

/**
* Footer container (wraps Subsidiary and Footer)
************************************************/
#footer-container {
	overflow: hidden;
	clear: both;
	padding: 2px 0 0 0;
	background: #302319;
	border-top: 3px solid #00070F;
	}

/**
* Subsidiary
************************************************/
#subsidiary {
	overflow: hidden;
	width: 1000px;
	margin: 0 auto 14px auto;
	padding: 2px 0 0 0;
	}
#subsidiary .widget {
	overflow: hidden;
	float: left;
	width: 210px;
	margin: 0;
	padding: 15px 20px 0 20px;
	font: 12px/21px Arial, 'Helvetica Neue', Helvetica, sans-serif;
	color: #AAAAAA;
	background: transparent;
	border: none;
	}
#subsidiary .widget-title {
	margin: 0 0 3px 0;
	padding: 0 0 3px 0;
	font-size: 15px;
	color: #E9E4D4;
	background: transparent;
	border-bottom: 1px solid #6F5445;
	text-align: left;
	}
#subsidiary a {
	color: #E9E4D4;
	}
#subsidiary .widget ul {
	margin-left: 0;
	}
#subsidiary .widget ul li {
	margin: 0 0 3px 0;
	padding: 0 5px 3px 5px;
	background: transparent;
	border-bottom: 1px solid #5F4435;
	}

/**
 * Subsidiary Menu
 ***********************************************/
#subsidiary-menu {
	overflow: hidden;
	clear: left;
	float: left;
	margin-bottom: 5px;
	}
#subsidiary-menu ul {
	overflow: hidden;
	float: left;
	margin: 0;
	border-right: 1px solid #E9E4D4;
	}
#subsidiary-menu li {
	margin-right: 15px;
	padding-left: 15px;
	border-left: 1px solid  #E9E4D4;
	}
#subsidiary-menu a:hover {
	text-decoration: underline;
	}

/**
* Footer
************************************************/
#footer-container {
	overflow: hidden;
	clear: both;
	padding: 2px 0 0 0;
	background: #28211B url(images/footerborder.gif) repeat-x;
	background-position: top;
	border-top: 0px solid #fff;
	}
#footer {
	overflow: hidden;
	width: 980px;
	margin: 0 auto;
	padding: 5px 0 0 0;
	color: #E9E4D4;
	}
#footer a {
	font-style: normal;
	color: #aaa;
	}
#footer .copyright {
	display: inline;
	float: left;	
	margin-right: 9px;
	}


/* WP Syntax */
.wp_syntax {  color: #100;  background-color: #E9E4D4;  border: 1px solid silver;  margin: 0 0 1.5em 0;  overflow: auto;}/* IE FIX */.wp_syntax {  overflow-x: auto;  overflow-y: hidden;  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);  width: 100%;}.wp_syntax table {  border-collapse: collapse;}.wp_syntax div, .wp_syntax td {  vertical-align: top;  padding: 2px 4px;}.wp_syntax .line_numbers {  text-align: right;  background-color: #def;  color: gray;  overflow: visible;}/* potential overrides for other styles */.wp_syntax pre {  margin: 0;  width: auto;  float: none;  clear: none;  overflow: visible;  font-size: 12px;  line-height: 1.333;}


/* Post Formats */
.format-chat .entry-content {
	background-color: #f7f7f7;
	border: 1px solid #d7d7d7;
	margin: 2em;
	padding: 1em 1em 0 1em;
	font-family:monospace;
}

.format-quote .entry-content {
	overflow: hidden;
	margin: 0 10px 20px 10px;
	padding: 20px 20px 0 30px;
	font-style: italic;
	color: #444;
	background: #E9E4D4 url(images/quotes.gif) no-repeat 5px 15px;
	border: none;
}

.format-quote .entry-content blockquote {
	color: #555;
}

.format-quote .entry-content em {
	font-style: normal;
}

.format-quote .quoted {
	float:right;
}

body.home .format-quote .entry-title, 
body.home .format-quote .byline,
body.archive .format-quote .entry-title, 
body.archive .format-quote .byline {
	display:none;
}

body.home .format-aside .entry-title, 
body.home .format-aside .byline, 
body.home .format-aside .entry-meta,
body.archive .format-aside .entry-title, 
body.archive .format-aside .byline, 
body.archive .format-aside .entry-meta {
	display:none;
}

body.home .format-aside .entry-content,
body.archive .format-aside .entry-content {
	border-bottom:1px solid #dfd5b5;
}

body.home .format-link .entry-title, 
body.home .format-link .byline, 
body.home .format-link .entry-meta,
body.archive .format-link .entry-title, 
body.archive .format-link .byline, 
body.archive .format-link .entry-meta {
	display:none;
}

body.home .format-link .entry-content,
body.archive .format-link .entry-content {
	border-bottom:1px solid #dfd5b5;
}

body.home .format-status .entry-title, 
body.home .format-status .byline, 
body.home .format-status .entry-meta,
body.archive .format-status .entry-title, 
body.archive .format-status .byline, 
body.archive .format-status .entry-meta {
	display:none;
}

body.home .format-status .entry-content,
body.archive .format-status .entry-content {
	border-bottom:1px solid #dfd5b5;
}

body.home .format-gallery .gallery-thumb,
body.archive .format-gallery .gallery-thumb {
	float:left;
	margin-right:1em;
}



