/* BASIC */

html {
	height: 100%;
	margin:0;
	padding:0;
}

html, body
{ 
	/* this hack forces a vertical scrollbar to appear in Mozilla/Firefox (regardless of page size) to avoid a "page shift" */
	min-height: 100.1%;
} 

body {
	height: 100%;
	margin:0;
	padding:0;
	background: #dddcd9 url(../images/grad.jpg) repeat-x top center; 
	background: #8ba8c2 url(../images/page_bg.jpg) repeat-y center top;
	text-align: center;
}

#wrapper
{
   	width: 800px;
	margin-right: auto;
	margin-left: auto;
	padding:0;
	border-left: solid 1px #333333;
	border-right: solid 1px #333333;
	border-top: 1px solid #000000;
	/* border-bottom: 3px solid #c70e0e; */
	text-align: left;
	background-color:#ffffff;
	position: relative;
	min-height:100%;
}

#header {
	text-align:center;
	height:150px;
	width:800px;
	/* border-bottom: solid 3px #8ba8c2; */
}


#header h1
{
	text-indent: -9000px;
	background:#333333 url(../images/header.jpg) no-repeat center top; 
	display: block;
	height:150px; 
	margin:0;
	padding:0;
	
}

#content
{
	background-color: #FFFFFF;
	color:#333333;
	clear:both;
	width:800px;
	padding-bottom: 40px;   /* Height of the footer */
	margin-bottom:1px;
	height:100%;
	clear:both;
	float:left;
	background:url(../images/header_bg.jpg) repeat-x;
}

#content_primary {
	margin-left:10px;
	margin-right:10px;
	margin-bottom:10px;
}

#content_secondary {
	padding:8px;
	padding-top:0;
	margin-right:10px;
	margin-bottom:10px;
	
}

#thumbnails {
width:600px;
margin-right: auto;
	margin-left: auto;
}

#thumbnails img {
border: solid 2px #666666;
margin:10px;
padding:0;
}

#thumbnails p {
text-align:center;
}

#navigation {
	float:left;
	width:800px; /* 	width of the container */
	padding:0;
	background-color:#1f5b94;
	margin: 0;
	border-bottom: 2px solid #999999; 
	border-top: 2px solid #999999; 
	display:block;

}

#navigation ul {
display:block;
}

#navigation ul li {
	 position:relative;
		float:left;
		list-style:none;
		margin:0;
		padding:0;
		color:#CCCCCC;
		padding-top:9px;
		padding-bottom:9px;
}

#navigation ul li a {
		margin:0;
		padding:5px;
		margin-left: 15px;
		color:#ffffff;
		text-decoration:none;
		line-height:1.3em;
		font-size: .97em;
}

#navigation ul li a.first {
		margin-left: 5px;
		
}

#navigation ul li a:visited {
	color: #ffffff;
}

#navigation ul li a:hover {
		color:#333333;
		background-color:#FFFFCC;
}






/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; }
* html ul li a { height: 1%; }
/* End */



#content_primary ul
{
	padding:5px;
	margin-left:30px;
	/*list-style-type:none; */
}


#footer {
   position:absolute;
   bottom:0;
   width:800px;
   height:40px;   /* Height of the footer */
   /*border-top: 1px solid #999999;*/
   border:none;
  border-bottom: 1px solid #333333; */
   color:#999999;
   /*background-color:#c70e0e;*/
   background-color:#999999;
   /*background:#c70e0e url(../images/roundbar-active.gif) 0 20% repeat; */
   text-align:center;
   overflow:hidden;
} 

#footer li {
	display:inline;
	padding:20px;
}

#footer a {
	font-size:95%;
	color:#ffffff;
}

#footer a:hover {
	color:yellow;
}


h1, h2, h3, h4, p, ul, ol {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Geneva, Arial, sans-serif; 
}

a, p, li, ul, ol, dl {
	margin: 0;
	margin-bottom: 8px;
	padding: 0;
	font-family: Helvetica, Geneva, Arial, sans-serif; 
	letter-spacing:.01em;	
  	line-height: 1.3em;
	font-size: .95em;
}

a {
	color: blue;	
	text-decoration: underline;	
}

a:hover {
	color: red;
}

a:visited {
	color: maroon;
}

* html #wrapper { height:100% };



a img { 
	border: none;
}


h1 {
	padding-top:10px;
	font-size: 1.6em;
}

h2 {
	padding-top:10px;
	padding-bottom:10px;
	font-size: 1.4em;
	}

h3 {
	padding-top:10px;
	padding-bottom:0;
	font-size: 1.2em;
	color:#333333;
	margin-bottom:8px;
}

h4 {
	padding-top:10px;
	font-size: 1em;
}


ul, ol
{
	padding:0;
	/*list-style-type:none;*/
	font-size: .97em;
}

img {
border: solid 1px #333333;

}

p
{
	margin-top:8px;
	margin-bottom:12px;
	max-width:700px;
}


/* CSS Hacks */
html, body
{ 
	margin-right: auto;
	margin-left:auto;
} 

* html #wrapper {height:100%;}


