#container {margin: 0 auto;max-width: 100%;}.toggle, [id^=drop] {display: none;color:#000;font-size:12px;font-family: arial, sans-serif;}#logo {display: block;padding: 0 92px;float: left;font-size: 12px;line-height:30px;color:#cd92d6;}/* Giving a background-color to the nav container. */nav { margin:0;padding: 0;background-color: #cd92d6;/* 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: #cd92d6;z-index: 1000;}/* Styling the links */nav a {font-family: arial, sans-serif;display:block;padding:10px 15px;	color:#000;font-size:15px;text-decoration:none;}nav ul li ul li:hover { font-family: arial, sans-serif;background: #fff;color:#fff;font-size:15px; }/* Background color change on Hover */nav a:hover { background-color: #cd92d6;font-family: arial, sans-serif; color:#fff;font-size:15px; }/* Hide Dropdowns by Default * and giving it a position of absolute */nav ul ul {	/* has to be the same number as the "line-height" of "nav a" */display: none;position: absolute; top: 33px; }/* Display Dropdowns on Hover */nav ul li:hover > ul {display:inherit;}/* Fisrt Tier Dropdown */nav ul ul li {width:230px;float:none;display:list-item;position: relative;border-bottom: 1px solid #ddd;}/* 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:-60px;left:200px;                   /* has to be the same number as the "width" of "nav ul ul li" */ }/* 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;color:#cd92d6;float: none;}nav {margin: 0;}.toggle + a,.menu {display: none;}.toggle {display: block;background-color: #cd92d6;padding:14px 20px;	color:#000;font-size:14px;text-decoration:none;border:none;}.toggle:hover {background-color: #4a086b;color:#fff;}[id^=drop]:checked + ul {display: block;}nav ul li {display: block;width: 100%;border-bottom: 1px solid #ddd;}nav ul ul .toggle,nav ul ul a {padding: 0 40px;}nav ul ul ul a {padding: 0 80px;}nav a:hover,nav ul ul ul a {background-color: #4a086b;color:#fff;font-size:14px;}nav ul li ul li .toggle,nav ul ul a,nav ul ul ul a{padding:14px 20px;	color:#fff;font-size:14px; }nav ul li ul li .toggle,nav ul ul a {background-color: #cd92d6;color:#000;font-size:14px; }nav ul ul {float: none;position:static;color: #fff;}nav ul ul li:hover > ul,nav ul li:hover > ul {display: none;}nav ul ul li {display: block;width: 100%;}nav ul ul ul li {position: static;}}@media all and (max-width : 330px) {nav ul li {display:block;width: 94%;}}