/*------------- TRSY HOMEPAGE ---------------*/
/* Updated: 22 Sept 2006, andy@motive.co.nz  */
/*********************************************/

html, body {
	margin: 0;
	padding: 0;
	}

#portal-columns {
	clear: both;
	border-top: 1px solid #001849;
	padding-bottom: 0;
	}	

#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 0 -.6em 0;
	padding-bottom: 0;
	background-position: left top; /* AK */
}
	
#content .wrapperCol {
	position: relative;
}
	
.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;
	background: #E6E8ED;
	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;
	width: 20%;
	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;
	background: #001849 url(../bg-category-nav.jpg) repeat-x;
	text-indent: 8px;
	text-decoration: none;
	font-weight: bold;
	color: #E6E8ED;
}
	
* 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 {
	background: #c90 url(bg-category-nav-over.jpg) repeat-x;
	color: #000;
}	
	
#navCategory ul {
	padding-top: 6px;
	padding-bottom: 300px;
	margin-bottom: -294px;
	background: #E6E8ED url(../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;
	}
	
#navCategory ul li a:visited {
	color: #000;
	}
	
#navCategory ul li a:hover {
	background: transparent;
	text-decoration: underline;
	color: #00356F;
	}	
	
#navCategory a.more, #navCategory a.more:hover {
	position: relative;
	padding: 0 14px 0 0;
	background: transparent url(bg-dd-right.gif) no-repeat;
	background-position: right center;
	text-align: right;
	font-weight: normal;
	color: #00356F;
	}
	
#navCategory ul li a.more:visited {
	color: #00356F;
	}

	
/*---- TEXT ----*/

#content h1 {
	margin-left: .6em;
	margin-bottom: 0;
	padding-top: .4em;
	padding-bottom: .4em;
	font-weight: normal;
	color: #001849;
	}		
	
#content h3 {
	font-size: 1.2em;
	}
	
#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: .93em;
	}
	
#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: #E6E8ED;
	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;
	text-decoration: underline;
	color: #00356F;
	}
	
* 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(bg-divider.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(bg-divider.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: #E6E8ED;
	}	
	
* 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;
	}
	
.figure-feature dt a:hover {
	text-decoration: underline;
	color: #00356F;
	}

#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;
	}

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;
	}

#content .wrapperNewsEvents h3 {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: .4em;
	background: #fff url(bg-divider.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;
	}	
	
#content .newsEvents li {
	margin: 0;
	padding: 0 0 .6em 0;
	background: #fff url(bg-divider.gif) repeat-x;
	background-position: left bottom;
	line-height: 1.2em;
}	

.newsEvents a {
	display: block;
	margin-top: .4em;
	margin-bottom: .2em;
	background: #fff url(bg-box.gif) no-repeat;
	background-position: left .15em;
	line-height: 1.1em;
	text-indent: 15px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	color: #00356F;
}

.newsEvents a:hover {
	text-decoration: underline;
}	

.newsEvents a.more, .figure-feature a.more {
	margin: 0;
	padding: 0;
	background: transparent;
	text-indent: 0;
	font-size: 1em;
}

#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;
}

.index a:hover {
	text-decoration: underline;
	color: #00356F;
}

#portal-footer address {
	width: 54%;
	padding-left: 8px;
}

.pageTop { /* Adjusted for homepage */
	margin-top: .6em;
	margin-right: 8px;
	margin-bottom: 0;
}	
