html {
	margin: 0;
	padding: 0;
	}
	
body {
	margin:0;
	padding:0;
	background: #000;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 72%;
	color: #999;
	}
	

/* structure */

#wrapper {
	position:relative;
	width: 800px; /*Width of main container*/
	margin: 0 auto; /*Center container on page*/
	padding: 0;
	}

#masthead {
	height: 90px;
	padding: 0;
	margin:0;
	background-image:url(../images/top3.jpg)
	background-position:right;
	background-repeat:no-repeat;
}

#topnav {
	margin-left:150px; /* match width of leftbar */
	width:800px;
	}
	
#content {
	float:left;
	display: inline;
	margin-left:150px; /* match width of leftbar */
	padding: 20px;
	overflow:visible;
	width:520px;
	}
	
#leftbar {
	float:left;
	width: 150px;
	padding: 0;
	margin-left:-800px;
	}
	
#rightbar {
	float:left;
	width: 90px;
	padding: 0;
	}
	
#footer {
	clear: both;
	width:800px;
	text-align: center;
	padding: 4px 0;
	background-image:url(../images/bottom2.jpg)
	background-position:right;
	background-repeat:no-repeat;
	}
	
#footer p {
	font-size:0.85em;
	}
	
.thumbnail {
	float: left;
	width: 100px;
	height: 100px;
	margin: 0 5px 5px 0;
	padding: 5px;
	background: #333;
	text-align:center;
	color: #999;
	}


/*** text ***/

p { font-size: .9em; line-height: 1.6em; margin: 1.3em 0em 1.3em 0em; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; margin:0; color:#999; }

h1 { font-size: 1.8em; margin: 0 0 1.0em 0; }
h2 { font-size: 1.6em; margin: 1.0em 0 0 0; }
h3 { font-size: 1.4em; margin: 1.0em 0 0 0; }
h4 { font-size: 1.2em; margin: 1.0em 0 0 0; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.8em; }


/*** links ***/

a:link { text-decoration: none; color: #fff; }
a:active { text-decoration: none; color: #3cf; }
a:visited { text-decoration: none; color: #fff; }
a:hover { text-decoration: none; color: #3cf; }


/*** forms ***/
  
form { margin:0; padding:0; display:inline; }

input, text, textarea { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:1em; }

input.button {
   color:#999;
   background-color:#000;
   border:1px solid #666;
   -moz-border-radius:4px;
   -webkit-border-radius:4px;
   }
   
input.button:hover, input.button:focus {
   color:#3cf;
   background-color:#000;
   border:1px solid #3cf;
   -moz-border-radius:4px;
   -webkit-border-radius:4px;
   }
   
input, text, textfield, textarea, password, checkbox {
   color:#fff;
   background-color:#333;
   border: 1px solid #666;
   }
 
input:focus, text:focus, textarea:focus, textfield:focus, password:focus, checkbox:focus {
	background-color:#666;
	border: 1px solid #999;
	}
   
   
/* other properties */
 
.floatleft { float: left; }
.floatright { float: right; }
.floatleftpad { float: left; margin: 0 8px 0 0;}
.floatrightpad { float: right; margin: 0 0 0 8px; }

.clearboth { clear: both; }
