nav i {
display: block;
font-size: 30px;
color: #fff;
position: absolute;
top: 0.5em;
right: 0px;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
z-index: 5000;
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 {
float: right;
top: -1.5em;
padding:0;
margin:0;
list-style: none;
position: relative;
font-size: 1.1em;
text-align: left; }

/* Positioning the navigation items inline */
nav ul li {
display: inline-block;
float: left;
color: white; }

/* Styling the links */
nav a {
color: #fff;
display:block;
text-transform: uppercase;
text-decoration:none; }

/* Hide Dropdowns by Default
* and giving it a position of absolute */
nav  ul ul {
display: none;
position: absolute;
font-weight: normal;
box-shadow: none;
min-width: 250px;
top: 2.7em; }

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display:inherit;
}

/* main menu style */
nav > ul > li > a {
margin-right: 1em;
padding: 47px 0 0 0; }

/* Fisrt Tier Dropdown */
nav > ul > li > ul > li {
float:none;
margin: 0;
display:list-item;
position: relative;
border-top: 1px solid #dedede; }

nav > ul > li > ul > li:first-child {
border-top: none; }

nav > ul > li > ul {
margin-top: 10px;
box-shadow: 0 4px 5px -2px black;
background-color: #fff; }

nav > ul > li > ul a {
font-size: 0.8em;
display: block;
color: black;
padding: 0.5em 1em;
white-space: nowrap; }

nav > ul > li > ul a:hover {
color: black;
background-color: #efefef; }


/* 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 : 900px) {

	nav {
        position: relative;
	}
    nav ul {
        top: 50px;
        top: 2.75em;
        position: absolute;
        width: 100%;
        z-index: 1500;  }

	/* 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;
	}

	/* 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;
        border-top: 1px solid #dedede;
		/* 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 #999;
    background: url('../img/menu.png'); }

    nav > ul > li > a, .toggle {
    display: block;
    border-bottom: none;
    color: white;
    text-transform: uppercase;
    padding: 0.5em 1em; }

    nav > ul > li > a:hover, .toggle:hover {
    border-bottom: none;
    background: url('../img/menu.png');
    }

    /* dropdown */
    nav > ul > li ul  {
    margin: 0;
    padding: 0;
    background: url('../img/menu.png');
    width: 100%; }

    nav > ul > li ul li  {
    border-top: 1px solid #008061; }

    nav > ul > li ul a {
    display: block;
    padding-left: 2em;
    color: white; }

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */

	}

}









