/* WPS Standard Template A */

body, #rightblock h3, h2.blockheads
{
	/* font-family: Verdana, "Bitstream Vera Sans", Geneva, "Lucida Grande", Helvetica, Arial, sans-serif */
	font-family: Tahoma,Arial,Helvetica,sans-serif;
}
body
{
	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: 970px; 
	margin: 0px auto;
	border: 0;
	position: relative;
}
#toplogo
{
	padding: 15px 30px;
	width: 910px;
}
#navigation
{
	height: 20px; /* not necessary, ruins Opera height */
	z-index: 10;
	overflow: visible; /* in case there are too much menus */
}
#wrap_content
{
	z-index: 5;
	clear: both;
}
#leftblock 
{
	float: left;
	display: inline; /* IE hack */
	width: 180px; 
	padding: 0;
	margin: 0;
}
#rightblock {
	float: right;
	display: inline; /* IE hack */
	padding: 0;
	width: 380px; 
	margin: 0;
}
#inrightblock {
	float: right;
	display: inline; /* IE hack */
	padding: 10px 0 0 0;
	width: 180px; 
	margin: 0;

}
#leftblock, #rightblock, #content
{
	overflow: visible;
}
* html #leftblock, * html #rightblock, * html #content
{
	overflow: auto; /* IE6 falls apart otherwise */
}
#content {
	width: 580px;
	padding: 10px; /* left padding for FF tables */
	float: right;
	display: inline; /* IE6 hack */
	margin: 0 5px 0 0;
}
#frontpage #content {
	width: 380px;
}
#midrightblock
{
	float: right;
	width: 180px
	margin-top: 10px;
}
#midleftblock
{
	float: left;
	width: 180px;
	padding-left: 1px; /* FF border */
	margin-top: 10px;
}
#wrap_footer 
{
	clear: both;
	margin: 0;
	position: relative;
}
#footer {
	padding: 1px 6px 1px 202px;
}

/*	Shortcuts or Search - Positioning and Layout */ 

#toplogo div.search, #toplogo div.shortcuts
{
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	margin: 0;
}
#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;
	_margin-top: -1px; /* IE6-7 */
	_padding-bottom: 1px; /* IE6-7 */
}


#search input.button
{
	vertical-align: text-top;
	border: 1px solid;
/*	margin-top: 1px;*/
	line-height: 13px;
	height: 18px;
	padding: 0;
/*	font-size: 12px;*/
}
#search input.searchwords
{
	height: 16px;
	border: 1px solid;
	padding: 0 0.3em;
/*	font-size: 12px;*/
}

/* ShortCuts Menu Styling*/

div.shortcuts
{
}

div.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;
}

div.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;
}


div.shortcuts ul li a
{
	color: #000000;
	text-decoration: none;
}



/* Top nav */

* html #topmenu *
{ height: 1% } /* hasLayout */
#topmenu
{
	float: right;
}
#topmenu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#topmenu ul ul
{
	position: absolute;
	left: 0;
	top: 100%;
	border: 1px solid #fff;
	border-top: 0;
}
#topmenu ul ul ul
{
	left: 100%;
	top: 0;
}


#topmenu li
{
	float: left;
	display: inline;
	margin: 0;
	padding: 0;
	position: relative; /* for submenu positioning */
}
#topmenu a {
	float: left;
	line-height: 19px;
	height: 19px;
	display: table; /* fix for Opera's no-width nested floats hover bug */

	text-decoration: none;
	color: #000;
/*	background-color: #f2efef;*/

	white-space: nowrap;

	padding: 0 8px;
	margin: 0;
	border-bottom: 1px solid #f2efef;
}
#topmenu ul ul li {
	display: block;
	float: none;
	width: 160px;
}
#topmenu ul ul li a {
	display: block;
	float: none;
	height: auto;
	white-space: normal;
	color: #fff;

	width: 90%;
	padding: 0 5%;
	border-bottom: 0;
	border-top: 1px solid #fff;
}
#topmenu ul ul li a {
/*	display: inline-block; /* fix IE7 gap at bottom */
	margin: 0;
}
* html #topmenu ul ul li a {
	width: 160px;
	display: inline-block;
}

#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; /* fix search form bg */
}



#topmenu a.current {
/*	color: #FFBA00;
	background: #001842;*/
}
#topmenu ul ul a.current, #topmenu li:hover li a, #topmenu li:hover li:hover a, #topmenu div,
#topmenu li.sfhover li a, #topmenu li.sfhover li.sfhover a
{
	color: #fff;
	background: transparent url(images/green.png);
	border-color: #fff;
}
#topmenu li:hover a,
#topmenu li.sfhover a {
	border-color: #ee1997;
}
#topmenu li:hover li a:hover,
#topmenu li.sfhover li a:hover {
	background: transparent url(images/pink.png);
	color: #fff;
	border-color: #fff;
}
#topmenu li:hover ul a {
}
#topmenu ul ul a.current {
}


/* Blocks */

