/*header*/

div#header p, div#header h1, div#header ul {
	margin: 0;
	padding: 0;
}

div#logo a, p#mediatemple a {
	margin-top: 20px;
	display: block;

}

div#logo h1 a span, div#logo p, p#mediatemple span {
	display: none;
}

div#header {
	background: #ffff;
}

div#header-inside, div#footer-inside {
	width: 902px;
	margin: 0 auto 0 auto;
	height:146px;
clear:both;
}

div#logo h1 a {
	height: 98px;
	float: left;
}

p#mediatemple a {
	float: right;
	height: 89px;
	width: 500px;
       padding-right:0px;
	margin-right:0px;
}

ul#menu {
	clear: both;
	float: left;
	list-style: none;
	position: relative;
	top: 3px;
	margin-left:0px;
	padding-left:0px;
}

ul#menu li {
       float:left;
	margin-right: 5px;
	line-height: 1.4;
}

ul#menu li a {
	color: #fff;
	text-shadow: 2px 2px 1px #2a2a2f;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	width: 85px;
	height: 15px;
	padding: 5px 0;
	display: block;
	background-image: url(/images/tabs.gif);
	background-repeat: no-repeat;
	background-position: center left;
}

ul#menu li a:hover, ul#menu li a:active {
	background-position: top left;
}

ul#menu li a.selected {
	background-position: bottom left;
}


/*footer*/

#footer {
	background: #1d1d20;
	border-top: 8px solid #2a2a2f;
	margin-top: 40px;
	font-size: 9px;
	color: #595965;
	padding: 15px 0;
	height: 1%; /*crazy ie7...*/
	text-align: center;
}

#footer a.copy {
	display: block;
	background: url(/assets/images/mucca.gif) no-repeat bottom right;
	height: 43px;
	width: 54px;
	margin: 0 auto;
}

#footer a.copy:hover {
	background-position: top right;
}

div#sub-menu {
	background: #fff;
	margin-top:0px;
	padding-top:4px;
	margin-left:auto;
	margin-right:auto;
	width:900px;
	border-bottom:1px solid #f47820;
	border-left:solid #2a2a2f 1px;
	border-right:solid #2a2a2f 1px;
	border-top:solid #2a2a2f 1px;
	height:30px;
	display:block;
	clear:both;
}

div#sub-menu ul {
	list-style: none;
	width: auto;
	float: left;
	width:100px;
	/*margin-right:8px;
	padding-right:6px;
	margin-left:12px;*/
	position: relative;
	
}

div#sub-menu a {
	text-decoration:none;
	text-align:center;
	font-weight:bold;
	color:#000;
	display:block;
	line-height:14px;
}

div#sub-menu ul li {
	text-align:center;
	font-weight:bold;
	color:#000;
	/*width:110px;*/
	/*width:100%;*/
}

div#sub-menu ul ul li{
	display:block;
	width:100%;
	margin:0;
	padding:0;
	text-align:left;
	display:block;
	z-index:10000;
}

div#sub-menu ul ul {
	position: absolute;
	left:0;
	display:block;
	width:98%;
	background:#fff;
    margin:0;
	padding:0;
	z-index:10000;
}

div#sub-menu ul ul li a{
       text-align:left;
	padding-left:3px;
}


div#sub-menu ul ul
{display: none;}

div#sub-menu ul li:hover ul
{
display: block;
border-left:solid 1px #f47820;
border-right:solid 1px #f47820;
border-bottom:solid 1px #f47820;
z-index:10000;
}



