/* 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;
}
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, #topbanner, #wrap_content, #separator, #wrap_content_wide {
	width: 770px; 
	margin: 0px auto;
	border: 0;
	position: relative;
}
#toplogo
{
	min-height: 50px;
}
#wrap_menu
{
	border: 1px solid;
	border-left: none;
	border-right: none;
}
#navigation
{
	height: 20px; /* not necessary, ruins Opera height */
	position:relative;; /* needed for menu to display at the right place */
	overflow: visible; /* in case there are too much menus */
}
#navigation li
{
	z-index: 10;
}
#separator
{
	display: none;
}
#wrap_content
{
	clear: both;
}
#leftblock 
{
	float: left;
	display: inline; /* IE hack */
	width: 173px; 
	padding: 14px 0 5px 0;
	margin: 0 0 0 5px;
}
#rightblock {
	float: right;
	display: inline; /* IE hack */
	width: 250px; /* Total width should be 180px */
	padding: 5px;
	margin: 0 0px 0 0;
}
#leftblock, #rightblock, #content, #content_wide
{
	overflow: visible;
}
* html #leftblock, * html #rightblock, * html #content
{
	overflow: auto; /* IE6 falls apart otherwise */
}
#content {
	width: 560px;
	padding: 10px; /* left padding for FF tables */
	float: right;
	display: inline; /* IE6 hack */
	margin: 0 5px 0 -5px;
	min-height:400px;
	_height:400px;
}
body.wide #content {
	width: 750px;
	padding: 10px; /* left padding for FF tables */
}
#frontpage #content {
	width: 310px;
}
#teasers
{
	width: 595px;
	padding: 0 0px 10px 4px;
	margin: 0;
	overflow: hidden;
	display: inline; /* IE hack */
}
#teasers h2
{
	margin-left: 6px;
	margin-bottom: 5px;
}
#wrap_footer 
{
	clear: both;
	margin: 0;
	position: relative;
}
#footer {
	padding: 1px 6px 1px 202px;
}

/*	Shortcuts or Search - Positioning and Layout */ 

#toplogo div.search, #toplogo ul.shortcuts
{
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	margin: 0;
}
#search 
{
	min-width: 200px;
	position:absolute;
	right:0; top:0px;
	top:1px\9;
}
#navigation ul.shortcuts, #navigation #search
{
	float: right;
	margin: 0 0 0 0;
	padding: 0;
	/*display: inline;*/
	/*background-color: #f00; /* for testing */
}

/* Search form */
#search form
{
	margin: -1px 3px 0 3px;
	padding: 0 0 1px 0;
	position:relative;
} /* False values for IE7+IE6 */
html:not([dummy]) #search form {
	margin-top: 0px;
} /* True values for Safari and Firefox */
@media all and (min-width: 0px) { #search form {
	margin-top: 0px;
} } /* True values for Opera */


#search input.button
{
	vertical-align: text-top;
	border: 1px solid;
/*	margin-top: 1px;*/
	line-height: 13px;
	height: 18px;
	padding: 0;
	position:absolute; 
	left:155px; 
	top:1px;
/*	font-size: 12px;*/
}
span.searchbuttonbox > input.button
{
	padding: 0 0.4em;
	/*display: inline;*/
}
#search input.searchwords
{
	height: 16px;
	border: 1px solid;
	padding: 0 0.2em;
	width:145px;
	margin-top:1px;
	position:absolute; 
	left:0;
	top:0;
/*	font-size: 12px;*/
}

/* ShortCuts Menu Styling*/

ul.shortcuts, ul.shortcuts ul
{
	margin: 0 7px 0 0;
	padding: 0 0 0 16px;
	background-image: url("../../../default/themes/templatea/images/mainlinks-in.gif");
	background-position: 7px 50%;
	background-repeat: no-repeat;
}

ul.shortcuts li
{
	line-height: 33px;
	display: inline;
	margin: 0;
	padding: 0 0 0 15px;
	background-image: url("../../../default/themes/templatea/images/mainlinks-sep.gif");
	background-position: 7px 50%;
	background-repeat: no-repeat;
	list-style-type: none;
	display: inline;
}


ul.shortcuts li a
{
	color: #000000;
	text-decoration: none;
}

ul.shortcuts li.print	/* not used */
{
	background-image: url(../../../default/themes/templatea/images/printer_w.gif);
	background-position: 3px 50%;
	background-repeat: no-repeat;
	padding: 2px 2px 2px 17px;
}

ul.shortcuts li.search 	/* not used */
{
	background-image: url(../../../default/themes/templatea/images/search_w.gif);
	background-position: 3px 50%;
	background-repeat: no-repeat;
	padding: 2px 3px 2px 17px;
}




