nav i {
display: block;
font-size: 30px;
position: absolute;
top: 0.2em;
right: 0.5em;
color: black;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }

.plus {
float: right;
font-weight: bold; }

.toggle,
[id^=drop] {
display: none; }

/* 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:relative" */
nav ul {
padding:0;
margin:0;
list-style: none;
z-index: 300;
position: relative;
/*background-color: #efefef;*/
text-align: right; }

/* Positioning the navigation items inline */
nav ul li {
text-align: left;
/*background-color: #efefef;*/
display: inline-block;
padding: 0.5em 0.1em;
position: relative;
color: white; }

/* Styling the links */
nav a {
color: black;
display:block;
text-transform: uppercase;
text-decoration:none; }

/* Hide Dropdowns by Default
* and giving it a position of absolute */
nav  ul ul {
top: 2.8em;
display: none;
position: absolute;
z-index: 351;
font-weight: normal;
box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
min-width: 250px; }

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display:inherit; }

/* main menu style */
nav > ul > li > a {
/* border-bottom: 3px solid #efefef; */
border-bottom: 3px solid #fff;
padding: 0.5em 0.2em; }

nav > ul > li > a:hover {
border-bottom: 3px solid #398bcc; }

/* Fisrt Tier Dropdown */
nav > ul > li > ul > li {
float:none;
margin: 0;
padding: 0;
display:list-item;
position: relative;
width: 100%;
background-color: white;
border-top: 1px solid #dedede; }

nav > ul > li > ul > li:first-child {
border-top: none; }

nav > ul > li > ul {
margin-top: 10px;
background-color: #fff; }

nav > ul > li > ul a {
font-size: 0.9em;
display: block;
color: black;
padding: 0 1em;
height: 3em;
line-height: 3em;
white-space: nowrap; }

nav > ul > li > ul a:hover {
color: black;
background-color: #dedede; }



/* Media Queries
--------------------------------------------- */
@media all and (max-width : 1000px) {
	nav {
        position: relative;
	}
    nav ul {
        top: 50px;
        top: 2.75em;
        position: absolute;
        width: 100%;
        z-index: 800;  }

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
        position: relative;
        z-index: 500;
	}

	/* Change menu item's width to 100% */
	nav ul li {
        margin: 0;
		display: block;
		width: 100%;
		}


	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}

	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}

    /* main menu style */
    nav > ul > li  {
    width: 100%;
    border-top: 1px solid #dedede;}

    nav > ul > li > a, .toggle {
    display: block;
    border-bottom: none;
    color: black;
    text-transform: uppercase;
    padding: 0.5em 1em; }

    nav > ul > li > a:hover, .toggle:hover {
    font-weight: bold;
    border-bottom: none;    }

    /* dropdown */
    nav > ul > li ul  {
    margin: 0;
    xbackground-color: #dedede;
    padding: 0;
    width: 100%; }

    nav > ul > li ul li  {
    border-top: 1px solid #dedede; }

    nav > ul > li ul a {
    display: block;
    padding-left: 2em;
    color: black; }

    nav > ul > li ul li a:hover {
    background-color: #dedede; }

    nav > ul > li ul a:hover {
    font-weight: bold; }

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */

	}

}









