/*
Theme Name:     Food Literacy Project
Theme URI:      http://foodliteracyproject.org/
Description:    Custom theme for FLP
Author:         Scott Murray
Author URI:     http://alignedleft.com/
Version:        0.2
*/
@font-face {
	font-family: 'MuseoSlab500';
	src: url('fonts/museo_slab_500-webfont.eot');
	src: local('☺'), url('fonts/museo_slab_500-webfont.woff') format('woff'),
		url('fonts/museo_slab_500-webfont.ttf') format('truetype'),
		url('fonts/museo_slab_500-webfont.svg#webfontWiOf3FYV') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSlab500Italic';
	src: url('fonts/museo_slab_500italic-webfont.eot');
	src: local('☺'), url('fonts/museo_slab_500italic-webfont.woff') format('woff'),
		url('fonts/museo_slab_500italic-webfont.ttf') format('truetype'),
		url('fonts/museo_slab_500italic-webfont.svg#webfontIOx3n3QW') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSans500';
	src: url('fonts/museosans_500-webfont.eot');
	src: local('☺'), url('fonts/museosans_500-webfont.woff') format('woff'),
		url('fonts/museosans_500-webfont.ttf') format('truetype'),
		url('fonts/museosans_500-webfont.svg#webfontMS3UoRNd') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSans500Italic';
	src: url('fonts/museosans_500_italic-webfont.eot');
	src: local('☺'), url('fonts/museosans_500_italic-webfont.woff') format('woff'),
		url('fonts/museosans_500_italic-webfont.ttf') format('truetype'),
		url('fonts/museosans_500_italic-webfont.svg#webfontuBlnEq3P') format('svg');
	font-weight: normal;
	font-style: normal;
}



/* Setup */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #b0e695;
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-position: left bottom;
	background-image: url(images/background_gradient.png);
	font-family: "MuseoSans500", Helvetica, Arial, sans-serif;
	color: #151100;
}

em {
	font-family: "MuseoSans500Italic", Helvetica, Arial, sans-serif;
	font-style: normal;  /* Prevents "double italicizing" of Museo */
}

img {
	border: none;
}

a:link {
	color: #1a9909;
	text-decoration: underline;
}

a:visited {
	color: #994609;
	text-decoration: underline;
}

a:hover {
	color: #27e50d;
	text-decoration: underline;
}

a:active {
	color: #ffba00;
	text-decoration: none;
}

div .clear {
	clear: both;
}

#wrapper {		/* Center the wrapper on the page */
	width: 900px;
	position: relative;
	left: 50%;
	margin-left: -450px;
	margin-top: 30px;
	z-index: 0;
}

#home #wrapper {
	width: 1000px;
	margin-left: -500px;
}



/* Header */

#header {
	width: 1000px;
	z-index: 10;
}

#header #logo {
	padding-left: 75px;
}

#header h1 {
	position: absolute;
	top: 22px;
	left: 218px;
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 48px;
}

#header a,
#header a:link,
#header a:visited,
#header a:hover,
#header a:active {
	color: #054023;
	text-decoration: none;
}



/* Left column */

#leftCol {
	position: absolute;
	top: 88px;
	width: 200px;
	z-index: -10;
}



/* Main nav */

#leftCol #nav {
	width: 200px;
	background-color: #efed53;
	background-repeat: repeat;
	background-image: url(images/yellow_texture.png);
	padding-top: 20px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 1px;
	margin-bottom: 40px;
	box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-moz-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-webkit-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
}

#leftCol #nav ul {
	list-style-type: none;
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 24px;
	line-height: 24px;
}

#leftCol #nav ul li {
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
}

#leftCol #nav li ul {	/* Sub navs */
	position: absolute;
	top: -16px;
	left: 200px;
	display: none;
	width: 200px;
	font-size: 18px;
	line-height: 22px;
	background-color: #efed53;
	background-repeat: repeat;
	background-image: url(images/yellow_texture.png);
	padding-top: 20px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 1px;
	box-shadow: 3px 3px 5px rgba(21, 17, 0, 0.5);
	-moz-box-shadow: 3px 3px 5px rgba(21, 17, 0, 0.5);
	-webkit-box-shadow: 3px 3px 5px rgba(21, 17, 0, 0.5);
}

#leftCol #nav li:hover ul {
	display: block;
}




#leftCol #nav li a {
	display: block;
	width: 100%;
	padding-bottom: 20px;
	color: #151100;
}

#leftCol #nav li a:link {
	color: #151100;
	text-decoration: none;
}

#leftCol #nav li a:visited {
	color: #151100;
	text-decoration: none;
}

#leftCol #nav li a:hover {
	color: #1a9909;
	text-decoration: none;
}

#leftCol #nav li a:active {
	color: #b29000;
	text-decoration: none;
}



/* Kid quote and donate button */

#leftCol #quoteDonate {
	width: 150px;
	/*margin-left: -60px;*/
	margin-left: auto;
	margin-right: auto;
}

#leftCol #quoteDonate p {	/* Kid quote */
	/*float: left;*/
	width: 150px;
	/*margin-right: 10px;*/
	text-align: center;
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 16px;
	line-height: 18px;
	color: #054023;
}

#leftCol #quoteDonate div {	/* Container div for button */
	/*float: right;*/
	width: 130px;
	z-index: 10;
	text-align: center;
	margin: 10px auto 0px auto;
}

#home #leftCol #quoteDonate {
	width: auto;
	margin-left: 0;
}

#home #leftCol #quoteDonate p {
	float: none;
	width: 180px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}

#home #leftCol #quoteDonate div {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

#home #leftCol #quoteDonate div.social {
	width: auto;
	margin-bottom: 25px;
}


