@media only screen and ( min-width: 999px )
        {
           

.menufixed #nav{
margin-top:0px;

}

.menufixed #nav > ul > li {
height:35px;

}
.menufixed #nav > ul > li >a{
font-size:1em !important;
padding:8px 0px 8px 0px;
}


/* Navigation */

#navbar{
float:right;
}
#nav{
margin-left:20px;
margin-top:20px;
font-weight:700;
position: relative;
font-weight:bold;
background-image:url(menufix.gif);
background-color:#7413DC;
}
#nav ul{
margin:0px;
padding:0px;
}
#nav > a{
display: none;
}
#nav li{
position: relative;
list-style:none;
}
#nav li a{
color: #ffffff;
display: block;
text-decoration:none;
-webkit-transition: background-color .3s linear, color .3s linear;
-moz-transition: background-color .3s linear, color .3s linear;
-o-transition: background-color .3s linear, color .3s linear;
-ms-transition: background-color .3s linear, color .3s linear;
transition: background-color .3s linear, color .3s linear;
}
#nav>ul>li>a.selected{
border-bottom:4px solid #00a794;
padding-bottom:2px;
}
#nav ul ul li a.selected{
background-color: #00a794 !important;
color:#ffffff;
}

/*Triangle*/
#nav span:after{
width: 0;
height: 0;
border: 5px solid transparent; 
border-bottom: none;
border-top-color: #ffffff;
content: '';
vertical-align: middle;
display: inline-block;
position: relative;
right: -5px;
margin-right:5px;
}

/* first level */

#nav > ul{
}
#nav > ul > li{
height: 100%;
float: left;
background-image:url(menufix.gif);
height:55px;
margin:0px 0px 0px 0px;
}
#nav > ul > li > a{
padding:15px 0px 15px 0px;
margin:0px 10px 0px 10px;
font-size: 1.1em;
text-align: center;
border-bottom:4px solid rgba(255, 204, 0, 0);
}
#nav > ul > li:not( :last-child ) > a{
*/border-right: 1px solid #ffffff;*/
}
#nav > ul > li:last-child{
margin-right: 0px;
}
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.selected > a, #nav > ul > li:focus-within > a, #nav > ul:not( :focus-within ) > li.selected > a{
border-bottom:4px solid #00a794;
padding-bottom:2px;
-webkit-transition: border-color 200ms ease-in-out, padding 200ms ease-in-out;
    -moz-transition: border-color 200ms ease-in-out, padding 200ms ease-in-out;
    -o-transition: border-color 200ms ease-in-out, padding 200ms ease-in-out;
    -ms-transition: border-color 200ms ease-in-out, padding 200ms ease-in-out;
    transition: border-color 200ms ease-in-out, padding 200ms ease-in-out;
}

/* 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;

}
#nav>ul>li>ul>li>ul{
padding-left:9px;
padding-right:9px;
}
#nav li ul li{
background-color:#666666;
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);
}
				
@media only screen and ( min-width: 600px )
   {
    #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, #nav ul ul li:not( :first-child ):focus-within ul{
    left:199px;
    top:0px;
    }
    #nav ul ul li:hover ul, #nav ul ul li:focus-within ul{
    left:199px;
    top:0px;
    }
    #nav ul ul li:last-child{
    border-bottom:1px solid rgb(187, 187, 187);
    }
    .edge ul li:not( :first-child ):hover ul{
left:-200px !important;
}
.edge ul li:hover ul{
left:-200px !important;
}
    #nav li:hover>ul, #nav li:focus-within>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>ul>li.edge>ul>li>ul::after {
left: 186px;
}
#nav>ul>li.edge>ul>li>ul::before {
left: 190px;
}
}
#nav li:not( :first-child ):hover>ul, #nav li:not( :first-child ):focus-within>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, #nav li ul li a:focus-within, #nav li ul:not( :focus-within ) li.selected a{
background-color: #00a794;
}
.menucontrolouter, .menucontrol, .searchnav, .mobnav{
display:none;
}
}
	


