/*------------- TRSY HOMEPAGE ----------------------------------------*/
/* Updated: 22 Sept 2006, andy@motive.co.nz                           */
/* Updated: 13 Jan 2011, tim@emergetec.com (Matt Moes design updates) */
/**********************************************************************/

/*  (do not remove this :) */
/*  (not this either :) */

html, body , a{
	margin: 0;
	padding: 0;
	}

#portal-columns {
	clear: both;
	/* ########## Section commented out Matt Moes ########## border-top: 1px solid #001849;*/
	padding-bottom: 0;
	/* ########## Section added Matt Moes ########## */ 
	}	
	
#portal-column-content #content {
    margin: 0 0 0 0;
	}

.homepage #portal-column-one, .homepage #portal-column-two {
	display: none;
}

.homepage #content {
	margin: 0 1em 0 0;
	padding: 0;
}
	
.homepage #visual-column-wrapper {
	margin: 0; /* Wasn't working with the negative bottom margin */
	padding-bottom: 0;
	background: none; /* Background was 'leaking' through in FF */
}
	
#content .wrapperCol {
	position: relative;
}


/* ########## Section added Matt Moes ########## */
#col1of3 {
margin:5px 5px 0 0;
padding:8px;
float:left;
width:46.5%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */
#col2of3{
margin:5px 3px 0 10px;
padding:8px;
float:left;
width:22%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */
#col3of3 {
margin:5px 0 0 3px;
padding:8px;
float:left;
width:22.5%;
background-color:#fff;
}

/* ########## Section added Matt Moes ########## */
#col1of4 {
margin:0 5px 0 0;
padding:0 8px 8px 8px;
float:left;
width:21.25%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */
#col2of4 {
margin:0 7px 0 14px;
padding:0 8px 8px 8px;
float:left;
width:21.25%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */
#col3of4 {
margin:0 14px 0 7px;
padding:0 8px 8px 8px;
float:left;
width:21.25%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */
#col4of4{
margin:0 0 0 5px;
padding:0 8px 8px 8px;
float:left;
width:21.25%;
background-color:#fff;
}
/* ########## Section added Matt Moes ########## */

/* ########## Section added Matt Moes ########## */
#col1of2half {
margin:0 5px 2em 0;
padding:8px 8px 8px 0;
float:left;
width:44.25%; /* ########## Line updated (7 feb 2011) Matt Moes ########## */
background-color:#fff;
position: relative;
}
/* ########## Section added Matt Moes ########## */
#col2of2half {
margin:0 7px 2em 14px;
padding:8px 8px 8px 0;
float:left;
width:44.25%; /* ########## Line updated (7 feb 2011) Matt Moes ########## */
background-color:#fff;
position: relative;
}
/* ########## Section added Matt Moes ########## */

.adbox{
border: 1px solid #ccc;
margin-bottom:15px;
padding: 8px;
min-height: 100px;
min-width: 170px;
}

/*
.adbox img.image-left{

}*/

.adbox img {
   margin: 0.25em 1em 0.25em 0.25em; /* ########## Section added (7 feb 2011) Matt Moes ########## */   
}

.adbox a:hover{
text-decoration:underline;
}

.adbox a{
font-weight: bold;
color: #003399 !important; /* ########## Line added (7 feb 2011) Matt Moes ########## */
}

.adbox a:visited{
color: #555555 !important; /* ########## Section added (7 feb 2011) Matt Moes ########## */     
}

/* ########## Section added Matt Moes ########## */


.col2, .col2right {
	position: relative;
	width: 46.5%;
}
	
.wrapperCol .wrapperCol .col2, .wrapperCol .wrapperCol .col2right {
	width: 48.5%;
}	
	
.col2 {
	margin-left: 2%;
}

* html .col2 {
	margin-left: 1.2%;
}
	
.wrapperCol .wrapperCol .col2 {
	margin-left: 0;
}	

/*----- CATEGORY NAV (Deep-links to contentpages for each main section) ----*/

#wrapperNavCategory {
	margin: 0;
	padding: 0;
	/* ########## Section commented out Matt Moes ########## background: #ececec;*/
		/* ########## Section added Matt Moes ########## */background: #fff;
	overflow: hidden;
	height: 1%;
	font-size: .85em;
}
	
#navCategory {
	padding: 0px;
	background: #001849;	
}
	
#navCategory ul, #navCategory li {
	margin: 0;
	padding: 0;
	list-style: none;

}
#navCategory li {
	float: left;
	overflow: hidden;
	/* ########## Section commented Matt Moes ########## width:20%;*/
	/* ########## Section added Matt Moes ########## */width: 19.6%;
	display: block;
}
#navCategory li.last {
/*	width: 20%;*/
	float: left;
	right: -0px !important;
	width: 20.1%;
	position: absolute;
}
/* Safari 3 selector */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	#navCategory li.last { width: 20.4%; }
}
*:first-child+html #navCategory li.last {
	right: -0px !important;
	width: 20.2%;
	position: absolute;
}

