﻿/*
Theme Name: FoodBank
Theme URI: 
Description: 
Version: 1.0
Author: 
Author URI: 
*/

/* LAST UPDATED 09.16.09 */

/*

	Table of Contents

	I.    DEFAULTS
	II.   NAVIGATION
	III.  STRUCTURE & TYPOGRAPHY
	IV.   TABLES
	V.    FORMS
	VI.   HEADINGS
	VII.  CLEARFIX
	VIII. WORDPRESS SPECIFIC

*/

/* -----------------------------------------------------------
		I. DEFAULTS
----------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	outline: none;
}

body {
	background: #a7d700 url('images/bg.jpg') top repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #111;
	text-align: center;
}

p { padding: 0 0 14px 0; }

a {
	color: #ffa000;
	text-decoration: underline;
		/* get rid of link outlines in firefox */
		outline-color: invert;
		outline-style: none;
		outline-width: medium;
}

a:hover { color: #000; }

/* Image Defaults */

a img { border: 0; }

img.border, img.alignRight, img.alignLeft {
	padding: 4px;
	border: 1px #e1e1e1 solid;
	background: #fff;
}

img.alignRight {
	float: right;
	margin: 2px 0 2px 14px;
}

img.alignLeft {
	float: left;
	margin: 2px 14px 2px 0;
}

/* Lists */

ul { list-style: square; }
ol { list-style: lower-roman; }

#content ul, ol {
	margin-left: 25px;
	padding-bottom: 7px;
}

#content li { padding-bottom: 7px; }

.photo, .photoleft, .photoright {
	display: inline-block;
	padding: 1px;
	background-color: #ffffff;
	border: 1px gray solid;
}

.photoleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.photoright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.left { float: left;}
.right { float: right;}
.center	{ 	text-align:center;}
.underline	{ 	text-decoration: underline;}


hr.divider	{
	height: 0px;
	color: #ffa000;
	width: 80%;
	border-bottom: 2px solid #ffa000;
	margin: 20px 0 20px 50px;
}

	.smaller	{
		font-size: .8em;
	}
	
	
	.story {
	clear:both;
}


/* -----------------------------------------------------------
		II. NAVIGATION
----------------------------------------------------------- */

#nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 34px;
	overflow: hidden;
}

	#nav li { 
	display: inline;
	float: left; }

	#nav li a {
		display: block;
		width: 150px;
		height: 34px;
		font-size: 18px;
		color: #fff;
		text-decoration: none;
		text-align: left;
	}
	
	#nav li a.home	{
		width: 120px;
			padding-left: 30px;
		}
		
		/* This gives extra space to the Contact us link */
	#nav li.page-item-53	{
	padding-left: 20px;
}

/* LEVEL TWO */

#nav ul ul {
	position: absolute;
	width: 199px;
	left: -999em;
}

	#nav li li {
		float: left;
		width: 199px;
		background: none;
		padding: 0;
	}

	#nav li li a {
		background: #ffd302;
		border-bottom: 1px #fff7b4 solid;
		text-align: left;
		color: #000;
		padding-left: 20px;
		width: 199px;
		font-size: 14px;
	}

	#nav li li a:hover {
		background: #e0ff01;
	}

/* LEVEL THREE */

#nav ul ul ul { margin: -33px 0 0 158px; }

#nav li:hover ul ul, #nav li.sfhover ul ul { left: -999em; }

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */ left: auto; }

#nav li:hover, #nav li.hover { position: static; } /* fixes IE7 sticky issue */

/* -----------------------------------------------------------
		III. STRUCTURE & TYPOGRAPHY
----------------------------------------------------------- */

