/*------------------------------------*\
	NAV

	http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/:w

\*------------------------------------*/



#nav_background { 
	position: relative;
    height: 30px;
    width: 949px;
    margin: auto;
    line-height: 30px;
    background:#5393B1;
    /*background-image: url('/layout_imgs/nav_bg.jpg'); now loads -pie-background */
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5393B1), color-stop(100%, #236B8A));
    background: -webkit-linear-gradient(top, #5393B1, #236B8A);
    background: -moz-linear-gradient(top, #5393B1, #236B8A);
    background: -ms-linear-gradient(top, #5393B1, #236B8A);
    background: -o-linear-gradient(top, #5393B1, #236B8A);
    background: linear-gradient(top, #5393B1, #236B8A);
    border: 1px solid #236B8A;
    border-bottom: 1px solid #1A617F;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 0 0 #66A3C0;
    -moz-box-shadow: inset 0 1px 0 0 #66A3C0;
    box-shadow: inset 0 1px 0 0 #66A3C0;
    color: white;
    font-size: 1em;
    text-align: center;
    text-shadow: 0 -1px 0 #104B64;
    -pie-background: linear-gradient(#5393B1, #236B8A);
    /*behavior: url('/css/PIE.htc');*/
}
#nav_link_container { /* TO CENTER THE LINKS */
    display: table;
    width: 100%;
    margin: auto;
}
#nav_wrapper li {
    border-left: 1px solid #5393B1;
    border-right: 1px solid #236B8A;
}
#nav li:first-child { /* REMOVES THE LEFT BORDER FOR THE LEFT SIDE LINK */
    border-left: none;
}
#nav li:last-child { /* REMOVES THE RIGHT BORDER FOR THE RIGHT SIDE LINK */
    border-right: none;
}
#nav ul li { /* REMOVES BORDERS FROM DROP DOWNS */
	border: none;
}

#nav{
	list-style:none;
	margin-bottom:0px;
	/* Clear floats */
	float:left;
	width:935px;
	/* Bring the nav above everything else--uncomment if needed.
	*/
	position:relative;
	z-index:50;
	margin: 0px 7px;
}
#nav li{
	float:left;
	margin-right:0px;
	position:relative;
}
#nav a{
	display:block;
	padding:0px 16px;
	color:#ffffff;
	
	text-decoration:none;
}
#nav a:hover{
	color:#ffffff;
	background:#3B7490;
}
li.main_nav
{
display:inline;
color: #FFFFFF;
font-size:14px;
}
/*--- DROPDOWN ---*/
#nav ul{
	background:#3B7490; /* 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; /* Hide off-screen when not needed (this is more accessible than display:none;) */
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-bottom-left-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    -ms-border-bottom-left-radius: 3px;
    -ms-border-bottom-right-radius: 3px;
    -o-border-bottom-left-radius: 3px;
    -o-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-box-shadow: 0px 3px 7px 0px rgba(0,0,0,.5);
    -moz-box-shadow: 0px 3px 7px 0px rgba(0,0,0,.5);
    box-shadow: 0px 3px 7px 0px rgba(0,0,0,.5);
    z-index: 10;
    /*behavior: url('/css/PIE.htc');*/
}
#nav ul li{
	padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#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:0px; /* 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:#3B7490;
}
#nav ul li a:last-child {
	-webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-bottom-left-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    -ms-border-bottom-left-radius: 3px;
    -ms-border-bottom-right-radius: 3px;
    -o-border-bottom-left-radius: 3px;
    -o-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    /*behavior: url('/css/PIE.htc');*/
}
#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:#6F9FB6;
	/*color:#3B7490;*/
}