* {
margin:0;
padding:0;
border:0;
}

html, body {
min-height: 100.1%;
}

body {
font-size: 76%;
font-weight: 500;
line-height: 1;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #333333;
background: #e0e0e0 url("/images/framework/shadow-background.jpg") repeat-y center;
}

p, ul, ol, dl, table {
font-size: .9em;
}
ul ul, ol ol, ul ol, ol ul, p input {
font-size: 1em;
}

img {
border: 0;
}

a {
color: #005196;
cursor: pointer;
/*text-decoration: none;*/
}

a:visited {
color: #665196;
}

a:hover, a:focus {
color: #6697c0;
text-decoration: underline;
}

.hide, #skip {
position: absolute;
top: -5000px;
left: -5000px;
}


fieldset {
border: 0;
}

.floatwrapper {
min-height: 1%;
}

.floatwrapper:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden; 
}

.replace {
position: relative;
overflow: hidden;
}

.replace em {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
background-color: transparent;
background-repeat: no-repeat;
}

.replace a em, a.replace em {
cursor: pointer;
}

.clearer {
line-height: 0.0; 
clear: both;
}

/*wrapper
++++++++++++++++++++++++++++*/
#wrapper {
padding-bottom: 2em;
background: #ffffff url("../images/mpc/left_grad.jpg") no-repeat 0 0;
width: 980px;
margin: 0 auto;
}

/*header
++++++++++++++++++++++++++++*/
#header {
background: url("/images/mpc/spiro_new.gif") 5px -3px no-repeat;
width: 960px;
position: relative;
margin-right: 20px;
}

#header img {
display: block;
}


/* colour contrast to banner, pos to fit by logo */
#skip:focus, #skip:active {
top: 0.2em;
left: 160px;
color: blue;
font-weight: bold;
padding: 0.2em 1em;
}

#right-logos {
position: absolute; top:8px; right:0;
}

#RBNZ_logo {
background: white;
padding: 8px;
}

#right-logos p {
line-height: 1.2;
padding-left: 6px;
}

#right-logos a {
text-decoration: none;
}

#mainwrapper-outer {
/*margin: 0 18px 0 212px;
width: 750px;*/
width: 980px;
}



/*subnavwrapper
++++++++++++++++++++++++++++*/
#subnavtop{
width: 193px;
height: 5px;
font-size: 1px;
line-height: 1px;
background-image: url("/images/mpc/bg-subnavtop.gif");
}

#subnavbot{
width: 193px;
height: 7px;
font-size: 1px;
line-height: 1px;
background-image: url("/images/mpc/bg-subnavbot.png");
}

#subnavwrapper {
float: left;
/*position: relative;
margin-left: -212px;*/
width: 212px;
font-size:90%;
}

#subnavwrapper ul {
list-style-type: none;
margin: 0 19px 0 23px;
background: transparent url("/images/mpc/bg-subnavouter-right.gif") repeat-y right top;
}

#subnavwrapper li {
border-top: 1px solid #6697c0;
background: transparent url("/images/mpc/bg-subnavouter-item.gif") repeat-y;
padding-left: 13px;
margin-right: 8px;
}
/*
#subnavwrapper li.expanded {
border-top: none;
}*/

#subnavwrapper ul ul {
border: none;
border-left: 1px solid #cc0033;
border-right: none;
margin: 0 -16px -1px -1px;
position: relative;
background: #fff url("/images/mpc/bg-subnavinner-right.gif") repeat-y right top;
}

#subnavwrapper ul ul li {
border-right: 1px solid #cc0033;
border-top: 1px solid #cc0033;
border-bottom: 1px solid #cc0033;
margin-bottom:0;
margin-top:-1px;
background-image: none;
padding-left: 13px;
margin-right: 7px;
}

#subnavwrapper ul ul li a {
font-weight: normal;
}

#subnavwrapper ul li a.thispage {
border-top: 1px solid #cc0033;
border-left: 1px solid #cc0033;
border-right: 1px solid #cc0033;
color: #cc0033;
position: relative;
margin-right: -1px;
margin-left: -1px;
										border-bottom: 1px solid #cc0033;
}
#subnavwrapper li.expanded a.thispage {
margin-top: -1px;
}

#subnavwrapper .nochild a{
color: #cc0033;
}

#homepage #subnavwrapper ul li a.thispage {
border-top: none;
border-left: none;
border-right: none;
margin-right: 0px;
margin-left: 0px;
}

#subnavwrapper ul ul li.first {
padding-top: 6px;
border-top: 1px solid #cc0033;
}

#subnavwrapper ul ul li.last {
border-bottom: 1px solid #cc0033;
padding-bottom: 6px;
}

#subnav li a {
display: block;
padding: 0.35em 6px;
background: white;
font-weight: bold;
line-height: 1.4;
color: #333;
text-decoration: none;
}

#subnav li a:hover, #subnav li a:focus {
text-decoration: underline;
color: #cc0033;
}

#subnav li ul a {
}



/*content
++++++++++++++++++++++++++++*/
#content {
border-top: 1px solid white;
margin-left: 222px;
width: 740px;
}

#content p {
line-height: 1.3;
margin-top: 1em;
margin-bottom: 1em;
}

#content li {
line-height: 1.3;
margin-top: 1em;
margin-bottom: 1em;
}