#wrap {
	width: 995px;
	margin-left: auto;
	margin-right:auto;
	margin-top: 0;
	text-align: left;
}

	#header {
		position: relative;
		height: 180px;
	}

		#header img { float: right; }

		#header img.donate {
			position: absolute;
			bottom: 0;
			right: 0;
		}

	#nav { height: 34px; }

	#content { background: #fff url('images/backgrounds/bg-sideNav.jpg') top left no-repeat;}

		#home #content { background-image: none;}

		#sideNav {
			float: left;
			width: 200px;
			margin-right: 20px;
			padding: 30px 0;
		}

			#sideNav ul {
				margin: 0;
				padding: 0;
				list-style: none;
			}

			#sideNav li { padding: 0; }
			
			#sideNav li.current_page_item	{
				font-weight: bold;
				}

			#sideNav li a {
				display: block;
				padding: 7px 0 7px 30px;
				color: #000;
				text-decoration: none;
			}

			#sideNav li a:hover { 
				background-color: #f2ffc3; 
				}

		#mainContent {
			float: left;
			width: 560px;
			padding: 30px 0 32px;
		}

			#home #mainContent {
				width: 796px;
				padding-top: 0;
			}

			#slider {
				height: 412px;
				background-color: #ffba00;
				background-image: url(images/backgrounds/bkgd_main_banner.jpg);
				background-position: top left;
				background-repeat: no-repeat;
				padding: 0 30px 35px 34px;
			}

			#posts {
				margin-top: 34px;
				padding: 0 0 0 44px;
				background: url('images/divider-posts.gif') repeat-y;
			}

				#home .post {
					float: left;
					width: 315px;
					margin-right: 61px;
				}

					#home .post img { float: left; }

					#home .post a.readMore {
						float: right;
						text-transform: uppercase;
						color: #7b9d00;
						text-decoration: none;
						font-size: 12px;
						font-weight: bold;
					}
					
					.caption	{
					font-size: .8em;
					}
					
					.explanationlist li .itemtitle	{
						font-weight: bold;
					}
					
					.explanationlist li p	{
						margin-top: 10px;
					}
					
					.photocaption	{
						font-size: .75em;
						}
						
					.address, .indent	{
					margin-left: 30px;
					}
					
					.corporatesponsors th	{
					text-align:left;
					}
					
					
					#quotes	{
					   font-size:.9em;
					   line-height: 150%;
					   background: url('images/backgrounds/bg-quote.jpg') repeat-x;
					   clear:both;
	                   padding: 20px;
				}
				
                      #quotes	p.quoteauthor	{
						font: italic bold 1.2em arial;
						text-align: right;
						margin-right: 0;
						color: #ffa000;
						margin-top: 10px;
						}
						
						 #quotes	p.quotesource	{
						 	font-style:italic;
						 	margin: 0;
						 	text-align:right;
						 	margin-top: -10px;
						 	}
					/* ################ Special list Styles #################### */
					
				
					
					ul.halflist	{
						width: 45%;
                    }
					
					
/* News stories */
					
ul.news {
	list-style: none;
}


ul.news .headline	{
	font-weight: bold;
	margin-bottom: 10px;
}
ul.news .byline	{
	font-style: italic;
}

ul.news .story	{
	margin-top: 10px;
}

ul.news .more	{
	font-weight:bold;
}
					
		#sidebar {
			float: right;
			width: 199px;
			top: 0;
		}

			#signup {
				padding: 12px;
				height: 176px;
				background: #9cc801 url('images/bg-signup.jpg') top no-repeat;
			}
			
			#signup fieldset {
				border: 0;
				}

			#sidebar img { float: left; } /* or else there is space between images in modern browsers */

	#footer {
		padding: 20px;
		text-align: center;
		color: #444;
	}
	
	
	#footer .seals	{
		display:inline;
		width: 175px;
		height: 60px;
		float:right;
		margin-right: 0;
		}
/* -----------------------------------------------------------
		IV. TABLES
----------------------------------------------------------- */

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 14px;
}

	table table { margin-bottom: 0; }

td {
	vertical-align: top;
	padding: 0;
}

/* -----------------------------------------------------------
		V. FORMS
----------------------------------------------------------- */

input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #444;
}

	#signup .textBox {
		margin-bottom: 12px;
		padding: 4px;
		width: 163px;
		height: 16px;
		border: none;
		background: transparent url('images/bg-textBox.gif') top no-repeat;
	}

	#signup .button { float: right; }

/* -----------------------------------------------------------
		VI. HEADINGS
----------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	padding: 0 0 10px 0;
	margin: 0;
	line-height: 1;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration: none; }

h1 { font-size: 25px; }

	#header h1 {
 		display: inline;
 		padding: 0; /* IE 8 needs this because display: inline doesn't getting rid of the padding */
 		text-indent: -4440px;
	}

		#header h1 a {
			float: left;
			display: block;
			width: 426px;
			height: 118px;
			margin: 29px 0 0 28px;
			background: url('images/foodbank_logo.jpg') no-repeat;
		}

h2 { font-size: 22px; }

	#signup h2 {
		font-weight: normal;
		font-size: 19px;
		color: #000;
		padding-bottom: 14px;
		margin-top: 0;
	}

	#mainContent h2, #mainContent h2 a {
		color: #ffa000;
		font-size: 18px;
		text-transform: uppercase;
	}

	#sideNav h2 {
		font-size: 16px;
		color: #999;
		padding-left: 30px;
		text-transform: uppercase;
	}

h3 { font-size: 17px;}


h4 { font-size: 16px; }

/* -----------------------------------------------------------
		VII. CLEARFIX
----------------------------------------------------------- */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix { display: inline-block; }

/* Hide from IE Mac \*/
.clearfix { display: block; }
/* End hide from IE Mac */

/* -----------------------------------------------------------
		VIII. WORDPRESS SPECIFIC
----------------------------------------------------------- */

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform { margin: 5px 10px 0 0; }

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}

.alt {
	margin: 0;
	padding: 10px;
}

.commentlist {
	padding: 0;
	text-align: justify;
}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
}

.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p { margin: 10px 5px 10px 0; }

.children { padding: 0; }

#commentform p { margin: 5px 0; }

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 0;
	display: block;
}