/**
 * 100% height layout with header and footer
 * ----------------------------------------------
 * Feel free to copy/use/change/improve
 */

html,body {
	margin:0;
	padding:0;
	height:100%; /* needed for container min-height */
	background: #FFFFFF;
	background-image: url(bg01a.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	font-family: Helvetica, Arial, sans-serif;
	font-size:12px;
	color:#666;
}

table {
	margin: 0;
	padding: 0;
}

li {
	margin: 15px 0;
}

h1 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: bold;
}
	#h1 a:link, a:visited, a:active, a:hover {
	color: #666;
	text-decoration: none;
	}

h2 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: bold;
	color: #075DAA;
}

h3 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: bold;
	color: #075DAA;
}

div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width: 850px;
	background-image: url(bg03.png);
	background-position: center;
	background-repeat: repeat-y;
	
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/

	min-height:100%; /* real browsers */
}


div#header {
	height: 110px;
	padding-top: 20px;
	background-image: url(bg02.png);
	background-position: center;
	background-repeat: repeat-y;
}

.centredimg {
	text-align: center;
}

div#nav {
	height: 35px;
	background-image: url(bg02.png);
	background-position: center;
	background-repeat: repeat-y;
    border-bottom: 1px solid #CCCCCC;
}

    #nav ul {
      margin: 0;
      padding-top: 10px;
	  padding-left: 60px;
      list-style: none;
      }
	  
    #nav li {
      float: left;
      background: url("nav_left03.png") no-repeat top left;
      margin: 0;
      padding: 0 0 0 10px;
      border-bottom: 1px solid #CCCCCC;
      }
    #nav a {
      float: left;
      display: block;
      background: url("nav_right03.png") no-repeat top right;
      padding: 5px 10px 5px 0px;
      text-decoration: none;
      font-weight: bold;
      color: #FFFFFF;
	  text-shadow: 1px 1px 1px #999;
      }
	  
    #nav > ul a {width:auto;}
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #nav a {float:none;}
    /* End IE5-Mac hack */
	
    #nav a:hover {
      color:#333;
      }
	  
    #nav #current {
      background-position: 0 -150px;
      border-width: 0;
      border-bottom: 1px solid #CCCCCC;
      }
	  
    #nav #current a {
      background-position: 100% -150px;
      padding-bottom: 5px;
      color: #333;
      }
	  
    #nav li:hover, #nav li:hover a {
      background-position: 0 -150px;
      color:#333;
      }

    #nav li:hover a {
      background-position:100% -150px;
      }


div#subnav {
	height: 25px;
	background-image: url(bg03.png);
	background-position: center;
	background-repeat: repeat-y;
    border-bottom: 1px solid #CCCCCC;
	padding: 10px 30px 0 30px;
}

	#subnav p {
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-weight: bold;
	}

	#subnav a:link, a:visited, a:active {
	text-decoration: none;
	color: #333;
	}
	
	#subnav a:hover {
	text-decoration: underline;
	color: #075DAA;
	}

div#flashcontent {
	padding: 0 25px 0 25px;
	min-height: 475px;
}

div#content {
	padding: 20px 30px 150px 30px;
}

	div#content a:link, a:visited, a:active {
	text-decoration: none;
	font-weight: bold;
	color: #075DAA;
	}
	
	div#content a:hover {
	text-decoration: underline;
	}

div#footer {
	position:absolute;
	width:100%;
	bottom:0; /* stick to bottom */
	background-image: url(bg02.png);
	background-position: center;
	background-repeat: repeat-y;
}
	div#footer p {
		padding:15px;
		margin:0;
		text-align: center;
		color: #FFFFFF;
	}
	
	div#footer a:link {
	text-decoration: none;
	font-weight: bold;
	color: #FFFFFF;
	}

	div#footer a:hover {
	text-decoration: underline;
	}

div#credit {
	position: absolute;
	right: 15px;
	bottom: 15px;
	width: 104px;
	height: 11px;
	}