/*============================*/
/* Main Navigation
/*============================*/
#nav {            
    height: 3em; /*50px;*/
    width: 100%;
	text-align:center;
    font-size: 100%; /* helvetica, arial, sans-serif;*/
}

#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
	z-index: 999;
}

#nav li {    
    background: #E5F7FF;
	background-image: -o-linear-gradient(bottom, #7ED6FF 30%, #D2F0FF 100%);
    background-image: -moz-linear-gradient(bottom, #7ED6FF 30%, #D2F0FF 100%);
    background-image: -webkit-linear-gradient(bottom, #7ED6FF 30%, #D2F0FF 100%);
    background-image: -ms-linear-gradient(bottom, #7ED6FF 30%, #D2F0FF 100%);    
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0.3, #7ED6FF),color-stop(1, #D2F0FF));    
    background-image: linear-gradient(bottom, #7ED6FF 30%, #D2F0FF 100%);
    float: left;
    position: relative;
    width: 16.65%;    
	/*font-size: 100%;*/
}

#nav ul li:first-child, #nav ul li:first-child a { 
    -webkit-border-radius: 3px 0 0 3px; 
    -moz-border-radius: 3px 0 0 3px; 
    border-radius: 3px 0 0 3px; 
}
#nav ul li:last-child, #nav ul li:last-child a { 
    -webkit-border-radius: 0 3px 3px 0; 
    -moz-border-radius: 0 3px 3px 0; 
    border-radius: 0 3px 3px 0; 
}

#nav a {                
    border-right: 1px solid #7ED6FF;
    border-left: 1px solid #D2F0FF;
    color: #046;
    display: block;
    /*font-size: 1em; */
	line-height: 3em;
    overflow: hidden;
    text-align: center;
	text-decoration: none;
    /* text-shadow: 0 -1px 0 #000;     
    -webkit-box-shadow: inset 0 0 10px transparent;
    -moz-box-shadow: inset 0 0 10px transparent; */
}

#nav a:after { /* shiny effect on menubar */
    background: rgba(255,255,255,.2);
    content: "";
    height: 1.5em; 
    left: 0;
    position: absolute;
    width: 100%;
}

#nav li:hover > a {
    background: #0063CE;
    border-left-color: #0063CE;
    color: #fff;
    /* text-shadow: 0 1px 0 #000; 
    -webkit-box-shadow: inset 0 0 10px #111;
    -moz-box-shadow: inset 0 0 10px #111;
    box-shadow: inset 0 0 10px #111;*/
}
#nav span {
    position: relative;    
}

#nav a:active span {
    position: relative;
    top: 1px;
	color: white; /*#B9ECFF; */
	background-color: #0063CE;
}

#nav li:first-child a {
    border-left: none;    
}

#nav li:last-child a {
    border-right: none;    
}

.dropdown > a span:after { /* arrow right */
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #046;
    content: "";
    right: -13px;
    position: absolute;
    top: 0.5em;
}

.dropdown:hover > a span:after { /* arrow down */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    content: "";
    right: -15px;
    position: absolute;
    top: 0.7em;
}



/*============================*/
/* Sub Navigation
/*============================*/
#nav ul ul {
    opacity: 0;
    position: absolute;
    top: 3.0em; /*50px;*/
    visibility: hidden;
    width: 0;
    /*-moz-transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out; 
    -ms-transition: all 200ms ease-out; 
    transition: all 200ms ease-out;*/
}


#nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    width:auto;
}

#nav ul ul li {
    /*#f3f3f3;*/
    float: none;    
    line-height: 0;
    width: 150%;
}

#nav ul ul li:nth-child(odd) {
     /*#eee;    */
}

#nav ul ul li:first-child, #nav ul ul li:first-child a { 
    -webkit-border-radius: 0; 
    -moz-border-radius: 0; 
    border-radius: 0;
}
#nav ul ul li:last-child, #nav ul ul li:last-child a { 
    -webkit-border-radius: 0 0 3px 3px; 
    -moz-border-radius: 0 0 3px 3px; 
	border-radius: 0 0 3px 3px;
}

#nav ul ul li, #nav ul ul li:first-child, #nav ul ul li:last-child { 
	background: #E5F6FF;
	box-shadow: 0px 4px 6px rgba(0,0,0,0.3); 
  	-moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
	/* -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#333333')";/* Voor IE 8 */
	/* filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#333333');/* Voor IE 5.5 - 7 */ 
}

#nav ul ul li a {
    /* border-right: none;
    border-left: none;
    border-top: 1px solid #fff;*/
	border: none;
    color: #012;
    font-size: 100%;
    padding: 0 0 0 .5em;
    text-align: left;
    /* text-shadow: 0 -1px 0 #eee;*/
}

#nav ul li ul li a:after { /* shiny effect on list item */
    background: rgba(255,255,255,0.1); 
    content: "";

    left: 0;
    position: absolute;
    top: 0em;
    width: 100%; 
	color: #000;
}

#nav ul ul li a, #nav ul li ul li a:after  {
    height: 2.6em; /*36px;*/
    line-height: 2.6em; /*36px;*/
}

#nav ul ul li a:hover {
    background: #ffd;
    color: #012;
    /* text-shadow: 0 1px 0 #fff; 
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;*/
}

#nav ul ul a:active span {
    background: #ffd;
    color: #012;
    position: relative;
    top: 1px;
}

/* ====================== */
/*  MENU TRACKER  */
/* ====================== */
#active a {
    background: #7ED6FF;
    border-left-color: #7ce;
    color: #000;
}

#active a:after { /* shiny effect on active main menu item */
    background: rgba(255,255,255, 0.2); /*#11ACF2*/
    content: "";
    height: 0em; /* 0 = disabled */
    left: 0;
    position: absolute;
    width: 100%;
}


