@media only screen and ( min-width: 999px )
                {
/* Navigation */
#navbar{
float:right;
}
#nav{
position: relative;
background-image:url(menufix.gif);
margin-left:20px;
margin-top:10px;
}
#nav ul{
margin:0px;
padding:0px;
}
#nav > a, #nav .mobnav{
display: none;
}
#nav li{
position: relative;
list-style:none;
}
#nav li a{
color: #31313F;
display: block;
text-decoration:none;
-webkit-transition: background-color 0.5s ease-out;
  -moz-transition: background-color 0.5s ease-out;
  -o-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

#nav ul ul li a.selected{
background-color: #B5BE34 !important;
color:#ffffff;
}



/* first level */

#nav > ul{
}
#nav > ul > li{
height:55px;
float: left;
background-image:url(menufix.gif);


margin:0px 0px 0px 0px;
}
#nav > ul > li > a{
padding:12px 10px 12px 10px;
margin:0px 2px 0px 2px;
font-size: 1em;
text-align: center;
}
#nav > ul > li:not( :last-child ){

}
#nav > ul > li:last-child{
background-color:#B5BE34;
color:#ffffff;
border-radius:8px;
-webkit-transition: background-color 0.5s ease-out;
  -moz-transition: background-color 0.5s ease-out;
  -o-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}
#nav > ul > li:last-child a{
color:#ffffff;
}

#nav > ul > li:hover:not( :last-child ) > a, #nav > ul:not( :hover ) > li:not( :last-child ).selected > a{
background-color:#F0EFCC;
border-bottom:2px solid #B5BE34;
}
#nav > ul > li:hover:last-child{
background-color:#3B3B3C;
}
#nav > ul > li:last-child.selected{
background-color:#F0EFCC;
}
#nav > ul > li:last-child.selected a{
color:#31313F;
}

/* second level */

#nav li ul{
background-image:url(menufix.gif);
position: absolute;
left: -9999px;
opacity:0;
top: 100%;
z-index:999;
}
#nav>ul>li>ul{
padding-top:10px;
border-bottom:1px solid rgb(187, 187, 187);
}
#nav>ul>li>ul>li>ul{
padding-left:9px;
padding-right:9px;

}
#nav>ul>li>ul>li>ul>li:last-child{
border-bottom:1px solid rgb(187, 187, 187);
}
#nav li ul li{
background: rgba(255,255,255,0.75);
z-index:9;
border-left:1px solid rgb(187, 187, 187);
border-right:1px solid rgb(187, 187, 187);
box-shadow: 3px 3px 3px rgba(0, 0, 0, .1);
}
				

        
#nav>ul>li{

}
#nav li ul{
width:200px;
-webkit-transition: opacity .3s linear;
-moz-transition: opacity .3s linear;
-o-transition: opacity .3s linear;
-ms-transition: opacity .3s linear;
}
/* third level */
#nav ul ul li:not( :first-child ):hover ul{
left:199px;
top:0px;
}
#nav ul ul li:hover ul{
left:199px;
top:0px;
}
 .edge ul li:not( :first-child ):hover ul{
left:-200px !important;
}
.edge ul li:hover ul{
left:-200px !important;
}
#nav li:hover>ul{
display: block;
opacity:1;
left: 0;
right: 0;
}
#nav ul::after, #nav ul::before {
content: "";
display: block;
z-index: 1;
position: absolute;
height: 9px;
width: 9px;
}

		
#nav li:not( :first-child ):hover>ul{
left: -1px;
}
#nav li ul a{
font-size: 1em;
border-top: 1px solid rgb(187, 187, 187);
padding: 10px; 
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.selected a{
background-color: #B5BE34;
color:#ffffff;
}
.menucontrolouter, .menucontrol, .searchnav{
display:none;
}


.menufixed #nav > ul > li {


}
.menufixed #nav > ul > li >a{

}
}