/*
Theme Name: Buy from the Backyard
Theme URI: http://buyfromthebackyard.com/
Description: Theme for buyfromthebackyard.com/.
Version: 1.0
Author: NA
Author URI: NA
Tags:  local, agricultural, products
*/

/* reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
	margin:0;
	padding:0;
} 

table { 		
	border-collapse:collapse;
	border-spacing:0;
}

fieldset,
img {
	border:0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style:normal;
	font-weight:normal;
}

ol,
ul {
	list-style:none;
}

caption,
th {
	text-align:left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size:100%;
	font-weight:normal;
}

q:before,
q:after {
	content:'';
}

abbr,
acronym {
	border:0;
}

/* body */
body {
	background: url(images/background-p.gif) repeat;
	font: 62.5% Arial, Helvetica;
	text-align: center;
}

#wrapper {
	background: url(images/background-h.gif) repeat-x;
}

#page {
	margin: 0 auto;
	padding: 23px 11px 23px 0;
	width: 929px;
	text-align: left;
}

/* general */
#body,
.farm-row,
#error-items {
	clear: both;
}


#of-the-week {
	color: #374228;
}

#login a,
#end-b a,
#design-by a {
	color: #fff;
}

label,
input[type="submit"],
#category-list li {
	cursor: pointer;
}

#sidebar li a,
ul#category-list li.open ul,
.read-more  {
	display: block;
}

#end-t span,
#end-t h2 {
	display: inline;
}

#login label,
ul#category-list li.closed span.b-p,
ul#category-list li.open span.b-m {
	display: inline-block;
}

#login br,
ul#category-list ul,
ul#category-list li.closed span.b-m,
ul#category-list li.open span.b-p {
	display: none;
}

#header img,
#sidebar li,
#aside,
#bftby-2 #main img,
#of-the-week,
#list-a,
#error-items,
.farm-image {
	float: left;
}

#sidebar,
#content,
#search-farms,
#list-b,
#search-farms #search {
	float: right;
}

#end-t,
#main,
#search-farms h3 {
	font-size: 1.2em;
}

#login,
#end-b {
	font-size: 1.1em;
}

strong,
#of-the-week h3,
#search-farms h3,
#login,
#login h2,
input[type="submit"],
.entry h4 {
	font-weight: bold;
}

#page,
#main,
.farm-row {
	overflow: hidden;
}

#sidebar ul li a {
	text-indent: -300em;
}

#end-b,
#footer {
	text-align: center;
}

#login h2,
#login p, 
#login label,
#login p.submit,
.sidebarlogin_otherlinks,
input[type="submit"] {
	text-align: right;
}

#end-t h2,
#login h2,
input[type="submit"] {
	text-transform: uppercase;
}

#login h2 span {
	text-transform: none;
}

/* nav */

#sidebar ul {
	width: 649px;
}

#sidebar ul li a {
	background: url(images/nav-bar.gif) no-repeat;
	height: 68px;
}

#sidebar li.page-item-2 a {
	background-position: top left;
	width: 81px;
}

#sidebar li.page-item-2 a:hover,
#sidebar li.page-item-2.current_page_item a {
	background-position: bottom left;
}

#sidebar li.page-item-4 a {
	background-position: -81px 0;
	width: 88px;
}

#sidebar li.page-item-4 a:hover,
#sidebar li.page-item-4.current_page_item a {
	background-position: -81px -68px;
}

#sidebar li.page-item-6 a {
	background-position: -169px 0;
	width: 59px;
}

#sidebar li.page-item-6 a:hover,
#sidebar li.page-item-6.current_page_item a {
	background-position: -169px -68px;
}

#sidebar li.page-item-8 a {
	background-position: -228px 0;
	width: 62px;
}

#sidebar li.page-item-8 a:hover,
#sidebar li.page-item-8.current_page_item a {
	background-position: -228px -68px;
}

#sidebar li.page-item-11 a {
	background-position: -290px 0;
	width: 79px;
}

