

/* **** Main stuff **** */
html, body {
	height: 100%;
	margin: 0;
}
body {
	font-family: "Trebuchet MS", "Bitstream Vera Sans", lucida, arial, helvetica, verdana, sans-serif;
	font-size: 83%;
	background: #EFEDDC;
	background: white url('../_gfx/front1/tst_bg_left.png') top left repeat-y;
/*-	background-position: -50px; */
	color: black;
}

#container {
	background: url('../_gfx/front1/tst_bg_right.png') top right repeat-y;
    position: relative;
	width: 100%;
    min-height: 100%;
    height: 100%;
}
html>body #container {
    height: auto;
}

.clearer {
	clear: both;
}

.restricted_img {
	cursor: help;
}


.skip-link {
	display: none;
}

.hide {
	display: none;
}

#header {
	background:url("../_gfx/front1/header_thick.gif");
	margin: 0;
	padding: 0;
	height: 85px;
}

#logo {
	margin: 10px 0 0 25px;
	float: left;
	border: none;
}


#specialmenu {
	float: right;
	padding: 51px 40px 0 0;
	margin: 0;
}

#specialmenu li {
	float: left;
	list-style: none;
	font-weight: bold;
	background: url("../_gfx/front1/head_button_bg_left.png") top left repeat-y;
	height: 29px;
	padding: 0 1px 0 1px;
	width: 8em;
}

#specialmenu li a {
	background: url("../_gfx/front1/head_button_bg.png") top left repeat-x;
	display: block;
	text-align: center;
	vertical-align: center;
	width: 100%;
	height: 23px;
	padding-top: 6px;
}

html>body #specialmenu li a {
	height: 29px;
    width: auto;
}

#specialmenu a:link,
#specialmenu a:visited {
	display: block;
	color: #eeeeff;
	/*color: #aabbcc;*/
	text-decoration: none;
}
#specialmenu a:hover {
	color: white;
}

#header div#userinfo {
	position: absolute;
	margin: 1ex 0 0 15em;
	color: #D9E4F0;
}

#header div#userinfo a {
	color: #D9E4F0;
	text-decoration: none;
	font-weight: bold;
}
#header div#userinfo a:hover {
	color: white;
	background: none;
}
#header div#userinfo a img {
	border: none;
}

#mainmenu {
	position: relative;
	margin-top: -5px;
	float: left;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	margin-left: 8px;
	background: #676E87 url("../_gfx/front1/menu/bg.jpg") repeat-x;
	width: 130px;
	padding: 2em 0 0 0;
}
html>body #mainmenu {
    margin-left: 16px;
	width: 150px;
}

#mainmenu ul {
	margin: 0;
	padding: 0;
	font-weight: bold;
	border-top: 1px solid #464B5E;
	list-style: none;
}
#mainmenu ul li {
}
#mainmenu ul li.active {
	border-bottom: 1px solid #ABB0C2;
	border-top: 1px solid #1D2131;
}
#mainmenu ul li.active ul li {
	border: none;
}
#mainmenu ul ul {
	border-top: none;
	font-size: 90%;
	padding-bottom: 4px;
	padding-left: 1em;
}

#mainmenu a {
	display: block;
	width: 100%;
	color: #E3E6F1;
	text-decoration: none;
	padding: 1px 1ex;
	border-top: 1px solid #898EA1;
	border-bottom: 1px solid #464B5E;
}
html>body #mainmenu a {
	width: auto;
}
#mainmenu a:hover {
	color: white;
	border-top: 1px solid #ABB0C2;
	border-bottom: 1px solid #1D2131;
}
#mainmenu ul li.active a,
#mainmenu ul li.active a:hover,
#mainmenu ul li.active ul li.active a,
#mainmenu ul li.active ul li.active a:hover {
	border: none;
	color: white;
}
#mainmenu ul li.active ul a {
	color: #E3E6F1;
	border: none;
	padding: 0 1ex;
}
#mainmenu ul li.active ul a:hover {
	color: white;
}


#page {
	margin-left: 188px;
	margin-right: 25px;
	padding-bottom: 4em;
	width: auto;
}

#maincontent {
	padding: 0 2em 2em 2em;
	width: auto;
}
#maincontent a:link,
#footer a:link
{
	color: #3259aa;
	text-decoration: none;
}
#maincontent a:visited,
#footer a:visited {
	background: transparent;
	color: #783259;
	text-decoration: none;
}
#maincontent a:visited:hover,
#footer a:visited:hover {
	background: #F8F0F5;
	color: #45112E;
	text-decoration: underline;
}
#maincontent a:link:hover,
#footer a:link:hover {
	background: #e8F0Ff;
	color: #112E88;
	text-decoration: underline;
}


#maincontent a img {
	border: 1px solid #B6CEE0;
	padding: 5px;
}
#maincontent a:hover img {
	border: 1px solid #5C82A0;
	background: #e8F0Ff;
}


#maincontent-body {
	/* Do I hate IE? */
	width: 98%;
}
html>body #maincontent-body {
	width: auto;
}


/* **** Footer **** */
#footer {
	position: absolute;
    bottom: 0;
	width: 100%;
	clear: both;
}
#footerbox {
	position: relative;
	padding: 3px 1ex;
	margin-left: 208px;
	margin-right: 45px;
	border-top: 1px dotted #666688;
	font-size: 85%;
	color: #666688;
	width: auto;
}
#footer-valid {
	position: absolute;
	right: 1ex;
	top: 0;
	padding-top: 3px;
	padding-right: 45px;
}
html>body #footer-valid {
	padding-right: 0;
}

