body {text-align:center;
	z-index:-200;
	font-size-100%;}

#bg {
	position:fixed;
	top:0%;
	left:-50%; 
	width:200%; 
	z-index:-100
	
}

#bg img {
	position:absolute; 
	top:0; 
	left:0; 
	right:0; 
	bottom:0; 
	margin:auto; 
	min-width:50%;
	min-height:50%;
}

#page-wrap { 
	position: relative; 
	min-width: 850px;
	max-width: 1500px;
	width: 80%; 
	margin:200px auto;
	margin-bottom:50px;
	margin-top:50px;
	padding: 20px 50px; 
	background: white; 
	-moz-box-shadow: 0 0 20px black; 
	-webkit-box-shadow: 0 0 20px black; 
	box-shadow: 0 0 20px black;

}


#header {
	position:relative;
	width: 100%

}

#header img {
	margin:20px;
}


#mit {
	width: 100%;
	position:relative;
}


#cnav {
	position:relative;
	margin:10px;
	width:100%;
	align:center;
	z-index:7;
}

#nav {
	margin: 0 auto;
	padding: 7px 6px 0;
	background: url("gradient.png") no-repeat 0 50%;
	line-height: 100%;
	min-width: 800px;
	max-width: 1400px;
	width: 75%;

	border-radius: 2em;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;

	-webkit-box-shadow: 0 3px 10px rgba(0,0,0, .4);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0, .4);
	font: .9em 'Arial', Sans-Serif;
}
#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}


/* main level link */
#nav a {
	font-weight: bold;
	color:white;
	text-decoration: none;
	display: block;
	padding:  8px 25px;
	margin: 0;

	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}

#nav span{
	font-weight: bold;
	color:white;
	text-decoration: none;
	display: block;
	padding:  8px 25px;
	margin: 0;

	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#nav a:hover {
	background: #000;
	color: #fff;
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #666 url("downgradient.png") repeat-x 0 50%;
	color: white;
	z-index:20;

}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background:none;
	border: none;
	color:white;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	z-index:30;
}

#nav ul a:hover {
	background: url("downgradient.png") 0 0 !important;
	color: #fff !important;

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

	text-shadow: 0 1px 1px rgba(0,0,0, .1);
	z-index:30;
}

/* dropdown */
#nav li:hover > ul {
	display: block;
	z-index:40;
}

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

	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 35px;
	left: 0;
	background:gray;
	border: solid 1px #b4b4b4;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-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);
	z-index:50;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav ul a {
	font-weight: bold;
}

#nav ul span {
	font-weight: bold;
	color:white;
	font-weight:bold;
	
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
	z-index:50;
}

/* rounded corners of first and last link */
#nav 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;
}
#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

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

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;
}
 
* html #nav {
	height: 1%;
}


p.bottomlinks{
	color: #222222;
	font: .75em 'Arial', Sans-Serif;
	text-align:center;
	}

p.bottomlinks a:link, a:visited {
	color:#222222;
	text-decoration:underline;
	min-width:0px;
}

p.bottomlinks a:hover, a:active {
	text-decoration:underline;
	color:#049115;
}