html, * {
	padding: 0;
	margin: 0;
}

body {
	background-color:#787b80;
	color: #626469;
	font-size:62.5%; 	/* 1 em now equals 10px */
	font-family: Helvetica, Geneva, Arial, sans-serif;
}

#page {
	width: 790px;
	font-size: 1.2em;
	background-color:#ffffff;
	text-align: center;
	margin: auto;
	top: 1.6em;
	padding: 0;
}

#masthead {
	background-color: #ffffff;
	height: 254px;
	width: 100%;
	text-align: left;
	position: relative;
}

#logo {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #525f71 url(leftcolbg.jpg) no-repeat top left;
	width: 244px;
	height: 244px;
}

#logo h1 {
	background-image: url(dmqlogo.png);
	background-repeat: no-repeat;
	background-position: left top;
	height: 244px;
	width: 244px;
}

#logo h1 span {
	margin-left: -999em;
}

#branding {
	position: relative;
	top: 10px;
	left: 264px;
	width: 516px;
	height: 244px;
	background: #e2e2e2 url(000117a.jpg) repeat-X center left;
	overflow: hidden;
}

#branding ul#flashalternative {
	display: none;
}

#content {
	position: relative;
	top: 10px;
	left: 10px; 
	background: #ffffff url(leftcolbg.jpg) no-repeat 0px -264px;
	width: 770px;
	text-align: left;
	padding: 0;
}

#nav {
	float: left;
	padding: 0;
	margin: 0;
	width: 244px;
	height: 100%;
	clear: right;
	/*border: 5px solid #ffffff;
	overflow: hidden;*/
}

#pagecontent {
	background-color: #e8e9ea;
	width: 262px;
	float: left;
	clear: right;
	height: 100%;
	margin-left: 10px;
}

#splash {
	background-color: #e8e9ea;
	margin: 0 0 10px 10px;
	width: 516px;
	float: right;
}

div.text {
	margin: 10px;
}

#splash div.text ul, #splash div.text ol, 
body#dmq-location div.text ul {
	margin: 0 20px;
	padding: 10px 16px;
}

#splash div.text ul li, #splash div.text ol li {
	margin-bottom: .6em;
}

#sidebar {
/*	position: absolute;
	top: 0px;
	left: 526px; */
	margin: 0;
	background-color: #ffffff;
	float: left;
	clear: right;
	width: 244px;
	height: 100%;
	margin-left: 10px;
}

#leftbox, #rightbox {
	background-color: #e8e9ea;
	width: 253px;
	float: left;
	clear: right;
	height: 100%;
	margin-left: 10px;
}
body#dmq-news #leftbox,
body#dmq-developments #leftbox {
	background: #e8e9ea url(medius.jpg) no-repeat center center;
	height: 253px;
}
body#dmq-news #rightbox,
body#dmq-developments #rightbox {
	background: #e8e9ea url(hub.jpg) no-repeat center center;
	height: 253px;
}
body#dmq-news #rightbox p a, body#dmq-news #leftbox p a,
body#dmq-developments #rightbox p a, body#dmq-developments #leftbox p a {
	display: block;
	background: transparent;
	color: #e8e9ea;
	border: 0;
	font-weight: 600;
	font-size: 1.2em;
	text-shadow: 1px 1px 3px #000000; /* This is a CSS3 style which is not widely supported yet, but will be soon */
	padding-top: 180px;
}

/* 	This is hidden from IE 6 deliberately 
	because it looks awful               */
body#dmq-news #rightbox p>a:hover, body#dmq-news #rightbox p>a:focus,
body#dmq-news #leftbox p>a:hover, body#dmq-news #leftbox p>a:focus,
body#dmq-developments #rightbox p>a:hover, body#dmq-developments #rightbox p>a:focus,
body#dmq-developments #leftbox p>a:hover, body#dmq-developments #leftbox p>a:focus {
	background: #ffffff url(go.png) no-repeat 170px 23px;
	color: #000000;
	opacity: .5;
	padding: 20px 20px 160px 20px; 
}

#footer {
	background-color: #787b80;
	color: #bdbebf;
	height: 20px;
	width: 100%;
	text-align: center;
	font-size: .9em;
	margin-top: 16px;
}

