/*--------------------------------------------------------------------------------------
title:    Tea Coasters
version:	1.0
author:		Pat Howe
email:		contact@pathowe.co.uk
website:	http://www.pathowe.co.uk
--------------------------------------------------------------------------------------*/

@charset "utf-8";
body {
	font: 100% Arial, Helvetica, sans-serif;
	background: #464f06; /* dark green */
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#container {
	width: 501px;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
}
#header {
	background-image:url('images/header.jpg');
	background-repeat:no-repeat;
	background-position: center top;
	width: 501px;
	height: 92px;
}
#menu {
	background-image:url('images/menu.jpg');
	background-repeat:no-repeat;
	background-position: center top;
	width: 501px;
	height: 34px;
}
#top {
	background-image:url('images/top.jpg');
	background-repeat:no-repeat;
	background-position: center top;
	width: 501px;
	height: 56px;
}
#middle {
	background-image:url('images/middle2.jpg');
	background-repeat: repeat-y;
	background-position: center top;
	width: 501px;
	min-height: 306px;
}
#bottom {
	background-image:url('images/bottom.jpg');
	background-repeat:no-repeat;
	background-position: center top;
	width: 501px;
	height: 18px;
}
#footer {
	background-image:url('images/footer.jpg');
	background-repeat:no-repeat;
	background-position: center top;
	width: 501px;
	height: 63px;
}
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-size: 10px;
	color:#464f06; /* dark green */
}
#footer a {
	font-size:10px;
	color:#464f06; /* dark green */
	text-decoration:none;
}
#footer a:hover {
	text-decoration:underline;
}

#menucontainer {
	height: 34px;
	width: 372px;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
}

#maincontent {
	padding: 0px 45px 0px 50px; /* t r b l */
	text-align: left; /* this overrides the text-align: center on the body element. */
	font-size: 12px;
	color: #3c1c01; /* very dark green */
}
#maincontent h1 {
	color:#823304; /* brown */
	font-size: 16px;
}
#maincontent h2 {
	color:#823304; /* brown */
	font-size: 14px;
}
#maincontent p {
	font-size: 11px;
	color: #3c1c01; /* very dark green */
}
#maincontent td {
	font-size: 11px;
	color: #3c1c01; /* very dark green */
}
#maincontent hr {
	background: #e4d9a2 url('images/horizontal.gif') repeat-x top left scroll;
    border: none;
    height: 2px;
}
#sidebox {
	width: 100px;
	min-height: 100px;
	background-image: url('images/sidebox.gif');
	background-position: left bottom;
	background-repeat:no-repeat;
	float: right;
	margin-left: 10px;
	padding: 5px;
	text-align:center;
    font-size: 12px;
	color:#3c1c01; /* very dark green */
}
#sidebox p {
	margin-top: 0px;
	font-weight:bold;
}
#sidebox p.title {
    font-size: 14px;
    padding-bottom: 8px;
}
#sidebox a {
    padding-top: 5px;
	font-weight:bold;
	color:#464f06; /* dark green */
	text-decoration:none;
}
#sidebox a:hover {
	color:#823304; /* brown */
	text-decoration: underline;
}

.menuitem {
	background-image:url('images/menu.gif');
	background-repeat:no-repeat;
	background-position: center top;
	font-size:12px;
	font-weight:bold;
	padding: 15px 15px 0px 15px;
	color:#3c1c01; /* very dark green */
	float:left;
	display:block;
	text-decoration:none;
	height: 19px;
	width: 63px;
}
.menuitem:hover {
	color:#823304; /* brown */
}

.wrapper {
	background: url('images/shadow.gif') no-repeat bottom right;
	line-height: 0;
}
.wrapper img {
	float: none;
	margin: 0;
	background: #e4d9a2; /* light brown */
	padding: 4px;
	border: 1px solid #823304; /* brown */
	position: relative;
	left: -3px;
	top: -3px;
}

.tiny{
    font-size: 6px;
    padding: 0;
}
.firstOrLast {
    margin: 0; /* zeroing the margin of the first element in a div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
}
