/* WPS Standard Template C */

body {
	/* font-family: Verdana, "Bitstream Vera Sans", Geneva, "Lucida Grande", Helvetica, Arial, sans-serif */
	font-family: Arial,Helvetica,sans-serif;
	font-size: 90%;
	margin: 0;
	padding: 0; /* Opera has a default padding */
}

/*	Layout only	*/

#wrap_logo, #wrap_menu, #wrap_content 
{
	width: 772px; 
	margin: 0px auto;
	padding: 0 4px;
	border: 2px solid;
	border-top: 0;
	border-bottom: 0;
}
#toplogo
{
	height: 110px;
	position: relative;
}
#toplogo, #inner_wrap_content
{
	border: 1px solid;
}
#toplogo, #wrap_footer
{
	border-top: none;
}
#inner_wrap_content
{
	border-bottom: none;
	padding: 0;
}
#toplogo img
{
	padding: 0; /* logo positioning */
}
#navigation
{
	padding: 1px 0 1px 0; /* trick needed for Opera to show correct bg */
	margin-top: -1px;
	margin-bottom: -1px;
	width: 100%;
	/* height: 20px; /* not necessary, ruins Opera height */
	position: static; /* needed for menu to display at the right place */
}
#separator
{
	position: absolute;
	width: 100%; height: 7px;
	left: 0px; top: 0px;
	font-size: 1px;
	background: transparent url("images/bg-top.png") repeat-x scroll 0px 0px;
	z-index: 10;
}
#separator > img
{
	display: none; /* only shitty IE needs embedded image to function */
}
* html #separator
{
	background-image: none; /* but does not need background */ 
}
#wrap_content
{
	text-align: left;
	clear: both;
}
#breadcrumbs
{
	margin-bottom: 1em;
}
#leftblock 
{
	float: left;
	clear: left;
	display: inline; /* IE hack */
	width: 173px; 
	padding: 2px 0 5px 0;
	margin: 0;
}
#frontpage #leftblock
{
	width: 369px; /* total = 378px+7 */
	padding: 16px 8px 8px 8px;
}
#rightblock {
	float: right;
	display: inline; /* IE hack */
	width: 367px; /* Total width should be 377px+7 (-1?) */
	padding: 16px 8px 8px 8px;
	margin: 0 0 0 -4px;  /* IE needs space, we trick it to think it has */
}
#leftblock, #rightblock, #content
{
	overflow: visible;
}
* html #leftblock, * html #rightblock, * html #content
{
	overflow: auto; /* IE6 falls apart otherwise */
}
#content {
	width: 575px;
	padding: 0px 0 5px 1px; /* left padding for FF tables */
	text-align: left;
	float: right;
	margin: 0 0px 0 0;
}
#topbanner
{
	float: left;
	display: inline; /* IE hack */
	width: 384px; 
	padding: 0 0px 0 0; /* replaced by border */
	border-right: 1px solid;
	margin: 0;
	overflow: visible;
}
#topbanner img
{
	width: 384px;
	height: 290px;
}
#teasers 
{
	float: right;
	width: 381px;
	height: 290px; 
	padding: 0;
	margin: 0;
	overflow: hidden;
	clear: right;
}
#wrap_footer 
{
	clear: both;
	margin: 0;
	padding: 0;
	position: relative;
}
#footer {
	padding: 1px 6px;
	text-align: left;
}

/*	Shortcuts or Search - Positioning and Layout */ 

#toplogo div.search, #toplogo div.shortcuts
{
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	margin: 0;
}
#navigation div.shortcuts, #navigation div.search
{
	float: right;
	margin: 0px 0 0 0; /* desired padding */
	padding: 0;
	/*display: inline;*/
}

/* Search form */
div.search form
{
	margin: -1px 0 0 0;
	padding: 0;
}
div.search > form
{
	margin-top: 0px;
}
div.search input.button
{
	vertical-align: text-top;
	border: 1px solid #999999;
	margin-top: 1px;
	line-height: 13px;
	height: 18px;
	padding: 0;
	background-color: #EEEEEE;
	color: #000;
	font-size: 12px;
}
span.searchbuttonbox > input.button, #submit1.button
{
	padding: 0 0.4em;
	display: inline;
}
div.search input.searchwords
{
	height: 16px;
	border: 1px solid #999999;
	padding: 0 0.3em;
	font-size: 12px;
	width: 80px;
}



