/*NAVBAR STYLE SHEET FOR WWW.MOBISOFT.PCDS.CO.UK */
/* LAST EDITED BY: PETER COX */

/* mob_navbar.css v1.5 (01.11.09) (Based on Suckerfish) */
/* W3C validated dd.mm.07 */

#navbar { /* The basic bar of the menu */
	position:relative;
	float:left;
	width:100%;
	/*height:1.0em;*/
	min-height:20px;
	background-color:#004f51;
	/*background-image:url(/images-site/gif256/rcnavbarbg2.gif);*/
	/*background-repeat:repeat-x;*/
	/*border:3px solid yellow;*/
	/*z-index:100;*/ /* Master layering for the whole menu */
	/*margin-top:40px;*/
	margin-bottom:1px;
	/*border-bottom:1px solid #ffffff;*/
	z-index:100; /* Lift the menu and dropdowns above everything else */
	}

#nav, #nav ul { /* all lists */
	float: left;
	width:100%;
	list-style-type:none;
	background:transparent;
	font-weight: bold;
	font-size:1.0em;
	line-height:1.5em;
	text-transform:uppercase;
	margin:0;
	padding:0;
	/*border:1px dashed fuchsia;*/
}

#nav li { /* Global settings for top level menu items */
	float:left;
	position:relative;
	padding-right:5px; /* Controls the spacing around the primary menu item */
	padding-left:5px; /* Controls the spacing around the primary menu item */
	padding-bottom:3px; /* Controls the gap below the primary menu items */
	margin-top:2px; /* Controls the vertical centering of menu items on the bar */
	background-color:transparent;
	/*background-color:yellow;*/
	/*border:1px dotted red;*/
	}

#nav li.home1 {
		width:6.0em;
		padding-left:20px;
		}	
		
#nav li.applications1 {
		width:10.0em;
		margin-right:20px; /* spacing to next menu title */
		}
		
#nav li.invehicle1 {
		width:8.0em;
		margin-right:20px;
		}
		
#nav li.casestudies1 {
		width:11.0em;
		}
		
#nav li.news1 {
		width:6.0em;
		}
		
#nav li.contact1 {
		width:6.0em;
		margin-right:20px;
		}

#nav li.company1 {
		width:10.0em;
		}
		
#nav li.ukdrt1 {
		width:6.0em;
		}

#nav a, #nav a:visited { /* Controls the common look of primary links along the main nav bar */
	display: block;
	/*width: 10em;*/
	width:100%;
	color: #ffffff;
	text-decoration: none;
	/*padding: 0.25em 2em;*/
}

#nav a:active, #nav a:hover, #nav a:focus { /* Global hover and focus states for primary links along the main nav bar */
	display:block;
	width:100%;
	color:#BFE2FF;
	color:#a6cded; /* recoloured lightest blue highlight */
	text-decoration:none;
	/*border:1px solid #000000;*/
	/*z-index:100;*/
	}

#nav a.home1 {/* home list item */
	/*margin-right:10px;*/
	}

	
#nav a.casestudies1 {/* casestudies list item */
	/*margin-left:20px;*/
	}

#nav li { /* all list items */
	float: left;
	width: 10em; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level list containers, not per item */
	position: absolute;
	margin-top:1px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	height: auto;
	/*width: 14.4em;*/
	/*w\idth: 13.9em;*/
	font-weight: normal;
	/*border-width: 0.25em;*/
	/*margin: 0;*/
	background-color:#004f51;
}

#nav li ul.applications2 {  /* specific second-level (first dropdown) applications list */
	margin-right:20px;
	width:10.0em;
	}
	
#nav li ul.invehicle2 {  /* specific second-level (first dropdown) applications list */
	margin-right:20px;
	width:14.0em;
	}

#nav li li {
	/*padding-right: 1em;*/
	/*width: 13em*/
}

#nav li ul li { /* global second level (first dropdown) dropdown items */
	/*padding:3px 5px 3px 5px;*/
	left:-5px; /* Sets where the drop-down drops down laterally wrt the primary menu item*/
	width:100%; /* Use full width of the enclosing ul list container */
	border-top:1px solid #b17c48; /* dropdown item separation rules */
	padding-left:5px;
}





/* ////////////////////// FIRST DROPDOWN LISTS & SPECIFIC STYLING /////////////////*/



#nav li ul a {
	/*width: 13em;*/
}

#nav li ul a.applications1 { /* second-level applications list */
	width: 10.0em;
}

#nav li ul a.invehicle1 { /* second-level invehicle list */
	width: 10.0em;
}

#nav li ul a.casestudies1 { /* second-level casestudies list */
	width: 10.0em;
}

/* ////////////////////// END FIRST DROPDOWNS & SPECIFIC STYLING /////////////////*/

#nav li ul ul { /* 3rd level / second dropdowns */
	margin: -1.75em 0 0 14em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.ddNavHover ul ul, #nav li.ddNavHover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.ddNavHover ul, #nav li li.ddNavHover ul, #nav li li li.ddNavHover ul { /* lists nested under hovered list items */
	left: auto;
	padding-left:5px;
	padding-right:5px;
	left:0;
}

#nav li:hover, #nav li.ddNavHover { /* Sets global hover states for drop downs */
	background-color:#004f51;
}
/*
#content {
	clear: left;
}

#content a {
	color: #7C6240;
}

#content a:hover {
	text-decoration: none;
}*/
