/** General Useful Styles **/

/* OK it's a cheat, but it makes life so much easier :) */
* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html, body {
	height: 100%;
}

table {
	text-align: left;
}

body {
	font-size: 76%;
	font-family: Arial, Tahoma, Helvetica, sans-serif, sans;
	margin: 10px 20px 0 20px;
	margin-top: 0;
	background: #ff9900 url(images/orangefoot.png) fixed 120px 45px no-repeat;
}

p, table {
	font-size: 1em;
}

script {
	display: none;
}

br.clearAll {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}

img {
	border: none;
	behavior: url("pngbehavior.htc");
}

input, textarea {
	background-color: #ff9900;
	border: 1px solid black;
}

textarea {
	background-color: transparent;
	font-size: 1em;
	padding: 0.5em;
	font-family: Arial, Tahoma, Helvetica, sans-serif, sans;
}

table caption {
	text-align: left;
}


/** Flash Movie **/

#flashMovie {
	position: absolute;
	width: 120px;
	height: 70px;
	right: 70px;
	top: 10px;
	z-index: -1;
}

/** Main Page Logo **/
#pageLogo {
	position: fixed;
	left: 20px;
	top: 10px;
	width: 176px;
	height: 148px;
	z-index: 4000;
}



/** TOP MENU STYLE **/

#menu {
	position: fixed;
	left: 20px;
	top: 0;
	width: 100%;
	height: 80px;
	background: #009999 url(images/greentoes.png) fixed -1px -62px no-repeat;
	z-index: 1000;
}

#phoneNumber {
	position: absolute;
	top: 20px;
	right: 190px;
}

#searchForm {
	position: absolute;
	right: 190px;
	top: 45px;
	font-size: 75%;
	clear: right;
}

#searchForm input {
	background-color: white;
	border-color: red;
	height: 20px;
}

#menu ul {
	background-color: #660099;
	position: relative;
	top: 80px;
	left: 0;
	height: 1.5em;
	margin: 0;
	padding: 0;
	padding-left: 185px;
	white-space: nowrap;
	font-weight: bold;
	z-index: 2;
}

#menu ul li {
	font-size: 90%;
	list-style-type: none;
	display: inline;
	padding-right: 0.5em;
	margin: 0;
}

#menu ul li a {
	background-color: #660099;
	color: white;
}


#menu ul li a.selectedMenuItem {
	text-decoration: underline;
}

/** LEFT MENU **/

#leftMenu {
	background: #660099 url(images/smallpurplefeet.png) 25px 0 repeat-y;
	position: fixed;
	top: 80px;
	left: 10px;
	bottom: 0;
	width: 13em;
	height: 100%;
	padding-top: 80px;
	padding-left: 1em;
	font-weight: bold;
}

#leftMenu h3 {
	font-size: 1.2em;
	color: yellow;
	border-bottom: 1px solid yellow;
	margin: 0.5em 0;
}


#leftMenu ul, #leftMenu ul * {
	padding: 0;
	margin: 0;
}

#leftMenu ul ul {
	margin-left: 1em;
	margin-top: 2px;
}

#leftMenu li {
	font-size: 90%;
	margin-bottom: 2px;
	list-style-type: none;
	color: #ffff99;
}

#leftMenu li.selectedMenuItem span {
	text-decoration: underline;
}

#leftMenu a {
	color: yellow;
}

/** RIGHT HAND PAGE TEXT **/

#mainpage {
	margin-top: 88px;
	position: relative;
}

#rightpagetext {
	font-size: 1em;
	margin-left: 14em;
	padding-bottom: 1px;
}

#pageContent {
	clear: left;
	margin-right: 30px;
	margin-bottom: 1em;
}


/** Splats on the side **/
.picSplat, .sidePic {
	position: relative;
	float: right;
	clear: right;
}

.picSplat {
	margin: 1em;
	z-index: 2;
}

.sidePic {
	margin: 0 40px 1em 1em;
	z-index: 1;
}


/** PAGE TITLE **/
#pageTitleGraphic {
	display: inline;
	padding: 0;
	margin-left: 0.5em;
	clear: none;
	float: left;
}



/** LINKS **/

a:link {
	color: #00f;
	text-decoration: none;
}

a:visited {
	color: #00f;
	text-decoration: none;
}

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

a:active {
 color: #f00;
	text-decoration: none;
}


/** FORM LAYOUT **/

.niceForm {
	margin-top: 1em;
}

.niceForm label {
	display: block;
	position: relative;
	width: 9em;
	height: 2em;
	z-index: 0;
}

.niceForm h3 {
	margin: 0 0 0.5em 0;
}

.niceForm input, .niceForm select {
	z-index: 1;
}

.niceForm label span {
	position: absolute;
	left: 10em;
}


/** LOGIN FORM **/

#loginForm {
	border: 1px solid black;
	padding: 1em;
	margin-top: 1em;
	width: 28em;
}

#loginForm p {
	margin-top: 0;
}

#submitButton {
	float: right;
	width: 8em;
	text-align: center;
}

#miniLoginForm {
	float: right;
	border: 1px solid black;
	padding: 0.5em;
	margin: 0.5em;
	margin-top: 1.5em;
	width: 16em;
}