/* Blocks */

#leftblock h2, #rightblock h2
{
	background: transparent url(../../../default/themes/templatea/images/dot3.gif) repeat-x scroll left bottom;
	font-size: 1.08em;
	font-weight: bold;
	padding: 0 0 5px 0;
	margin-bottom: 0.4em;
}
#leftblock h2 span, #rightblock h2 span
{
	background: transparent url(../../../default/themes/templatea/images/arrow.gif) no-repeat scroll 6px 50%;
	padding: 0 0 0 18px;
}

#toplogo img, #topbanner img
{
	border: 0;
	display: block;
/*	width: auto;
	height: auto; our banner module sucks, but ie6 sucks more */
}

span.dailytip 
{
	display: block;
	margin: 5px 0;
	padding: 4px 2px;
}

iframe.autoscroller-border 
{
	margin: 0;
	width: 250px; /* IE hack: should be width-(2*border_width) */
	/*border: 1px solid;*/
}
html>body iframe.autoscroller-border 
{
	width: 250px;
}
form.vertical input.box
{
	display: block;
}
div.breadcrumbs
{
	margin-bottom: 1em;
}



/* Side Menu */

#smenu, #smenu ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	background-color: red; /* TEST */
}
#smenu
{
	border-top: 1px solid;
}
#smenu li 
{ 
	margin: 0;
}
* html #smenu a
{ height: 1% } /* hasLayout */

#smenu a
{
	border-bottom: 1px solid;
}
#smenu a {
	text-decoration: none;
	display: block;
	color: #000;
	background-color: #f3f3f3;
	padding-top: 2px;
	padding-bottom: 2px;
}
#smenu a {
	padding-left: 5px;
	font-weight: bold;
}
#smenu ul a {
	padding-left: 10px;
	font-weight: normal;
}
#smenu ul ul a {
	padding-left: 15px;
	font-style: italic;
}
#smenu ul ul ul a {
	padding-left: 20px;
	font-style: italic;
}
#smenu ul ul ul ul a {
	padding-left: 25px;
	font-style: italic;
}
#smenu ul ul ul ul ul a {
	padding-left: 30px;
	font-style: italic;
}
#smenu .current {
	background-color: #ccc;
	font-weight:700;
}
#smenu a:hover {
	color: #000;
	background-color: #ccc;
}

#smenu, #smenu a
{
	border-color: #666;
}

#smenu div.search
{
	display: none; /* hide unwanted search box */
}

/* Teasers */

div.teaser
{
	float: left;
	clear: right;
	display: inline; /* IE float padding hack */
	position: relative;
	width: 180px;
	height: 150px;
	margin: 0px 0px 0px 6px;
}

a.t_img
{
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}
a.t_img img
{
	width: 180px;
	height: 75px;
	display: block;
	border: 0;
}
div.t_text
{
	position: static;
	margin-top: 75px;
/* note: you MUST NOT set height/width, coz IE sucks */
	padding: 1px 0 2px 0;
}
div.t_text h3
{
	font-weight: bold;
	font-size: 1.08em/*2px*/;
	padding: 0 2px 1px 4px;
	margin: 0;
}
div.t_text p
{
	margin: 0;
	padding: 0 2px 0 4px;
}
div.t_readmore
{
	position: absolute;
	bottom: 0px;
	right: 0px;
	z-index: 2;
}
div.teaser.rm_text div.t_readmore
{
	padding: 0px 0px 2px 13px; /* 2px for correct vertical align of arrow */
	background-image: url("../../../default/themes/templatea/images/arrow_next.gif");
	background-position: 2px 50%;
	background-repeat: no-repeat;
	bottom: 0; /* to compensate for padding */
	vertical-align: bottom;
}
div.teaser a
{
	text-decoration: none;
}
div.t_readmore img
{
	display: block;
	border: 0;
}
/* Teasers Colours */

div.teaser
{
	color: #4d6b91;
	background-color: #fff;
	border: 1px solid #4d6b91;
}
div.t_text h3
{
}
div.t_readmore a, div.t_readmore
{
	 color: #fff;
	 background-color: #4d6b91;
}




