#mainnavcontainer-old {
	/*added to make whole bar grey - we need the container due to - guess what:IE7 */
	background: rgb(40, 40, 40);
	background: rgba(60,60,60,0.6);
	/* http://www.colorzilla.com/gradient-editor/ */
	background: -moz-linear-gradient(left, rgba(81,81,81,0.6) 0%, rgba(80,80,80,0.6) 1%, rgba(0,0,0,0.7) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(81,81,81,0.6)), color-stop(1%,rgba(80,80,80,0.6)), color-stop(100%,rgba(0,0,0,0.7))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(81,81,81,0.6) 0%,rgba(80,80,80,0.6) 1%,rgba(0,0,0,0.7) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(81,81,81,0.6) 0%,rgba(80,80,80,0.6) 1%,rgba(0,0,0,0.7) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(81,81,81,0.6) 0%,rgba(80,80,80,0.6) 1%,rgba(0,0,0,0.7) 100%); /* IE10+ */
	background: linear-gradient(to right, rgba(81,81,81,0.6) 0%,rgba(80,80,80,0.6) 1%,rgba(0,0,0,0.7) 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99515151', endColorstr='#b3000000',GradientType=1 );*/ /* IE6-9 */

	z-index: 2000000; /* we need this for... yes, it's IE 7 again. */
}

#mainnavcontainer {	
	z-index: 2000000; /* we need this for... yes, it's IE 7 again. */
}

#mainnav {
	list-style: none;
	display: block;
	margin:0;

}

#mainnav li {
	border-right: 1px solid rgba(75, 75, 75, 0.61);
	display: inline;
	float: left;
}

#mainnav li a {
    display: block;
	list-style-type: none;
	/*added to make whole bar grey */
	/*background: rgb(30, 30, 30);
	background: rgba(0,0,0,0.6); */
	color: #fff;
	font-size: 1.15em;
	font-weight: normal;
	line-height: 1.9em;
	margin: 0;
	padding: 0 13px;
}
/* main level link */
#mainnav a {
	text-decoration: none;
	display: block;
}
/* main level link hover */
#mainnav .selected, #mainnav .selectedchild, #mainnav li:hover  a 
{
	background: #000;
	background: rgba(0, 0, 0, 0.9);

}

/* sub levels link hover */
#mainnav ul li:hover a, #mainnav li:hover li a {
	/*background: none;*/
	border: none;
	/*color: rgb(255,255,255);*/

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

#mainnav ul li a:hover {
	display:block;
	background: rgb(255,255,255) !important;
	background: rgba(255,255,255,0.9) !important;
	color: #333 !important;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;


} 
	/*text-shadow: 0 1px 1px rgba(0,0,0, .1);*/
/* dropdown */
#mainnav li:hover > ul {
	display: block;
}

/* level 2 list */
#mainnav ul {
	display: none;

	margin: 0;
	padding: 0;
	min-width: 185px;
	position: absolute;
	/*top: 29px;*/
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.9);
	/*border: solid 1px #b4b4b4;*/
	z-index:3000;
	/* -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; */
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-left-radius: 6px;
	
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	border-bottom-right-radius: 6px;

	/*
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);*/
}
#mainnav ul li {
	border: none;
	font-size: 0.9em;
	float: none;
	margin: 0;
	padding: 0;
}

#mainnav ul li a{
	margin: 0;
	padding: 0 0 0 12;
}

#mainnav ul a {
	font-weight: normal;
	/*text-shadow: 0 1px 0 #fff;*/
}

/* level 3+ list */
#mainnav ul ul {
	left: 181px;
	top: -3px;
}

/* rounded corners of first and last link */
#mainnav ul li:first-child > a {
	/*-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px; */
}
#mainnav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;

	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
}

/* clearfix */
#mainnav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}