#wrapper {
	float: left;
	clear: right;
	width: 526px;
}

/*********** #toplinks  and #footerlinks styles ***********/
ul#toplinks, ul#footerlinks {
	display: block;
	height: 1.6em;
	font-size: 1em;
	padding: 2px 4px;
	margin: 0; 
	list-style: none;
	clear: both;
}

#footer ul#footerlinks {
	text-align: center;
	padding-top: 10px;
}

#footerlinks li {
	display: inline; 
}

#toplinks li {
	display: block; 
	float: right;
}

#toplinks li a, #footerlinks li a {
	color:#e8e9ea;
	text-decoration:none;
	padding: 2px 6px;
	border-left: 1px solid #999999;
	font-weight: normal;
	height: 1.6em;
	background-color: #787b80;
	border-bottom: 0;
}

#toplinks a:hover, #footerlinks a:hover {
	color:#e2e2e2;
	background-color:#626469;
	text-decoration:none
}


/*********** #sectionLinks styles ***********/

#sectionLinks {
	position: relative; 
	top: 0px;
	left: 0;
	margin: 0px; 
	padding: 0; 
	border-top: 1px solid #ffffff; 
	color: #FFFFFF;
	background-color: #787b80;
	opacity: .7;

}

#sectionLinks a:hover, #sectionLinks a:focus {
	background: #333366 url(go.png) 210px 5px no-repeat;
}

#sectionLinks ul {
	list-style: none;
}

#sectionLinks a  {
	display: block;
	text-decoration: none;
	padding: 5px 0 5px 5px;
	border-bottom: 1px solid #e8e9ea;
	margin:0;
	color: #FFFFFF;
	background-color: #787b80;
	font-weight: bold;
	text-transform: uppercase;
}

#sectionLinks ul li.selected {
	color: #000000;
	background: #e8e9ea url(go.png) 210px 5px no-repeat;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 0 5px 5px;
}



#sectionLinks li li {
	padding-left: 5px;
}


#sectionLinks ul li.selected a:hover, #sectionLinks ul li.selected a:focus {
	background: #333366 url(go.png) 200px 5px no-repeat;
}

#sectionLinks ul li.selected ul {
	padding-top: 5px;
}

/* **         register now                     ** */
#register {
	background-color: #e8e9ea;
	color: #333333;
	opacity: .8;
	margin: 10px;
	padding: 10px;
}

body#dmq-register #register {
	display: none;
}

/*********** Typography ***********/
/*========== Generic headings sizes first ==============*/
h2, h3, h4, h5, h6 {
	font-family: Helvetica, sans-serif;
	font-weight: 600;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.2em;
	font-weight: 500;
}

h5, h6 {
	font-size: 1.1em;
}

#branding h2 {
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
	font-weight: 100;
	text-align: right;
	padding: 60px 12px 120px 120px;
	/* opacity: .5; */
	font-size: 1.6em;
	letter-spacing: 1px;
}

#register h2 {
	font-size: 1.6em;
	margin-bottom: 12px;
}

#branding h2:hover {
	/*opacity: .9;
	letter-spacing: 3px;
	cursor: crosshair;*/
}

p {
margin-bottom: 12px;
line-height: 1.8em;
font-size: 1em;
}

/* 
#pagecontent div.text p:first-child, #splash div.text p:first-child {
	font-size: 1.2em;
	line-height: 1.8em;
	letter-spacing: .1em;
	margin-top: 6px;
}
*/

/* #pagecontent div.text {
	position: relative;
	top: -150px;
} */

#sidebar h2, #pagecontent h2, #splash h2, #leftbox h2, #rightbox h2 {
	background-color: #707276;
	color:#e2e2e2;
	font-size: 1.4em;
	padding: 4px 12px;
}
#sidebar div.text {
	margin: 10px 0;
}

#sidebar #news img {
	float: left;
	margin-right: 5px;
}

#sidebar div.text+h2 {
	border-top: 10px solid #ffffff;
}

/* ======================= Images =================*/

img.rightalign {
	float: right;
	margin-left: 10px;
}

img.leftalign {
	float: left;
	margin-right: 10px;
}

