/* GENERAL SPECS */
/* set standard font and color */
body {
	font-family: Verdana, Arial, Geneva, sans-serif;
	background-color: #5e6784;
	font-size: 70%;
	line-height: 18px;
	text-align: center;
	margin: 0px;
	color: #333;
}
form {
   margin: 0px;
}
/* make input boxes and button look a bit better */
input {
   font-family: Verdana, Arial, Geneva, sans-serif;
   font-size: 1em;
   border: 1px solid #000;
}
select {
	font-size: 0.9em;
}
h1 {
	font-size: 1.4em;
   	font-weight: normal;
   	line-height: 20px;
}
h2 {
	font-size: 1.2em;
   	font-weight: bold;
   	line-height: 20px;
	display: block;
	background-color: #c7cad4;
}
img {
	border: 0px;
}
hr {
  	height: 0;
	border-style: solid;
 	border-color: #5f6885;
 	border-width: 1px 0 0 0;
}
p {
	margin-top: 0px;
}
/* ---------------------------------------------------- */
/* outer casing for whole page - the margins keep the content centred as the user resizes the window */
#contentElement {
   position: relative;
   width: 955px;
   margin: 20px auto;
   text-align: left;
}
#header {
	margin: 0px;
	padding: 0px;
	height: 201px;
	background: url(../images/header_bg.jpg) no-repeat 0 0;
}
#nav {
	background-color: #e7e0cd;
	height: 20px;
	padding: 10px 20px 10px 5px;
}
#qmlogo {
	position: relative;
	left: 20px;
	top: 25px;
}
#logo {
	position: relative;
	left: 20px;
	top: 60px;
}
/* ---------------------------------------------------- */
#outer_wrapper {
	background-color: #e7e0cd;
	margin-top: 20px;
}
#wrapper {
	background-color: #e7e0cd;
}
#container {
	width: 100%;
	float: left;
	background-color: #e7e0cd;
}
#content {
	background-color: #e7e0cd;
}
#main {
	margin: 20px;
}
#main img {
	float: right;
	margin: 0px 0px 20px 20px;
	border: 1px solid #333;
}
#main a {
	text-decoration: none;
}
#main a[href] {
	text-decoration: underline;
}
#main .inline_img {
	float: right;
	margin: 0px 20px 20px 20px;
}
html>/**/body #main .inline_img {
	margin: 0px 0px 20px 20px;
}
#main .inline_img_left {
	float: left;
	margin: 0px 20px 20px 0px;
	display: block;
	width: 100%;
}
#main img{
	border: 1px solid #666;
}
/* ---------------------------------------------------- */
#footer {
	float: right;
	padding: 10px 20px;
	font-size: 0.9em;
	color: #fff;
}
/* ---------------------------------------------------- */
.clearing {
	height: 0;
	clear: both;
}
/* ---------------------------------------------------- */
/* NAVIGATION */
#nav ul{
   list-style: none;
   margin: 0;
   padding: 0;
}			
#nav li{
   position: relative;
   display: inline;
   padding-right: 15px;
   margin-left: 15px;
   border-right: 1px solid #333;
}
html>/**/body #nav li{
	margin-left: 10px;
}
#nav a{
	text-decoration: none;
}
/* ---------------------------------------------------- */
/* CLASSES */
/* outline box - for images in right-hand column */
.box {
   border: 1px solid #666666;
}
/* smaller text for sporadic use where necessary*/
.small {
   font-size: 0.9em;
   line-height: 16px;
}
.top {
	text-align: right;
}
.centre {
	text-align: center;
}
/* ---------------------------------------------------- */
/* LINKS */
/* normal links */
a {
   text-decoration: underline;
}
a:link {
   color: #5e6883;	
}
a:visited {
   color: #5e6883;
}
a:hover {
   color: #990000;
}
a:active {
   color: #5e6883;
}
/* ---------------------------------------------------- */
/* Homepage layout */
.homepageBox {
	float: left;
	width: 275px;
	height: 230px;
	padding: 10px;
	margin: 0px 10px 20px 0px;
	background-color: #fff;
}
#main .homepageBox img{
	float: left;
	margin: 0px 0px -20px -20px;
	border: 0px;
}
html>/**/body #main .homepageBox img{
	float: left;
	margin: 0px 0px -10px 0px;
	border: 0px;
}
#hp_rhc {
	float: right;
	width: 295px;
}
#hp_rhc img {
	float: left;
	margin: 0;
	padding: 0;
	border: 0px;
}
#hp_lhc {
	width: 595px;
}