.toggle,
[id^=drop] {
	display: none;
}
    
    .col {width:100%; left:0;
   column-count: 4; column-gap:0.5em;
}

/* Giving a background-color to the nav container. */
nav { width: 100%;
	margin:0 0.5em;
	padding: 0;
	background-color: #fff;
}
    .menu { 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;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #fff;
	}

/* Styling the links */
nav a {
	display:block;	
	font-size:1.3em;
    	line-height: 32px;
	text-decoration:none;
}
    
    nav ul li a {
	padding:14px 40px 14px 0;	
	color:#000;
}
    nav ul li a:hover {
	color:#33cc33;
}
    
    nav ul ul li a {
	display:block;
	padding: 0;	
	color:#000;
}
    
        nav ul ul li a:hover {
	color:#33cc33;
}


nav ul li ul li:hover { background: #fff; }


/* Background color change on Hover */
nav a:hover { 
	background-color: #fff; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul { width:100%;
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px;
    left:0;
	padding:20px 0;
    column-count: 4; column-gap:0em;
    background-color: #fff;
    opacity: 0.95;
    z-index: 10000;
    
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
    
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {

	float:none;
	display:list-item;
	position: relative;
        
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1024px) {
/* Styling the links */
nav a {
	font-size:1.0em;
}
	}




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

	nav {
		margin: 12px 0 0 0;
	}


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

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #fff;
		padding:14px 8px;	
		color:#000;
		font-size:1.0em;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #fff;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

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

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}
    
        nav ul li a {
	padding: 14px 8px;	
}
    
    
    nav ul ul li a {
	padding: 0 8px;	
	color:#000;
}

	nav a:hover {
		background-color: #fff;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a {
		padding:14px 20px;	
		color:#FFF;
		font-size:1.0em; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #fff; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #f0f0f0;
        column-count: 2; column-gap:0.5em;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}


}

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

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

}