/* Used with Navigation.ascx RenderingMode="MainNavigation" */

.main-nav li {
	position: relative;
}
.main-nav a.L1 {
	position: relative;
	z-index: 200;
}

.main-nav a.L1 span{ display:none}
.main-nav a.L2 span{ display:block}

.main-nav .L2 a, .main-nav .L1 ul {
background-image: none;
background-color: #170a02;
	/* Makes it look a little nicer in modern browsers */
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.main-nav ul.L2 {
	position: absolute;
	width: 169px;
	z-index: 100;
	display: none;
	zoom: 1;
	margin-top: 1px;
}
.main-nav ul ul {
	/* Cross-browser color opacity */
	background: rgb(95,35,0);
	background: rgba(95,35,0,0.9);  
	/* Other values in IE.css */
}

.main-nav ul.L2 a, .main-nav li#nav-patient ul.L2 a {
	color: white;
	display: block;
	margin: 0;
	text-decoration: none;
	background-image: url(../images/dmenu-bottomline.png);
	background-position: center bottom !important;
	background-repeat: no-repeat;
}
.main-nav ul.L2 a:hover, .main-nav li#nav-patient ul.L2 a:hover {
	background-color: #ff9100;
	color: black;
	background-image: none;
	margin-top: -1px;
	margin-bottom: 1px;
	top: 1px;
	padding-top: 6px;
	padding-bottom: 4px;

}

.main-nav li.first-child a:hover, .main-nav li#nav-patient li.first-child a:hover {
	background-color: #ff9100;
	color: black;
	background-image: none;
	margin-top: 0px;
	margin-bottom: 0px;
	top: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.main-nav ul.L1 li#nav-home a:hover {
	padding-bottom: 0px;
}

	.main-nav li.L2, .main-nav li#nav-patient li.L2 {
		padding: 0px;
		width: 169px !important;
	}

	.main-nav li.L2 a, .main-nav li#nav-patient li.L2 a {
		padding: 5px 20px;
		height: auto;
		width: 129px !important;
	}

	.main-nav li.L2 a:hover, .main-nav li#nav-patient li.L2 a:hover {
		background-color: #532014;
		color: #ffffff;
	}
	
	.main-nav li.last-child a {
		background-image: none;
	}

