/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/main_navs/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */


/********** main nav **********/
	
.main_nav {/*width:745px height:32px; border-right:1px solid #000;*/ width:780px; height:30px; font-size:14px; position:relative; z-index:100; margin-top:10px; _margin-top:10px; _padding-top:0px; margin-left:77px; text-align:left;}
/* hack to correct IE5.5 faulty box model */
* html .main_nav {/*width:746px; w\idth:745px;*/ width:781px; w\idth:780px;}
/* remove all the bullets, borders and padding from the default list styling */
.main_nav ul {padding:0; margin:0; list-style-type:none;}
.main_nav ul ul {/*width:149px;*/ width:155px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown main_nav positon */
.main_nav li {float:left; /*width:149px;*/ width:155px; position:relative;}
/* style the links for the top level */
.main_nav a, .main_nav a:visited {display:block; font-size:14px; text-decoration:none; color:#fff; width:155px; height:20px; /* border:0px solid #6fa5e7; border-width:1px 0 1px 1px; background:#b3d1ed; background-position:right; padding-left:0px; */line-height:42px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .main_nav a, * html .main_nav a:visited {/*width:149px; w\idth:138px;*/ width:155px; w\idth:145px;}

/* style the second level background */
.main_nav ul ul a.drop, .main_nav ul ul a.drop:visited {background:#1d4d7b url(../im/arrow.gif) bottom right no-repeat;/*background:#4ba4c5;*/}
/* style the second level hover */
.main_nav ul ul a.drop:hover{background:#b3d1ed url(../im/arrow.gif) bottom right no-repeat; /*background:#4393b1;*/}
.main_nav ul ul :hover > a.drop {background:#b3d1ed url(../im/arrow.gif) bottom right no-repeat; /*background:#4393b1;*/}
/* style the third level background */
.main_nav ul ul ul a, .main_nav ul ul ul a:visited {/*background:#e2dfa8;*/ background:#4ba4c5;}
/* style the third level hover */
.main_nav ul ul ul a:hover {background:#d75213;}

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

/* position the third level flyout main_nav */
.main_nav ul ul ul{/*left:149px; width:149px;*/ left:180px; width:101px; top:0px;}

/* position the third level flyout main_nav for a left flyout */
.main_nav ul ul ul.left {/*left:-149px;*/ left:-180px;}

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

/* style the second level links */
.main_nav ul ul a, .main_nav ul ul a:visited {background:#1d4d7b; height:auto; line-height:12px; padding:5px 10px; color:#fff; border:1px solid #6fa5e7;  border-width:0 2px 2px 2px; width:155px; font-size:12px;}
/* yet another hack for IE5.5 */
* html .main_nav ul ul a, * html .main_nav ul ul a:visited {/*width:150px;w\idth:128px;*/ width:157px; w\idth:155px; }

/* style the top level hover */
.main_nav a:hover, .main_nav ul ul a:hover{color:#fff; background:#009572;}
.main_nav :hover > a, .main_nav ul ul :hover > a {color:#fff; background:#009572;}

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