/* ================================================================ 
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/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu_main { height:66px; position:relative; z-index:100; float:right; background:transparent url(images/menu_main.png) no-repeat scroll top right; padding-left:45px; font-weight:bold;}
/* hack to correct IE5.5 faulty box model */
* html .menu_main {width:746px; width:745px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu_main ul {padding:0;margin:0;list-style-type:none;}
.menu_main ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu_main li {float:left;position:relative;}
/* style the links for the top level */
.menu_main a, .menu_main a:visited {display:block; text-decoration:none; height:33px; line-height:25px; color:white; padding-right:15px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu_main a, * html .menu_main a:visited {width:149px; width:138px;}

/* style the second level background */
.menu_main ul ul a.drop, .menu_main ul ul a.drop:visited {background:#e6e6e6 url(http://www.cssplay.co.uk/menus/breadcrumbs/grey-arrow.gif) no-repeat 130px center;}
/* style the second level hover */
.menu_main ul ul a.drop:hover{background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
.menu_main ul ul :hover > a.drop {background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
/* style the third level background */
.menu_main ul ul ul a, .menu_main ul ul ul a:visited {background:#e2dfa8;}
/* style the third level hover */
.menu_main ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu_main ul ul {visibility:hidden;position:absolute;height:0;top:0;left:0;top:25px;width:150px;border-top:1px solid #000;}
/* another hack for IE5.5 */
* html .menu_main ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu_main ul ul ul{left:170px; top:-1px; width:150px;}

/* position the third level flyout menu for a left flyout */
.menu_main ul ul ul.left {left:-148px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu_main table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu_main ul ul a, .menu_main ul ul a:visited {background:#e6e6e6; color:#000; height:auto; line-height:1em; padding:5px 10px; width:150px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu_main ul ul a, * html .menu_main ul ul a:visited {width:150px;width:128px;}

/* style the top level hover */
.menu_main a:hover, .menu_main ul ul a:hover{color:#000; }
.menu_main ul ul a:hover { background:#c9ba65; }
.menu_main :hover > a, .menu_main ul ul :hover > a {color:#000; }

/* make the second level visible when hover on first level list OR link */
.menu_main ul li:hover ul,
.menu_main ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu_main ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu_main ul :hover ul :hover ul{ visibility:visible;}



/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */


.menu_main ul ul .current_page_item a {
  color: red;
  background: white;
  border-left: 1px solid black;
}

.menu_main .current_page_item a {
  color: red;
  font-weight: bold;
  background: white;
}

.menu_main ul .current_page_item ul a {
  color: white;
  font-weight: normal;
  background: black;
}

.menu_main ul .current_page_item ul a:hover {
  background: gray;
}

.menu_main .current_page_item a:hover {
  background: white;
}