#miniLoginForm #bottomDiv, #miniLoginForm h3 {
	text-align: center;
}

#miniLoginForm label {
	width: 6em;
}

#miniLoginForm label span {
	left: 6em;
}

#miniLoginForm #submitButton {
	float: none;
}

/** TABLES WITH BORDERS **/

.borderTable {
	border: 1px solid black;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}

.borderTable thead, .borderTable tbody, .borderTable tr, .borderTable th, .borderTable td {
	border: 1px solid black;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}


/** ACTIVITIES AND MEALS TABLES **/

#activityTable {
	width: 99%;
	margin: 0;
	padding: 0;
}

#activityTable th {
	width: 15%;
}

#activityTable td {
	padding: 3px;
}

#mealtable {
	text-align: center;
}

#mealtable th, #mealtable td{
	border: 1px solid black;
	padding: 4px;
}

#mealtable th, #mealtable .header{
	font-weight: bold;
	font-size: small;
}


/*** SEARCH RESULTS TABLE ***/

#searchTable {
	margin-bottom: 2em;
}

#searchTable th {
	text-align: left;
}

#searchTable * {
	vertical-align: top;
}


/** Last 5 Days Images **/

h3.dayHeader {
	clear: left;
}
.last5DaysImage {
	float: left;
	border: 1px solid black;
	width: 175px;
	text-align: center;
	padding: 1em;
	margin: 0.5em;
}




/** IMAGE MAP **/
#imageMap {
	margin-top: 1em;
	margin-right: 1em;
	width: 318px;
	float: right;
	text-align: center;
	position: relative;
}

#imageMap ul, #imageMap li {
	padding: 0;
	margin: 0;
}

#imageMap ul {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
}

#imageMap ul li {
	display: none;
	list-style-type: none;
	font-size: 150%;
	font-weight: bold;
	color: #660099;
}

#imageMap img {
	margin-top: 2em;
}



/** W3C Checker **/
#w3ccheck {
	position: fixed;
	left: 10px;
	bottom: 0;
	width: 10em;
	text-align: left;
	background-color: white;
	border-right: 1px solid black;
	border-top: 1px solid black;
	padding: 0.5em;
	z-index: 999999;
	display: none;
}

#decorLeft, #decorTop, #decorRight, #decorBottom, #topRightCorner, #bottomLeftCorner, #bottomRightCorner, #decorMenu {
	color: lime;
	font-size: 1px;
	line-height: 1px;
	position: fixed;
	z-index: 5000;
}

#decorMenu {
	background: #660099 url(images/smallpurplefeet.png) fixed 25px 0 repeat-y;
	top: 110px;
	left: 0;
	height: 100%;
	width: 15em;
	display: none;
}

#decorLeft, #decorRight {
	top: 0;
	bottom: 0;
	background-color: #220066;
	width: 20px;
	height: 100%;
}

#decorTop, #decorBottom {
	left: 0;
	right: 0;
	background-color: #220066;
	width: 100%;
	height: 10px;
}

html[xmlns] #decorBottom {
	padding-left: 20px;
}

#decorBottom {
	color: white;
	font-size: 80%;
	line-height: 20px;
	height: 20px;
}

#decorBottom a {
	color: white;
}

#decorLeft {
	left: 0;
}

#decorRight {
	right: 0;
}

#decorTop {
	top: 0;
}

#decorBottom {
	bottom: 0;
}

#topRightCorner  {
	right: 20px;
	top: 10px;
}

#bottomLeftCorner  {
	left: 20px;
	bottom: 20px;
}

#bottomRightCorner {
	right: 20px;
	bottom: 20px;
}

/* For IE5 Mac */
* html, * html body, * html #fullpage, * html #mainpage, * html #mainbodydiv {
	height: 100%;
}

* html #decorTop, * html #decorBottom, * html #menu {
	left: 20px;
}

* html #leftMenu {
	padding-top: 80px;
}

* html #flashMovie {
	right: 40px;
}

* html #searchForm, * html #phoneNumber {
	right: 160px;
}

/* Specifically NOT for IE5 Mac ;) \*/

* html #decorLeft, * html #decorTop, * html #decorRight, * html #decorBottom, * html #topRightCorner, * html #bottomLeftCorner, * html #bottomRightCorner, * html #pageLogo, * html #menu, * html #leftMenu {
	position: absolute;
}

* html #bottomRightCorner {
	display: none;
}

* html, * html body, * html #fullpage, * html #mainpage, * html #mainbodydiv {
	margin: 0;
	height: 100%;
	overflow: hidden;
}

* html #rightpagetext {
	position: relative;
	top: 98px;
	margin-left: 15em;
	height: expression(document.body.clientHeight - 118 + "px");
	overflow: auto;
	margin-right: 20px;
}

* html #leftMenu {
	left: 16px;
}

* html body {
	background-position: 140px 40px;
}

* html #flashMovie {
	right: 70px;
}

* html .activityTable, * html #foodmenuTable {
	width: 90%;
}

* html #searchForm, * html #phoneNumber {
	right: 190px;
}

/* End Hide */