/* Dropdown Menu */
ul.dropdownreplacement li
{
	float: left;
	display: inline; /* IE6 hack */
	height: 16px;
}
ul.dropdownreplacement a
{
	display: block;
}
.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, ul.dropdownreplacement
{
	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 */

#leftblock h2, #rightblock h2
{
	background: transparent url(images/dot3.gif) repeat-x scroll left bottom;
	font-size: 1.08em;
	font-weight: bold;
	padding: 0 0 5px 0;
	margin: 0.4em 0;
}
#leftblock h2 span, #rightblock h2 span
{
	background: transparent url(images/arrow.gif) no-repeat scroll 6px 50%;
	padding: 0 0 0 18px;
}

#toplogo img, #topbanner img
{
	border: 0;
	display: block;
}
span.dailytip 
{
	display: block;
	margin: 5px 0;
	padding: 4px 2px;
}

iframe.autoscroller-border 
{
	margin: 0 -5px;
	width: 364px; /* IE hack: should be width-(2*border_width) */
	border: 1px solid;
}
html>body iframe.autoscroller-border 
{
	width: 366px;
}
#newscontainer {
	width: 100%;
}
#registerForm2
{
	margin:0;
}
#rightblock form input.box, #leftblock input.button
{
	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: #A7A9AC;
	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 {
	color: #fff;
	background-color: #999999;
}
#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: #EEEEEE;
}

#smenu ul, #smenu a
{
	border-color: #999999;
}



/*	Teasers */

#teasers img
{
	border: 0;
	display: block;
}
#teasers h2, #teasers h2 span {
	height: 18px;
	display: block;
	margin-top: 0;
}
div.teaser
{
	position: relative;
	width: auto; /*188px; flexible */
	height: 134px;
	margin: 8px 10px 0 10px;
}
div.teaser.first
{
	margin-top: 5px;
}
a.t_img
{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	/*clip: rect(0px 122px 83px 0px);*/
	border: 2px solid;
}
a.t_img img
{
	width: 134px;
	height: 134px;
	display: block;
}
div.t_text
{
	position: static;
	margin-left: 146px;
/* note: you MUST NOT set height/width, coz IE sucks */
	padding-top: 2px;
}
div.t_text h3
{
	font-weight: bold;
	font-size: 1.08em/*2px*/;
	padding: 0 1px 1px 3px;
	margin: 0;
}
div.t_text p
{
	margin: 0;
	padding: 0 1px 0 3px;
	text-align: justify;
}
div.t_readmore
{
	position: absolute;
	bottom: 2px;
	right: 3px;
	z-index: 2;
}
div.teaser.w_text div.t_readmore
{
	padding: 0px 0px 1px 11px; /* 1px for correct vertical align of arrow */
	background-image: url("images/arrow_next.gif");
	background-position: 0px 50%;
	background-repeat: no-repeat;
	bottom: 0; /* to compensate for padding */
}
div.t_readmore a
{
	text-decoration: none;
}
div.t_readmore img
{
	display: block;
	border: 0;
}

/*	Teasers Colours */

#teasers h2
{
	background: #999999; 
	color: #000;
}
div.teaser
{
	color: #000;
	background-color: transparent;
}
a.t_img
{
	border-color: #999999;
}
div.t_text h3, div.t_text h3 a
{
	color: #000;
	background-color: transparent;
	text-decoration: none;
}




/*	Styling (Colours, backgrounds) */
body
{
	background: #fff;
	color: #000;
}
#wrap_body, #frontpage 
{
	background: #D9D9D9 url("images/bg.jpg") left top;
} 
#wrap_logo, #wrap_menu, #wrap_content
{
	background-color: #A7A9AC; 
	color: #000;
	border-color: #6C6C6C;
}
#toplogo, #inner_wrap_content
{
	border-color: #999999;
	background: #D9D9D9 url("images/bg.jpg") fixed left top;
}
#content 
{
/*	background-color: Yellow; /* For testing */
}
#topbanner
{
	border-color: #999999;
}
#frontpage #leftblock, #rightblock 
{
	background: transparent;
	border-top: 1px solid #999999; 
	color: #000;
}
#wrap_footer {
	background-color: #999999;
	color:  #fff;
}

a.copyright { color:#000; text-decoration: none; font-weight: bold; }
a.copyright:hover { color:#fff; text-decoration: underline;}
div.submenu 
{
	border-color: #999999;
}
ul.dropdownreplacement li
{
	color: #000;
	border-color: #000;
}
.mainmenu, .submenu {
	color: #000;
	background-color: #A7A9AC;
}
ul.dropdownreplacement a:hover, .mainmenu.on, .submenu.on {
	color: #000;
	background-color: #EEEEEE;
}
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 */

span.dailytip, .autoscroller-border, #autoscroller-body 
{
	color: #000;
	background-color: #EEEEEE;
	padding: 0;
}
iframe.autoscroller-border 
{
	border-color: #999999; 
}	
a, #content a:link
{
	color: #208;
}
#content a:visited, #righblock a:visited
{
	color: #602;
}
p
{
	margin:10px 0;
}



