/*
For some strange reason, this allows for body to have a margin-top and to displace its background accordingly
Therefore, this must be added to all templates with body background images in order to make the top toolbar work properly.		
*/
html
{
	background: #dfdfdf;
}

/* TAGS */
a
{
	text-decoration: none;
	color: #2C7981;
}

h1,h2,h3
{
	font-weight: normal;
	font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
	color: #999900;
}

h1
{
	font-size: 1.9em;
}

h2
{
	font-size: 1.4em;
}

h3
{
	font-size: 1.1em;
}

/* LAYOUT */
body
{
	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	background: #dfdfdf url('../img/html_bg.jpg') repeat-x 0 0;
	text-align: center;
	margin: 0;
	padding: 0;
}

#frame
{
	width: 1024px;
	padding: 0;
	margin: auto;
	background: #dfdfdf url('../img/frame_bg.jpg') no-repeat 50% 0;	
	text-align: left;
}

#topmenu,
#header,
#meat
{
	padding: 0 50px 0 50px;
}

#topmenu
{
	list-style: none;
	margin: 0;
	padding: 0 80px 0 0;
	height: 18px;

	text-align: right;
}

#topmenu li
{
	display: inline;
	background: #1a5069;
	font-size: 10px;
	
	padding: 0 10px 3px 10px;
}

#topmenu a
{
	color: white;
	padding-left: 25px;
	background: url('../img/top_user.gif') no-repeat 0 50%;
}

#topmenu a:hover
{
	font-weight: bold;
}

#header
{
	border-top: 1px solid #B6D2EA; /* !!! if I dont put this firefox messes up top positioning !!!! */
	height: 141px;
	padding: 0 0 0 320px;
	color: white;
}

#header h1
{
	display: none;
}

#heading
{
	margin: 30px 60px 0 50px;
}

#heading h1
{
	display: block;
	color: white;
	margin: 0;
}

#heading p
{
	margin: 0;
}


#sidebar
{
	width: 240px;
	z-index: 20;
	float: left;
	position: relative;
	top: -10px;
	left: 6px;
	background-image: url('../img/menushadow.jpg');
	background-repeat: no-repeat;
	background-position: 0px 10px;
}

#menu
{
	list-style: none;
	margin: 0 0 15px 8px;
	padding: 7px;
	text-align: right;
}

#menu li
{
	width: 205px;
	height: 38px;
}

#menu li ul
{
	display: none;
}

#menu li a
{
	display: block;
	background: #51a2bc;
	color: white;
	padding: 10px 20px 15px 0;
	border-top: 1px solid #145e79;
}

#menu li a:hover
{
	background: #5bb2ce;
}

#menu li.active
{
	border-top: 1px solid #145e79;
	background: #468ca2 url('../img/li_active_bg.gif') no-repeat 10px 50%;
	border-bottom: 1px solid #468ca2;
}

#menu li.active a
{
	border: 0;
	background: #468ca2;
	margin-left: 30px;
}


#meat
{
	width: 748px;
	margin: auto;
	margin-left: 88px;
	background: #dfdfdf url('../img/content_bg.jpg') repeat-y 50% 0;
	float: left;
	clear: both;
}

#content
{
	width: 500px;
	margin: 10px 0 0 240px;
	text-align: justify;
}

#footer
{
	background: #dfdfdf url('../img/footer_bg.jpg') no-repeat 50% 0;
	clear: both;
	text-align: center;
	padding: 20px;
	font-size: 0.8em;
}

#footer p
{
	margin: 0;
}

#footer ul
{
	list-style: none;
	margin: 0 70px 3px 70px;
	padding: 0 0 3px 0;
	border-bottom: 1px dotted #d0ccbd;
}

#footer ul li
{
	display: inline;
	margin: 0 5px 0 5px;
}

#footer ul li ul
{
	display: none;
}

#footer ul li.active
{
	font-weight: bold;
}