﻿/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	margin: 0px 0px 0px 0px;
	list-style: none;
	font-weight: normal; /* Clear floats */;
	width: 1200px;
	text-decoration: none;
	position: relative;
	z-index: 100;
	top: 0px;
	height: 40px;
	left: 0px;
}
#nav li{
	float: left;
	margin-right: 0px;
	position: relative;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: #FFFFFF;
	padding-right: 0px;
}
#nav li.left{
	float: left;
	margin-right: 0px;
	position: relative;
	padding-right: 0px;
	top: 0px;
	left: 0px;
	border-right-style: none;
	border-right-color: inherit;
	border-right-width: medium;
}

#nav li.right{
	float: right;
	margin-right: 0px;
	position: relative;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: #FFFFFF;
	padding-right: 0px;
}

#nav li.end{
	float: right;
	margin-right: 0px;
	position: relative;
	padding-right: 0px;
	top: 0px;
	left: 0px;
	width: 98px;
	border-right-style: none;
	border-right-color: inherit;
	border-right-width: medium;
}
#nav a{
	display: block;
	padding: 9px 25px 9px 25px;
	color: #FFFFFF;
	text-decoration: none;
}
#nav a:hover{
	color: #FFFFFF;
	background: #666666;
	text-decoration: none;
}
#nav .home a,#nav li.home:hover a{
	background-image: url('images/home.png');
	background-repeat: no-repeat;
	padding-left: 28px;
	background-position: 5px center;
}



/*--- DROPDOWN ---*/
#nav ul{
	background: #fff;
/* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */background: rgba(255,255,255,0);
/* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */;list-style: none;
	position: absolute;
	left: -9999px;
	margin-left: 0px; /* Drop Down Menu horizontal position */;
	z-index: 9999;
}
#nav ul li{
	padding-top: 1px; /* Introducing a padding between the li and the a give the illusion spaced items */;
	float: none;
	border-right-width: 0px;
}


#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}



#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{
	/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background: #808080; /* Main Menu mouse over background colour*/
	text-decoration: none;
}

#nav li.lang-eng:hover a{
	/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	/* Main Menu mouse over background colour*/
	background-position: 5px 5px;
	text-decoration: none;
	background-image: url('images/flag-uk.gif');
	background-repeat: no-repeat;
}




#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{
	/* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background: #116CB3; /* Drop Down Menu mouse over background colour*/
	color: #FFFFFF; /* Drop Down Menu mouse over text colour*/
}

#nav >  li.lang  > a{
	background-position:5px center;
	text-decoration: none;
	background-image: url('images/flag-uk.gif');
	background-repeat: no-repeat;
	padding-left:35px; 
}

#nav >  li.lang  > a{
	background-image: url('images/flag-uk.gif');
}
#nav >  li.lang  .lang-eng a,#nav li.lang:hover ul li.lang-eng a:hover{
	background-image: url('images/flag-uk.gif');
	background-repeat: no-repeat;
	background-position:5px center;
	padding-left:35px;
}
#nav >  li.lang  .lang-francais a,#nav li.lang:hover ul li.lang-francais a:hover{
	background-image: url('images/flag-france.gif');
	background-repeat: no-repeat;
	background-position:5px center;
	padding-left:35px;
}
#nav >  li.lang  .lang-nederlands a,#nav li.lang:hover ul li.lang-nederlands a:hover{
	background-image: url('images/flag-netherlands.gif');
	background-repeat: no-repeat;
	background-position:5px center;
	padding-left:35px;
}
#nav >  li.lang  .lang-polski a,#nav li.lang:hover ul li.lang-polski a:hover{
	background-image: url('images/flag-poland.gif');
	background-repeat: no-repeat;
	background-position:5px center;
	padding-left:35px;
}
#nav >  li.lang  .lang-deutsch a,#nav li.lang:hover ul li.lang-deutsch a:hover{
	background-image: url('images/flag-germany.gif');
	background-repeat: no-repeat;
	background-position:5px center;
	padding-left:35px;
}

 @media(max-width:1024px) {}

/*--- DROPDOWN ---*/
