  
body {
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #999999 url(images/pattern01.gif) repeat;
	margin:0;
	padding:0;
	text-align:center;
	width: 100%;
}

h1 {
	color: #FF0000;
	font-size: large;
	font-weight: bold;
}

h2 {
	color: #330099;
	font-size: medium;
	font-weight: bold;
}

h3 {
	color: #666666;
	font-size: medium;
	font-weight: bold;
}

h4 {
	color:#999999;
	font-weight: bold;
}

p.bodystyle {font-size: x-small;}
	
#header{
	position:relative;
  	top:0;
  	left:0;
	height:73px;
	width:100%;
}
#pagewidth{ 
  	width:840px;  /* When changing this, also change div.content width */
  	text-align:left;  
  	margin-left:auto; 
  	margin-right:auto;
	margin-top: 10px; 
	padding-left: 0px;
	padding-top: 10px;
	border: #FF0000 solid 5px;
	background-color: #FFF;
}
#maincol{
	float: right;
	display: inline;
	position: relative;
	width: 300px; /* This must be changed when div.container width is changed */
	min-height: 523px;
	background-image:  url(images/maincol_bg.gif) repeat-x;
	padding: 5px 30px 20px 50px;
	text-align:justify;
 }
 
 * html #maincol {
    height: 523px;
}
a:link { color:#FF0000; text-decoration: none; }
a:active { color:#CC0000; text-decoration: underline;}
a:hover { color:#330099; text-decoration: underline;}
a:visited { color:#990000; text-decoration: none;}

img.floatRight { 
    float: right; 
    margin: 5px 0px 5px 10px; 
}

#leftcol{
 width:450px; 
 float:left; 
 position:relative; 
 padding: 0 0 10px 0;
 }
/***** Hover Navigation Styles *****/ 
/* List Item Hover Menu */

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

div.nav {
	position: relative;
	float: left;
	width: 450px;
	padding: 0px;
}
#nav ul, li { /* using a list for menu */
list-style-type: none;  /* cleaning up the list */
margin:0;
padding:0;
}

#nav ul {
position: absolute; /* positioning for IE5 et IE5.5 */
left: 0;
top: 0px;
background: transparent url(images/ifap_navigation.png) top left no-repeat; /* general background for the menu */
height: 523px;
width: 450px;
text-align: center;
}

#nav li {
display: inline; /* correction for IE5 et IE5.5 */
}

#nav li a { /* buttons dimensions and definition */
display: block;  /* block for <a> to give it its dimensions */
height: 53px;
width: 450px;
line-height: 53px;  /* height of line to avoid paddings */
text-decoration: none;
}

#nav li a:hover {
color: #000;
background: transparent url(images/ifap_navigation.png) top left no-repeat;
}

#nav a#pixelwranglers:hover {
background-position: 0% -523px; /* move of background for each button */
}

#nav a#mffa:hover {
background-position: 0% -576px;
}

#nav a#mfgd:hover {
background-position: 0% -629px;
}

#nav a#mfd:hover {
background-position: 0% -682px;
}

#nav a#tdm:hover {
background-position: 0% -735px;
}

#nav a#blogs:hover {
background-position: 0% -788px;
}

#nav a#travel:hover {
background-position: 0% -841px;
}

#nav a#family:hover {
background-position: 0% -894px;
}

#nav a#about:hover {
background-position: 0% -947px;
}


/*****footer styles *****/
 
#footer{
	height:auto;
	background-color:#CCCCCC;
	color: #FF0000;
	clear: both;
	padding-bottom: 10px;
	border-top: #FF0000 solid 2px;
	font-size: xx-small;
	font-family: Verdana, Arial, Helvetica, sans-serif;
 }

a.footerNav:link { color:#FF0000; text-decoration: none;}
a.footerNav:active { color:#FF0000; text-decoration: none;}
a.footerNav:hover { color:#330099; text-decoration: none;}
a.footerNav:visited { color:#990000; text-decoration: none;}

#footerNav{
	height:30px;
	padding: 3px;
	clear: both;
	color: #FF0000;
	letter-spacing: 0.1em;
 }
.horiz {
	width: 95%;
	margin: 5px;
	padding-left: 50px;
	position: relative;
	text-align: justify;
	text-decoration: none;
}

.horiz ul { margin: 0; padding: 0;}

.horiz li { display: inline; 
	margin: 0;
	padding-top: 0;
	float: left;
	padding-right: 25px;
	text-align: center;
	font-weight: bold;
	list-style-image:   url(images/menubullet.gif);
}

div.horiz a:hover {
	color: #330099;
	text-decoration: none;
} 

