/** Reset
==============================================================================*/

* {
	margin: 0;
	padding: 0;
	list-style: none;
}

/** Enable HTML5 for older browsers
==============================================================================*/

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{
  display:block;
}

/** Profile Sub Nav
==============================================================================*/

nav {
	height: 29px;
	margin: 20px 0 30px 0;
	background: #eee;
	background: -moz-linear-gradient(100% 100% 90deg, #e6e6e6, #fefefe);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fefefe), to(#e6e6e6));
	border: 1px solid #ccc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 16px;
	color: #222222;
	background: #fff;
	margin: 0 auto;
}

nav.rounded {
	-o-border-radius: 5px; 
	-icab-border-radius: 5px; 
	-khtml-border-radius: 5px; 
	-moz-border-radius: 5px;  
	-webkit-border-radius: 5px;
}

nav#dark {
	background: #333;
	background: -moz-linear-gradient(100% 100% 90deg, #333, #666);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#666), to(#333));
	border: 1px solid #000;
}

nav li {
	float: left;
	display: block;
	border-left: 1px solid #fff;
	border-right: 1px solid #ccc;
}

nav#dark li {
	border-left: 1px solid #666;
	border-right: 1px solid #000;
}

nav li:first-child {
	border-left: none;
}

nav li:last-child,
nav#dark li:last-child {
	border-right: none;
}

nav li a {
	float: left;
	display: block;
	color: #34546F;
	padding: 6px 14px;
	border-bottom: 1px solid #ccc;
	text-decoration: none;
	text-shadow: 0 1px 1px #fff;
}

nav#dark li a {
	color: #ccc;
	border-bottom: 1px solid #000;
	text-shadow: 0 1px 1px #000;
}

nav li a:hover {
	background: #dfdfdf;
	background: -moz-linear-gradient(100% 100% 90deg, #dfdfdf, #eee);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#dfdfdf));
}

nav#dark li a:hover {
	background: #025d8c;
	background: -moz-linear-gradient(100% 100% 90deg, #003f5f, #025d8c);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#025d8c), to(#003f5f));
}

nav li.drop,
nav li.drop li {
	position: relative;
}

nav li.drop a {
	padding-right: 30px;
}

nav ul > li.drop {
	background: url(../images/arrows/b_arrow_down.png) no-repeat right;
}

nav#dark ul > li.drop {
	background: url(../images/arrows/l_arrow_down.png) no-repeat right;
}

nav ul > li.drop > a:hover,
nav ul > li.drop:hover > a {
	position: relative;
	background: #dfdfdf;
	background: url(../images/arrows/b_arrow_down.png) no-repeat right, -moz-linear-gradient(100% 100% 90deg, #dfdfdf, #eee);
	background: url(../images/arrows/b_arrow_down.png) no-repeat right, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#dfdfdf));
}

nav#dark ul > li.drop > a:hover,
nav#dark ul > li.drop:hover > a {
	position: relative;
	background: url(../images/arrows/l_arrow_down.png) no-repeat right #000;
	background: url(../images/arrows/l_arrow_down.png) no-repeat right, -moz-linear-gradient(100% 100% 90deg, #003f5f, #025d8c);
	background: url(../images/arrows/l_arrow_down.png) no-repeat right, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#025d8c), to(#003f5f));
}

nav ul li.drop li.drop,
nav ul > li.drop li.drop:hover > a {
	background: url(../images/arrows/b_arrow_right.png) no-repeat right;
}

nav#dark ul li.drop li.drop,
nav#dark ul > li.drop li.drop:hover > a {
	background: url(../images/arrows/l_arrow_right.png) no-repeat right;
}

nav ul > li.drop li.drop:hover > a {
	background: #dfdfdf;
	background: url(../images/arrows/b_arrow_right.png) no-repeat right, -moz-linear-gradient(100% 100% 90deg, #dfdfdf, #eee);
	background: url(../images/arrows/b_arrow_right.png) no-repeat right, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#dfdfdf));
}

nav#dark ul > li.drop li.drop:hover > a {
	background: url(../images/arrows/l_arrow_down.png) no-repeat right #000;
	background: url(../images/arrows/l_arrow_right.png) no-repeat right, -moz-linear-gradient(100% 100% 90deg, #003f5f, #025d8c);
	background: url(../images/arrows/l_arrow_right.png) no-repeat right, -webkit-gradient(linear, 0% 0%, 0% 100%, from(#025d8c), to(#003f5f));
}

nav li .menu {
	display: none;
}

nav li:hover .menu,
nav li .menu ul {
	width: 180px;
	background: #eee;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	z-index: 999;
}

nav li:hover .menu {
	display: block;
	position: absolute;
	top: 29px;
}

nav li:hover .menu ul {
	display: none;
}

nav li.drop li.drop:hover ul {
	display: block;
}

nav li .menu ul {
	position: absolute;
	top: -1px;
	left: 179px;
}

nav#dark li:hover .menu,
nav#dark li .menu ul {
	background: #333;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}

nav.rounded .menu {
	-o-border-radius-bottomleft: 5px; 
	-icab-border-radius-bottomleft: 5px; 
	-khtml-border-radius-bottomleft: 5px; 
	-moz-border-radius-bottomleft: 5px;  
	-webkit-border-radius-bottomleft: 5px;
	-o-border-radius-bottomright: 5px; 
	-icab-border-radius-bottomright: 5px; 
	-khtml-border-radius-bottomright: 5px; 
	-moz-border-radius-bottomright: 5px;  
	-webkit-border-radius-bottomright: 5px;
}

nav .menu li {
	float: none;
	border-right: none !important;
}

nav .menu a,
nav#dark menu a {
	display: block;
	float: none;
	border-bottom: 0;
}

nav .menu li {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #dfdfdf;
}

nav#dark .menu li {
	border-top: 1px solid #777;
	border-bottom: 0;
}

nav .menu li:last-child {
	border-bottom: none;
}