/* 100% hack */
html, body {
	height: 100%;
}
/* end */

html, body, div, img {
	margin: 0;
	padding: 0;
}

html {
	background: #ffffff;
}

ul {
	margin-top: 0;
	margin-bottom: 0;
}

h1 {
	margin: 0;
	font: bold 16px Arial;
	color: #ffffff;
	letter-spacing: 1px;
}

#maincontainer, #bottomcontainer {
	margin: 0 auto; /* change auto to 0 to disable the centering of the page */
}

#maincontainer2 {
	width: 885px;
	background: url("images/layout/site/maincontainer_bg.gif") 0 0 repeat-y;
}

#maincontainer {
	width: 885px;
}

/* 100% hack */
#maincontainer {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -60px; /* the bottom margin is the negative value of #bottomcontainer's height */
}
/* end */

#topcontainer {
	width: 885px;
	background: url("images/layout/site/maincontainer_bg.gif") 0 0 repeat-y;
}

#logo {
	position: relative;
	float: left;
	width: 168px;
	height: 118px;
	margin: 0 0px 0 0;
	background: url("images/layout/site/logo_bg.gif") 0 0 no-repeat;
}

#header {
	position: relative;
	float: left;
	width: 500px;
	height: 106px;
	margin: 0px 0 0 12px;
	border-bottom: 1px solid white;
	overflow: hidden;
}

#header p {
	margin: 0;
}

#leftmiddleandright {
	position: relative;
	float: left;
	width: 885px;
	padding: 0 0 0px 0;
	background: url("images/layout/site/maincontainer_bg.gif") 0 0 repeat-y;
}

#leftcontainer {
	position: relative;
	float: left;
	width: 168px;
	margin: 0 12px 0 0;
}

#menu {
	width: 168px;
	font: bold 12px Arial;
	color: #ffffff;
	text-align: center;
}

#nav {
	width: 168px;
}

#nav ul {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

#nav ul li {
	display: inline;
	height: 15px;
}

#nav ul li a {
	background: url("images/layout/site/nav_bg.gif") 0 top no-repeat;
	line-height: 39px;
	
	display: block;
	color: #ffffff;
	text-decoration: none;
}

#submenu {
	font-size:9px;
}

#submenu ul {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

#submenu ul li {
	padding: 0;
	margin: 0;
	display:block;
}

#submenu ul li a {
	color: #ffffff;
	text-decoration: none;
	background: none;
	line-height: 8px;
}


#middlecontainer {
	position: relative;
	float: left;
	width: 500px;
	font: normal 12px/18px Arial;
	color: #ffffff;
}


#middlecontainer td {
	font: normal 12px/18px Arial;
	color: #ffffff;
}

#middlecontainer-content {
	padding: 31px 31px 0 31px;
}

#middlecontainer-content a:link, a:visited {
	color: red;
	text-decoration: none;
}

#middlecontainer-content a:hover {
	color: #ffffff;
	text-decoration: none;
}

#rightcontainer {
	position: relative;
	float: left;
	width: 205px;
	margin: 0 0 0 0;
	font: normal 12px/18px Arial;
	color: #ffffff;

}

#rightcontainer-content {
	padding: 0 30px 0 30px;
} 

.clear {
	width: 100%;
	height: 1px;
	margin: 0 0 -1px;
	clear: both;
}

#bottomcontainer {
	width: 885px;
	background: url("images/layout/site/bottomcontainer_bg.gif") 0 0 no-repeat;
	height: 40px;
	
}

#bottomcontainer-content {
	padding: 25px 30px 0 0;

	font: normal 12px/18px Arial;
	color: #000000;
	text-align: right;
	
}

#bottomcontainer-content a {
	color: #000000;
}

#bottomcontainer-content a:hover {
	text-decoration: none;
}
