
#xxcontainer {
	margin: 0 auto;
	max-width: 890px;
}


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

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	max-width: 100%;
	background-color: #007784;
	height: 48px;
	grid-column: 1/-1;
	grid-row: 2/3;
	padding: 0 24px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, minmax(31%, 1fr));
	grid-auto-rows: min-content;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 99;
	}
}
img#burger {
	position: absolute;
	top:"0%";
	left: "88%";
	}

/* 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 {
	grid-column: 2/4;
	height: inherit;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	list-style: none;
	position: relative;
}
/*nav ul ul {
	margin-left: -10px;
}*/	
/* Positioning the navigation items inline */
nav ul li {
	text-align: center;
	}
nav ul li a:link, nav ul li a:visited {
	display:inline-block;
	color: #10CCC2;
	font-family: "proxima_novaregular", arial, sans-serif;
	font-size: 1.8em;
	font-weight:400;
	line-height: 100%;
	text-decoration:none;
	padding: 15px 0;	
}
nav ul li a:hover {
	color: #FFF;
	cursor: pointer;
}
nav ul li a.youRhere, nav ul li a.youRhere:hover, nav ul li a.youRhere:active {
	color: #FFF;
	outline: 0;	
}

/* Styling the links */
nav a {
	display:block;
	color: #10CCC2;
	font-size: 1.2em;
	line-height: 120%;
	text-decoration:none;
}
nav ul li ul li:hover { 
	background: #007784;
	cursor: pointer;
}

nav a:hover { 
	color: #FFF; 
}


/* 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: 44px;
	background-color: #007784;
	border-bottom: 1px solid #00606D;
}	
/* Display Dropdowns on Hover */

nav ul li:hover > ul {
	display: inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul {
	width: 170px;
	margin-left: -10px;
}
nav ul ul li {
	width: 170px;
	float:none;
	display:list-item;
	position: relative;
	/*margin-left: -10px;*/
	font-family: "proxima_novaregular", arial, sans-serif;
	font-weight: 300;
	font-size: 1.4em;
	font-weight: 300;
	color: #10CCC2;
	list-style: none;
	text-align: left;
	opacity: 1;
	padding: 10px;
	box-sizing: border-box;
	border-bottom: 1px solid #006673;
	}

/* 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;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
/*li > a::after { content: <img src='http://www.prestodigital.net/Dinergy/Carousel/images/NavigationArrowDown.png' width='40'/>; } */
/* li > a:after { content:  "&#xf107;"; } */
/* li > a:after { content:  "V"; } */

li > a:after { content: ''; } /*{ content:  "\2228"; font-size: 10pt; vertical-align: top; padding-left:8px; }  2228 is good */
/*li > a:after { content:  "\2193"; } */
li > a:only-child:after { content: ''; }


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


@media only screen and (max-width : 720px) {

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a, .menu, nav ul li a:link, nav ul li a:visited {
		display: none;
		justify-self: end;
		width: 75%;
		margin-right: -24px;
	}

	nav {
		height: 44px;
	}

	/* Styling the toggle lable */
	
	.toggle {
		display: block;
		background-color: #007784;
		width: 100%;
		text-align: left;
		color: #10CCC2;
		font-size:1.6em;
		font-weight: 400;
		text-decoration:none;
		border:none;		
	}
	.toggle.youRhere {
		color: #FFF;
		outline: 0;
	}
	
	label.toggle.burger {
		display: block;
		background-color: #007784;
		padding-top: 6px;	
		width: 40px;
		grid-column: 3/4;
		justify-self: end;
		color: #10CCC2;
		font-size:1.6em;
		text-decoration:none;
		border:none;
    	
	}
	
	nav ul {
		width: 50%;
		height: 100%;
		background-color: #007784;
		z-index: 99;	
    	/*transition: 0.5s ease-in-out;*/
	}

	/*nav ul.menu  {
    	transform: translateX(100vw, 0, 0);
}
	nav ul.menu.show li.tier2 {
    	transform: translateX(0vw, 0, 0);
} */
	
	nav li.tier1 {
		float: left;
		width: 100%;
		padding: 10px 10px 20px 20px;
		margin: 0;
		font-family: "proxima_novaregular", arial, sans-serif;
		font-weight: 300;
		font-size: 1.2em;
		font-weight: 300;
		color: #10CCC2;
		list-style: none;
		text-align: left;
		box-sizing: border-box;	
	}
	
	nav li.tier1:first-child {
		padding-top: 30px;
	}
	
	/*nav li.tier1:last-child {	
		border-bottom: 1px solid #76B000;
	}*/
	
	.toggle:hover {
		background-color: #007784;
		color: #FFF;
	}
	
	nav ul li ul{
		background-color: #007784;
		padding: 10px 10px 0 0;
		border: none;
		width: 100%;
		box-sizing: border-box;
	}

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

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

	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: #007784;
		color: #10CCC2;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		/*padding:14px 20px;*/	
		color:#FFF;
		/*font-size:1.8em;*/
		font-size: 1.4em;
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a { 
		background-color: #007784;
		color: #10CCC2; 
	}
	nav ul li ul li .toggle: hover,
	nav ul ul a:hover {
		color: #FFF;
	}
	
	nav li.tier2 {
		width: inherit;
		font-family: "proxima_novaregular", arial, sans-serif;
		font-size: inherit;
		float: none;
		background-color: #007784;
		color: #10CCC2;
		opacity: 1.0;
		font-weight: 300;
		padding: 10px 10px 5px 30px;
		border-bottom: 1px solid #006673;
		box-sizing: border-box;
		box-shadow: none; /* delete this for green background */
	}

	/* 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;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: inherit;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
	}
	
		
	li.tier1 > a:after { content:  " \2228"; font-size: 14px; vertical-align: top; } /* 2228 is good */
	li.tier1 > a:only-child:after { content: ''; }
}

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

	.toggle + a,
	.menu {
		display: none;
		width: 80%;
	}
}
	
	/*nav ul ul {
	display: none;
	position: absolute; 

	top: 65px; 
	has to be the same number as the "line-height" of "nav a" 
}*/
@media only screen and (max-width:595px) {
	nav {
		grid-row: 3/4;
	}
	.menu {
		width: calc(80% + 24px);
	}
}
@media only screen and (max-width:480px) {
	label.toggle.burger {	
		width: 55px;
	}
}