#sidebar li.page-item-11 a:hover,
#sidebar li.page-item-11.current_page_item a {
	background-position: -290px -68px;
}


#sidebar li.page-item-13 a {
	background-position: -369px 0;
	width: 95px;
}

#sidebar li.page-item-13 a:hover,
#sidebar li.page-item-13.current_page_item a {
	background-position: -369px -68px;
}

#sidebar li.page-item-15 a {
	background-position: -464px 0;
	width: 66px;
}

#sidebar li.page-item-15 a:hover,
#sidebar li.page-item-15.current_page_item a {
	background-position: -464px -68px;
}

#sidebar li.page-item-17 a {
	background-position: -530px 0;
	width: 119px;
}

#sidebar li.page-item-17 a:hover,
#sidebar li.page-item-17.current_page_item a {
	background-position: -530px -68px;
}


/* content */
#body {
	padding: 2px 0 0 0;
}

#aside {
	width: 277px;
}


#content {
	width: 649px;
}

#end-t,
#end-b {
	background: url(images/content-ends.png) no-repeat;
}

#end-t {
	color: #eef9d7;
	height: 35px;
	line-height: 35px;
	padding-left: 15px;
}

#end-t h2 {
	padding-left: .5em;
}

#main {
	background: url(images/content-main.png) repeat-y;
	padding: 21px 51px;
}

#bftby-2 #main,
#bftby-4 #main  {
	padding: 21px;
}

.entry a,
.post h2 a,
.postmetadata a {
	color: #444343;
}

.entry p {
	margin-bottom: 1.2em;
	line-height: 1.4em;
}

.read-more {
	margin-bottom: 1em;
}

.postmetadata {
	margin-bottom: 2em;
}

#end-b {
	background-position: bottom;
	color: #fff;
	height: 43px;
	line-height: 34px;
}

	/* login */
	#login h2,
	#login label,
	#login input[type="submit"] {
		color: #ffffff;
	}
	
	#login {
		padding: 5px 5px 0 0;
	}
	
	#login p {
		height: 2.5em;
		line-height: 2.5em;
	}
	
	#login span {
		padding-right: .5em;
	}
	
	#login h2 span {
		padding: 0;
	}
	
	#login input[type="text"],
	#login input[type="password"] {
		width: 158px;
	}
	
	input[type="submit"] {
		background: transparent;
		border: 0 none;
		border-bottom: 1px solid #fff;
		font-size: .9em;
	}
	
	/* homepage */
	#post-2 img {
		margin-right: 20px;
	}
	
	
	#week-search {
		border-top: 1px dotted #7a794d;
		margin-top: 19px;
		padding-top: 8px;
	}
	
	#week-search img {
		margin-right: 12px;
	}
	
	#of-the-week,
	#search-farms {
		width: 290px;
	}
	
	.feature {
		background: url(images/background-feature.gif) no-repeat;
		padding: 7px 15px;
		width: 246px;
		height: 86px;
		margin: 17px 0 10px 0;
	}
	
	#of-the-week {
		border-right: 1px dotted #7a794d;;
	}
	
	
	#search-farms h3 {
		padding-bottom: 1em;
	}
	
	#search-farms p {
		margin-bottom: 1em;
	}
	
	#search-farms label {
		padding-right: .5em;
	}
	
	#search-items {
		padding-top: 1em;
	}
	
	#search-items li {
		line-height: 1.5em;
	}
	
	#search-items li label {
		padding-left: .5em;
	}
	
	#search {
		margin-top: 1em;
	}
	
	.error-message{
		color: #800000;
		padding-left: 1em;
	}
	
	/* search listings */
	.farm-row {
		border-bottom: 1px dotted #7a794d;;
		padding: 16px 0 21px 0;
	}
	
	.farm-image {
		padding-right: 21px;
	}
	
	.farm-info {
		margin-left: 180px;
	}
	
	
/* calendar */
div.kjo-link,div.kjo-link a { color: #fff;}


/*  */
#footer {
	color: #fff;
	padding-left: 277px;
}




