/* CSS 
SubNav at bottom of document */

/*------------*/
/* Start Nav */
#nav_holder {
}

#nav {
	clear: both;
	height: 34px;
	background: #000000 url(../images/nav_off.gif) top center repeat-x;
	position: relative;
	padding-left: 0px;
	margin: 0px;
	border-top: 1px solid #d7d7d7;
}

#nav li {
	position: absolute;
	padding: 0;
	margin: 0;
	height: 34px;
	list-style-type: none;
}

#nav li a {
	display: block;
	height: 34px;
	text-decoration: none;
}

#nav li a:hover {} 

/* image based navigation for hover and selected state */
#nav li.home { left: 75px; width: 87px;}
#nav li.services { left: 161px; width: 102px;}
#nav li.websites { left: 263px; width: 92px;}
#nav li.portfolio { left: 355px; width: 155px;}
#nav li.resources { left: 511px; width: 112px;}
#nav li.contact { left: 623px; width: 100px;}

#nav li.skill_set {}

/* hover and selected states */
#nav li.home a:hover, #intro #nav li.home { background: url(../images/nav_hover.gif) -76px 0px no-repeat;}
#nav li.services a:hover, #nav li.services a.selected, #services #nav li.services { background: url(../images/nav_hover.gif) -162px 0px no-repeat;}
#nav li.websites a:hover, #nav li.websites a.selected, #websites #nav li.websites { background: url(../images/nav_hover.gif) -264px 0px no-repeat;}
#nav li.portfolio a:hover, #nav li.portfolio a.selected, #portfolio #nav li.portfolio { background: url(../images/nav_hover.gif) -356px 0px no-repeat;}
#nav li.resources a:hover, #nav li.resources a.selected { background: url(../images/nav_hover.gif) -512px 0px no-repeat;}
#nav li.contact a:hover, #nav li.contact a.selected { background: url(../images/nav_hover.gif) -624px 0px no-repeat;}

/* end hover and selected states */
#nav li a span { display: none; }

.selected {
	color: #aed3fd;
	background: url(../images/bg_nav_hover.gif) top left repeat-x;
}


/* end image based states */
#nav li.portfolio ul li a:hover, #nav li.portfolio ul li a.selected, #nav li.services ul li a:hover, #nav li.services ul li a.selected, #nav li.resources ul li a:hover, #nav li.resources ul li a.selected { background: none; color: #87aa03;}
/* second level menu lists if needed */
#nav li ul {
	background: url(../images/bg_nav_dd.png) top center repeat-x;
	position: absolute;
	top: 34px;
	left: 0px;
	text-align: left;
	padding-top: 2px;
	padding-bottom: 5px;
	list-style: none;
	display: none;
}
/* end 'if needed' lists */
/* define second level menu width - especially for ie7 */

#nav li.services ul,
#nav li.services ul li {
	width: 200px;
	padding-left: 5px;
	margin: 0;
}
#nav li.portfolio ul,
#nav li.portfolio ul li {
	width: 200px;
	padding-left: 5px;
	margin: 0;
}
#nav li.resources ul,
#nav li.resources ul li {
	width: 200px;
	padding-left: 5px;
	margin: 0;
}
/* second level links and list items */
#nav li.portfolio ul.portfolioLinks li, #nav li.portfolio ul.portfolioLinks li a, #nav li.services ul.servicesLinks li, #nav li.services ul.servicesLinks li a, #nav li.resources ul.servicesLinks li, #nav li.resources ul.servicesLinks li a { 
	position: relative;
	padding: 5px;
	display: block;
	font-weight: bold;
	font-size: 1em;
	color: #fff;
	}
#nav li.portfolio ul.portfolioLinks li a:hover, #nav li.services ul.servicesLinks li a:hover, #nav li.resources ul.servicesLinks li a:hover { color: #9cc500;}

/* second and 3rd level lists */
#nav li ul li {
	height: 15px;
	line-height: 15px;
	text-align: left;
	padding: 0;
	margin: 0;
}

#nav li ul li a {
	display: block;
	padding: 0;
	margin: 0;
	height: 20px;
	line-height: 20px;
	border: none;
}

#nav li ul li a:hover {
	background-image: none;
	color: #aed3fd;
	border: none;
}

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

/*  end second & 3rd level lists */
/***********/
/* END NAV */
/***********/

/*****BEGIN SUBNAV ****/

/* Start SubNav */
#sub_nav_holder {
	clear: both;
	text-align: center;
	background: transparent;
	height: 25px;
	z-index: 10;
}

#sub_nav {
	font-weight: bold;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 11px Arial, Helvetica, sans-serif;
}

#sub_nav li {
	display: inline;
	margin: 0;
	padding: 0;
	height: 25px;
	line-height: 25px;
}

#sub_nav li a {
	line-height: 25px;
	color: #ccc;
	text-decoration: none;
	padding: 5px 10px;
	text-transform: lowercase;
}
#sub_nav li a:hover {
	color: #fff;
}
/* *** end subnav *** */