﻿/*-----------------------------------------------HORIZONTAL Drop down menu------------------------------------------- */

 .menu {
  float:right;
  height:20px; 
  font-size:0.85em;
  z-index:100;
  background:url(../images/navright.gif) right no-repeat;
  }
/* remove all the bullets, borders and padding from the default list styling */
 .menu ul {
  padding:0;
  margin:0;
  list-style-type:none;
  }
 .menu ul ul {
  width:200px;
  }
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
 .menu li {
  float:left;
  width:94px;
  position:relative;
  padding:0
  }
/* highlight the current page
.homepage #mainNav #dd1 a,
.about #mainNav #dd2 a,
.approach #mainNav #dd3 a,
.services #mainNav #dd4 a,
.careers #mainNav #dd5 a {
 color:#33CCFF;
 cursor:auto;
 }*/
/* style the links for the top level */
 .menu a, .menu a:visited {
  display:block;
  text-decoration:none;
  padding-left:4px;
  padding-right:4px;
  padding-top:2px;
  color:#fff;
  width:85px; 
  height:18px; 
  border:1px solid #ffffff; 
  border-width:0px 0px 0px 0px; 
  text-align:center;
}
/* a hack so that IE5.5 faulty box model is corrected +++++++ Width for boxes top level*/
  * html .menu a, * html .menu a:visited {
  width:85px;
  w\idth:85px;
  }

/* style the second level background */
 .menu ul ul a, .menu ul ul a:visited {
  background:#00275d;
  opacity:.85;
  filter:alpha(opacity=85);
  -moz-opacity: 0.85;
  }
/* style the second level hover */
 .menu ul ul a:hover{
  background:#d8d9da;
  }
 .menu ul ul :hover > a {
  background:#CCCCCC;
  }
/* style the third level background */
 .menu ul ul ul a, .menu ul ul ul a:visited {
  background:#00275d;
  text-align:center;
  opacity:.85;
  filter:alpha(opacity=85);
  -moz-opacity: 0.85;
  }
/* style the third level hover */
 .menu ul ul ul a:hover {
  background:#cccccc;
  }


/* hide the sub levels and give them a positon absolute so that they take up no room */
 .menu ul ul {
  visibility:hidden;
  position:absolute;
  height:0;
  top:15px;
  left:-13px; 
  width:170px;
  }
/* another hack for IE5.5 */
 * html .menu ul ul {
  top:15px;
  t\op:15px;
  }

/* position the third level flyout menu */
 .menu ul ul ul{
  top:-1px;
  left:-94px;
  width:75px;
  }
/* position the third level flyout menu for a left flyout */
 /*.menu ul ul ul.left {
  left:-100px;
  }  

/* style the table so that it takes no ppart in the layout - required for IE to work */
 .menu table {position:absolute; top:0; left:0;}

/* style the second level links +++++++++++first drop down level*/
 .menu ul ul a, .menu ul ul a:visited {
  background:#004A77;
  opacity:.85;
  filter:alpha(opacity=85);
  -moz-opacity: 0.85; 
  color:#FFF; 
  height:auto; 
  line-height:22px; 
  padding:0; 
  width:120px;
  position:relative;
  top:5px;
  border-left:1px solid #000;
  border-right:1px solid #007BC6;
  border-bottom:1px solid #007BC6;
  }
/* yet another hack for IE5.5 */
 * html .menu ul ul a{
  width:120px;
  w\idth:120px;
  }


/* style the top level hover */
 .menu a:hover, .menu ul ul a:hover, menu ul ul a:focus{
  color:#000000;
  background:#C4D6FF;
  }
 .menu :hover > a, .menu ul ul :hover > a , .menu ul ul :focus > a{
  color:#000000;
  background:#C4D6FF;
  }

/* make the second level visible when hover on first level list OR link */
 .menu ul li:hover ul,
 .menu ul a:hover ul, .menu ul li.over ul{
  visibility:visible; 
  }
/* keep the third level hidden when you hover on first level list OR link */
 .menu ul :hover ul ul, .menu ul li.over ul ul{
  visibility:hidden;
  }

/* make the third level visible when you hover over second level list OR link */
 .menu ul :hover ul :hover ul, .menu ul li.over ul li.over ul{ 
  visibility:visible;
  }
  
/* class to hide an opera test li */
.hidden{
	visibility:hidden !important;
}
  
/*------------------------------------------------END HORIZONTAL MENU-------------------------------------------------*/