/* ======================= Links ===================*/
a, a:link {
	color: #626469;
	background-color: #d6d7d9;
	text-decoration: none;
	border-bottom: 1px dotted #b2b3b5;
	padding: 2px 0;
}

a:visited {}

a:hover, a:focus {
	color: #d6d7d9;
	background-color: #848589;
	text-decoration: none;
	border-bottom: 1px dotted #b2b3b5;
	padding: 2px 0;
}

a:active {}

/* +++++++  The sites +++++++++++++ */

#developments {

}

ul#thesites {
	list-style-type: none;
}

ul#thesites li {
	text-align: center;
	position: relative;
	display: block;
	float: left;
	width: 117px;
}
ul#thesites li#thehub {
	margin-left: 10px;
}

ul#thesites ul {
	visibility: hidden; 
	/* display: block;
	position: relative;
	top: 120 px;
	width: 117px;
	height: 117px; */
}
ul#thesites li a {
	text-transform: uppercase;
	border-bottom: 0;
	padding-top: 4px;
}

ul#thesites li a:hover, ul#thesites li a:focus {
opacity: .5;
}

ul#thesites li a:hover+ul li, ul#thesites li a:focus+ul li {
	visibility: visible;
	text-align: left;
	position: relative;
	top: 10px;
}

li#modus a {
	display: block;
	background: #adadad url(thumb1.jpg) no-repeat bottom center;
	color: #ffffff;
	width: 117px;
	height: 137px; 

}

li#thehub a {
	display: block;
	background: #adadad url(thumb2.jpg) no-repeat bottom center;
	color: #ffffff;
	width: 117px;
	height: 137px;
}

/* ================== Latest news ======================== */

/* This is a nice idea but needs a bit of work 
a[title]:hover:before {
	content: attr(title);
	display: block;
	float: left;
	position:fixed;
	white-space:nowrap;
	top:2.2em;
	right:5em;
	background:#929497;
	border:1px solid #d6d7d9;
	color:#fff;
	padding:1px 5px;
	z-index:10;	
	overflow: hidden;
}
a[title]:hover {font-size: .1em;} */

ul#headlines {
	list-style-type: none;
	line-height: 2em;
	margin-top: 12px;
}

/* ************** Forms ******************* */


fieldset.outer {
	border: 0;
	padding: 12px;
	margin-top: 1em;
}

fieldset legend {
	font-weight: bold;
	padding: 0.2em 12em 0.2em 0.5em;
	border: 0;
	text-align: left;
	margin: 0;
	background: transparent;
}

fieldset.inner {
	padding: 12px;
	border: 1px solid #d6d7d9;
}

fieldset.inner legend {
	font-weight: bold;
	border: 0;
	padding: 0.2em;
}

fieldset ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

fieldset li {
	margin-bottom: 6px;
	display: block;
	clear: left;
}

.textbox label {
	width: 13.5em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
}

.textbox select {
	max-width: 24em;
}

input.textinput {
		width: 18em;
}

input, select, textarea {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}

ul.radiogroup {
	margin-left: 12.5em;
}

ul.radiogroup ul {
	margin: 4px 0 4px -6.5em;
}

ul.radiogroup label {
	margin-left: 6px;
}

textarea {
	width: 32.5em;
	height: 6em;
	margin-top: 8px;
}

#submitform, div.submitform {
	padding: 12px;
	margin-left: 14.5em;
}

input.submitbutton {
	font-family:Arial, Helvetica, sans-serif;
	font-weight: bold;
	border: 2px solid #000000;
	border-top-color: #cccccc;
	border-left-color: #cccccc;
	padding: 0.2em 0.8em;
	float: left; 
}

input.submitbutton:active {
	border: 2px solid #cccccc;
	border-top-color: #000000;
	border-left-color: #000000;
}

label em {
	font: oblique .9em Georgia;
	color: #d6345d;
}

#submitform ul {
	margin-left: 12px;
	float: left;
	display: inline;
}

body#dmq-register p label em {
	margin:12px 0 0 12px;
}

/* ***********  News ************** */

#newsresults dt {
	border-top: 1px solid #e2e2e2;
	padding-top: 16px;
	margin: 16px 0 8px 0;
}

