﻿<!--
************************************************************
3-Level Horizontal CSS Drop Down Menu
HTML Markup and CSS Styling Copyright 2009 Chris Strom, LLC
Licensed under a Creative Commons Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/us/
************************************************************
-->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>CSS 2-Level Horizontal Dropdown Menu</title>

<link href="styles.css" rel="stylesheet" type="text/css" />

<style type="text/css">

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family:Arial, Helvetica, sans-serif;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

html, body {
	margin:0;
	padding:0;
    height: 100%;
	font-family:Arial, Helvetica, sans-serif;
}

ul#nav {
	margin: 0px auto 0px auto;
	position: relative;
	z-index: 3 !important; /* This keeps the dropdown buttons visible above jQuery slideshows, Flash components or any absolute positioned elements below them (as long as those elements' Z-Index is less than 3) */;
	width: 900px;
	padding: 0;
	list-style: none;
}

	ul#nav li {
		float:left;
}


ul#nav li:hover {
			position:static;  
}

ul#nav li a {
	display: block;
	width: 60px;
	height: 40px;
	padding: 0 20px;
	line-height: 40px;
	color: #000000;
	background: #b9cfa1;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px #fff solid;
	border-left: 1px solid #fff;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
}

ul#nav li a.parent {
		width:116px;
		padding-right:10px;
		background: #b9cfa1 /*url('carrot1.gif') no-repeat 155px 0;*/
}

ul#nav li a:hover {
	border-color: #FFFFF;
	border-style: outset;
	border-width: 4px;
	background-color: #fff8dc;
		background-position: 155px -40px;
	}

ul#nav li ul {
		position: absolute;
		left: -9999em;
		z-index:1;
		width:auto;
		margin:0;
		padding:0;
		list-style:none;
}
	
ul#nav li:hover ul {
		left: auto;
}

ul#nav li ul li {
		float:none;
}

ul#nav li ul li a {
	width: 150px;
	height: auto;
	padding: 15px 20px;
	color: #000000;
	background: #b9cf1;
	border-top: 1px #fff solid;
	border-right: 1px solid #fff;
	border-bottom: #fff;
	border-left: 1px #fff solid;
	line-height: normal;
	text-align: left;
	text-decoration: none;
	font-size: 14px;
	font-weight: normal;
}

ul#nav li ul li a.parent {
		width:130px;
		padding-right:40px;
		background: #b9cf1/*url('carrot2.gif') no-repeat 160px -82px;*/
}
		
ul#nav li ul li a:hover {
	background-color: #fff8dc;
	background-position: 160px 0;
	border-top: 1px solid #accffa;
	font-weight: bold;
}

ul#nav li ul li ul {
		margin: -48px 0 0 192px;
}

ul#nav li:hover ul li ul {
		left: -999em;
}

ul#nav li:hover ul, ul#nav li ul li:hover ul {
		left: auto;
}
				
ul#nav li:hover ul li ul, ul#nav li:hover ul li ul li ul {
		left: -999em;
}
			
ul#nav li:hover ul, ul#nav li ul li:hover ul, ul#nav li ul li ul li:hover ul {
		left: auto;
}

</style>
