/* 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, #topbanner, #wrap_content, #separator {
	width: 770px; 
	margin: 0px auto;
	border: 0;
	position: relative;
}
#navigation
{
	height: 20px; /* 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: 168px; 
	padding: 5px;
	margin: 0;
}
#rightblock {
	float: right;
	display: inline; /* IE hack */
	width: 180px; /* Total width should be 190px */
	padding: 5px;
	margin: 0 5px 0 0;
}
#leftblock, #rightblock, #content
{
	overflow: visible;
}
* html #leftblock, * html #rightblock, * html #content
{
	overflow: auto; /* IE6 falls apart otherwise */
}
#content {
	width: 580px;
	padding: 5px 0px 5px 5px; /* left padding for FF tables */
	float: right;
	display: inline; /* IE6 hack */
	margin: 0 5px 0 0;
}
#frontpage #content {
	width: 385px;
	margin-right: 5px;
}
#teasers 
{
	float: right;
	width: 585px; 
	padding: 0 0 0 0;
	margin: 0 0 5px 0;
	overflow: hidden;
	clear: right;
	display: inline; /* IE hack */
}
#wrap_footer 
{
	clear: both;
	margin: 0;
	position: relative;
}
#footer {
	padding: 1px 6px;
}

/*	Shortcuts or Search - Positioning and Layout */ 
#navigation div.search
{
	float: right;
	margin: 0 0 0 0;
	padding: 0;
	/*display: inline;*/
	/*background-color: #f00; /* for testing */
}

/* Search form */
div.search form
{
	margin: -1px 3px 0 3px;
	padding: 0 0 1px 0;
} /* False values for IE7+IE6 */
html:not([dummy]) div.search form {
	margin-top: 0px;
} /* True values for Safari and Firefox */
@media all and (min-width: 0px) { div.search form {
	margin-top: 0px;
} } /* True values for Opera */


div.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;*/
}
div.search input.searchwords
{
	height: 16px;
	border: 1px solid;
	padding: 0 0.3em;
	width:100px;
/*	font-size: 12px;*/
}

/* Dropdown Menu */
.mainmenu, .submenu {
	text-decoration: none;
	font-size: 100%;
}
.mainmenu {
	line-height: 16px;
	padding: 0;
}
.submenu {
	line-height: 16px;
	padding-left: 3px;
	padding-right: 9px;
}
td.mainmenu, td.submenu {
	padding: 0px 4px;
}
#menu0
{
	padding: 2px 0 !important; /* match with div.submenu margin */
	margin: 0; /* Firefox does not stretch container div */
	float: left;
	display: inline; /* IE6 hack */
}
div.submenu 
{
	border: 1px solid;
	margin-top: -2px; /* match with #menu0 padding */
}
div.submenu div.submenu
{
	margin-top: 0; /* reset it in menu items */
}


/* Blocks */

#rightblock h2
{
	font-size: 100%;
	font-weight: bold;
	padding: 1px 0 1px 5px;
	margin: 0.1em 0;
	vertical-align: bottom;
}
#toplogo img, #topbanner img
{
	border: 0;
	display: block;
/*	width: auto;
	height: auto; our banner module sucks, but ie6 sucks more */
}

iframe.autoscroller-border 
{
	margin: 0;
	width: 178px; /* IE hack: should be width-(2*border_width) */
	/*border: 1px solid;*/
}
html>body iframe.autoscroller-border 
{
	width: 178px;
}
form.vertical input.box
{
	display: block;
}



/* Static Menu */

#smenu ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	background-color: red; /* TEST */
	border-top: 1px solid;
}
#smenu ul ul
{
	border-top: none;
}
#smenu li 
{ 
	margin: 0;
}
* html #smenu a
{ height: 1% } /* hasLayout */

#smenu a
{
	border-bottom: 1px solid;
}
#smenu a,
table a.hover, table span.hover, table a.hover-current, table span.hover-current {
	text-decoration: none;
	display: block;
	color: #000;
	background-color: #f3f3f3;
	padding-top: 2px;
	padding-bottom: 2px;
}
#smenu ul a,
a.smenu-section, span.smenu-section {
	padding-left: 5px;
	font-weight: bold;
}
#smenu ul ul a,
a.smenu-item, span.smenu-item {
	padding-left: 10px;
	font-weight: normal;
}
#smenu ul ul ul a,
a.smenu-subitem, span.smenu-subitem {
	padding-left: 15px;
	font-style: italic;
}
#smenu ul ul ul ul a,
a.smenu-subitem3, span.smenu-subitem3 {
	padding-left: 20px;
	font-style: italic;
}
#smenu ul ul ul ul ul a {
	padding-left: 25px;
	font-style: italic;
}
#smenu ul ul ul ul ul ul a {
	padding-left: 30px;
	font-style: italic;
}
#current-smenu.current,
table a.hover-current, table span.hover-current {
	background-color: #ccc;
}
#smenu a:hover,
table a.hover:hover, table span.hover:hover, 
table a.hover-current:hover, table span.hover-current:hover 
{
	color: #000;
	background-color: #ccc;
}

#smenu ul, #smenu a
{
	border-color: #666;
}

/* Teasers */

#teasers img
{
	border: 0;
	display: block;
}
#teasers h2, #teasers h2 span {
	height: 22px;
	display: block;
	font-size: 100%;
}
#teasers h2 
{
	margin: 0 5px 10px 0;
	padding: 0px 30px 0px 0px;
	background: #e17324 url(images/title_bg.gif) no-repeat scroll right top;
}
#teasers h2 span {
	padding: 0 0 0 20px;
	line-height: 22px;
	background: transparent url(images/title_bg.gif) no-repeat scroll left top;
	font-weight: bold;
	vertical-align: bottom;
	color: #fff; 
}
div.teaser
{
	float: left;
	clear: right;
	display: inline; /* IE float padding hack */
	position: relative;
	width: 166px;
	height: 126px; 
	margin: 0px 0px 0px 7px;
	border: none;
}
div.teaser.first
{
	margin-left: 19px;
}
a.t_frame
{
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url(images/teaser_border.png);
	background-repeat: no-repeat;
	background-position: left top;
	z-index: 2;
	top: 0;
	left: 0;
}
* html a.t_frame
{
	background: transparent;
}
a.t_img
{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
a.t_img img
{
	width: 166px;
	height: 126px;
	display: block;
}

/* Teasers Colours */

div.teaser
{
	color: #000;
	background-color: #fff;
}


/*	Styling (Colours, backgrounds) */
body
{
	background: #fff;
	color: #000;
}
#wrap_body, #frontpage
{
	background-color: #eee;
} 
#toplogo
{
	background-color: #fff;
}
#navigation
{
	background-color: #e17324;
}
#wrap_content 
{
	background: #fff url("images/faux.gif") repeat-y scroll left top;
	color: #000;
}
#rightblock h2 
{
	color: #fff;
	background: #e17324;
}
#wrap_footer {
	background-color: #e17324;
	color:  #fff;
}
a.copyright { color:#fff; text-decoration: none; font-weight: bold; }
a.copyright:hover { color:#fff; text-decoration: underline;}
div.submenu 
{
	border-color: #666;
}
.mainmenu, .submenu {
	color: #fff;
	background-color: #e17324;
}
ul.dropdownreplacement a:hover, .mainmenu.on, .submenu.on {
	color: #000;
	background-color: #fff;
}
div.submenu td.arrow {
	background-image: url(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 */

.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;
}

/* Text styling (fonts) */

#navigation a, #rightblock 
{
	font-family: Arial,Helvetica,sans-serif;
}
