/* WPS Standard Template A */

body
{
	font-family: "MS Sans Serif",Tahoma,sans-serif;
	font-size: 62.5%; 
	margin: 0;
	padding: 0; /* Opera has a default padding */
}

/*	Layout only	*/

#wrap {
	width: 800px; 
	margin: 15px auto 0;
	border: 1px solid;
	position: relative;
}
#wrap_logo
{
	min-height: 50px;
	padding-top:13px;
}
#wrap_menu
{
	border-bottom: 14px solid;
}
#navigation
{
	height: 17px; /* not necessary, ruins Opera height */
	position: static; /* needed for menu to display at the right place */
	overflow: visible; /* in case there are too much menus */
}
#wrap_content
{
	clear: both;
}
	#leftblock 
	{
		float: left;
		display: inline; /* IE hack */
		width: 145px; 
		padding: 0 0 5px;
		margin: 0;
	}
	#leftblock,  #content
	{
		overflow: visible;
	}
	* html #leftblock,* html #content
	{
		overflow: auto; /* IE6 falls apart otherwise */
	}
	#content {
		width: 626px;
		padding: 3px 3px 10px; /* left padding for FF tables */
		float: right;
		display: inline; /* IE6 hack */
		margin: 0 5px 0 0;
		min-height:400px;
		height:auto !important;
		height:400px;
	}
	#frontpage #content {
		width: 652px;
		display:block;
		margin:0 auto;
		float:none;
	}
	#wrap_footer 
	{
		clear: both;
		margin: 0;
		position: relative;
	}
	#footer {
		padding: 5px;
	}
/* Blocks */
#toplogo img
{
	border: 0;
	display: block;
}


/* Side Menu */
#smenu
{
	margin-left:5px;
}
#smenu ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#smenu ul ul
{
	border-top: none;
}
#smenu li 
{ 
	margin:0;
}
* html #smenu a
{ height: 1% } /* hasLayout */

#smenu a
{
	border-bottom: 1px solid;
}
#smenu a{
	text-decoration: none;
	display: block;
	color:#999;
	padding-top: 2px;
	padding-bottom: 2px;
}
#smenu ul ul a{
	color: #666;
}
#smenu  .current,#smenu ul #current-smenu{
	font-size:140%;
	border:0;
	background:url("images/arrow.gif") no-repeat right center;
	display:inline;
	padding-right:14px;
	line-height:200%
}
#smenu ul ul #current-smenu{
	font-weight:bold;
	font-size:100%;
	border-bottom:1px solid;
	display:block;
	background:none;
	padding:0;
}
#smenu a:hover
{
	color: #000;
}
#smenu ul ul #current-smenu, #smenu a
{
	border-color: #ccc;
}

#smenu div.search
{
	display: none; /* hide unwanted search box */
}

/*	Styling (Colours, backgrounds) */
body
{
	background: #fff;
	color: #000;
}
#wrap_body, #frontpage
{
	background: #f3f3f3 url("images/bg.jpg");
} 
#wrap,#wrap_menu
{
	border-color:#ccc;
}
#toplogo 
{
	background: #ff1a0a;
}
#wrap_body #content
{
	background:#fff;
}
#wrap_content 
{
	background: #fff url("images/bg.jpg");
	color: #000;
}
#wrap_footer {
	color:  #666;
	background: #ccc;
}
#wrap_footer a:link { color:#666; text-decoration: none;  }
a
{
	color: #000;
}
a:hover
{
	color: #999;
}
a img 
{ 
	border: none; 
}
	

/* Top nav */
#topmenu:after
{
	content:"";
	visibility:hidden;
	height:0;
	clear:both;
	display:block;
}
#topmenu
{
	zoom:1;
}
* html #topmenu *
{ height: 1% } /* hasLayout */
#topmenu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#topmenu li
{
	float:left;
	margin: 0;
	padding:  0;
	position: relative; /* for submenu positioning */
	border-left:1px solid #ccc;
}
#topmenu li:first-child
{
	border-left:0;
}
#topmenu a {
	display: inline; /* fix for Opera's no-width nested floats hover bug */
	text-decoration: none;
	color: #666;
	white-space: nowrap;
	padding: 0;
	margin: 0 10px;
	line-height:17px;
}

#topmenu ul ul, #topmenu li:hover ul ul, #topmenu li:hover ul ul ul,
#topmenu li.sfhover ul ul, #topmenu li.sfhover ul ul ul{
	display: none;
}  

#topmenu a.current, #topmenu li a:hover
{
	color: #999;
}

