/*  
Theme Name: Eat3
Theme URI: http://knowledgetown.com
Description: A theme for the Eat3 project.
Version: 1.0
Author: Knowledge Town
Author URI: http://knowledgetown.com
*/


/* STRUCTURE */

body {
	padding: 0;
	margin: 0;
	background: url(images/banner-background.gif) repeat-x #f9ab67;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 63.125%;		/* translate 1.0em to 10px, 1.5em to 15px, etc. */
}

#container {
	margin: 0 auto 0 auto;
	width: 1050px;
	position: relative;
	left: -100px;
}

#header {
	background: url(images/eat3_banner.jpg) no-repeat;
	height: 162px;
}

#circles-left {
	background: url(images/circles-left.gif) no-repeat;
	width: 222px;
	height: 220px;
	float: left;
}

#content-group {
	width: 828px;
	float: left;
	background: url(images/content-group-background.gif) repeat-y;
	margin-bottom: 25px;
}

#content {
	float: left;
	width: 623px;
	background: url(images/circles-right.gif) no-repeat;
	padding: 15px 18px 20px 10px;
	min-height: 219px;
}

#content_narrow {
	float: left;
	width: 457px;
	background: url(images/circles-right.gif) no-repeat;
	padding: 15px 15px 20px 10px;
	min-height: 219px;
}

#right_sidebar {
	float: left;
	width: 146px;
}

#sidebar {
	float: left;
	width: 156px;
}

#footer {
	clear: both;
	text-align: left;
	background: #649e35;
	margin-right: 25px;
	height: 25px;
}

/* COMMON ELEMENTS */


a img {
	border: none;
}

a {
	color: #cc3300;
	text-decoration: underline;
}

a:hover {
	color: #e58718;
	text-decoration: none;
}

p {
	font-size: 1.4em;
	line-height: 1.5em;
	margin-top: 5px;
}

h1 {
	font-size: 2.4em;
	line-height: auto;
	font-weight: bold;
	margin: 0;
}

h2 {
	font-size: 1.6em;
	line-height: normal;
	font-weight: bold;
	margin-bottom: 5px;
}

h3 {
	font-size: 1.4em;
	line-height: 1.5em;
	font-weight: bold;
	color: #649e35;
	margin-bottom: 5px;
}

.green {
	color: #649e35;
}

.red {
	color: #cc3300;
}

.orange {
	color: #df771c;
}


/* 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;
	}

.wp-image-109 {
	padding: 0!important;
	margin: 0 0 0 -3px !important;
	}

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

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

/* HOME */

.popup {
	padding: 10px;
	background-color: #FDDB82;
	width: 400px;
	position: absolute;
	top: 250px;
	-moz-border-radius: 8px;
} 	

.rule {
	height: 10px;
	background: #649e35;
	margin: 20px 0;
	clear: both;
}

.additional_meal p {
	color: #659E35 !important;
}

.months, .this_month {
	float: left;
	width: 122px;
	height: 154px;
	background: #f9ab67;
	margin: 0 0 0 2px;
}

.additional_meal {
	border-top: 1px dashed #fff;
	margin-bottom: 20px;
}

.months:hover {
	background: #ffcb08;
	cursor:pointer;
}

.months h1, .this_month h1  {
	text-align: center;
	height: 24px;
	background: #cc3300;
	color: #fff5cb;
	padding-top: 5px;
	font-size: 20px
}

.months:hover h1 {
	color: #ffcb08;
}

.months p, .this_month p {
	text-align: center;
	line-height: 1.0em;
	margin: 20px 10px;
}

.months p {
	color: #000000;
}

.months:hover p {
	color: #cc3300;
}

.this_month p {
	color: #000000;
}

.this_month:hover p {
	color: #cc3300 !important;
}

.date {
	text-align: center;
	color: #cc3300;
	font-style: italic;
}


.this_month {
	background: #ffcb08;
}

.this_month:hover {
	cursor:pointer;
	color: #cc3300;
}

.this_month h1 {
	background: #cc3300;
	color: #ffcb08;
}

.this_month:hover h1 {
/*	color: #fff5cb;
*/}

/* CONTENT */

#content .source, #content_narrow .source {
	font-size: 1.0em;
	font-style: italic;
	line-height: normal;
}