h2.blockheads {
	font-size: 100%;
	font-weight: bold;
	font-style: normal;
	color: #000;
}
h2.blockheads span {
}
#leftblock img, #leftblock object, #leftblock embed
{
	margin-top: 10px;
}

#toplogo img
{
	border: 0;
	display: block;
/*	width: auto;
	height: auto; our banner module sucks, but ie6 sucks more */
}
#topbanner img, #topbanner object, #topbanner embed
{
	border: 0;
	float: left;
	display: inline;
	margin-left: 15px;
}

span.dailytip 
{
	display: block;
	margin: 5px 0;
	padding: 4px 2px;
}

iframe.autoscroller-border 
{
	margin: 0;
	width: 180px; /* IE hack: should be width-(2*border_width) */
	/*border: 1px solid;*/
}
html>body iframe.autoscroller-border 
{
	width: 180px;
}
form.vertical input.box
{
	display: block;
}



/* Side Menu */
/* IE6 pink: ee1997, green: 2ab8ba */
#smenu ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
/*	background-color: red; /* TEST */
}
* html #smenu *
{ height: 1% } /* hasLayout */

#smenu ul ul
{
	position: absolute;
	z-index: 7;
	left: 100%;
	top: 0;
	border: 1px solid #fff;
	border-top: 0;
}
/*#smenu ul ul ul
{
	left: 100%;
	top: 0;
}*/


#smenu li
{
	margin: 0;
	padding: 0;
	position: relative; /* for submenu positioning */
}
#smenu a {
	line-height: 21px;
	display: block;

	text-decoration: none;
	color: #000;
	background-color: #efeee9 /*#f2efef*/;

	padding: 0 8px;
	margin: 0;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #fff;
}
#smenu ul ul li {
	display: block;
	float: none;
	width: 160px;
	z-index: 8;
}
#smenu ul ul li a {
	display: block;
	color: #fff;
	background-color: transparent;

	width: 90%;
	padding: 0 5%;
	border-bottom: 0;
	border-top: 1px solid #fff;
	line-height: 19px;
}
#smenu ul ul li a {
/*	display: inline-block; /* fix IE7 gap at bottom */
	margin: 0;
}
* html #smenu ul ul li a {
	width: 160px;
	display: inline-block;
}

#smenu ul ul, #smenu li:hover ul ul, #smenu li:hover ul ul ul,
#smenu li.sfhover ul ul, #smenu li.sfhover ul ul ul
{
	display: none;
}
#smenu li:hover ul, #smenu li li:hover ul, #smenu li li li:hover ul,
#smenu li.sfhover ul, #smenu li li.sfhover ul, #smenu li li li.sfhover ul
{
	display: block;
}
#smenu div p, #smenu form
{
	margin: 0; /* fix search form bg */
}



#smenu a.current {
/*	color: #FFBA00;
	background: #001842;*/
}
#smenu ul ul a.current, #smenu li:hover li a, #smenu li:hover li:hover a, #smenu div,
#smenu li.sfhover li a, #smenu li.sfhover li.sfhover a
{
	color: #fff;
	background: transparent url(images/green.png);
	border-color: #fff;
}
#smenu li:hover a,
#smenu li.sfhover a {
	background: #fff url(images/grad.png) repeat-x left bottom;
}
#smenu li:hover li a:hover,
#smenu li.sfhover li a:hover {
	background: transparent url(images/pink.png);
	color: #fff;
	border-color: #fff;
}
#smenu li:hover ul a {
}
#smenu ul ul a.current {
}







/*	Styling (Colours, backgrounds) */
body
{
	background: #fff;
	color: #000;
}
#wrap_body, #frontpage
{
	background: #fff;
} 
#wrap_menu, #navigation
{
	background-color: #f2efef;
}
#wrap_content 
{
	background: transparent url("images/faux.gif") repeat-y;
	color: #000;
}
#content
{
/*	background-color: Yellow; /* For testing */
}
#leftblock, #rightblock, #rightblock h2 
{
	color: #000;
/*	background-color: Pink; /* For testing */
}
#wrap_footer {
	background-color: #f2efef;
	color:  #000;
}
a.copyright { color:#000; text-decoration: none; font-weight: bold; }
a.copyright:hover { color:#fff; text-decoration: underline;}

span.dailytip, .autoscroller-border, #autoscroller-body 
{
	color: #000;
	background-color: #fff;
	padding: 0;
}
iframe.autoscroller-border 
{
	border-color: #ccc; 
}	
a, #content a:link
{
	color: #208;
}
#content a:visited, #righblock a:visited
{
	color: #602;
}
#content a:hover, #content a:active
{
}
#searchwords, input.button
{
}
#toplogo div.shortcuts span
{
	color: #000;
}
	

/* Text styling (fonts) */

#rightblock div.t_text h3 {
	font-size: 100%;
	margin: 1em 0 0;
}
#rightblock div.t_text h3 a {
	color: #15b1b2;
	text-decoration: none;
	font-weight: bold;
}
#rightblock div.t_text h3 + p {
	margin-top: 0;
}
* html #rightblock div.t_text p {
	margin-top: 0;
}

