﻿
/*XXXXXXXXXX Generic page styling rules XXXXXXXXXX*/

ul, li { padding: 0; margin: 0; list-style: none;}

/*XXXXXXXXXXXX Primary top nav rules XXXXXXXXXXX*/
 
.nav {
    position: relative;
    background-color:#d6d6d6;
    z-index:1;
    height:29px;
}

.bottomnav {
    position: relative;
    background-color: white;
    width:501px;
    
}

.bottomnavSecondary {
    position: relative;
    background-color: white;
    width:450px;    
    padding-top:5px;
}
 
.button {
    width: 67px;
    float: left;
    margin-top:-6px;

}

.button2 {
    width: 113px;
    float: left;
    margin-top:-6px;

}

.button3 {
    width: 58px;
    float: left;
    margin-top:-6px;

}

.button4 {
    width: 89px;
    float: left;
    margin-top:-6px;

}

.button5 {
    width: 91px;
    float: left;
    margin-top:-6px;

}

.button6 {
    width: 88px;
    float: left;
    margin-top:-6px;
}

.buttonEnd {
    width: 67px;
    float: left;
    margin-top:-6px;
}

.image {
    width: 5px;
    float: left;
}

.parent {position: relative;}
/* this parent div does not provide "sticky hovering", but instead fixes a 
strange bug in Op7. When an element serves as a hovered popup "parent" element, 
that element must not also be floated or all heck breaks loose in Opera 7. 
To prevent this, we have floated the top level list items, while nesting 
hoverable parent divs inside that are then hovered to generate the dropdowns. 
Thus the ugly (but interesting) Op7 bug is defeated. */

.floatfix {margin-right: -3px;}
/* this fixes the IE 3px bug that is common in this type of float arrangement */ 
 
/*XXXXXXXXXXXX Primary dropdown/flyout rules XXXXXXXXXXX*/
 
.dropdown { /* rules for dropdown div */
    width: 113px;
    position: absolute;		
    left: -3000px;
    top: auto; /* puts dropdowns directly under top nav */
    margin-top:-3px;
    text-align: left; /* needed because IE misapplies text centering to boxes */
    z-index:1;
}       	

.dropdown ul { 
  width: 125px; /* tweaked so that dropdowns appear to "line up" with top links */
  margin: 0 30px 30px 30px; /* creates "sticky hovering" zones for dropdowns */
} /* borders sides and top of the dropdowns and flyouts; links provide the bottom border */
	
.dropdown2 div ul {margin: 30px 30px 30px 0;} /* creates "sticky hovering" zones for flyouts */
	
.dropdown div ul {margin: 30px 30px 30px 0;} /* creates "sticky hovering" zones for flyouts */
	
.nav li {text-align: center;}
 
.nav a {
    display: block;
    text-decoration: none;
    padding: 6px 0 5px; 
}


.nav ul ul a {
  color: #232420;
  border: 0; /* negates border for dropdowns and flyouts */
}

.nav ul ul a:hover {
  color: #232420;
  border: 0; /* negates border for dropdowns and flyouts */
}	

.bottomnav li {text-align: center;}
 
.bottomnav a {
    display: block;
    text-decoration: none;
    padding: 6px 0 5px; 
}


.bottomnav ul ul a {
  color: #c7c7bd;
  border: 0; /* negates border for dropdowns and flyouts */
}

.bottomnav ul ul a:hover {
  color: #959484;
  border: 0; /* negates border for dropdowns and flyouts */
}	

.dropdown li {
  position: relative; 
  vertical-align: bottom; /* IE5/win bugfix */
  text-align:left;
  padding-left:5px;
}
				
.parent:hover {background-image: url(images/bgfix.gif);} 
/* this hover calls a transparent GIF only to defeat the IE failed hover bug. Any 
background change on hovering div.parent will make IE obey and display the dropdown.
While the call itself will fix the bug, make sure you actually call a real image 
file so that your site error logs will not fill with failed image calls. */
				
.parent:hover div.dropdown {left: -31px;} /* hover rule for dropdowns */ 
/* extra pixel makes dropdowns "line up" with top links */ 
 
.dropdown li:hover div { /* hover rule for flyouts */
    left: 180px; /* this value controls the amount of flyout "overlap" */
    top: -26px; /* this value controls the amount of flyout vertical offset */
}
	
.dropdown li:hover {background: #fff5d3;} /* hover color effect on dropdown links */

.dropdown div li:hover {background: #ff7;} /* hover color effect on flyout links */


 
/*XXXXXXXXXXX Primary dropdown backgrounds XXXXXXXXXX*/
	
.one ul {background: #e1e0c6;}
.two ul {background: #e1e0c6;}
.three ul {background: #e1e0c6;}
.four ul {background: #e1e0c6;}
.five ul {background: #e1e0c6;}
.six ul {background: #e1e0c6;}
.seven ul {background: #e1e0c6;}
.eight ul {background: #e1e0c6;}
.dropdown div ul {background: #eda;} /* colors BG of flyouts */ 
.dropdown div ul a {color: #c7c7bd;} /* colors text of  flyouts */ 
 
 
/*XXXXXXXXXX z-index rules for top nav XXXXXXXXXXX*/
 
.one {z-index: 10;}
.two {z-index: 20;}
.three {z-index: 30;}
.four {z-index: 40;}
.one {z-index: 6;}
.two {z-index: 7;}
.three {z-index: 8;}
.four {z-index: 9;}

/* this last is a special trick that reverses the stacking order of the rightmost
top link when it or its children are hovered. This, and the previous rules work
together so that when a user is on the top link of any flyout, they can move 
vertically to the top link directly above and not have the sticky hoivering zone
on the flyout get in the way of hovering that top link. */
 
 
/*XXXXXXXXXXX Special fixes XXXXXXXXXXX*/
 
/* This is to hide the following from IE/Mac. \*/
* html .button .dropdown li {
    height: 1%;
    margin-left: -16px;
    mar\gin-left: 0;
}
 * html .button2 .dropdown li {
    height: 1%;
    margin-left: -16px;
    mar\gin-left: 0;
}
/* */
 
* html .nav a
 {height: 1%;}
 
 * html .bottomnav a
 {height: 1%;}
 
/* The first 2 rules above fix "bullet region" problems in IE5.x/win, 
and the 2nd is to make all links fully clickable. */    
 
.brclear { /* Use a break with this class to clear float containers */
    clear:both;
    height:0;
    margin:0;
    font-size: 1px;
    line-height: 0;
}
 
/*\*/ /*/

.nav .button .dropdown ul {margin: 0px;}
.nav .dropdown, .nav .dropdown div {position: static;}
.nav .dropdown ul {border: 0;}
.mini-zone {display: none;}
.bottomnav .button .dropdown ul {margin: 0px;}
.bottomnav .dropdown, .bottomnav .dropdown div {position: static;}
.bottomnav .dropdown ul {border: 0;}
.mini-zone {display: none;}
/* this rule block "dumbs down" the nav for IEmac */