/* WPS Standard Template A */

body
{
	/* font-family: Verdana, "Bitstream Vera Sans", Geneva, "Lucida Grande", Helvetica, Arial, sans-serif */
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	font-size: 80%; /* same as 12px with IE with Text Size "Normal" @96dpi, "Smallest" @120dpi */
	margin: 0;
	padding: 0; /* Opera has a default padding */
}

/*	Layout only	*/

#toplogo, #navigation, #wrap_content {
	width: 983px; 
	margin: 0px auto;
	border: 0;
	position: relative;
}
#toplogo
{
	min-height: 50px;
}
#navigation
{
	position: static; /* needed for menu to display at the right place */
	overflow: visible; /* in case there are too much menus */
	height: 48px;
}
#topbanner {
	padding: 10px 20px 20px;
	display: inline-block; /* HasLayout */
}
#topbanner {
	display: block; /* reset */
}
#topbanner:after {
	content: "."; 
	display: block; 
	height: 0px;
	clear: both; 
	visibility: hidden;

}
#separator
{
	display: none;
}
#wrap_content
{
	clear: both;
}
#extranet #wrap_content {
	width: auto;
	padding: 15px 15px 15px 210px;
	position: relative;
	z-index: 5;
}
#extranet.wide #wrap_content {
	padding-left: 20px;
}
	#leftblock 
	{
		position: relative;
		z-index: 15;
		float: left;
		display: inline; /* IE hack */
		width: 190px; 
		padding: 0;
		margin: 0 0 0 -205px;
	}
	#extranet.wide #leftblock {
		overflow: hidden;
		width: 10px;
		margin-left: -15px;
	}
	#extranet.wide #sidemenu {
		width: 190px;
		background: red;
	}
	#extranet.wide #leftblock:hover {
		overflow: visible;
	}
	#rightblock {
		float: right;
		display: inline; /* IE hack */
		width: 170px; /* Total width should be 180px */
		padding: 5px;
		margin: 0 0px 0 0;
	}
	#content {
		height: 388px;
		padding: 10px;
		overflow: auto; 
	}
		#frontpage #content {
			padding: 0;
			height: 408px;
		}
	#extranet #content {
		overflow: visible;
		height: auto;
		min-height: 200px;
		position: relative;
		z-index: 10;
	}
	#wrap_footer 
	{
		clear: both;
		margin: 0;
		position: relative;
	}
		#footer {
			padding: 1px 6px 1px 202px;
		}

/*	Shortcuts or Search - Positioning and Layout */ 

#toplogo #search, #toplogo #shortcuts
{
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	margin: 0;
}
#navigation #shortcuts, #navigation #search
{
	float: right;
	margin: 0 0 0 0;
	padding: 0;
	/*display: inline;*/
	/*background-color: #f00; /* for testing */
}

/* Search form */
#search form
{
	margin: 0 3px;
	padding: 0 0 1px 0;
}

#search input.button
{
	vertical-align: text-top;
	border: 1px solid;
/*	margin-top: 1px;*/
	line-height: 13px;
	height: 18px;
	padding: 0;
/*	font-size: 12px;*/
}
span.searchbuttonbox > input.button
{
	padding: 0 0.4em;
	/*display: inline;*/
}
#search input.searchwords
{
	height: 16px;
	border: 1px solid;
	padding: 0 0.3em;
/*	font-size: 12px;*/
}

/* ShortCuts Menu Styling*/

#shortcuts
{
}

#shortcuts ul
{
	margin: 0 7px 0 0;
	padding: 0 0 0 16px;
	background-image: url("images/mainlinks-in.gif");
	background-position: 7px 50%;
	background-repeat: no-repeat;
}

#shortcuts ul li
{
	line-height: 33px;
	display: inline;
	margin: 0;
	padding: 0 0 0 15px;
	background-image: url("images/mainlinks-sep.gif");
	background-position: 7px 50%;
	background-repeat: no-repeat;
	list-style-type: none;
	display: inline;
}


#shortcuts ul li a
{
	color: #000000;
	text-decoration: none;
}

#shortcuts li.print	/* not used */
{
	background-image: url(images/printer_w.gif);
	background-position: 3px 50%;
	background-repeat: no-repeat;
	padding: 2px 2px 2px 17px;
}

