
/* ================================================================ 
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.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#main-menu .menu{
    margin: 0 auto;
    width: 1100px;
    height: 40px;

}
#main-menu .menu ul{ margin: 0;  height: 40px; float: left;  }
#main-menu .menu ul li {float:left; margin-right:1px;}
#main-menu .menu ul li a {display:block; float:left; height:40px; line-height:40px;  color:#fff; text-decoration:none; font-size:18px;  padding:0 20px 0 20px;}


#main-menu .menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#main-menu .menu ul li a:hover {z-index:200; position:relative;color:#fff; background-color:#fff;}
#main-menu .menu ul li:hover {position:relative; z-index:200;}

#main-menu .menu ul li:hover > a {color:#3f3f3f; background:#fff;}
#main-menu .menu ul li:hover > a.sub {color:#3f3f3f; background-color:#fff;}

#main-menu .menu ul li.current a {color:#3f3f3f; background:#fff;}

#main-menu .menu ul li a.sub {}
#main-menu .menu ul li.current a.sub {color:#fff; background:#fff url(down-arrow.gif) no-repeat right center;}

#main-menu .menu ul :hover ul {left:0; top:40px; width:250px; }

/* keep the 'next' level invisible by placing it off screen. */
#main-menu .menu ul ul, 
#main-menu .menu ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#main-menu .menu ul :hover ul :hover ul
{left:120px; top:-1px;  white-space:nowrap; width:250px; z-index:200; height:auto;}

#main-menu .menu ul :hover ul li {margin:0; border-top:1px solid #ccc;}
#main-menu .menu ul :hover ul li a {width:250px; padding:0; text-indent:10px; background:#fff; color:#3f3f3f; height:30px; line-height:30px;}
#main-menu .menu ul :hover ul li a.fly {background:#fff url(right-arrow.gif) no-repeat right center;}

#main-menu .menu ul :hover ul :hover {background-color:#7d4b00; color:#fff;}
#main-menu .menu ul :hover ul :hover a.fly {background-color:#7d4b00; color:#fff;}

#main-menu .menu ul :hover ul li.currentsub a {background:#7d4b00; color:#fff;}
#main-menu .menu ul :hover ul li.currentsub a.fly {background:#7d4b00 url(right-arrow.gif) no-repeat right center; color:#fff;}

/*#main-menu .menu ul :hover ul :hover ul li a {width:160px; padding:0; text-indent:10px; background:#3e3e3e; color:#ccc;}
#main-menu .menu :hover ul :hover ul :hover {background-color:#d70; color:#fff;}

#main-menu .menu :hover ul :hover ul li.currentfly a,
#main-menu .menu :hover ul :hover ul li.currentfly a:hover {background:#3f3f3f; color:#fff;}*/
@media only screen and (max-width: 1280px) {
  
    #main-menu .menu ul li a {display:block; float:left; height:40px; line-height:40px;  color:#fff; text-decoration:none; font-size:12px;  padding:0 10px 0 10px;}

}
/*@media only screen and (max-width: 768px) {
    .menu{width:80%;}
    
     #main-menu .menu ul li a {display:block; float:left; height:20px; line-height:20px;  color:#fff; text-decoration:none; font-size:6px;  padding:0 6px 0 6px;}
}*/