﻿
/*------------------------------------*\
	NAV
\*------------------------------------*/
.nav{
	list-style:none;
	font-weight:bold;
	
	/* Clear floats */
	float:left;
	width:760px;
	
	position:relative;
	z-index:5;
	
	clear:none !important;
}

.nav li{
	float:left;
	margin-right:10px;
	padding: 8px 8px 6px 12px;
	position:relative;
}
.nav a{
	display:block;
	
	color:#051332;
	
	text-decoration:none;
}
.nav a:hover{
	color:#051332;
	/*background:#6b0c36;*/
	
}

.nav1{
	list-style:none;
	font-weight:bold;
	
	/* Clear floats */
	float:left;
	width:760px;
	position:relative;
	clear:none !important;
}

.nav1 li{
	float:left;
	margin-right:10px;
	padding: 8px 8px 6px 12px;
	position:relative;
}
.nav1 a{
	display:block;
	
	color:#051332;
	
	text-decoration:none;
}
.nav1 a:hover{
	color:#051332;
	/*background:#6b0c36;*/
	
}

.profile
{
    float: right;
     list-style:none;
     width: 240px;
}

.profile ul
{
	background-color:#cbc9ca;
	list-style:none;
	position:absolute;
	margin:6px 0 0 -10px;
	display:none;
	z-index:4;
}
.profile ul
{
	*margin:21px 0 0 -66px;
}

.profile li
{
    padding: 8px 5px 6px 5px;
      float: left;
      font-weight:bold;
}

.profile li:hover ul
{
	display:block;
}
.profile ul li
{
	padding:5px 10px ;
	float:none;
}




/*--- DROPDOWN ---*/
.nav ul{
	background:#cbc9ca; /* 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;) */

}
.nav ul li{
	padding-top:1px; /* 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:0; /* Bring back on-screen when needed */
		margin: 6px 0 0 0;
}
.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:#6b0c36;*/
	
}
.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;
	margin: 3px 0 0 0;
}
.nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	
}

.nav1 ul{
	background:#cbc9ca; /* 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;) */

}
.nav1 ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
.nav1 ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
.nav1 li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
		margin: 6px 0 0 0;
}
.nav1 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:#6b0c36;*/
	
}
.nav1 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;
	margin: 3px 0 0 0;
}
.nav1 li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	
}

.active
{
    background: #ffd800;    
}
