
/* Navigation */

#navbar{
width:100%;
top:0px;
z-index:998;
}

#nav{
margin:auto;
position: relative;
font-weight:bold;
background-image:url(menufix.gif);
border-top:1px solid #d7dada;
border-bottom:1px solid #d7dada;
}
#nav ul{
margin:0px;
padding:0px;
margin-left:auto;
margin-right:auto;
}
#nav > a{
display: none;
}
#nav li{
position: relative;
list-style:none;
}
#nav li a{
color: #7413dc;
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{
background-color: #d7dada;
}
#nav ul ul li a.selected{
background-color: #d7dada !important;
}

/*Triangle*/
#nav span:after{
width: 0;
height: 0;
border: 5px solid transparent; 
border-bottom: none;
border-top-color: #7413dc;
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);
}
#nav > ul > li > a{
padding:10px 10px 10px 10px;
font-size: 1em;
text-align: center;
}
#nav > ul > li:not( :last-child ) > a{
*/border-right: 1px solid #ffffff;*/
}
#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{
background-color: #d7dada;
}

/* 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:10px;
}
#nav li ul li{
background-color:#ffffff;
z-index:9;
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:200px;
    top:0px;
    }
    #nav ul ul li:hover ul, #nav ul ul li:focus-within ul{
    left:200px;
    top:0px;
    }
    #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>ul::after {
    border: 1px solid #ffffff;
    background: #ffffff;
    border-right: 0;
    border-bottom: 0;
    top: 5px;
    left: 25px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    }
    #nav>ul>li>ul::before {
    height: 1px;
    width: 12px;
    background: #ffffff;
    border-right: 0;
    border-bottom: 0;
    top: 10px;
    left: 24px;
    z-index: 99;
    }
    #nav>ul>li>ul>li>ul::after {
    border: 1px solid #ffffff;
    background: #ffffff;
    border-right: 0;
    border-bottom: 0;
    top: 15px;
    left: 6px;
    position: absolute;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    }
    #nav>ul>li>ul>li>ul::before {
    height: 10px;
    width: 1px;
    background: #ffffff;
    z-index: 99;
    top: 15px;
    left: 10px;
    }	
}
#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-bottom: 1px solid #f4f5f6;
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: #d7dada;
}
.mobilenav_menu {
	display:none;
}
@media only screen and ( max-width: 1100px )
        {
        #navbar{
        padding-left:10px;
        padding-right:10px;
        }
        }
@media screen and (max-width: 600px) {
	#nav {
		display:none;
	}
	
	.mobilenav_menu {
		display:block;
	}
}
.mobilenav_btn { position: relative; display: block; vertical-align: middle; float: left; padding: 0.438em 0.625em 0.438em 0.625em; line-height: 1.125em; cursor: pointer; }
.mobilenav_menu  .mobilenav_menutxt { display: block; line-height: 1.188em; float: left; }
.mobilenav_menu .mobilenav_icon { float: left; margin: 0.188em 0 0 0.438em; }
.mobilenav_menu .mobilenav_no-text { margin: 0 }
.mobilenav_menu .mobilenav_icon-bar { display: block; width: 1.125em; height: 0.125em; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.mobilenav_btn .mobilenav_icon-bar + .mobilenav_icon-bar { margin-top: 0.188em }
.mobilenav_nav { clear: both }
.mobilenav_nav ul,
.mobilenav_nav li { display: block }
.mobilenav_nav .mobilenav_arrow { font-size: 0.8em; margin: 0 0 0 0.4em; }
.mobilenav_nav .mobilenav_item { display: block; cursor: pointer; }
.mobilenav_nav a { display: block }
.mobilenav_nav .mobilenav_item a { display: inline }
.mobilenav_menu:before,
.mobilenav_menu:after { content: " "; display: table; }
.mobilenav_menu:after { clear: both }
/* IE6/7 support */
.mobilenav_menu { *zoom: 1 }

/* 
    User Default Style
    Change the following styles to modify the appearance of the menu.
*/

/* Button */
.mobilenav_btn {
	margin: 5px 5px 6px;	
	text-decoration:none;	
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;  
	background-color: #7413dc;
}
/* Button Text */
.mobilenav_menu  .mobilenav_menutxt {	
	color: #FFF;
	font-weight: bold;	
	text-shadow: 0 1px 3px #000;	
}
/* Button Lines */
.mobilenav_menu .mobilenav_icon-bar {
  background-color: #f5f5f5;
}
.mobilenav_menu {
	background:#ffffff;
}
.mobilenav_nav {
	color:#7413dc;
	margin:0;	
	padding:0;
	font-size:1em;
}
.mobilenav_nav, .mobilenav_nav ul {
	list-style: none;
	overflow:hidden;
}
.mobilenav_nav ul {
	padding:0;
	margin:0 0 0 20px;
}
.mobilenav_nav .mobilenav_item {
	padding:5px 10px;
	margin:2px 5px;
}
.mobilenav_nav a{
	padding:5px 10px;
	margin:2px 5px;
	text-decoration:none;
	color:#7413dc;
}
.mobilenav_nav .mobilenav_item a {
	padding:0;
	margin:0;
}
.mobilenav_nav .mobilenav_item:hover, .mobilenav_nav a:hover, .mobilenav_nav .mobilenav_item:focus-within, .mobilenav_nav a:focus {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background:#d7dada;
	color:#7413dc;	
}
.mobilenav_nav .selected{
color:#d7dada;
}
.mobilenav_item:hover .selected, .mobilenav_item:focus-within .selected{
color:#ffffff;
}

.mobilenav_nav .mobilenav_txtnode {
     margin-left:15px;   
}