* html #navCategory li.last {
	right: -0px !important;
	width: 20.2%;
	position: absolute;	
}

#navCategory li a {
	display: block;
	overflow: hidden; /* FF extends bg image over right float? */
	padding: 5px 0 7px 0;
	/* ########## Section added Matt Moes ########## */margin:2px;/* ########## Section added Matt Moes ########## */
	/* ########## Section commented out Matt Moes ########## background: #001849 url(http://www.treasury.govt.nz/bg-category-nav.jpg) repeat-x;*/
	/* ########## Section added Matt Moes ########## */background: #ffda45;/* ########## Section added Matt Moes ########## */
	text-indent: 8px;
	text-decoration: none;
	font-weight: bold;
	/* ########## Section commented out Matt Moes ##########color: #E6E8ED;*/
	/* ########## Section added Matt Moes ########## */color:#003399;
	/* ########## Section added Matt Moes ########## */text-align:center;
	
}
	
* html #navCategory li a {
	font-size: 0.9em;
}	
*:first-child+html #navCategory li a {
	font-size: 0.9em;
}
	
ul#navCategory li a:visited { color: #E6E8ED; }
ul#navCategory li a:hover { color: #000; }	
	
#navCategory li a:hover {
	/* ########## Section commented out Matt Moes ##########background: #c90 url(http://www.treasury.govt.nz/bg-category-nav-over.jpg) repeat-x;*/
	/* ########## Section added Matt Moes ########## */background: #fff8dc;
	color: #000;
}	
	
#navCategory ul {
	padding-top: 6px;
	padding-bottom: 300px;
	margin-bottom: -294px;
	background: #ececec url(http://www.treasury.govt.nz/bg-category.gif) no-repeat;
	width: 100%;
	float: left;
	
}
* html #navCategory li.last ul {
	width: 100%;
}
* html #navCategory li a {
	font-size: 0.9em;
}

#navCategory ul li {
	background: transparent;
	width: auto;
	float: none;
	padding: 0px;
	display: list-item;
	}
* html #navCategory ul li {
	height: 1em;
}	
#navCategory ul li a {
	position: relative;
	display: block;
	padding: 1px 0.25em 3px 8px;
	background: transparent;
	text-indent: 0;
	font-weight: normal;
	font-size: .89em;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}
	
#navCategory ul li a:visited {
	color: #000;
	}
	
#navCategory ul li a:hover {
	background: transparent;
	text-decoration: underline;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}	
	
#navCategory a.more, #navCategory a.more:hover {
	position: relative;
	padding: 0 14px 0 0;
	background: transparent url(http://www.treasury.govt.nz/bg-dd-right-1.gif) no-repeat;
	background-position: right center;
	text-align: right;
	font-weight: normal;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}
	
#navCategory ul li a.more:visited {
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}

	
/*---- TEXT ----*/

#content h1 {
	/* ########## Section commented out Matt Moes ########## */ /*margin-left: .6em;*/ /* ########## Section commented out Matt Moes ########## */
	margin-bottom: 0;
	padding-top: .4em;
	padding-bottom: .4em;
	font-weight: normal;
	/*color: ##001849;;*/color:#174269;
	/* ########## Section changed Matt Moes ########## */
	}	
/* ########## Section added Matt Moes ########## */ 	
#content h2 {
	color: #555555;
	font-size: 1.2em;
	}
/* ########## Section added Matt Moes ########## */ 
	
/* ########## Section changed Matt Moes ########## */ 
#content h3 {
	font-size: 1em;
	}
/* ########## Section changed Matt Moes ########## */ 

#content h3.first { /* Spotlight... */
	}	
	
#content h4 {
	font-size: .9em;
	}	

#content p.intro {
	line-height: 1.4em;
	font-size: .93em;
	}

#content p, #content ul {
	line-height: 1.2em;
	font-size: .8em;/* ########## Section changed from 0.93 Matt Moes ########## */ 
	}
	
#content .alert p {
	line-height: 1.2em;
	font-size: .79em;
	color: #333;
	}
	
.alert {
	margin-top: .6em;
	border: 1px solid #ccc;
	padding: .4em .4em .6em .4em;
	}	
	
.col2right {
	padding-bottom: .4em;
	}	
	
#content ul.inline {
	margin-top: 0;
	margin-bottom: .6em;
	padding: 2% 2.5% 2.5% 2.5%;
	background: #ececec;
	font-size: .75em;
	}

#content .inline li {
	display:inline;
	margin: 0;
	padding: 0;
	background: transparent;
	background-image: none;
	line-height: 1.2em;
	padding-left: 10px;
	}
	