#leftCol #quoteDonate a#donateNowButton {	/* Button styling */
	display: block;
	width: 94px;
	padding-top: 11px;
	padding-bottom: 9px;
    border-width: 0 18px 0 18px;
	border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	-moz-border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	-webkit-border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 18px;
	line-height: 20px;
	text-decoration: none;
	text-align: center;
}

#leftCol #quoteDonate a:link#donateNowButton {
	color: #fbfae6;
	text-decoration: none;
}

#leftCol #quoteDonate a:visited#donateNowButton {
	color: #fbfae6;
	text-decoration: none;
}

#leftCol #quoteDonate a:hover#donateNowButton {
	color: #27e50d;
	text-decoration: none;
}

#leftCol #quoteDonate a:active#donateNowButton {
	color: #ffba00;
	text-decoration: none;
}



/* Right column */

#rightCol {
	position: relative;
	top: -23px;
	left: 220px;
	width: 600px;
	z-index: -20;
}

#rightCol .imgContainer {
	width: 100%;
	text-align: center;
}

#mainContentBox .imgSet > div > img {
	margin-top: 30px;
}

#mainContentBox img.singleImg {
	margin: 15px 0px;
}

#mainContentBox div > p {
	text-align: center;
}

#rightCol #mainContentBox,
#home #rightCol #topBox {
	margin-bottom: 20px;
	background-color: #fbfae6;
	box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-moz-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-webkit-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
}

#home #rightCol #bottomBox {
	margin-bottom: 20px;
	background-color: #fbfae6;
	box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-moz-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
	-webkit-box-shadow: 3px 3px 10px rgba(21, 17, 0, 0.75);
}

#rightCol #mainContentBox {
	padding: 40px;
}

#rightCol h1,
#rightCol h2,
#rightCol h3 {
	font-family: "MuseoSlab500", Georgia, serif;
	color: #054023;
}

#rightCol h1 {
	padding-bottom: 10px;
	font-size: 36px;
	line-height: 36px;
}

#rightCol h2 {
	margin-top: 30px;
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 22px;
}

#rightCol #topBox h2:not(:first-child) {
	margin-top: 36px;
}

#rightCol h3 {
	margin-top: 30px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 16px;
}

#rightCol p {
	margin-top: 12px;
	font-family: "MuseoSans500", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 16px;
	color: #151100;
}

#rightCol #mainContentBox h1 + p {
	font-size: 18px;
	line-height: 22px;
}

#rightCol ul {
	margin-left: 20px;
	list-style-type: disc;
	margin-top: 12px;
	font-family: "MuseoSans500", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 16px;
	color: #151100;
}

#rightCol ul ul {
	margin-top: 0;
}


/* Special home page styles */

#home #rightCol {
	width: 740px;
}

#home #rightCol #topBox  {
	padding: 20px;
}

#home #rightCol #bottomBox {
	padding: 20px 20px 50px 20px;
}

#home #rightCol #topBox {
	min-height: 330px;
}

#home #rightCol h2 {
	margin-top: 0;
}

#home #rightCol p.linkParagraph {
	/*margin-top: 5px;*/
	position: absolute;
	bottom: -25px;
}

#home #rightCol #bottomBox div.actionSummary {
	float: left;
	width: 160px;
	margin-left: 20px;
	min-height: 210px;
	position: relative;
}

#home #rightCol #bottomBox div.actionSummary:first-child {
	margin-left: 0;
}



/* Slideshow */

#slideshow {
	float: right;
	width: 520px;
	height: 350px;
	margin: 0px 0px 15px 15px;
	box-shadow: 2px 2px 5px rgba(21, 17, 0, 0.2);
	-moz-box-shadow: 2px 2px 5px rgba(21, 17, 0, 0.2);
	-webkit-box-shadow: 2px 2px 5px rgba(21, 17, 0, 0.2);
}

#slideshow ul {
	margin: 0;
	list-style-type: none;
}

#slideshow li {
	display: none;	/* Sets initial display to invisible,
						although JS will fade in first slide
						when page is loaded and ready. */
	width: 520px;
	height: 350px;
    top:  0;
    left: 0;
}

#slideshow img {
	display: block;
	z-index: 0;
}

#slideshow li span.caption {
	display: block;
	height: 30px;
	position: relative;
	bottom: 50px;
	left: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: rgba(251, 250, 230, 0.8);
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	color: #054023;
	z-index: 5;
}



/* Form styles */

#subForm {
	margin-top: 15px;
	font-family: "MuseoSans500", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 16px;
	color: #151100;
}

#subForm div.inputRow {
	margin-bottom: 10px;
}

#subForm div.inputRow input {
	margin-bottom: 2px;
	padding: 3px;
	color: #333;
	font-size: 12px;
}

#subForm div.inputRow input.textInput {
	width: 200px;
}

#subForm input.button {
	width: 120px;
	padding-top: 11px;
	padding-bottom: 9px;
    border-width: 0 10px 0 10px;
	border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	-moz-border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	-webkit-border-image: url(images/donate_now_button_border.png) 0 18 0 18;
	background-color: #fbfae6;
	color: white;
	font-family: "MuseoSlab500", Georgia, serif;
	font-size: 14px;
	line-height: 16px;
	text-decoration: none;
	text-align: center;
}



/* Footer etc. */

#footer {
	padding-bottom: 15px;
}

#footer p {
	text-align: center;
	font-family: "MuseoSans500", Helvetica, Arial, sans-serif;
	font-size: 10px;
	line-height: 14px;
	color: #151100;
}

#footer a {
	color: #151100;
}

#footer a:link {
	text-decoration: none;
}

#footer a:visited {
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer a:active {
	color: #ffba00;
	text-decoration: none;
}



/* Hidden */

.hidden {
	display: none;
}
