* html {
margin:0;
padding:0;
}

body{
margin:0;
padding:0;
font-size: 12px;
background-color: #FFFFFF;
background-image:url(_images/bg.jpg);
_background-image:url(_images/iebg.jpg);
background-repeat:repeat-y;
background-position:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

ul {
margin:0px;
padding:0px;
}

hr {
height:1px;
width:50%;
background-color:#000;
color:#000;
border:none;
}

a{
color:#2E3192;
text-decoration: none;
}

h2 {
font-size:18px;
font-weight:100;
padding-left:5px;
margin-top:10px;
}

#maincontainer{
width: 800px; 
margin: 0 auto;

}

#header{
background-image: url(_images/header.jpg);;
_background-position:top center;
height: 175px;
}

#nav {
  height:41px; 
  text-align:center; 
  background: url(_images/navbg.jpg);
_float: display:inline;
_margin-left:1px;
_width:801px;
}

#subnav {
height: 20px;
background-color:#333;
width:800px;
list-style-type:none; 
_margin-left:1px;
_width:801px;
}

#subnav li {
  float:left;
  display:inline;
  width:90px;
  background-color:#333;
  color:#ddd;
margin:0px;
text-align:center;
  line-height:20px;
  font-family:arial, verdana, sans-serif;
}

.nolink {
display:block;
width: 150px;
font-size:14px;
}

#subnav li a, #subnav li a:visited {
  display:block;
  width:80px;
  height:20px;
  color:#ddd;
  font-size:14px;
  text-decoration:none;
  line-height:20px;
  font-family:arial, verdana, sans-serif;
  background-color:#333;

}

#subnav li a:hover {
  color:#fff;
  background-color:#666;
} 

#subnav li a.current, #subnav li a.current:visited,  #subnav li a:active, #subnav li a:focus {
  color:#fff;
  background-color:#666;
  }

#masternav {
  padding:0; 
  margin:0 0px; 
  list-style-type:none; 
  width:800px;
  height:41px; 
  _width:801px;
  background:url(_images/navbg.jpg) no-repeat top right;
}

#masternav li {
  float:left;
  display:inline;
  width:120px;
  background:url(_images/navbg.jpg);
}

#masternav li a, #masternav li a:visited {
  display:block;
  width:120px;
  height:41px;
  color:#ddd;
  font-size:14px;
  text-decoration:none;
  line-height:41px;
  font-family:arial, verdana, sans-serif;
  background:url(_images/navbg.jpg);
}

#masternav li a:hover {
  color:#fff;
  background:url(_images/navhov.jpg);
} 

#masternav li a.current, #masternav li a.current:visited,  #masternav li a:active, #masternav li a:focus {
  color:#fff;
  background:url(_images/navcur.jpg);
}

#content{
float: left;
width: 100%;
text-align:justify;
}

#right{
margin-left: 280px; /*Set left margin to LeftColumnWidth*/
}

#left{
float: left;
width: 280px; /*Width of left column*/
margin-left: -800px; /*Set left margin to -(MainContainerWidth)*/
}


#footer{
clear: left;
width: 800px;
_width:801px;
background: black;
color: #2e3192;
padding: 4px 0;
}

#footer a{
color: #FFF;
}

.inner {
margin: 0 20px 10px 10px; /*Margins for inner DIV inside each column (to provide padding)*/
}

.inner ul {
margin-left:30px;
text-align:justify;
}

/* #nav {width:800px; height:41px; font-size:0.85em; position:relative; z-index:100;border-right:1px solid #000;} */
/* hack to correct IE5.5 faulty box model */
* html #nav {width:800px; w\idth:800px;}
/* remove all the bullets, borders and padding from the default list styling */
#nav ul {padding:0;margin:0;list-style-type:none;}
#nav ul ul {width:120px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav li {float:left;width:120px;position:relative;}
/* style the links for the top level */
#nav a, #nav a:visited {display:block;font-size:11px;text-decoration:none; color:#fff; width:120px; height:41px; border:0px; border-width:0px; background:#758279; padding-left:0px; line-height:29px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html #nav a, * html #nav a:visited {width:120px; w\idth:120px;}

/* style the second level background */
#nav ul ul a.drop, #nav ul ul a.drop:visited {background:#d4d8bd url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
/* style the second level hover */
#nav ul ul a.drop:hover{background:#c9ba65 url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
#nav ul ul :hover > a.drop {background:#c9ba65 url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}
/* style the third level background */
#nav ul ul ul a, #nav ul ul ul a:visited {background:#e2dfa8;}
/* style the third level hover */
#nav ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav ul ul {visibility:hidden;position:absolute;height:0;top:41px;left:0; width:120px;border-top:1px solid #000;}
/* another hack for IE5.5 */
* html #nav ul ul {top:40px;t\op:42px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#nav table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
#nav ul ul a, #nav ul ul a:visited {background:#000; color:#fff; height:auto; line-height:1em; padding:5px 10px; width:100px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html #nav ul ul a, * html #nav ul ul a:visited {width:100px;w\idth:100px;}

/* style the top level hover */
#nav a:hover, #nav ul ul a:hover{color:#fff; background:#949e7c;}
#nav :hover > a, #nav ul ul :hover > a {color:#fff;background:url(_images/navhov.jpg);}

/* make the second level visible when hover on first level list OR link */
#nav ul li:hover ul,
#nav ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#nav ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#nav ul :hover ul :hover ul{ visibility:visible;}

.contentheader {
background-image:url(_images/rightheader.jpg);
background-repeat:repeat-y;
background-position:left;
height:40px;
margin-left:0px;
_margin-left:1px;
padding:1px;
}