#content .inline a {
	position: relative;
	padding-left: 0px;
	background: none;
	background-position: left .45em;
	/* ########## Section commented out Matt Moes ########## */
	/*
	text-decoration: underline; */
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}
	
* html #content .inline a {
	background-attachment: fixed; /* FF won't show image if fixed */
	}	
	
#content .inline a:hover {
	text-decoration: underline;
	color:#000;
	}	
	
#content .inline a.first {
	padding-left: 0;
	background-image: none;
	}	
	
#content .inline li+li:before {
	padding: 0 .5em 0 0;
	}
	
dl.otherBlurb {
	margin-top: 0;
	font-size: .85em;
	}
	
.otherBlurb {
	padding-top: .2em;
	background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	}
	
.otherBlurb dt {
	display: inline;
	margin: 0;
	padding: 0;
	}
	
.otherBlurb dt a {
	margin-top: .2em;
	text-decoration: none;
	}
	
.otherBlurb dt a:hover {
	text-decoration: underline;
	}	

#content .otherBlurb dd {
	margin: 0;
	padding: 0 0 .2em 0;
	background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	background-position: left bottom;
	line-height: 1.2em;
	}	

dl.figure-feature {
	clear: both;
	margin: 0 0 .4em 0;
	padding: 8px 12px 8px 12px;
	background: #ececec;
	}	
	
* html dl.figure-feature {
	height: 1%;
	}	

#content .figure-feature dt {
	margin-right: 0;
	margin-bottom: .4em;
	line-height: 1.2em;
	font-weight: bold;
	font-size: .93em;
	color: #000;
	}
	
.figure-feature dt strong {
	font-weight: bold;
	color: #000;
	}
	
.figure-feature dt a {
	text-decoration: none;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}
	
.figure-feature dt a:hover {
	text-decoration: underline;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}

#content .figure-feature dd {
	margin-top: 0;
	margin-left: 0;
	font-size: .93em;
	margin-bottom: 0em; /* override base.css */
	height: 100%;
	}
	
#content .figure-feature dd IMG {
	display: block;
	float: left;
	width: 120px;
	margin-left: 0;
	padding-top: .2em;
	padding-right:6px;
	}
	
#content .figure-feature dd p {
	margin-right: 0;
	font-size: .85em;
	line-height: 1.2em;
	}
	
.clear:after, .figure-feature dd:after {
    content: '.'; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}	
	
#content .contentInset .figure-feature dd {
	color: #000;
	}	
	
.figure-feature cite {
	font-weight: bold;
	font-style: normal;
	}
	
.figure-feature dd a.more {
	display: block;
	border-bottom: none;
	}	
	
#portal-footer {
	margin: 0;
	border-top: 0 none;
	}
	
#content #portal-footer ul, #govtnzlink {
	margin-right: .8em;
	}	
	
a.more, a.more:visited {
	text-decoration: none;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	}

a.more:hover {
	text-decoration: underline;
	}	
	
.more span {
    position: absolute;
    top: -200px;
    left: -200px;
    display: block;
    background: transparent;
    background-image: none; /* safari bug */
    border: none;
    height: 1px;
    overflow: hidden;
    padding: 0;
    margin: -1px 0 0 -1px;
    width: 1px;
	}
	
.events .date {
	display: block;
	text-indent: 0;
	}	
	
/*---- NEWS/EVENTS ----*/	
	
.wrapperNewsEvents {
	position: relative;
	clear: left;
	padding-top: .4em;
	/* ########## Section added Matt Moes ########## */
	border: 1px solid #ccc;
	padding: 8px;
	margin-bottom: 20px;
	/* ########## Section added Matt Moes ########## */
	}

#content .wrapperNewsEvents h3 {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: .4em;
	/* ########## Section commented out Matt Moes ########## */
	/*
	background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	background-position: left bottom;*/
	}	

#content ul.newsEvents {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: .75em;
	}
	
.date {
	font-weight: normal;
	color: #3c3c3c;
		/* ########## Section added Matt Moes ########## */padding-left: 15px;
	}	
	
#content .newsEvents li {
	margin: 0;
	padding: 0 0 .6em 0;
	/* ########## Section commented out Matt Moes ########## */
	/*background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	background-position: left bottom;*/
	/* ########## Section commented out Matt Moes ########## */
	line-height: 1.2em;
}	

.newsEvents a {
	display: block;
	margin-top: .4em;
	margin-bottom: .2em;
	/* ########## Section added Matt Moes ########## */padding-left: 15px;
	background: #fff url(http://www.treasury.govt.nz/bg-box.gif) no-repeat;
	background-position: left .15em;
	line-height: 1.1em;
	/* ########## Section removed Matt Moes ########## *//*text-indent: 15px;*/
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
		/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	
}

