td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(media/bg.jpg);
	background-repeat: repeat-y;
	background-position: center;
	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 */
	background-color: #F0F0F0;
}
#container {
	width: 1024px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#nav {
	background:url(media/topbg.jpg) NO-REPEAT; 
	padding: 0 10px 0 20px;  /* 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. */
	height: 34px;
	padding-top: 10px;
}

#iwant { background:url(media/iwantbg.jpg) no-repeat;
height: 200px;
padding-top: 7px;
padding-left: 9px;
margin-bottom: 10px;
}

#apDiv1 {
	position:absolute;
	left:195px;
	top:103px;
	width:498px;
	height:400px;
	z-index:1;
	padding: 10px;
	background-color: #FDEFCE;
	border: 1px solid grey;
	-moz-box-shadow: 0px 0px 5px black;
	-web-box-shadow: 0px 0px 5px black;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	visibility: hidden;
}
.title { background-color: #0858E0;
color: white;
padding: 5px;
font-family: Arial, Helvetica, sans-serif;
}

#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: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#AD650E;
	margin-top: 10px;
	margin-bottom: 10px;
	height: 68px;
}
#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; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	color: white;

}

.style1 {
	font-size: x-small
}
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
}

#template { background:url(media/title/1.gif) no-repeat;
height: 55px;
padding-left: 9px;
padding-top: 15px;
margin-bottom: 10px;
vertical-align: middle;
	font-size: xx-large;
	font-weight: bold;
	color: #F5F5F5;
}

/* --- Grid --- */

.grid {
  width: 1020px;
  margin: auto;
  margin-bottom: 10px;
}

.grid-m1 {
  float: left;
  width: 0px;
  height: 1px;
}

.grid-c1 {
  float: left;
  width: 160px;
}

.grid-m2 {
  float: left;
  width: 12px;
  height: 1px;
}

.grid-c2 {
  float: left;
    width: 160px;
}

.grid-m3 {
  float: left;
  width: 12px;
  height: 1px;  
}

.grid-c3 {
  float: left;
  width: 160px;

}

.grid-m4 {
  float: left;
  width: 12px;
  height: 1px;
}

.grid-c4 {
  float: left;
  width: 160px;
}

.grid-m5 {
  float: left;
  width: 12px;
  height: 1px;
}

.grid-c5 {
  float: left;
  width: 160px;
}

.grid-m6 {
  float: left;
  width: 12px;
  height: 1px;
}

.grid-c6 {
  float: left;
  width: 160px;
}

.underlinemenu{
font-weight: bold;
width: 100%;
}

.underlinemenu ul{
padding: 6px 0 7px 0; /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/
margin: 0;
text-align: left; //set value to "left", "center", or "right"*/
}

.underlinemenu ul li{
display: inline;
}

.underlinemenu ul li a{
color: white;
padding: 6px 3px 4px 3px; /*top padding is 6px, bottom padding is 4px*/
margin-right: 20px; /*spacing between each menu link*/
text-decoration: none;
border-bottom: 5px pink; /*bottom border is 3px*/
}

.underlinemenu ul li a:hover, .underlinemenu ul li a.selected{
border-bottom: solid white;
}




.style2 {color: #FFFFFF}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}

img {
    border: none;
} 

	

	
/*- Menu 8--------------------------- */
	
#nav-sub {
	width: 200px;
	margin: 10px;
	float: left;
	}
	
#nav-sub li a {
	height: 32px;
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	height: 24px;
	text-decoration: none;
	}	
	
#nav-sub li a:link, #nav-sub li a:visited {
	color: #656556;
	display: block;
	background:  url(media/nav-sub.gif);
	padding: 8px 0 0 20px;
	}
	
#nav-sub li a:hover {
	color: white;
	background:  url(media/nav-sub.gif) 0 -32px;
	padding: 8px 0 0 20px;
	}
	
	#nav-sub li active {
	color: white;
	background:  url(media/nav-sub.gif) 0 -32px;
	padding: 8px 0 0 20px;
	}
	
	.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;
}

#navmainContent { margin-left: 225px;
min-height: 190px;
}

#sidebar {
	float: left; /* since this element is floated, a width must be given */
	width: 220px; /* 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 */
}

#hpContent { margin-left: 345px;
min-height: 190px;
}

#hpSidebar {
	float: left; /* since this element is floated, a width must be given */
	width: 333px; /* 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 */
}