#shortcuts li.search 	/* not used */
{
	background-image: url(images/search_w.gif);
	background-position: 3px 50%;
	background-repeat: no-repeat;
	padding: 2px 3px 2px 17px;
}




/* Top nav */

* html #topmenu *
{ height: 1% } /* hasLayout */
#topmenu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}
#topmenu ul ul
{
	display: block;
	position: absolute;
	left: 0;
	top: 100%; /*24px;*/
	width: 550%;
}
#topmenu ul ul ul
{
	display: none;
	left: 100%;
	top: 0;
}


#topmenu li
{
	float: left;
	display: inline;
	margin: 0 2px;
	padding: 0;
	position: relative; /* for submenu positioning */
	width: 13%;
}
#topmenu a {
	float: left;
	line-height: 22px;
	height: 22px;
	display: table; /* fox for Opera's no-width nested floats hover bug */

	text-decoration: none;
	color: #fff;

/*	width: 89%;*/
	padding: 0 8px;
	margin: 0;
}
#topmenu ul ul li {
	width: auto;
	margin: 0; /* reset */
}
* html ul ul {
	width: 970px;
}
#topmenu ul ul li a {
	display: inline;
	float: none;
	height: auto;
}

/*
#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 li:hover ul, #topmenu li li:hover ul, #topmenu li li li:hover ul,
#topmenu li.sfhover ul, #topmenu li li.sfhover ul, #topmenu li li li.sfhover ul
{
	display: block;
}
#topmenu div p, #topmenu form
{
	margin: 0;
}

*/

#topmenu a.current {
	color: #fff; /*#514ABA;*/
	font-weight: bold;
}


/* Side Menu */

#smenu, #smenu * {
	display: inline-block; /* hasLayout */
}
#smenu, #smenu ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: block;
}
#smenu li, #smenu ul li {
	margin: 0;
}
#smenu li {
	margin-bottom: 10px;
	display: block;
}
#smenu a {
	text-decoration: none;
	display: block;
	color: #000;
	background-color: #fff;
	padding: 7px 10px;
}
#smenu a {
	font-weight: bold;
}
#smenu ul a {
	padding-left: 15px;
	font-weight: normal;
}
#smenu ul ul a {
	padding-left: 20px;
	font-style: italic;
}
#smenu ul ul ul a {
	padding-left: 25px;
	font-style: italic;
}
#smenu ul ul ul ul a {
	padding-left: 30px;
	font-style: italic;
}
#smenu ul ul ul ul ul a {
	padding-left: 35px;
	font-style: italic;
}
#current-smenu.current {
	background-color: #fff;
	color: #f00;
}
#smenu a:hover {
	background-color: #ccc;
}

#smenu div.search
{
	display: none; /* hide unwanted search box */
}



/* Blocks */

#toplogo img, #topbanner img
{
	border: 0;
	display: block;
}
#topbanner img {
	float: left;
}

span.dailytip 
{
	display: block;
	margin: 5px 0;
	padding: 4px 2px;
}

form.vertical input.box
{
	display: block;
}




/*	Styling (Colours, backgrounds) */
body, #extranet, #extranet #content, #topbanner
{
	background-color: #fff;
	color: #000;
}
#wrap_body, #frontpage
{
	background-color: #000;
	color: #fff;
}
#extranet #wrap_page {
	background-color: #f00;
}
#leftblock, #rightblock, #rightblock h2 
{
	color: #000;
/*	background-color: Pink; /* For testing */
}
#teasers
{
/*	background-color: Lime; /* For testing */
}
a.copyright { color:#000; text-decoration: none; font-weight: bold; }
a.copyright:hover { color:#fff; text-decoration: underline;}
a, #content a:link
{
	color: #f33; /*#c0f;*/
	font-weight: bold;
}
#content a:visited, #righblock a:visited
{
	font-weight: normal;
	color: #f33; /*#d0c;*/
}
#content a:hover, #content a:active
{
}
#searchwords, input.button
{
}
#toplogo #shortcuts span
{
	color: #000;
}
#navigation, #wrap_content
{
	border: 1px solid #666;
}
#extranet #wrap_content {
	border: 0;
}
#navigation
{
	border-bottom: 0;
}
	

/* Text styling (fonts) */

#content > p:first-child
{
	margin-top: 0;
}
#topbanner h1 {
	margin: 0;
	text-align: center;
	font-size: 120%;
	font-weight: normal;
	line-height: 45px;
}

