/***************/
/* main layout */
/***************/
html, body { height: 100%; }

body { width: 823px; margin: auto; font-family: Tahoma, Arial, Helvetica, sans-serif; margin-top: 10px; }

/* specific link colours for this site */
a:link 	  { color: #000; text-decoration: none; }
a:visited { color: #000; text-decoration: none; }
a:hover   { color: #939ba1; text-decoration: none; }
a:active  { color: #939ba1; text-decoration: none; }


/********************/
/* content elements */
/********************/

#leftSideContainer  { float: left; width: 170px; }
#mainContainer      { float: left; width: 480px; margin-left: 20px; }
#rightSideContainer { float: left; width: 133px; margin-left: 20px; }

/* left */
#leftSideContainer { font-size: 1.3em; line-height: 1.3em; font-weight: bold; margin-bottom: 10px; }


/* middle */
#mainContainer #header { background-color: #939ba1; padding: 4px 6px; margin-bottom: 20px; }

#mainContainer #header h1 { float: left; color: #fff; text-transform: uppercase; }

#mainContainer #header form { margin: 0; padding: 0; }

#mainContainer #header form#loginBox       { float: right; margin-top: 1px; }
#mainContainer #header form#loginBox input { width: 100px; }
#mainContainer #header a#logoutLink        { display: block; float: right;}

#mainContainer #fileTable { font-size: 1.0em; }
#mainContainer #fileTable tr.odd { background-color: #dee1e3; }
#mainContainer #fileTable tr th { text-align: left; padding: 20px 0 10px; }
#mainContainer #fileTable tr td { text-align: left; }

/* right */
#rightSideContainer div { font-size: 1.3em; line-height: 1.3em; font-weight: bold; margin-bottom: 10px; }
#rightSideContainer div h1  { font-size: 1.1em; margin: 0 0 4px 0; color: #939ba1; }


h1 { font-size: 1.2em; font-weight: bold; line-height: 1em; }
h2 { font-size: 1.2em; font-weight: bold; line-height: 1em; }
h3 { font-size: 1.1em; font-weight: bold; line-height: 1em; }
h4 { font-size: 1.0em; font-weight: bold; line-height: 1em; }
h5 { font-size: 1em;   font-weight: bold; line-height: 1em; }
h6 { font-size: 1em;   font-weight: bold; line-height: 1em; }



.floatleft { float: left; }

hr {
	border-bottom: dashed #000 1px;
	height: 1px;
	border-top: none;
	border-left: none;
	border-right: none;
}

/*****************/
/* photo gallery */
/*****************/
div.galleryItem { /* one gallery item */
	width: 100px;
	height: 100px;
	float: left;
	margin: 5px;
}

/*******************/
/* footer elements */
/*******************/
#footer { }
#footer a { text-decoration: none; } /* for the clevercherry.com link */


/***********************/
/* general form styles */
/***********************/
#contactform	{ float: left; }  /* the contact form itself */
#contact		{ float: right; } /* contact info or whatever on right */

/* all form elements are contained within a formrow div, with a label and
 *  then the element, this is the best way (but still not good) to emulate
 *  a table */
div.formrow {
	clear: both;
	text-align: left;
	margin-bottom: 10px;
}

div.formrow label {
	float: left;
	text-align: right;
	margin-right: 10px;
	width: 80px; /* default width for a default form, add new form ids and override */
}
div.formrow.indent { margin-left: 90px; } /* label width + label margin-right, override as above */

/* message and error boxes, not just useful in contact form */
div.box { border: 1px solid #080; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
div.box.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
div.box.error { border-color: #f00; color: #f00; } /* error box in red */