/* 
Title:     HHBD master style
Author:    gincgko72 at yahoo.com.au
Updated:   4 October 2007
*/

body  {
	font: 90% "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	background-color: #A40802;
	margin: 0; /* 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. */
	color: #442000;
}

/* links */

a:link {
	padding-bottom: 0;
	color: #B22222;
	text-decoration: none;
	border-bottom: 1px solid #dbd5c5;
	}
a:visited {
	padding-bottom: 0;
	color: #821111;
	text-decoration: none;
	border-bottom: 1px solid #dbd5c5;
	}
a:hover {
	padding-bottom: 0;
	color: #226FCB;
	border-bottom: 2px solid #dbd5c5;
	}

/* page structure
---------------------------------------------------------- */

#container { 
	border-width: 5px;
	border-style: double;
	border-color: #663333;
	width: 780px;
	height: auto;
	background-color: #ffd700;
	margin: 10px auto; /* the auto margins center the page */
	text-align: center;
} 

/* header ---------------------------------------------------------- */

#header { 
	padding:0px;
	height:239px; 
	background:url(images/HHBD_logo_head_bend2.jpg) top center no-repeat;
	text-align: center;
	border-bottom:solid #B22222;
	} 
#header h1 {
	margin: 0; /* 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: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	}

/* navigation */	

#nav {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style-type:none;
	}
#nav ul {
	margin:0;
	padding-left:0;
	padding-right:0;
	padding-bottom:0;
	padding-top:226px;
	list-style: none;
	border-top: none;
	width:100%;
	font-family: Trebuchet MS, Helvetica, sans-serif;
	font-size: 80%;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
	}
#nav li {
	display:inline;
	}
#nav a:link, #nav a:visited, #nav a:active {
	padding: 0.2em 1em;
	color: #FFD700;
	font-weight:bold;
	border-right-style:solid;
	border-right-color:#BB0505;
	border-right-width:1px;
	border-left-style:solid;
	border-left-color:#FFFF33;
	border-left-width:1px;
	background-color: #4682B4;
	border-top-style:solid;
	border-top-color:#FFFF33;
	border-top-width:1px;
	background-color: #B22222;
	border-bottom:none;
	}
#nav a:hover {
	color: #B22222;
	font-weight:bold;
	background-color: #FFD700;
	border-right-style:solid;
	border-right-color:#FFFF33;
	border-right-width:1px;
	border-left-style:solid;
	border-left-color:#B22222;
	border-left-width:1px;
	border-top-style:solid;
	border-top-color:#B22222;
	border-top-width:1px;
	border-bottom-style:solid;
	border-bottom-color:#FFFF33;
	border-bottom-width:1px;
	}
	
/* content */

p {
	line-height: 100%;
	}
h1, h2, h3, h4, h5, h6, h7, h8  {
	margin: 0;
	font-family: Trebuchet MS, Helvetica, sans-serif;
	color: #330000;
	}
h1 {
	letter-spacing: -1px;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.5;
	}
h2 {
	font-size: 1.2em;
	line-height: 1.2;
	}
h3 {
	font-size: 1em;
	font-style: italic;
	line-height: 1;
	}
h4 {
	text-align: center;
	letter-spacing: +1px;
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1.5;
	}
h5 {
	text-align: center;
	font-size: 1.4em;
	line-height: 1.2;
	}
h6 {
	text-align: center;
	font-size: 1.2em;
	font-style: italic;
	line-height: 1;
	}

#sidebar1 {
	float: right;
	margin: 5px;
	width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	hight:auto;
	background-color: #ffd700; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 10px;
	border-style: solid;
	border-color: #663333;
	border-width: 1px;
	font-size: 0.8em;
	font-weight: bold;
	text-align: left;
	}
#sidebar1 ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}
#sidebar1 ul li {
	margin: 2px 0 0;
	padding: 5px;
	background-color: #EBD47A;
	border-bottom: 1px dotted #226fcb;
	}
#sidebar1 ul li h2{
	font-family: Trebuchet MS, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: bold;
	line-height: 27px;
	background-color: #000000;
	color: #6d6f5c;
	font-variant: small-caps;
	}
#sidebar1 a:link {
	text-decoration: none;
	color: #B22222;
	border: none;
	}
#sidebar1 a:hover {
	color: #226FCB;
	background-color: #EFDF7F;
	}
#sidebar1 a:active {
	font-weight: bold;
	color: #fff;
	background-color: #EBD47A;
	}
#sidebar1 em {
	font-size:80%;
	}


#mainContent { 
	margin: 0 250px 0 0;
	padding: 20px 20px;
	text-align: left;
	}

#newsbox {
	margin: 0 90px 0 90px;
	padding: 20px 20px;
	text-align: center;
	border: solid #330000 1px;
	background-color: #EBD47A;
	}
	
#footer { 
	padding: 0 20px 0 10px;
	background-color:#ffd700; 
	} 
#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: 75%;
	text-align: center
	}

/* The floated element must precede the element it should be next to on the page. */
.fltrt {
	float: right;
	margin-left: 8px;
	}
.fltlft {
	float: left;
	margin-right: 8px;
	}
.figright {
  float: right;
  border: 1px #B22222 solid;
  background-color:#EBD47A;
  margin: 5px;
  padding: 5px;
}
.figleft {
  float: left;
  border: 1px #B22222 solid;
  background-color:#EBD47A;
  margin: 5px;
  padding: 5px;
}
.figcap {
  text-align: center;
  font-style: italic;
  font-size: 0.9em;
  text-indent: 0;
}
.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:0;
    font-size: 1px;
    line-height: 0px;
	}