.newsEvents a:hover {
	text-decoration: underline;
	background: #fff url(http://www.treasury.govt.nz/bg-box-hover.gif) no-repeat;/* ########## Section added Matt Moes ########## */
	background-position: left .15em;/* ########## Section added Matt Moes ########## */
}	

.newsEvents a.more, .figure-feature a.more {
	margin: 0;
	padding: 0;
	background: transparent;
	text-indent: 0;
	font-size: 1em;
}

/* ########## Section added Matt Moes ########## */
#content ul.relatedsites{
	margin: 0;
        padding: 0 0 2px 0; /* ########## Line updated (7 feb 2011) Matt Moes ########## */ 
	font-size: .75em;	
	list-style-type: none;
}
/* ########## Section added Matt Moes ########## */
#content .relatedsites li{ 
	margin: 0;
	padding: .1em 0 .1em 0;
	list-style-type: none;
}
/* ########## Section added Matt Moes ########## */	
.relatedsites a {
	display: block;
	margin-top: .1em;
	margin-bottom: .1em;
	background: #fff8dc  url(http://www.treasury.govt.nz/bg-box.gif) no-repeat;
	background-position: 10px .7em;
	line-height: 1.4em;
	text-indent: 25px;
	text-decoration: none;
	font-weight: bold;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	list-style-type: none;
	padding: .4em 0 .4em .0;
}
/* ########## Section added Matt Moes ########## */
.relatedsites a:hover {
	text-decoration: underline;
	background: #fff8dc  url(http://www.treasury.govt.nz/bg-box-hover.gif) no-repeat;
	background-position: 10px .7em;
}	
/* ########## Section added Matt Moes ########## */
#content ul.topics {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: .75em;
	}
/* ########## Section added Matt Moes ########## */
#content .topics li {
	margin: 0;
	padding: 0 0 .6em 0;
	/* ########## Section commented out Matt Moes ########## */
	/*background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	background-position: left bottom;*/
	/* ########## Section commented out Matt Moes ########## */
	line-height: 1.2em;
}	
/* ########## Section added Matt Moes ########## */
.topicspan {
	font-weight: normal;
	padding-left: 15px;
	}	
/* ########## Section added Matt Moes ########## */
.topics a {
	display: block;
	margin-top: .4em;
	margin-bottom: .2em;
	padding-left: 15px;
	background: #fff url(http://www.treasury.govt.nz/bluebullet.gif) no-repeat;
	background-position: left .15em;
	line-height: 1.1em;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	color:#003399;

}
/* ########## Section added Matt Moes ########## */
.topics a:hover {
	text-decoration: underline;
    background: #fff url(http://www.treasury.govt.nz/bluebullet-hover.gif) no-repeat;
	background-position: left .15em;
}	

/* ########## Section added Matt Moes ########## */


#content ul.bulletarrow {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: .75em;
	}
/* ########## Section added Matt Moes ########## */
#content .bulletarrow li {
	margin: 0;
	/* ########## Section changed Matt Moes ########## */padding: 0 0 0.5px 0;/* ########## Section changed Matt Moes ##########
	/* ########## Section commented out Matt Moes ########## */
	/*background: #fff url(http://www.treasury.govt.nz/bg-divider-1.gif) repeat-x;
	background-position: left bottom;*/
	/* ########## Section commented out Matt Moes ########## */
	line-height: 1.2em;
}	
/* ########## Section added Matt Moes ########## */
.bulletarrowspan {
	font-weight: normal;
	padding-left: 15px;
	}	
/* ########## Section added Matt Moes ########## */
.bulletarrow a {
	display: block;
	margin-top: .4em;
	margin-bottom: .2em;
	/* ########## Section added Matt Moes ########## */padding-left: 15px;
	background: #fff url(http://www.treasury.govt.nz/bg-box.gif) no-repeat;
	background-position: left 3px;
	line-height: 1.1em;
	/* ########## Section removed Matt Moes ########## *//*text-indent: 15px;*/
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
		/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
	
}
/* ########## Section added Matt Moes ########## */
.bulletarrow a:hover {
	text-decoration: underline;
		background: #fff url(http://www.treasury.govt.nz/bg-box-hover.gif) no-repeat;
	background-position: left 3px;
}	

/* ########## Section added Matt Moes ########## */

#content .index {
	margin: 0 .2em 0 0;
	padding: .2em .2em .4em 0;
	font-size: .79em;
	color: #ccc;
}

.index a, .index a:visited {
	text-decoration: none;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
}

.index a:hover {
	text-decoration: underline;
	/*color: #00356F;*/color:#003399;
	/* ########## Section changed Matt Moes ########## */
}


#portal-footer address {
	width: 54%;
	padding-left: 8px;
}

.pageTop { /* Adjusted for homepage */
	margin-top: .6em;
	margin-right: 8px;
	margin-bottom: 0;
}

/*  */
