/* by Alexander Endresen and mark and Nuno */
#menu_vert {
/* no margin/padding so it fills the whole div */
	margin: 0;
	padding: 0;
}
.clearb {
/* needed for some browsers */
	clear: both;
}

#top_nav{
	width:990px;
	height:50px;
 }
#banner-image{
 	display: block;
  }
#menuwrapper {
 	margin: 0px;
	padding: 0px;
 }

ul#primary-nav, ul#primary-nav ul {
	/* remove any default bullets */
	list-style-type: none;
	margin: 0px;
	padding: 0px;
 	height: 50px;
}
ul#primary-nav {
	margin: 0px;
	padding: 0px;
}
ul#primary-nav ul {
	/* make the ul stay in place so when we hover it lets the drops go over the content below else it will push everything below out of the way */
	position: absolute;
	/* top being the bottom of the li it comes out of */
	top: auto;
	/* keeps it hidden till hover event */
	display: none;
	margin: 0px;
	padding: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
 }
ul#primary-nav ul ul {
	/* now we move the next level ul down from the top a little for distinction */
	margin-top: 0px;
	/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
	/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
	/* sets the top of it inline with the li it came out of */
	top: 0px;
	padding: 0px;
}
ul#primary-nav li {
/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #386189;
}

#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 220px;
/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
/* removes the left float set in first li so these will stack from top down */
	float: none;
/* relative to the ul they are in */
	position: relative;
}
/* set the "a" link look here */
ul#primary-nav li a {
	/* specific font size, this could be larger or smaller than default font size */
	font-size: 17px;
	/* make sure we keep the font normal */
	font-weight: normal;
	/* set default link colors */
	color: #fff;
	display: block;
	/* sets no underline on links */
	text-decoration: none;
	margin: 0px;
	line-height: 50px;
	padding-right: 49px;
	padding-left:48px;
	background-color: #373B6E;
}
ul#primary-nav li:first-child a, ul#primary-nav li:first-child a:hover,
ul#primary-nav li:first-child  , ul#primary-nav li:first-child:hover
 {
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: 15px 0px 0px 0px;
	border-radius: 15px 0px 0px 0px;
   }
 
ul#primary-nav li:last-child a, ul#primary-nav li:last-child a:hover,
ul#primary-nav li:last-child , ul#primary-nav li:last-child:hover
 {
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: 0px 15px 0px 0px;
	border-radius: 0px 15px 0px 0px;
	/* Remove right border from last link */
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
} 
 
 
#leftcorner{
	position: absolute;
	left: 0px;
	top: 0px;	
	height: 12px;
	width: 13px;
}
#rightcorner{
	background-position: center center;
	position: absolute;
	top: 0px;
	right: -4px;
	height: 50px;
	width: 13px;
}


ul#primary-nav li a:hover {
	background: linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Old browsers */
	background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* IE10+ */
	background: linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
	color: #000033;
}
ul#primary-nav li li a:hover {
	color: #D98719;
	font-weight: bold;
  }

ul#primary-nav li li:first-child a, ul#primary-nav li li:first-child  a:hover,
ul#primary-nav li li:last-child a, ul#primary-nav li li:last-child  a:hover
{
/* Turn off any rounded corners */
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 
}
 
ul#primary-nav li li {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

ul#primary-nav li a.menuactive {
	color: #101A57;
/* bold to set it off from non active */
 	background: linear-gradient(top, rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(226,226,226,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(254,254,254,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
ul#primary-nav li a.menuactive:hover {
	color: #000;
}
#primary-nav li li a.menuparent span {
	/* makes it hold a shape */
	display: block;

  }
 * html #primary-nav li li a.menuparent span {
 	background-image: url(../../images/cms/parent.png);
	background-repeat: no-repeat;
	background-position: right center;
}

ul#primary-nav li ul a {
	/* insures alignment */
	text-align: left;
	margin: 0px;
	/* keeps it relative to it's container */
	position: relative;
	/* if first level is set to bold this will reset this level */
	font-weight: normal;
	/* first level is #FFF/white, we need black to contrast with light background */
	color: #000;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
	padding-top: 0px;
	padding-right: 3px;
	padding-bottom: 0px;
	padding-left: 15px;
}
ul#primary-nav li ul {
/* very lite grey color, by now you should know what the rest mean */
	background: #F3F5F5;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #374B51;
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 0.95;
/* CSS 3 */
}
ul#primary-nav li ul ul {
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 95;
/* CSS 3 */
}
/* Styling the appearance of menu items on hover */
#primary-nav li li:first-child:hover,
#primary-nav li li:first-child.menuh ,
#primary-nav li li:first-child.menuparenth ,
#primary-nav li li:first-child.menuactiveh,

#primary-nav li:hover,
#primary-nav li.menuh ,
#primary-nav li.menuparenth ,
#primary-nav li.menuactiveh {
	/* Dark Gray Gradient  */
	background: rgb(181,189,200); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(181,189,200,1) 0%, rgba(130,140,149,1) 36%, rgba(40,52,59,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(181,189,200,1)), color-stop(36%,rgba(130,140,149,1)), color-stop(100%,rgba(40,52,59,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(181,189,200,1) 0%,rgba(130,140,149,1) 36%,rgba(40,52,59,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(181,189,200,1) 0%,rgba(130,140,149,1) 36%,rgba(40,52,59,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(181,189,200,1) 0%,rgba(130,140,149,1) 36%,rgba(40,52,59,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(181,189,200,1) 0%,rgba(130,140,149,1) 36%,rgba(40,52,59,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5bdc8', endColorstr='#28343b',GradientType=0 ); /* IE6-9 */
	color: #FFFFFF;
	
/* Turn off any rounded corners */
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 	
}

 
 


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul {
	display: none;
}
/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul {
	display: block;
}
/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	font-size: 1em;
	background-color: #F0F0F0;
}