
.toggle,
[id^=drop] {
	display: none; 
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.6);

	display: inline-flex;
	flex-wrap: wrap ;
	justify-content: center; 
	align-self: center;
	width: 100%;
}

nav label {
	width: 100%;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul 
{
	float: left;
	padding:0;
	margin:0;
	position: relative;
	display:inline-block;
}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	list-style-type: none;
	float: left;
	background-color: rgba(0, 0, 0, 0.6);
}

/* Styling the links */
nav a {
	display: block;
	padding:4px 11px;	
	color: white ;
}

nav ul li ul li:hover { 
	background-color: rgba(0, 0, 0, 0.4);
}

/* Background color change on Hover */
nav a:hover { 
	background-color: rgba(128, 128, 128, 0.4);
}

label:hover { 
	background-color: rgba(128, 128, 128, 0.4);
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 26px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display: inline-block;
	width: 188;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width: 188;
	float:none;
	/* display:list-item; */
	position: relative;
	z-index: 101; 
}

/* 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 ul ul ul li {
	position: relative;
	top:-26px;
	/* has to be the same number as the "width" of "nav ul ul li" and "nav ul li:hover > ul" */ 
	left: 188;
}

.hbar {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

/* Change ' >' in order to change the Dropdown symbol */
/*
nav li > a:after { content:  ' >'; }
nav li > a:only-child:after { content: ''; }
*/

/* ---------- max-width:732px ------------------------------ */

@media all and (max-width : 1800px) {

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		padding: 4px 20px;	
		color: white ;
		border:none;
		background-color: transparent;
	}

	.toggle:hover {
		/* background-color: rgba(192, 192, 192, 0.2); */
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul,
	menu { 
		display: block; 
		margin-left: 12px;
		background-color: transparent;
		width: 100%;
	}

	/* Change menu item's width to 100% */
	nav ul li , 
	nav ul ul li {
		display: block;
		width: 100%;
		background-color: transparent;
	}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
		background-color: transparent;
	}

	nav ul li ul li:hover {
		background-color: transparent;
	}

	nav ul li ul li label:hover  {
		background-color: rgba(128, 128, 128, 0.4);
	}

	nav a:hover,
 	nav ul ul ul a {
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a {
		color: white ;
		padding: 4px 20px;	
		background-color: transparent;
	}
  
	nav ul {
		margin: 0;
		padding: 0;
	}

	/* Hide Dropdowns by Default */
	nav ul ul,
	nav ul ul ul
	{
		float: none;
		position:static;
		color: white;
		/* has to be the same number as the "line-height" of "nav a" */
		background-color: transparent;
	}
		
	/* Hide menus on hover 
	 */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
		top: 0;
		background-color: transparent;
	}

	nav ul ul ul li 
	{
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
		background-color: transparent;
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}
