@charset "utf-8";

html
{
	height: 100%;
}

body
{
	height: 100%;
	font: 95% Cambria, Calibri, Verdana, Geneva, sans-serif;
	background-color: #667363;
	background-image: url(bg_grad.jpg);
	background-repeat: repeat-x;
	margin: 4px 10px 4px 4px;
	padding: 0px;
	text-align: center;			/* this centres the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

.baseFormat #container
{
	width: 80%;
	background-color: #EBEBEB;
	margin: 0px auto;				/* the auto margins (in conjunction with a width) centre the page */
	border-top: 2px solid #C6D3C3;
	border-right: 2px solid #566353;
	border-bottom: 2px solid #566353;
	border-left: 2px solid #C6D3C3;
	text-align: left;				/* this overrides the text-align: centre on the body element */
}

.baseFormat #header
{
	background-color: #A6B3A3;
	padding: 0px 10px;			/* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	border-bottom: inset #C6D3C3;
}

.baseFormat #sidebar #menu #menuPicture
{
	background-color: #E3E3E3;
	color: #637060;
	font-size: smaller;
	font-style: italic;
	margin: 0px;
	padding: 8px;
}

.baseFormat #header #dateTime
{
	z-index: 201;
	color: #500000;
}

.baseFormat #header h1
{
	font: 340% "Edwardian Script ITC", "Monotype Corsiva", Mistral, "Brush Script MT", Pristina, cursive;
	color: ##8A5A50;
	margin: 0px;					/* zeroing the margin of the last element in the #header 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 */
	padding: 10px 0px;		/* using padding instead of margin will allow you to keep the element away from the edges of the div */
}


/*
	Tips for sidebar:
	1. Since we are working in percentages, it's best not to use padding on the sidebar. It will be added to the width for standards compliant browsers creating an unknown actual width.
	2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".baseFormat #sidebar p" rule.
	3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/

.baseFormat #sidebar
{
	background-color: #EBEBEB;
	float: right;					/* since this element is floating, a width must be given */
	width: 20%;
	padding-top: 15px;		/* top and bottom padding creates visual space within this div  */
	padding-bottom: 15px;
}