/*	Styling (Colours, backgrounds) */
body
{
	background: #fff;
	color: #000;
}
#wrap_body, #frontpage
{
	background-color: #666;
} 
#wrap_logo, #toplogo
{
	background-color: #f3f3f3;
}
#wrap_menu, #navigation
{
	background-color: #ccc;
}
#wrap_menu
{
	border-color: #666;
}
#toplogo, #navigation, #topbanner, #wrap_content, #separator
{
	border-color: #ccc;
}
div.search
{
	background-color: #fff;
	color: #000;
}
#wrap_content 
{
	background: #fff url("../../../default/themes/templatea/images/faux.gif") repeat-y scroll 4px 0px;
	color: #000;
}
#wrap_content_wide
{
	background-color: #fff;
	color: #000;
}
#content
{
/*	background-color: Yellow; /* For testing */
}
#leftblock, #rightblock, #rightblock h2 
{
	color: #000;
/*	background-color: Pink; /* For testing */
}
#teasers
{
/*	background-color: Lime; /* For testing */
}
#wrap_footer {
	background-color: #999;
	color:  #000;
}
#wrap_footer
{
	background: #999 url("../../../default/themes/templatea/images/faux_inv.gif") repeat-y scroll 4px 0px;
}
a.copyright { color:#000; text-decoration: none; font-weight: bold; }
a.copyright:hover { color:#fff; text-decoration: underline;}
div.submenu 
{
	border-color: #666;
}
ul.dropdownreplacement li a
{
	color: #000;
}
ul.dropdownreplacement li
{
	border-color: #000;
}
.mainmenu, .submenu {
	color: #000;
	background-color: #ccc;
}
ul.dropdownreplacement a:hover, .mainmenu.on, .submenu.on {
	color: #000;
	background-color: #fff;
}
div.submenu td.arrow {
	background-image: url(../../../default/themes/templatea/images/arrow_next.gif);
	background-position: 92% 50%;
	background-repeat: no-repeat;
	background-attachment: scroll;
} /* False values for IE7+IE6 */
html:not([dummy]) div.submenu td.arrow {
	background-position: 99% 50%;
} /* True values for Safari and Firefox */
@media all and (min-width: 0px) { div.submenu td.arrow {
	background-position: 99% 50%;
} } /* True values for Opera */

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 ul.shortcuts span
{
	color: #000;
}
	

/* Text styling (fonts) */

/* Top nav */

* html #topmenu *
{ height: 1% } /* hasLayout */
#topmenu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#topmenu ul ul
{
	position: absolute;
	left: 0;
	top: 100%;
	border: 1px solid;
	border-top: 0;
}
#topmenu ul div
{
	border-top: 1px solid;
}
#topmenu ul ul ul
{
	left: 100%;
	top: -1px;
}


#topmenu li
{
	float: left;
	display: inline;
	margin: 0;
	padding: 0;
	position: relative; /* for submenu positioning */
}
#topmenu a {
	float: left;
	line-height: 20px;
	height: 20px;
	display: table; /* fix for Opera's no-width nested floats hover bug */

	text-decoration: none;
	color: #000000;
	white-space: nowrap;

	padding: 0 6px;
	margin: 0;
}
#topmenu ul ul li {
	display: block;
	float: none;
/*	height: 20px;
	line-height: 20px;*/
	width: 160px;
	border-top: 1px solid;
}
#topmenu ul ul li a {
	display: block;
	float: none;
	height: auto;
	white-space: normal;
	text-transform: none;
	
/*	height: 20px;*/
	line-height: 20px;
	width: 90%;
	padding: 0 5%;
}
#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
{
	display: none;
}  
#topmenu li:hover ul, #topmenu li li:hover ul, #topmenu li li li:hover ul
{
	display: block;
}

/* arrow for 4 levels! do not touch! */
#topmenu li li.arrow a, #topmenu li.arrow li.arrow li.arrow a {
	background-image: url(../../../default/themes/templatea/images/arrow_next_inv.gif);
	background-position: 99% 50%;
	background-repeat: no-repeat;
	background-attachment: scroll;
}
#topmenu li li.arrow a:hover, #topmenu li li.arrow li.arrow a:hover {
	background-image: url(../../../default/themes/templatea/images/arrow_next.gif);
}
#topmenu li.arrow li.arrow li a, #topmenu li.arrow li.arrow li.arrow li a {
	background-image: none;
}





#topmenu a.current, #topmenu li:hover a {
	color: #000;
	background-color: #cccccc;
	font-weight:700;
}
#topmenu ul ul a.current, #topmenu li:hover li a, #topmenu li:hover li:hover a {
	color: #000;
	background-color: #cccccc; /* reset for submenus */
}
#topmenu li:hover li a:hover {
	color: #000;
	background-color: #ffffff;
}
#topmenu li:hover ul a {
}
#topmenu ul ul a.current {
}
#topmenu ul ul, #topmenu ul ul li, #topmenu ul div
{
	border-color: #000;
}

