td,table,body{Font-Family:Arial, Verdana; font-size: 9pt; }

H1{ font-size: 14pt; } 
H2{ font-size: 13pt; } 
H3{ font-size: 12pt; } 
H4{ font-size: 11pt; } 

TH {text-align:left; }

.templateContentArea { padding-top: 10; }


#menu {
 margin-top: 10;
 width: 120;  
}

#menu ul {
 list-style: none;
 padding: 1;   /* padding to buttons */
 margin: 0 ;   /* indent from outside div */
 width:120;
}

#menu li {
 left: 0;
 margin: 0 ;
 padding: 0;
 display: block;
 position:relative;
 width: 120;   
}

#menu a {
 text-align: center;  /* position text within li button */
 text-decoration: none; /* remove typical underline */
 font-size: 9pt;    /* menu text size */
 display: block;    /* treats layout of buttons like they're table cells rather than list items */
 width: 120;   /* button outside dimensions */
 color: white;  /* link text colour */
 background-color: #333;
 padding:2;   /* padding of text within button */
 margin: 1;   /* padding of button within list item */
}

#menu a:hover {  /* override as neccesary for mouse over effects */
 color: white; 
 background-color: #666;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#menu ul ul {
 display: none;   /* removes the anoying space between buttons where popupmenus exist.*/
 visibility:hidden;  /* dropdowns hidden by default, until hovered over */
 position:absolute;
 top:0;
 left:122; 
 width: 130px;  /* width of the entire dropdown */
 margin: 0;  /* relative position of the menu to the button... 0=tight on bottom.. */
 padding: 2;
 background-color: #555; /* color of the entire dropdown */
}

#menu ul ul ul {
 position: absolute;
 top: auto;  /* auto means that it will be in the typicall indented list position below the first menu */
 left: 0;   /* 0 */
 margin: -20 130;       /* adjust the margins to position the 2nd level popout menu to the right*/
 width: 130;   /* width is based on the containing block */
 background-color: #444; /* color of the entire dropdown */
}

#menu li ul a {  /* override colours for drop down buttons */
 background-color: #666;
 color:white;
 width: 130px;
 text-align:center;
 font-size: 9pt;
 border-top: 1px  solid white;
 border-left: 1px  solid white;
 border-right: 0px ;
 border-bottom: 1px  solid #000000;
 padding:2px;
 margin: 0; 
}


#menu li ul a:hover {  /* override colours for drop down buttons */
 color: white;
 background-color: #999;
}

#menu ul li:hover, #menu ul li.sfhover {
 color: blue;
}


#menu li:hover ul ul, 
#menu li:hover ul ul ul, 
#menu li.sfhover ul ul, 
#menu li.sfhover ul ul ul 
{
 left: -999em;
}

#menu li:hover ul, 
#menu li.sfhover ul 
{ 
  visibility:visible;
  display: block;  /* anoyingly restores the anoying space between buttons where popupmenus exist.*/
}

#menu li li:hover ul, 
#menu li li li:hover ul, 
#menu li li.sfhover ul, 
#menu li li li.sfhover ul {
  visibility:visible;
  left: auto;
  display: block;  /* anoyingly restores the anoying space between buttons where popupmenus exist.*/
}




#catmenu {
 margin-top: 10;
 margin-left:0;
 padding: 0;
 width: 120;  
}

#catmenu ul {
 list-style: none;
 padding: 1;   /* padding to buttons */
 margin: 0 ;   /* indent from outside div */
 width:120;
}

#catmenu li {
 left: 0;
 margin: 0 ;
 padding: 0;
 display: block;
 position:relative;
 width: 120;   
}

#catmenu a {
 text-align: center;  /* position text within li button */
 text-decoration: none; /* remove typical underline */
 font-size: 8pt;    /* menu text size */
 display: block;    /* treats layout of buttons like they're table cells rather than list items */
 width: 120;   /* button outside dimensions */
 color: white;  /* link text colour */
 background-color: #333;
 padding:2;   /* padding of text within button */
 margin: 1;   /* padding of button within list item */
}

#catmenu a:hover {  /* override as neccesary for mouse over effects */
 color: #0a1962; 
 background-color: #666;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#catmenu ul ul {
 display: none;   /* removes the anoying space between buttons where popupmenus exist.*/
 visibility:hidden;  /* dropdowns hidden by default, until hovered over */
 position:absolute;
 top:0;
 left:122; 
 width: 130px;  /* width of the entire dropdown */
 margin: 0;  /* relative position of the menu to the button... 0=tight on bottom.. */
 padding: 2;
 background-color: #555; /* color of the entire dropdown */
}

#catmenu ul ul ul {
 position: absolute;
 top: auto;  /* auto means that it will be in the typicall indented list position below the first menu */
 left: 0;   /* 0 */
 margin: -20 130;       /* adjust the margins to position the 2nd level popout menu to the right*/
 width: 130;   /* width is based on the containing block */
 background-color: #444; /* color of the entire dropdown */
}

#catmenu li ul a {  /* override colours for drop down buttons */
 background-color: #666;
 color:white;
 width: 130px;
 text-align:center;
 font-size: 8pt;
 border-top: 1px  solid white;
 border-left: 1px  solid white;
 border-right: 0px ;
 border-bottom: 1px  solid #000000;
 padding:2px;
 margin: 0; 
}


#catmenu li ul a:hover {  /* override colours for drop down buttons */
 color: white;
 background-color: #999;
}

#catmenu ul li:hover, #catmenu ul li.sfhover {
 color: blue;
}


#catmenu li:hover ul ul, 
#catmenu li:hover ul ul ul, 
#catmenu li.sfhover ul ul, 
#catmenu li.sfhover ul ul ul 
{
 left: -999em;
}

#catmenu li:hover ul, 
#catmenu li.sfhover ul 
{ 
  visibility:visible;
  display: block;  /* anoyingly restores the anoying space between buttons where popupmenus exist.*/
}

#catmenu li li:hover ul, 
#catmenu li li li:hover ul, 
#catmenu li li.sfhover ul, 
#catmenu li li li.sfhover ul {
  visibility:visible;
  left: auto;
  display: block;  /* anoyingly restores the anoying space between buttons where popupmenus exist.*/
}