.baseFormat #sidebar p, .baseFormat #sidebar h3
{
	margin-left: 10px; 		/* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

.baseFormat #sidebar #menu
{
	width: 96%;
	padding: 0px;
	border-left: 1px solid #C6D3C3;
	border-right: 1px solid #566353;
	border-bottom: 1px solid #566353;
	font: medium Calibri, Verdana, Geneva, sans-serif;
}

.baseFormat #sidebar #menu #submenu
{
	background-color: #E3E3E3;
	color: #637060;
	font-size: smaller;
	font-style: italic;
	margin: 0px;
	padding: 8px;
}

.baseFormat #sidebar #menu #weathersummary
{
	background-color: #E3E3E3;
	color: #AA1010;
	font-size: smaller;
	font-weight: bold;
	font-style: italic;
	margin: 0px;
	padding: 8px;
}

.baseFormat #sidebar #menu a:link, .baseFormat #sidebar #menu a:visited
{
	display: block;
	color: #263323;
	background-color: #A6B3A3;
	border-top: 1px solid #C6D3C3;
	border-bottom: 1px solid #566353;
	padding: 3px 0px 3px 10px;
	text-decoration: none;
}

.baseFormat #sidebar #menu a:hover
{
	display: block;
	color: #364333;
	background-color: #96A393;
	border-top: 1px solid #566353;
	border-left: 1px solid #566353;
	text-decoration: none;
}

.baseFormat #sidebar #menu #dummy
{
	display: block;
	color: #666666;
	background-color: #A6B3A3;
	border-top: 1px solid #C6D3C3;
	border-bottom: 1px solid #566353;
	padding: 3px 0px 3px 10px;
}

.baseFormat #sidebar #menu #extratext
{
	background-color: #E3E3E3;
	color: #637060;
	font-size: smaller;
	font-style: italic;
	margin: 0px;
	padding: 8px;
}

/*
	Tips for mainContent:
	1. The space between the mainContent and sidebar is created with the right margin on the mainContent div.  No matter how much content the sidebar div contains, the column space will remain. You can remove this right margin if you want the #mainContent div's text to fill the #sidebar space when the content in #sidebar ends.
	2. To avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 430px or smaller (this includes images).
	3. In the Internet Explorer conditional comment below, the zoom property is used to give the mainContent "hasLayout". This avoids several IE-specific bugs.
*/

.baseFormat #mainContent
{
	margin: 0px 26% 0 10px;/* the left margin should mirror the margin on the header and footer for proper alignment */
}

.baseFormat #mainContent a:link, .baseFormat #mainContent a:visited
{
	color: #5B7959;
	text-decoration: underline;
}

.baseFormat #mainContent a:hover
{
	color: #A3BBA2;
	text-decoration: overline;
}

.baseFormat #mainContent #weather
{
	background-color: #E2E2E2;
	border: 1px solid #566353;
	margin: 4px;
	font-size: small;
}

.baseFormat #mainContent #currentConditions
{
	margin-bottom: 1em;
	font-size: medium;
}

.baseFormat #footer
{ 
	background-color: #A6B3A3;
	color: #465343;
	font-size: smaller;
	padding: 0px 10px;		/* this padding matches the left alignment of the elements in the divs that appear above it */
	border-top: outset #D6E3D3;
}

.baseFormat #footer p
{
	margin: 0px;					/* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0px;		/* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

.baseFormat #footer a:link, .baseFormat #footer a:visited
{
	color: #465343;
	text-decoration: none;
}

.baseFormat #footer a:hover
{
	color: #263323;
	text-decoration: overline;
}

/* Form formatting */

#formmail
{
	font-family: Verdana, Geneva, sans-serif;
	font-size: .75em;
	color: inherit;
	background-color: #F0FFF0;
}

#formmail .input
{
	background-color: #E5FFE8;
	font-family: Arial, Helvetica, sans-serif;
	border-width: thin;
}

#formmail .label
{
	float: left;
	width: 12em;
	text-align: right;
	vertical-align: bottom;
	clear: left;
}

#formmail .required
{
	color: #AA0000;
	background-color: inherit;
}

#formmail .submit
{
	float: left;
	margin-top: 3em;
	margin-left:6em;
}

#formmail .reset
{
	float: left;
	margin-top: 3em;
	margin-left: 2em;
}

#from:focus, #email:focus, #telephone:focus, #message:focus, #subject:focus
{
	background-color: #FFFFCC;
	border-bottom-color: #CCCCCC;
	border-right-color: #CCCCCC;
}

#weatherForm
{
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: #EBEBEB;
}

#weatherForm .location
{
	cursor: context-menu;
	color: #263323;
	background-color: #D8DCD8;
	border-top: 1px solid #C6D3C3;
	border-left: 1px solid #C6D3C3;
	border-right: 1px solid #566353;
	border-bottom: 1px solid #566353;
}

#weatherForm .location:hover
{
	color: #233020;
	background-color: #D2D6D2;
}

/* Miscellaneous classes for reuse */

.fltrt									/* this class can be used to float an element right in your page. The floating element must precede the element it should be next to on the page */
{
	float: right;
	margin-left: 8px;
}

.fltlft									/* this class can be used to float an element left in your page. The floating element must precede the element it should be next to on the page */
{
	float: left;
	margin-right: 8px;
}

.clearfloat							/* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
{
	clear: both;
  height: 0px;
  font-size: 1px;
  line-height: 0px;
}

.italicised
{
	font-style: italic;
}

.required
{
	color: #F00000;
}

#map
{
	text-align: center;
	font-variant: small-caps;
	color: #A0A0A0;
	border-bottom-color: #D0E0D0;
	border-right-color: #D0E0D0;
}

.ajaxtooltip
{
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	width: 310px;
	background-color: #D8DAD0;
	color: #566353;
	border-top: 2px groove #C6D3C3;
	border-right: 2px groove #566353;
	border-bottom: 2px groove #566353;
	border-left: 2px groove #C6D3C3;
	padding: 6px 2px 6px 2px;
	text-align: center;
}

hr
{
	color: #99A999;
	background-color: inherit;
	width: 86%;
	height: 1px;
}

[if IE]>
	<style type="text/css">
	/* Place css fixes for all versions of IE in this conditional comment */
	.twoColLiqRtHdr #sidebar {padding-top: 30px;}
	.baseFormat #mainContent {zoom: 1; padding-top: 15px;}
	/* The above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
	</style>
<![endif]