#newsresults dt a {
	font-size: 1.2em;
	padding: 2px 2px 2px 26px;
	border: 0;
	display: block;
	background: transparent;
}

#newsresults dt a:hover {
	background: transparent url(se2008_go_arrow.gif) no-repeat left center;
}

#newsresults dt a:hover {
	text-decoration: none;
	color: #333366;
}

#searchresults dd, #newsresults dd {
	margin: 0 0 0 26px;
}

#newsresults dd.date {
	margin-top: 8px;
	font-size: 90%;
	color: #333366;
}

#newsresults dd.author {
	display: none;
}

.searchcontrol {
	margin: 12px 0;
	color: #333333;
	font-size: .8em;
	font-weight: bold;
	padding: 8px;
	position: relative;
	/* background-color: #ccd6eb; */

}

.searchcontrol h2 {
	margin-bottom: 16px;
}

.searchcontrol ul, ol#pagination {
	list-style: none;
	margin: 0;
}
.searchcontrol ul li {
	width: 8em;
	margin: 0;
	text-align: center;
	background-color: #787680;
	color: #ffffff;
}

#searchresults div.searchcontrol ul li a:link, #searchresults div.searchcontrol ul li a:visited {
	display: block;
	background-color: #787680;
	color: #ffffff;
	padding: 4px;
	border: 1px solid #e2e2e2;
}


#searchresults div.searchcontrol ul li a:hover {
	background-color: #e2e2e2 ;
	color: #787680;
	text-decoration: none;
	border: 1px solid #626469;
}

.searchcontrol ul li.previous {
	position: absolute;
	left: 12em;
}

.searchcontrol ul li.next {
	position: absolute;
	right: 12em;
}

body#dmq-news-details div.text ul#newsinfo {
	list-style-type: none;
	margin: 10px 0;
	padding: 6px 0;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
}

/*********************************************************/

/* **                 Pagination list                 ** */


ol#pagination {
	text-align: center;
	margin-top: 12px;
	margin-left: 0;	
	padding-left: 0;
}

#searchresults div.searchcontrol ol#pagination li.paginator {
	float:none;
	display: inline;
	width: 4em;
	color: #787680;
	margin: 0 .5em;
}

#searchresults div.searchcontrol ol#pagination li.paginator span {
	top: -999em;
	position: absolute;
}

#searchresults div.searchcontrol ol#pagination li.paginator a {
	color: #ffffff;
	background-color: #787680;
	border-bottom: 0;
	padding: 4px;
}

#searchresults div.searchcontrol ol#pagination li.paginator a:hover {
	color: #787680;
	background-color: #e2e2e2;
	border-bottom: 0;
	padding: 4px;
}

/* =================  For the tabbed Getting here info ============= */
/* ================= IE doesn't understand any of this! ============= */

#container {
	width: 500px;
	position: relative;
	top: 12px;
	display: block;
}


#container h3 {
	font-size: 1em;
}

#container a {
	display: block;
	padding-top: 6px;
	width: 100px;
	height: 25px;
	text-align: center;
	background: transparent url(tab_off.gif) no-repeat top left;
	color: #333;
	text-decoration: none;
	border: 0;
}

#container a.tab {
	text-decoration: none;
}

#container a#tab2 {
	position: absolute;
	top: 0;
	left: 100px;
}

#container a#tab3 {
	position: absolute;
	top: 0;
	left: 200px;
}

#container a#tab4 {
	position: absolute;
	top: 0;
	left: 300px;
}

#container a#tab5 {
	position: absolute;
	top: 0;
	left: 400px;
	width: 100px;
	display: block;
}
	
#container a + div {
	display:none;
}

#container a.tab:focus {
	outline: 0;
	background: transparent url(tab_on.gif) no-repeat top left;
}

#container a.tab:hover {
	outline: 0;
	background: transparent url(tab_on.gif) no-repeat top left;
}

#container a.tab:focus + div, #container a.tab:hover + div {
	position: relative;
	top: -8px;
	left: 0;
	display: block;
	width: 490px;
	padding: 10px 0 10px 10px;
	background-color: #c6c5c5;
	color: #000000;
}

div#sitestat {
	display: none;
}