/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_drop_1.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.
=================================================================== */

.preload1 {background: url(blank_over.gif);}
.preload2 {background: url(blank_overa.gif);}

#nav {padding:0; margin:0; list-style:none; height:43px;  position:relative; z-index:500; }
#nav li.top {display:block; float:left;height:43px;border-right:0px solid #4d8cb8}
#nav li.top i{display: none}
#nav li a.top_link {display:block; float:left; height:43px; line-height:43px; font-weight:bold;color:#000000; text-decoration:none; font-size:16px; padding-left:25px;padding-right:25px; cursor:pointer;}

#nav li a.top_link:hover {color:#ffffff;color:#ffffff;background:#182e7a;}
#nav li:hover > a.top_link {color:#ffffff;color:#ffffff;background:#182e7a;}



/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, 
#nav li:hover ul ul,
#nav li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub{left:0; top:43px;  width:180px;white-space:nowrap;  height:auto; z-index:300;}
#nav li:hover ul.sub li{display:block; height:30px;background-color:#ffffff;width:100%; position:relative; float:left; font-weight:normal;}
#nav li:hover ul.sub li a{display:block; height:30px; width:100%;font-size:13px;color:#000000; line-height:30px; text-indent:30px;  text-decoration:none;}
#nav li:hover ul.sub li a:hover {background:#182e7a; color:#ffffff;}

#nav li ul.sub li a.fly{background:url(arrow.gif) 95% no-repeat;}

#nav li:hover ul.sub li a.fly:hover{background:#182e7a url(arrow_over.gif) 95% no-repeat; color:#ffffff;}

#nav li:hover ul li:hover > a.fly {background:#182e7a url(arrow_over.gif) 95% no-repeat; color:#ffffff;} 

#nav li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul
{left:100%; top:0px; white-space:nowrap; width:200px; z-index:400; height:auto;}
#nav li:hover ul li:hover ul li a:hover {background:#182e7a color:#ffffff;width:100%;}

@media screen and (max-width:991px){
    #nav{position: fixed;width: 100%;left: -100%;top: 122px;height: 100%;background: #ffffffe0;padding-top: 30px;z-index: 5;border-top: 1px #ddd solid;transition: all .3s}
    #nav.display{left: 0}
    #nav li.top {width: 100%;border-bottom: 1px #eee solid;position: relative;height: 43px;overflow: hidden;}
    #nav li a.top_link{display:inline-block;}
    #nav li.top.active{background: #182e7a}
    #nav li a.top_link:hover,#nav li:hover > a.top_link{color:#182e7a;background:none;}
    #nav li.top.active a.top_link{background: #182e7a;color: #fff}
    #nav li:hover ul.sub li a{float: left}
	#nav li:hover ul.sub{position:static;width: 100%;display: block;top: auto}
	#nav li.top i{display: block;position: absolute;right: 2%;top: 0;line-height: 43px;font-size: 24px;cursor: pointer;}
	#nav li.top.active i{color: #fff}
	#nav li ul{display: block;float: left}
	#nav li{width: 100%;float: none}
	#nav li.top.active ul.sub li{background: #fff;line-height: 30px;height: 30px}
	#nav li ul.sub li a.fly{background: none}
	#nav li:hover ul.sub li a.fly:hover{background:#182e7a;color: #fff}
	#nav li ul.sub,#nav li:hover ul.sub,
	#nav li ul.sub li a{text-indent:30px;}
	#nav ul, #nav li:hover ul.sub{position: static;width: 100%;background: #fff;height:auto;}
	#nav li ul ul{display: none;}
}