
#nav
{
	/*
	width:80%;
	float: right;
	*/
	height:40px;
	/* font-family: 'Open Sans', sans-serif; */
	font-family: Arial, Helvetica, sans-serif;
	margin:0 auto;
	background-color: #393e64; /* Bluish */

}

#nav > a
{
	display: none;
}

#nav li
{
	position: relative;
	line-height:40px;
			
}
	#nav li a
	{
		color: #fff;
		display: block;
	}
	#nav li a:active
	{
		background-color: #8C0019 !important;  /* Appears when right-clicking on Chrome - Notiz*/
	}

#nav span:after
{
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #00FF00;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}

/* first level */

#nav > ul
{
	background-color: #393e64;
}
	#nav > ul > li
	{
		
		width: 20%; /* Divide 100 by the number of items - Notiz*/
		height: 100%;
		float: left;
		z-index:999; /* Makes sure that sub-menus are over slides- Notiz*/
		
		
	}
		#nav > ul > li > a
		{
			transition:ease-in-out 0.5s all 0s;
			/*padding:0px 12px; text-decoration:none; */ /*Removed side padding, causing long text overflow - Notiz*/
			padding:0px; text-decoration:none;
			text-align: center; font-family:Arial, Helvetica, sans-serif; font-size:14px;
		}
			#nav > ul > li:not( :last-child ) > a
			{
				border-right: 1px solid #e38e00; /*Menu vertical colour separator - Notiz*/
			}
			#nav > ul > li:hover > a,
			#nav > ul:not( :hover ) > li.active > a
			{
				background-color: #e38e00; transition:ease-in-out 0.5s all 0s;
			}


	/* second level */

	#nav li ul
	{
		background-color: #e38e00;
		display: none;
		position: absolute;
		 width:180px;
	}
		#nav li:hover ul
		{
			display: block;
			left: 0;
			right: 0; transition:ease-in-out 0.5s all 0s;
		}
			#nav li:not( :first-child ):hover ul
			{
				left: -1px;
			}
			#nav li ul a
			{
				
				border-top: 1px solid #393e64; line-height:35px;
				padding:0px 15px; text-decoration:none; font-size:13px;
			}
				#nav li ul li a:hover,
				#nav li ul:not( :hover ) li.active a
				{
					background-color: #393e64; transition:ease-in-out 0.5s all 0s;
				}


@media only screen and ( max-width: 62.5em ) /* 1000 */
{
	#nav
	{
		width: 100%;
		position: static;
		margin: 0;
	}
}

@media only screen and ( max-width: 40em ) /* 640 */
{
	html
	{
		 /* font-size: 75%; /* 12 */ /* Disabled by Notiz */
	}

	#nav
	{
		position: relative;
		top: auto;
		left: auto;
	}
		#nav > a
		{
			width: 3.125em; /* 50 */
			height: 2.5em; /* Was 3.125em - Changed by Notiz */
			text-align: left;
			text-indent: -9999px;
			background-color: #393e64;
			position: relative;
			float: right; /* Comment this, to have "three lines" menu symbol on the left - Added by Notiz */
		}
			#nav > a:after
			{
				position: absolute;
/* 				border: 2px solid #fff; */
				top: 15%;
				left: 25%;
				right: 30%;
				bottom: 15%;
				content: ' ';
				background: url('../img/menuButton.png') no-repeat center;
			}

		#nav:not( :target ) > a:first-of-type,
		#nav:target > a:last-of-type
		{
			display: block;
		}


	/* first level */

	#nav > ul
	{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		z-index:999; /* Makes sure that sub-menus are over slides- Notiz*/
	}
		#nav:target > ul
		{
			display: block;
		}
		#nav > ul > li
		{
			width: 100%;
			float: none;
		}
			#nav > ul > li > a
			{
				height: auto;
				text-align: left;
				padding: 0 0.833em; /* 20 (24) */
			}
				#nav > ul > li:not( :last-child ) > a
				{
					border-right: none;
					border-bottom: 1px solid #e38e00;
				}


		/* second level */

		#nav li ul
		{
			position: static;
			/* padding: 1.25em; /* 20 */
			padding-top: 0;
			width: 100%; /* Added by Notiz*/
		}
}

/*=========================================


	
ul, ol {


    list-style: outside none none;
	padding-left: 0px;

}




/*==========================================*/


ul, ol {


    list-style: outside none none;
	padding-left: 0px;

}