#content h1 {
color: #6697c0;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 1em 0 0;
font-size: 1.4em;
}

#content h1.Title {
color: #005196;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 1.2em 0 1em 0;
padding-bottom:.3em;
font-size: 1.6em;
border-bottom:1px #eee solid;
}

#content h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 1em 0 0;
font-size: 1.0em;
}
#content h3 {
margin: 1em 0 0;
font-size: 1.0em;
}

#content table {
border-collapse: collapse;
margin: 1em 0;
border:1px #333 solid;
}

#content th, #content td {
vertical-align: top;
border:none;
padding: 0.3em;
}
	
.statstable table{
border: 1px solid #ccc;
}

#content td p,#content th p{
	margin:0;
	padding:0;
	}
	
#content th p{
	text-align:left;
	}

#content ul {
margin: 1.3em;
margin-left: 1.6em;
}

#content ul li {
margin: 0 0 .3em .5em;
}

#content ol{
margin: 1.3em;
margin-left: 1.6em;
}

#content ol li {
margin: 0 0 .3em .5em;
}



#news {
float: right;
width: 192px;
margin: 0 0 16px 16px;
}

#content #news h2 {
background: #6697c0 url("/images/mpc/news-curve-bg.gif") no-repeat left bottom;
text-transform: uppercase;
margin: 0 0 0 0;
padding: 0.8em 0 1.3em 0;
text-align: center;
font-size: 0.85em;
color: white;
}


#content #news ul {
border-top: 1px solid #CDDCEB;
list-style-type: none;
margin: 0 0 0 0;
min-height: 192px;
background: #fff url("/images/mpc/news-grad.jpg") repeat-x;
}


#content #news li {
list-style-type: none;
margin: 1em 14px 1.2em 14px;
}


#content #news p {
margin: 0 0 1.2em 0;
font-size: 1em;
}

#content #news p strong {
text-transform: uppercase;
}



/*footnotes
++++++++++++++++++++++++++++*/

.line {
width: 99%;
height: 1px;
margin: 0 auto;
border-top: solid 1px #cccccc;
line-height: 1px;
font-size: 1px;
}

#footnotes {
font-style: italic;
}

#footnotes ol {
color: #666;
list-style-position: inside;
}

#footnotes li {
/*padding-top: 0.8em;*/
}



/*footer
++++++++++++++++++++++++++++*/
#content #footer {
clear: both;
}

#content #footer p {
margin: 0 0 0 0;
}

#content #footer ul, #content #footer li, #content #footer p {
margin-left: 0;
display: inline;
font-weight: bold;
}

#content #footer li {
background: url("/images/mpc/striped-bullet.gif") no-repeat 0px 3px;
padding-left: 16px;
margin-left: 8px;
}

#content #footer a {
color: #333;
text-decoration: none;
}

#content #footer a:hover, #footer a:focus {
/*background-color: #999;*/
}

p#back-to-top {
margin: 16px 0 28px 0;
}

hr{
	color: #666;
	background-color: #ccc;
	height: 1px;
	border:0;
	}

	
/* ---------------------------------------- Forms ---------------------------------------- */

input,textarea{
	border:1px #888 solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:10pt;
	padding:1px 1px 1px 2px;
	margin:4px 8px 4px 0px;
	}

textarea,.wideinput{
	width:352px;
	}
	
input{
	width:169px;
	}

form{
	margin:0;
	padding:0;
	}

#mpcentryform{
	background:#f8f8f8;
	border-left:1px #ddd solid;
	border-right:1px #ddd solid;
	border-bottom:1px #ddd solid;
	padding:0 0 10px 0;
	width:500px;
	}

#mpcentryform table,tr,td{
	margin:0;
	}
	
#mpcentryform table{
	border:0;
	}
	
#mpcentryform td{
	margin:0;
	padding:0;
	}
	
#mpcentryform td p{
	margin:0;
	padding:6px 4px 0px 4px;
	}
	
#mpcentryform td p.formlabel{
	margin:0;
	padding:8px 4px 0 0;
	color:#666;
	}	

#mpcentryform table h2{
	background: #eee url("/images/mpc/formheadingback.gif");
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top:8px;
	margin-bottom:6px;
	padding:5px;
	border-top:1px #ddd solid;
	border-bottom:1px #fff solid;
	font-size:9pt;
	color:#333;
	}
	
#mpcentryform table h2.first{
	margin-top:0px;
	}

input:hover,textarea:hover{
	border:1px #666 solid;
	}
	
input:focus,textarea:focus{
	border:1px #6697c0 solid;
	color:#036;
	background: #fff url("/images/mpc/formactiveinputback.gif");
	}
	
.mpcsubmit{
	background:#ccc url("/images/mpc/formsubmitback.gif");
	border:1px #666 solid;
	margin-left:190px;
	padding:2px 4px 2px 4px;
}

.mpcsubmit:hover{
	background:#ccc url("/images/mpc/formsubmitback_hover.gif");
	border:1px #888 solid;
}
	
#content .success{
	background:#efe url("/images/mpc/success_bg.gif");
	border:1px #0c0 solid;
	padding:3px;
	color:#060;
	}
	
#content .error{
	background:#fee url("/images/mpc/error_bg.gif");
	border:1px #c00 solid;
	padding:3px;
	color:#600;
	}
