/*  
Theme Name: Books Through Bars
Theme URI: http://www.booksthroughbars.org/
Description: Theme for Books Through Bars.
Version: 1.0
Author: Books Through Bars Philadelphia
Author URI: http://www.booksthroughbars.org/

	BTB v1.0

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

* {
  margin: 0;
  padding: 0;
}

p {
  margin: 0.6em 0;
}

body {
  font-family: Verdana, Sans-Serif;
  font-size: 0.77em;
  background-color: #FEFDFC;
  color: #181818;
}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
/*	line-height: 1.4em; */
	}

.widecolumn {
/*	line-height: 1.6em; */
	}

.narrowcolumn .postmetadata {
  text-align: center;
}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: small;
/*	font-size: 0.9em; */
/*	line-height: 1.5em; */
	}

h2, h3 {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

#headerimg .description {
/*	font-size: 1.2em; */
	}

h2 {
	font-size: large;
}

h2.pagetitle {
	font-size: large;
}

.widget {
  text-align: center;
  
}

#sidebar h2 {
	font: 1.1em 'Lucida Grande', Verdana, Sans-Serif;
	}

h3 {
	font-size: medium;
	}

h2, h3 {
	color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #b8694a;
}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 0.85em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 0.7em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.8em;
	letter-spacing: .12em;
	}

a, h2 a:hover, h3 a:hover {
  color: #883b1e;
}

a:hover {
	color: #080965;
	text-decoration: underline;
	}

#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.0em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
  margin: 0 0 1em 0;
}

#top {
  margin: 0px auto;
  width: 810px;
}

#topimg {
  width: 235px;
  height: 42px;
}

#header {
  height: 173px;
  width: 808px;
}

#headerimg {
  width: 235px;
  height: 172px;
}

#headercontent {
  margin: 0 0 0 235px;
  padding: 20px 0 10px 0;
/*
  border: green solid 1px;
*/
}

.narrowcolumn {
  float: left;
/*	padding: 0 20px 20px 45px; */
/*	margin: 0; */
/*	width: 540px; */
/*	border-right: #bbb solid 1px; */
}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 540px;
	}

.post {
	padding-bottom: 1.2em;
}

.post h2 {
  border-bottom: 1px dashed #cac9c5;
  padding: 0 0.5em 0.2em;
  margin-bottom: 0.3em;
  font-size: 1.3em;
}

.post h3 {
  border-bottom: 1px dashed #cac9c5;
  padding: 0 0.5em 0.2em;
  margin: 1.6em 0 0.3em;
  font-size: 1.2em;
  text-transform: capitalize;
  color: #454342;
}

.widecolumn .post {
	}

/*
.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}
*/

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
  visibility: hidden;
  max-width: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  clear: left;
}

/* End Structure */



/*	Begin Headers */

h2.pagetitle {
	text-align: center;
}

#sidebar h2 {
}

h3 {
	margin: 0.6em 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

img.with-text {
	margin: 2px 12px;
	display: inline;
}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}

/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	padding-left: 10px;
} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

/*
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
*/

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
  list-style-type: none;
  list-style-image: none;
  padding: 12px 0;
  border-bottom: 1px dashed #cac8c5;
}

/*
#sidebar ul li:last-child,
#sidebar ul li.last-child {
  border-bottom: 0 none;
}
*/

#sidebar ul li ul li {
  border-bottom: 0 none;
}

#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;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	padding: 5px 3px; 
	text-align: center;
}

#sidebar #searchform #s {
	font-size: 1em;
	width: 10em;
	max-width: 100px;
	padding: 0;
}

#sidebar #searchform #searchsubmit {
	font-size: 1em;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
  visibility: hidden; width: 0; height: 0;
  text-align: center;
}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */


/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
/*
	margin-top: 10px;
	margin-bottom: 60px;
*/
	}
/* End Various Tags & Classes*/

.special-em {
  margin: 1.5em 0;
  padding: 1em;
  border: 1px dashed #bdbcba;
  background-color: #f7f6f4;
}

#navbarcont {
  z-index: 2;
}

ul.navbar {
  font-family: Verdana, Sans-Serif;
/*
  font-size-adjust: none;
  font-stretch: normal;
*/
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  list-style-type: none;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2em;
  height: 1.575em;
  padding-left: 208px;
  min-width: 694px;
  text-align: left;
}

