/* Market Hardware - reset.css */
#nav {
	font-size: 1.1em;
	height: 42px;
	line-height: 42px;
	margin-bottom: 15px;
	position: relative;
	z-index: 2;
}

#nav,
#nav-list ul {
	background: #273134;
}


/* First level */
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav-list {
	padding-left: 20px !important;
}

#nav li {
	border-color: #666;
	border-style: solid;
	border-width: 0;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}

#nav-list li.first  {
	border-left: none;
}

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

#nav-list li.last  {
	border-right: none;
}

#nav-list > li:last-child  {
	border-right: none;
}

#nav a {
	color: #fff;
	display: block;
	float: left;
	text-decoration: none;
	zoom: 1;
}

#nav a span {
	display: block;
	padding: 0 20px;
}

/* Second level */
#nav-list ul {
	border: 0;
	display: none;
	left: -1px;
	line-height: 1.2;
	margin-left: 0;
	position: absolute;
	text-transform: capitalize;
	top: 42px;
	width: 15em;
	z-index: 1;
}

#nav-list ul a {
	width: 100%;
}

#nav-list ul a span {
	padding: 6px 10px;
}

#nav li:hover ul,
#nav li.hover ul {
	display: block;
}

#nav li li {
	border-width: 1px 0 0 0;
	padding: 0;
	width: 100%;
}


/* Third to n levels */
#nav-list ul ul  {
	left: 100%;
	position: absolute;
	top: -1px;
	visibility: hidden;
}

/* display all direct ul childs on hover */
#nav-list li:hover > ul {
	visibility: visible;
}

/* equivalent as the previous rule using a little bit of JS, used on IE6 only */
* html #nav-list li.hover ul.child {
	visibility: visible;
}


/* Normal, Hover and Active modes */
/* First Level */
#nav a:hover,
#nav li.hover a,
#nav li:hover a,

.home #nav-home a,
.services #nav-services a,
.testimonials #nav-testimonials a,
.request #nav-request a,
.contact #nav-contact a

{
	background: #3396e3;
	color: #fff;
}

/* Second Level */
#nav-list ul a:hover,
#nav-list ul li:hover a,
#nav-list ul li.hover a {
	background: #666;
	color: #fff;
}


/* Horizontal Navigation */
.nav-l #nav,
.nav-r #nav {
	height: auto;
	margin-bottom: 20px;
}

.nav-l #nav-list,
.nav-r #nav-list {
	padding: 0 !important;
}

.nav-l #nav li,
.nav-r #nav li {
	border-width: 1px 0 0 0;
	width: 100%;
}

.nav-l #nav li.first,
.nav-r #nav li.first {
	border-width: 0;
}

.nav-l #nav-list ul {
	left: 100%;
	top: -1px;
}

.nav-r #nav-list ul {
	left: auto;
	right: 100%;
	top: -1px;
}