   nav.absolute {position: absolute; top: 142px; right: 0px; z-index: 1000;}
nav, nav * {padding: 0; margin:0;}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav.dropdown { 
	margin:0;
	padding: 0;
	background-color: transparent;
}


nav.dropdown ul li:hover, nav.dropdown ul li.current, nav.dropdown ul li.active {
    border-left: 1px solid #264D73;
    border-right: 1px solid #3973AC;
    border-bottom: 1px solid #3973AC;
}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav.dropdown:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav.dropdown ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav.dropdown ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: transparent; /*#254441;*/
	}
	
nav.dropdown ul li li {
	background-color: rgba(255,255,255,0.7); /*#254441;*/
	}	

/* Styling the links */
nav.dropdown a {
	display:block;
	padding:14px 20px;	
	color: #000033;
	font-size:17px;
	text-decoration:none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	    transition: color 0.3s ease-in-out 0s;
	 transition: background 0.3s ease-in-out 0s;
	}


nav.dropdown ul li ul li:hover { background: #eee; }

/* Background color change on Hover */
nav.dropdown a:hover { 
	background-color: #fff; 
	color: darkblue;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav.dropdown ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav.dropdown a" */
	top: 48px; 
}
	
/* Display Dropdowns on Hover */
nav.dropdown ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav.dropdown ul ul li {
	width:200px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav.dropdown ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav.dropdown ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	#logo {
		display: block;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}

	nav.dropdown {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #254441;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000099;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav.dropdown ul li {
		display: block;
		width: 100%;
		}

	nav.dropdown ul ul .toggle,
	nav.dropdown ul ul a {
		padding: 0 40px;
	}

	nav.dropdown ul ul ul a {
		padding: 0 80px;
	}

	nav.dropdown a:hover,
 	nav.dropdown ul ul ul a {
		background-color: #006600;
	}
  
	nav.dropdown ul li ul li .toggle,
	nav.dropdown ul ul a,
  nav.dropdown ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav.dropdown ul li ul li .toggle,
	nav.dropdown ul ul a {
		background-color: #212121; 
	}

	/* Hide Dropdowns by Default */
	nav.dropdown ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav.dropdown a" */
	}
		
	/* Hide menus on hover */
	nav.dropdown ul ul li:hover > ul,
	nav.dropdown ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav.dropdown ul ul li {
		display: block;
		width: 100%;
	}

	nav.dropdown ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav.dropdown ul ul li" */ 

	}

}

@media all and (max-width : 330px) {

	nav.dropdown ul li {
		display:block;
		width: 94%;
	}

}