/*****************************************************************************************************
  Horizontal, Centered, Drop-Down Nav
  by Matthew James Taylor
  
  adapted & restyled for Sizzix UK
  by Jose Dacio
  
  original source code available at:
  http://matthewjamestaylor.com/blog/beautiful-css-centered-menus-no-hacks-full-cross-browser-support
  http://matthewjamestaylor.com/blog/centered-dropdown-menus

******************************************************************************************************/

/* Main menu settings */
#nav_content {
	clear:both;
	float:left;
	margin:0;
	padding:0;
  background: url(/images/ui/footer_tex.jpg) repeat;
  height:2.6em;
	width:100%;
	z-index:1000; /* This makes the dropdown menus appear above the page content below */
	position:relative;
}

/* Top menu items */
#nav_content ul {
	margin:0;
	padding:0;
	list-style:none;
	float:right;
	position:relative;
	right:50%;
}
#nav_content ul li {
	margin:0 0 0 1px;
	padding:0;
	float:left;
	position:relative;
	left:50%;
	top:1px;
}

#nav_content ul li a.separator_vert {
  padding: .4em 2em 0 2em;  /* adjust main category nav link spacing here */
}

#nav_content ul li a {
	display:block;
	margin:0;
	padding:.3em .5em .3em;
	font-family: Arial;
	font-size:1.35em;
	line-height:1em;
	text-decoration:none;
	color:#FFF;
}
#nav_content ul li a.main_categories {
	padding:.5em 1em;
}

#nav_content ul li.active a.main_categories {
	color:#fff;
}
#nav_content ul li a.main_categories:hover {
	background:#54729c; /* Top menu items background colour */
	color:#fff;
}
#nav_content ul li:hover a.main_categories,
#nav_content ul li.hover a.main_categories { /* This line is required for IE 6 and below */
	background:#54729c; /* Top menu items background colour */
	color:#fff;
}

/* Submenu items */
#nav_content ul ul {
	display:none; /* Sub menus are hidden by default */
	position:absolute;
	top:2.5em;
	left:0;
	float:left;
	right:auto; /*resets the right:50% on the parent ul */
	width:auto; /* width of the drop-down menus - sets to the longest item on the list */
	min-width:125px;
}
#nav_content ul ul li {
	left:auto;  /*resets the left:50% on the parent li */
	margin:0; /* Reset the 1px margin from the top menu */
	clear:left;
	float:left;
	width:100%;
	white-space: nowrap; /* prevent line breaks on lengthy names */
}
#nav_content ul ul li a,
#nav_content ul li.active li a,
#nav_content ul li:hover ul li a,
#nav_content ul li.hover ul li a { /* This line is required for IE 6 and below */
	font-size: 1em;
	font-weight:bold; /* resets the bold set for the top level menu items */
	background:#54729c;
	color:#FFF;
	line-height:1.4em; /* overwrite line-height value from top menu */
	float:left;
	width:100%;
}

#nav_content ul ul li a.separator_horiz,
#nav_content ul li.active li a.separator_horiz,
#nav_content ul li:hover ul li a.separator_horiz,
#nav_content ul li.hover ul li a.separator_horiz { /* This line is required for IE 6 and below */
	font-size:1em;
	padding: 0em .5em 0em;
/*  border-bottom: 1px solid #036; */
}

#nav_content ul ul li a.separator_horiz:hover,
#nav_content ul li.active li a.separator_horiz:hover,
#nav_content ul li:hover ul li a.separator_horiz:hover,
#nav_content ul li.hover ul li a.separator_horiz:hover { /* This line is required for IE 6 and below */
  background:#54729c;
}

#nav_content ul ul li img,
#nav_content ul li.active li img,
#nav_content ul li:hover ul li img,
#nav_content ul li.hover ul li img { /* This line is required for IE 6 and below */
  height: 1px;
  width: 100%;
  *width: 210%;
}

#nav_content ul ul li a.list_title,
#nav_content ul li.active li a.list_title,
#nav_content ul li:hover ul li a.list_title,
#nav_content ul li.hover ul li a.list_title { /* This line is required for IE 6 and below */
  font-size: 1em;
	color:#036;
}

#nav_content ul ul li a.list_title:hover,
#nav_content ul li.active ul li a.list_title:hover,
#nav_content ul li:hover ul li a.list_title:hover,
#nav_content ul li.hover ul li a.list_title:hover { /* This line is required for IE 6 and below */
  font-size: 1em;
	color:#036;
}


#nav_content ul ul li a:hover,
#nav_content ul li.active ul li a:hover,
#nav_content ul li:hover ul li a:hover,
#nav_content ul li.hover ul li a:hover { /* This line is required for IE 6 and below */
	background:#c8ddf4; /* Sub menu items background colour */
	color:#6c8cb9;
	float:left;
}

#nav_content ul ul.submenu {
	background:#54729c\9;
}

/* Flip the last submenu so it stays within the page */
#nav_content ul ul.last {
	left:auto; /* reset left:0; value */
	right:0; /* Set right value instead */
}
#nav_content ul ul.last li {
/*	float:right; */
	position:relative;
	right:.8em;
}

/* Make the sub menus appear on hover */
#nav_content ul li:hover ul,
#nav_content ul li.hover ul { /* This line is required for IE 6 and below */
	display:block; /* Show the sub menus */
}