ul.navbar li {
  float: left;
  display: inline;
}

ul.navbar li a, ul.navbar li a:hover, ul.navbar li a:visited {
  display: block;
  padding: 0.1875em 0.875em;
  background-color: transparent;
  color: #fff;
  font-weight: bold;
  text-transform: capitalize;
  text-decoration: none;
}

ul#mainnavbar {
  background-color: #e9e7e5;
  border-top: 0.375em solid #225;
  border-bottom: 0.0625em solid #efedeb;
  font-size: 16px;
}

ul#mainnavbar li {
  margin-right: 0.0625em;
}

ul#mainnavbar li a, ul#mainnavbar li a:hover, ul#mainnavbar li a:visited {
  text-transform: uppercase;
}

ul#subnavbar {
  background-color: #dcdad9;
  font-size: 14px;
}

ul#subnavbar li {
  border-right: 0.0625em solid #dcdad9;
}

ul#subnavbar li a, ul#subnavbar li a:hover, ul#subnavbar li a:visited {
}

ul#subnavbar li a:hover {
  text-decoration: underline;
}

#mast img {
  margin-top: 63px;
}

#mast {
  position: absolute;
  left: 20px;
/*
 * To compute top, use the following assumptions as example:
 *   - #mast background image height = 74px
 *   - ul#mainnavbar font size = 16px
 *   - ul#subnavbar font size = 14px
 *   - ul.navbar height = 1.575em
 *   - ul#mainnavbar top/bottom borders = 0.375em and 0.0625em
 *   - #mastline top border = 1px
 * do:
 *   16 * (1.575 + 0.375 + 0.0625) + 14 * 1.575 + 1 - 74
 * Round result to nearest integer.
*/
  top: -8px;
  background: #faf9f7 url(http://www.booksthroughbars.org/wp-content/themes/btb/images/btblogotop3.png) no-repeat top center;
  border: 3px double #224;
  border-top: 0;
  margin: 0; padding: 0;
  z-index: 5;
}

#masttext {
  line-height: 1.8em;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  text-align: center;
  padding: 10px 6px;
  border-top: 1px black solid;
  background: #e4e4e4 url(http://www.booksthroughbars.org/wp-content/themes/btb/images/btblogobot3.png) no-repeat top center;
/*
  width: expression("170px");
*/
  width: 170px;
  max-width: 170px;
}

#mastline {
  z-index: 10;
  position: relative;
  max-height: 0;
  border-top: 1px solid #74716e;
  min-width: 902px;
}

#page {
  float: left;
  width: 694px;
  min-height: 150px;
  padding-left: 208px;
  text-align: left;
  background: transparent url(images/vborder.gif) repeat-y scroll 737px 0;
}

#content {
  padding: 1.4em 22px;
  width: 485px;
  line-height: 1.55em;
}

#sidebar {
  padding: 1em 0 1.4em 12px;
  width: 148px;
}

img#donate_widget {
  border: 0 none;
  padding: 0 18px;
  width: 106px;
  height: 38px;
}

img#merch {
  border: 1px solid #ddd;
  padding: 2px;
}

img#pbpmap {
  border: 1px solid #ddd;
  padding: 2px;
  margin-top: 2px;
}

#footer {
  clear: both;
  margin-bottom: 20px;
  padding: 8px;
  background-color: #f5f5f5;
  text-align: center;
  border-width: 1px 0;
  border-style: dotted;
  border-color: #bbb;
  font-size: 0.8em;
  color: #444;
}

#footer p {
  margin: 0;
}

.mailing-address {
  border: 1px dashed #b7b5b2;
  background-color: #f7f5f2;
  padding: 10px 15px;
  margin: 5px 10px;
  white-space: nowrap;
}

.phone-number {
}

.mailing-address p, .phone-number p {
  margin: 0;
}

.quote-attrib {
  font-size: 0.9em;
  font-style: italic;
  padding-left: 1.5em;
}

.admin-post-link {
}

#signupResult {
  border: 1px solid #bbb;
  margin: 6px 0 0 0; padding: 1px;
}

.successMsg {
  border: 1px dotted #595;
  background-color: #aea;
}

.failureMsg {
  border: 1px dotted #955;
  background-color: #eaa;
}
