/* CSS Document */


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

/* Giving a background-color to the nav container. */
header nav { 
	margin:0;
	padding: 0;
	background-color: #a90533;
}


/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

header nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
header nav ul {
	padding:0;
	margin:0 !important;
	list-style: none;
	position: relative;
	float: left;
	}
	
/* Positioning the navigation items inline */
header nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #a90533;
	}

/* Styling the links */
header nav.section-navigation a {
	display:block;
	padding:14px 10px;	
	color:#FFF;
	font-size:17px;
	font-weight: bold;
	text-decoration:none;
	line-height: 32px;
}


header nav.section-navigation ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
header nav.section-navigation a:hover { 
	background-color: #3f0213; 
	color: #FFF;
	font-weight: bold;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
header nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px;
}
	
/* Display Dropdowns on Hover */
header nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
header nav ul ul li {
	min-width:170px;
	float:none;
	display:list-item;
	position: relative;
	z-index: 2;
	box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.50);
	left: auto;
	right: 0;
}

header nav.section-navigation ul ul li a {
	padding:7px 15px 7px 15px;
}

/* 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.
*/

header nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
}

	
/* Change ' +' in order to change the Dropdown symbol */
header nav li > a:after {
	content:  ' \f107';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 0px 0px 5px;
	text-decoration:none;
	}
header nav li > a:only-child:after { content: ''; }


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

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

	
	header nav {
		margin: 0;
		
	}

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

	/* Stylinf the toggle lable */
	header nav label.toggle {
		display: block;
		background-color: #a90533;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		font-weight: bold;
		text-decoration:none;
		border:none;
	}

	header nav label.toggle:hover {
		background-color: #3f0213;
	}

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

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

	header nav ul ul label.toggle,
	header nav ul ul a {
		padding: 0 40px;
	}

	header nav ul ul ul a {
		padding: 0 80px;
	}

	header nav a:hover,
 	header nav ul ul ul a {
		background-color: #3f0213;
	}
  
	header nav ul li ul li label.toggle,
	header nav ul ul a,
  header nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	header nav ul li ul li label.toggle,
	header nav ul ul a {
		background-color: #700322; 
	}

	/* Hide Dropdowns by Default */
	header 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 */
	header nav ul ul li:hover > ul,
	header nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	header nav ul ul li {
		display: block;
		width: 100%;
	}

	header nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}

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

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

}