#content ol,  #content_narrow ol, #content ul,  #content_narrow ul {
	margin-top: 5px;
	padding-left: 20px;
	font-size: 1.4em;
	line-height: 1.3em;
}

#content li,  #content_narrow li {
	margin-bottom: 5px;
}

.big_bullets {
	text-indent: -33px;
}

sup {
	line-height: 0;
}

/* SIDEBAR */

#login {
	margin-top: 20px;
	padding: 3px 10px;
	border-top: 3px solid #649E35;
}

#login a {
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #cc3300;
}

#login input {
	width: 126px;
}

#login h2, #login p {
	color: #FFCA05;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar .page_item a {
	margin: 5px 0 0px 0px;
	padding: 3px 10px;
	text-decoration: none;
	font-size: 1.4em; 
	font-weight: bold;
	color: black;
	display: block;
	border-left: 3px solid #649e35;
}

#sidebar .page_item a:hover {
	color: #df771c;
	background: #fff5cb;
	border-left: 3px solid #649e35;
}

#sidebar li .page_item a {
	margin: 5px 0 0px 0px;
	padding: 3px 10px;
	text-decoration: none;
	font-size: 1.4em; 
	font-weight: bold;
	background: #649e35;
	color: #ffcb08;
	display: block;
}

#sidebar li li .page_item a {
	margin: 3px 0;
	padding: 3px 10px 3px 22px;
	text-decoration: none;
	font-size: 1.2em; 
	font-weight: bold;
	background: none;
	color: black;
	display: block;
}

#sidebar .current_page_item a {
	color: #df771c;
	background: #fff5cb;
}

#sidebar li .current_page_item a {
	color: #df771c;
	background: #fff5cb;
}

#sidebar li li .current_page_item a {
	color: #df771c;
	background: #fff5cb;
}

#sidebar li li li .page_item a {
	margin: 3px 0;
	padding: 3px 10px 3px 30px;
	text-decoration: none;
	font-size: 1.2em; 
	background: none;
	color: black;
	display: block;
	font-weight: normal;
}

#sidebar li li li .current_page_item a {
	color: #df771c;
	background: #fff5cb;
}





/* FOOTER */

#footer {
	font-size: 1.0em;
	color: black;
	text-align: center;
	padding-top: 10px;
}

#footer a {
	text-decoration: none;
	color: black;
}

#footer a:hover {
	text-decoration: underline;
}

/** 
 * nutrition.css
 * The following code formats a table for a nutrition label. Feel free to use it as you wish.
 * Crediting the author is always appreciated.
 * Jonathon Eric Cihlar, January 2007
 */

/**
 * Define the table to be of the class "nutrition"
 */
table.nutrition {
	width : 146px;
	margin-top : 10px;
	margin-left : 0;
	margin-right : 0;
	margin-bottom: 25px;

	border : 1px solid black;
	border-collapse : collapse;
	table-layout : auto;

}

/**
 * Format the caption at the top of the table
 */
.nutrition caption {
/*	font-family : Arial;
*/	font-size : small;
	font-style: italic;
}

/** 
 * Format the tr ids 
 */
.nutrition tr#calories td {
	border-bottom : 4px solid black;
}

.nutrition tr#servings td {
	border-bottom : 6px solid black;	
}

.nutrition tr#minerals td {
	border-top : 4px solid black;
}

 /**
  * Format the header, which is basically the text "Nutrition Facts"
  */
.nutrition th {
	background-color : black;
	padding : 3px;
	border : 0;
/*	font-family : Arial;
*/	font-size : large;
	font-weight : bolder;
	color: #FFF5CB;
}	

 /**
  * Define the baseline style for cells
  */
.nutrition td {
	padding : 3px;
			
/*	font-family : Arial;
*/	font-size : x-small;
	border : 0;
	border-bottom : 1px solid black;
	
	text-align : left;
}

 /**
  * Define the cell for Daily Values
  */
.nutrition td.dv {
	font-weight : bold;
	text-align : right;
}

 /**
  * Set an indent for subordinate nutrients
  */
.nutrition td.sub {
	text-indent : 10px;
}

 /**
  * Set the style of the disclaimer text
  */
.nutrition td.disclaimer {
	font-size : xx-small;
	text-align: left;
}

 /**
  * Use the strong tag to set emphasis on particular text
  */
.nutrition strong {
	font-weight : x-bolder;
}

/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}