/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#menu_container
{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	position: absolute;
	top: 117px;
	right: 5px;
	width: auto;
	z-index: 10000;
}

/* Get rid of the margin, padding and bullets in the unordered lists */
#pmenu, #pmenu ul
{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style-type: none;
}

/* ###################################################### */
/* START - FIRST LEVEL LINKS STYLES */
/* Set up the link size, color and borders */
#pmenu li a, #pmenu li a:visited
{
	display: block;
	width: auto;
	font-size: 14px;
	color: #125EA2;
	height: 40px;
	line-height: 45px;
	text-decoration: none;
	text-indent: 10px;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-color: transparent;
	background-image: url(../images/crn-tabs2.gif);
	background-repeat: no-repeat;
	background-position: right -40px;
}

/* Main nav link colors - NORMAL state */
#pmenu li
{
	float: left;
	margin: 0 0 -5px -1px;
	padding: 0 0 0 0;
}

/* Main nav link colors - HOVER state */
/* For Non-IE browsers and IE7 */
#pmenu li:hover { position: relative; }

/* Main nav link colors - HOVER state */
/* Make the hovered list color persist in other browsers */
#pmenu li:hover > a
{
	background-position: right -80px;
	color: #000;
}

/* Main nav link colors - HOVER state */
/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #pmenu li a:hover
{
	position: relative;
	background-position: right -80px;
	color: #000;
}

/* Main nav link colors - ACTIVE/FOCUS state */
/* For accessibility of the main nav level menu when tabbing */
#pmenu li a:active
{
	position: relative;
	background-position: right 0px;
	color: #000;
}

/* END - FIRST LEVEL LINKS STYLES */
/* ###################################################### */
/* START - SECOND LEVEL LINK STYLES */
/* Set up the link size, color and borders */
#pmenu li ul li a, #pmenu li ul li a:visited
{
	display: block;
	width: 100%;
	font-size: 12px;
	color: #125EA2;
	height: 28px;
	line-height: 32px;
	text-decoration: none;
	text-indent: 10px;
	background-color: #fff;
	background-image: url(../images/crn-tabs3.jpg);
	background-repeat: no-repeat;
	background-position: 0 -40px;
}

/* Subnav link colors - NORMAL state */
#pmenu li ul li
{
	width: 12em;
	float: left;
	height: 28px;
	border-bottom: solid 1px #e2eef4;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

/* Subnav link colors - HOVER state */
/* For Non-IE browsers and IE7 */
#pmenu li:hover ul li:hover { position: relative; }

/* Subnav link colors - HOVER state */
/* Make the hovered list color persist in other browsers */
#pmenu li:hover ul li:hover> a
{
	background-position: 0 -80px;
	color: #000;
	font-weight: bold;
}

/* Subnav link colors - HOVER state */
/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #pmenu li ul li a:hover
{
	position: relative;
	background-position: 0 -80px;
	color: #000;
	font-weight: bold;
}

/* Subnav link colors - ACTIVE/FOCUS state */
/* For accessibility of the subnav level menu when tabbing */
#pmenu li ul li a:active/*, #pmenu li ul li a:focus*/
{
	background-position: 0 -40px;
	color: #000;
	font-weight: bold;
}

/* END - SECOND LEVEL LINK STYLES */
/* ###################################################### */
/* START - SUBNAV BOX STYLES */
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#pmenu li ul { display: none; }

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#pmenu li:hover > ul
{
	border-top: 0px solid #fab25e;
	border-bottom: 4px solid #88AED0;
	border-right: 0px solid #88AED0;
	border-left: 0px solid #88AED0;
	display: block;
	position: absolute;
	/* POSITIONING FOR THIRD LEVEL and HIGHER in POST IE6 BROWSERS */
	top: -4px;
	left: 120px;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}

/* Position the first sub level beneath the top level links */
#pmenu > li:hover > ul
{
	/* UL BOX WIDTH for POST IE6 BROWSERS */
	width: 12em;
	border-top: 0px solid #fab25e;
	border-bottom: 4px solid #88AED0;
	border-right: 0px solid #88AED0;
	border-left: 0px solid #88AED0;
	left: 0px;
	top: 40px;
}

/* get rid of the table */
#pmenu table
{
	position: absolute;
	border-collapse: collapse;
	top: 0;
	left: 0;
	z-index: 10000;
	font-size: 1em;
}

/* END - SUBNAV BOX STYLES */
/* ###################################################### */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* START - CRUCIAL FOR IE6- */
/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */
/* change the drop down levels from display:none; to visibility:hidden; */
* html #pmenu li ul
{
	visibility: hidden;
	display: block;
	position: absolute;
	top: -4px;
	left: 120px;
	padding: 0 0 0 0;
}

/* END - CRUCIAL FOR IE6- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* keep the third level+ hidden when you hover on first level link */
#pmenu li a:hover ul ul { visibility: hidden; }

/* keep the fourth level+ hidden when you hover on second level link */
#pmenu li a:hover ul a:hover ul ul { visibility: hidden; }

/* keep the fifth level hidden when you hover on third level link */
#pmenu li a:hover ul a:hover ul a:hover ul ul { visibility: hidden; }

/* keep the sixth level hidden when you hover on fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul ul { visibility: hidden; }

/* make the second level visible when hover on first level link and position it */
/* POSITIONING FOR IE6 */
#pmenu li a:hover ul
{
	/* WIDTH/BG-COLOR for IE6 BROWSERS */
	width: 12em;
	background-color: #fff;
	border-top: 0px solid #fab25e;
	border-bottom: 4px solid #88AED0;
	border-right: 0px solid #88AED0;
	border-left: 0px solid #88AED0;
	visibility: visible;
	/* POSITIONING FOR MOST BROWSERS */
	left: 0px;
	top: 40px;
	/* POSITIONING FOR IE6 */
	lef\t: 0px;
	to\p: 40px;
}

/* START - MUST BE MODIFIED IF MORE MENUS ARE ADDED */
/* make the third level visible when you hover over second level link and position it and all further levels */
#pmenu li ul a:hover ul
{
	/* WIDTH/BG-COLOR for IE6 BROWSERS */
	width: 12em;
	visibility: visible;
	/* POSITIONING FOR IE6 */
	top: -4px;
	left: 120px;
}

/* make the fourth level visible when you hover over third level link */
#pmenu li a:hover ul a:hover ul a:hover ul { visibility: visible; }

/* make the fifth level visible when you hover over fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul { visibility: visible; }

/* make the sixth level visible when you hover over fifth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { visibility: visible; }

/* END - MUST BE MODIFIED IF MORE MENUS ARE ADDED */
/* ################################################ */
/* Control width of main links for IE6 */
li#crn_home
{
	display: inline;
	width: 5.5em;
	white-space: nowrap;
}

li#crn_about
{
	display: inline;
	width: 7em;
	white-space: nowrap;
}

li#crn_services
{
	display: inline;
	width: 9em;
	white-space: nowrap;
}

li#crn_why
{
	display: inline;
	width: 7.5em;
	white-space: nowrap;
}

li#crn_casestudies
{
	display: inline;
	width: 9.25em;
	white-space: nowrap;
}

li#crn_news
{
	display: inline;
	width: 10.25em;
	white-space: nowrap;
}

li#crn_contact
{
	display: inline;
	width: 8.25em;
	white-space: nowrap;
}

/* ################################################ */
/* Control visibility of main links */
/* make the "Home" item disappear from the main menu */
li#crn_home { display: none; }