/*
	CSS of National Association of State EMS Officials
	XHTML/CSS by Todor Iliev
*/

/* ----------- Main Navigation ----------- */
.nav {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
	width: 100%;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	height: 15px;
	background:#dc1212;
	border-bottom: 1px solid #ffffff;
	}

/* Remove all the bullets, borders and padding from the default list styling */
.nav ul, .nav ul ul {
	padding:0;
	margin:0;
	list-style-type:none;
	}

/* Level 1 Style */
.nav ul li {
	float:left;
	height:15px;
	line-height:14px;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	border-right: 1px solid #ffffff;
	background: #ffffff;
	}

/* Sub-level Style */
.nav ul ul li {
	display:block;
	height:auto;
	position:relative;
	padding-top: 1px;
	}

/* Level 1 Link */
.nav a, .nav a:visited {
	color:#ffffff;
	background:#dc1212;
	text-decoration:none;
	display:block;
	float:left;
	height:100%;
	padding:0 6px 0 6px;
	}

/* Sub-level Link */
.nav ul ul a, .nav ul ul a:visited {
	color:#ffffff;
	background:#3f89c3;
	display:block;
	width:12em;
	font-weight: normal;
	height:100%;
	line-height:1em;
	padding:0.5em 1em;
	}

.nav ul table ul a, .nav ul table ul a:visited  {
	width:14em;
	w\idth:12em;
	}

/* IE tweak - no part in the layout */
.nav table {position:absolute; left:0; top:0; font-size:1em;}
.nav ul ul table {lef\t:-1px;}
.nav ul ul table ul.left {margin-lef\t:2px;}
.nav li:hover {position:relative;}
* html .nav a:hover {position:relative;}

/* Backgrounds */
/* First Level */
.nav ul :hover a.sub1 {background:#4a92ca;}
/* Second Level */
.nav ul ul :hover a.sub2 {background:#4a92ca;}
/* Third Level */
.nav ul ul ul a, .nav ul ul ul a:visited {background:#4a92ca;}
/* Fourth Level */
.nav ul ul ul ul a, .nav ul ul ul ul a:visited {background:#4a92ca;}

/* Hovers */
/* First Level */
.nav a:hover {color:#ffffff; background:#3c7caf;}
.nav :hover > a {color:#ffffff; background:#3c7caf;}
/* Second Level */
.nav ul ul a:hover{color:#ffffff; background:#2170c2;}
.nav ul ul :hover > a {color:#ffffff; background:#2170c2;}
/* Third Level */
.nav ul ul ul a:hover {background: #327fcf;}
.nav ul ul ul :hover > a {background: #327fcf;}
/* Fourth Level */
.nav ul ul ul ul a:hover {background: #4a92ca;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.nav ul ul {visibility:hidden; position:absolute; height:0; top:15px; left:0; width:14em;}

/* position the third level flyout menu */
.nav ul ul ul {left:14em; top:0; width:14em;}

/* position the third level flyout menu for a left flyout */
.nav ul ul ul.left {left:-14em;}

/* make the second level visible when hover on first level list OR link */
.nav ul li:hover ul, .nav ul a:hover ul {visibility:visible; height:auto; padding-bottom:0px; background:transparent url(images/trans.gif);}

/* keep the third level hidden when you hover on first level list OR link */
.nav ul :hover ul ul {visibility:hidden;}

/* keep the fourth level hidden when you hover on second level list OR link */
.nav ul :hover ul :hover ul ul {visibility:hidden;}

/* make the third level visible when you hover over second level list OR link */
.nav ul :hover ul :hover ul {visibility:visible;}

/* make the fourth level visible when you hover over third level list OR link */
.nav ul :hover ul :hover ul :hover ul {visibility:visible;}