/* -------------- Styles for containers -------------------- */
#container
{
/*    background: url(files/bg-left-col.gif/$File/bg-left-col);
    background-repeat: repeat-y; */
}
#main-container
{
    /* Hide from IE5 Mac \*/
    clear: right;
    /* end hack */
}
#content-container
{
    margin: 0 20px 0 158px;
    padding: 0 0 0 25px;
}
div#content-container.right-col-exists
{
    margin: 0 175px 0 158px;
    margin: 0 265px 0 158px;
}
/* -------------- header styles -------------------- */
#header
{
    width: 100%;
    height: 69px;
}
#main-nav-container
{
    margin: 0 20px 0 240px;
    height: 39px;
    padding-top: 28px;
    text-align: right;
}
#main-nav-container img
{
    float: left;
}
#logo
{
    width: 222px;
    float: left;
	padding: 0px;
	margin: 0px;
}
#search-etc
{
    background: url(files/corner-search.gif/$File/corner-search.gif) #fff;
    background-position: top left;
    background-repeat: no-repeat;
    text-align: right;
    line-height: 1em;
    padding: 0 20px 3px 15px;
    font-size: 1.1em;
    float: right;
    color: #465361;
}
#search-etc form
{
    display: inline;
}
#search-button
{
    /* Hide from IE5 Mac \*/
    position: relative;
    left: 0;
    top: 6px;
    padding-right: 10px;
    /* end hide from Mac */
}
#query
{
    padding: 2px 0 2px 2px;
    margin: 0;
    border: solid 1px #2f4a7f;
    width: 10em;
}
/* -------------- main navigation styles -------------------- */
#main-nav
{
    float: right;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.2em;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
    list-style: none;
    background:#324e80 url(files/mainNavBG.gif/$File/mainNavBG.gif) repeat-x;
}
#main-nav li a.current-main-nav
{
    color: #b0fffa;
}
#resources-nav, #contacts-nav, #news-nav, #contact-us-nav
{
    background-image: url(files/vertical-bar.gif/$File/vertical-bar.gif);
    background-repeat: no-repeat;
    background-position: top left;
}
#home-nav
{
    background-image: url(files/vertical-bar.gif/$File/vertical-bar.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
#main-nav li
{
    float: left;
    padding: 0;
    margin: 0;
}
#main-nav li#home-nav
{
    width: 5em;
}
#main-nav li#local-govt-nav
{
    width: 14.7em;
}
#main-nav li#councils-nav
{
    width: 8.2em;
}
#main-nav li#links-nav
{
    width: 4em;
}
#main-nav li#resources-nav
{
    width: 6em;
}
#main-nav a
{
    color: #fff;
    display: block;
    padding: 0 0.6em 0 0.6em;
}
#main-nav ul, #main-nav ul li, #main-nav ul li a
{
    visibility: hidden;
    display: none;
}
/* Commented backslash hides following rules from IE5-Mac \*/
#main-nav ul, #main-nav ul li, #main-nav ul li a
{
    visibility: visible;
    display: block;
}
#main-nav li#home-nav, #main-nav li#local-govt-nav, #main-nav li#councils-nav, #main-nav li#links-nav, #main-nav li#resources-nav
{
    width: auto;
}
#main-nav ul li a
{
    display: block;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1.5em;
    font-weight: normal;
    font-size: 0.9em;
    color: #000;
    text-align: left;
}
#main-nav li ul
{
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #EBEBEB;
    border-color: #2f4c7e;
    border-style: solid;
    border-width: 0.2em;
    position: absolute;
    left: -999em;
}
#main-nav li ul li
{
    float: none;
    display: inline;
    text-align: left;
}
#main-nav li:hover ul, #main-nav li.sfhover ul
{
    background-color: #EBEBEB;
    border-color: #2f4c7e;
    border-style: solid;
    border-width: 1px;
    left: auto;
    margin: 0;
}
#local-govt-nav ul
{
    width: 14.2em;
}
#councils-nav ul
{
    min-width: 10em;
}
#links-nav ul
{
    min-width: 11em;
}
#resources-nav ul
{
    min-width: 7.8em;
}
/* End IE5-Mac hiding rule */
/* -------------- left column styles including navigation -------------------- */
#left-col
{
    margin: 38px 0 0 0;
    width: 154px;
    padding: 0;
    float: left;
    background: url(files/bg-left-col.gif/$File/bg-left-col.gif);
    background-repeat: repeat-y;
    display: inline; /* used to counter the IE double margin bug */
}
#left-col-content
{
    background: url(files/top-left-col.gif/$File/top-left-col.gif);
    background-repeat: no-repeat;
    padding: 10px 0 0 15px;
}
#left-col-content h2
{
    margin: 0 0 5px 0;
    padding: 0 10px;
}
#accesskeys ul
{
    position: absolute;
    left: -999px;
}
ul#second-level-nav
{
    margin: 0;
    padding: 0 0 10px 0;
    list-style-type: none;
    background: url(files/bottom-left-col.gif/$File/bottom-left-col.gif);
    background-repeat: no-repeat;
    background-position: bottom left;
}
ul#second-level-nav li
{
    margin: 0 0 1px 0;
}
ul#second-level-nav  a
{
    display: block;
    padding: 5px 10px;
    width: 119px;
    color: #153565;
    text-decoration: none;
}
ul#second-level-nav a:hover
{
    color: #153565;
    background-color: #fff;
    text-decoration: none;
}
ul#second-level-nav ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul#second-level-nav ul li
{
    margin: 0 0 1px 0;
    font-size: 0.9em;
}
ul#second-level-nav ul a
{
    display: block;
    padding: 3px 5px 3px 25px;
    width: 109px;
    color: #153565;
    text-decoration: none;
}
ul#second-level-nav ul a:hover
{
    color: #153565;
    background-color: #fff;
    text-decoration: none;
}
li#second-level-nav-on
{
    color: #465361;
}
span.current-state
{
    font-weight: bold;
    color: #2a292f;
}
/* -------------- right column styles -------------------- */
#right-col
{
    width: 220px;
    margin: 12px 28px 0 0;
    float: right;
    display: inline;
    color: #4f4f4f;
}
.right-col-box
{
    background: url(files/top-right-col.gif/$File/top-right-col.gif);
    background-repeat: no-repeat;
    padding-top: 5px;
    margin-bottom: 15px;
}
.right-col-box-content
{
    background: url(files/bottom-right-col.gif/$File/bottom-right-col.gif);
    background-repeat: no-repeat;
    background-position: bottom left;
    padding: 0 9px 5px 11px;
}
.right-col-box-content h2
{
    margin-top: 5px;
    font-size: 1.1em;
}
.right-col-box-content p
{
    text-align: left;
}
.right-col-box-content ul
{
    margin: 0;
    padding: 0 0 15px 0;
    list-style: none;
}
.right-col-box-content li
{
    margin-left: 0;
    padding: 7px 0 0 0;
}
.right-col-box-content fieldset.checkbox
{
    border: none;
    margin: 0 0 1em 0;
    padding: 0;
}
.right-col-box-content fieldset legend
{
    font-weight: bold;
    padding-bottom: 0.5em;
}
.right-col-box-content fieldset label
{
    display: block;
    white-space: nowrap;
    margin-bottom: 0.25em;
}
.right-col-box-content form
{
    margin: 0 0 1em 0;  
}
/* -------------- content styles -------------------- */
#content
{
    padding: 0 20px 20px 0;
    float: left;
	width: 99%;
/*    max-width: 60em;*/
}
#content *
{
    max-width: 60em;
}
#breadcrumbs
{
    background: #fff;
    margin: 0;
    padding: 20px 25px 0 0; 
    font-size: 0.9em;
    color: #aaa;
}
#breadcrumbs a
{
    color: #000;
}
#breadcrumbs span.current
{
    color: #2f4c7e;
}
#content a:link, #content a:visited
{
    color: #104E8B;
    text-decoration: underline;
}
#content a:hover, #content a:active
{
    color: #104E8B;
    text-decoration: none;
}
#content a.no-ul:link, #content a.no-ul:visited
{
    color: #465361;
    text-decoration: none;
}
#content a.no-ul:hover, #content a.no-ul:active
{
    color: #465361;
    text-decoration: underline;
}
#content ul
{
    margin: 0 0 0 15px;
    padding: 0;
}
#content li
{
    margin-left: 15px;
    padding: 0 0 0.75em 0;
    text-align: left;
    list-style-image: url(files/bullet.gif/$File/bullet.gif);
}
#content ol
{
    margin: 0;
    padding: 0.4em 0 0.6em 2.5em;
}
#content ol li ol
{
    padding-top: 1em;
    padding-bottom: 0;
    margin-bottom: 0;
}
#content ol li ol li
{
    padding-bottom: 0.6em;
}
ol.alegal
{
    font-style: italic;
}
ol.ilegal li:before
{
    display: marker;
    content: "(" counter(lli, lower-roman) ")";
    counter-increment: lli;
    margin: 0;
    margin-right: 2em;
    padding: 0.4em 0 0.6em 2.5em;
}
#content ol.notes
{
    margin: 0;
    padding: 0 0.5em;
    font-size: 0.9em;
    font-style: normal;
}
#content ol.notes li
{
    margin-bottom: 0.5em;
}
#content #viewindex
{
    font-size: 0.85em;
}
#content ul.alternate-row-background-list
{
    margin: 0 0 1em -10px;
    padding: 0;
    list-style-type: none;
    list-style-image: none; /* required to make IE6 and 7 not display bullets */
    position: relative;
}
#content ul.alternate-row-background-list li
{
    margin: 0;
    padding: 0.3em 0.5em 0.3em 10px;
    list-style-type: none;
    list-style-image: none; /* required to make IE6 and 7 not display bullets */
}
#content ul.alternate-row-background-list li.odd
{
    background: #edf7ff;
}
#content ul.alternate-row-background-list li a:link, #content ul.alternate-row-background-list li a:visited
{
    text-decoration: none;
}
#content ul.alternate-row-background-list li a:hover, #content ul.alternate-row-background-list li a:active
{
    text-decoration: underline;
}
.hidden
{
    position: absolute;
    left: -999em;
}
#content img.twistie
{
    display: inline;
    padding-right: 5px;
}
#content div.service-type
{
    margin: 0.5em 0;
}
#content div.service-type a:link, #content div.service-type a:visited
{
    text-decoration: none;
}
#content div.service-type a:hover, #content div.service-type a:active
{
    text-decoration: underline;
}
#content div.service-type a img
{
    text-decoration: none;
}
div.service-type h2
{
    display: inline;
}
#content div.service-type-contacts ul.alternate-row-background-list li
{
    padding-left: 26px;
}
#content img.right
{
    float: right;
    padding: 0 0 1em 20px;
}
/* -------------- nz map styles -------------------- */
#map
{
    width: 260px;
    height: 400px;
    position: relative;
    background:url(files/New_Zealand-Map_Regions.png/$File/New_Zealand-Map_Regions.png) no-repeat;
    background-position: top left;
    display:block;
    z-index: 1;
    float:right;
    margin-left: 10px;
    border:none;
}
#map img
{
    position: absolute;
    top: 0;
    left: 0;
}
#map a
{
    font-size: 0.75em;
}
#map a:link, #map a:visited
{
    text-decoration: underline;
}
#map a:hover, #map a:active
{
    text-decoration: none;
}
#northland
{
    position: absolute;
    top: 12px;
    left: 139px;
    z-index: 10;
}
#auckland
{
    position: absolute;
    top: 45px;
    right: 125px;
    z-index: 10;
}
#bay-of-plenty
{
    position: absolute;
    top: 42px;
    left: 164px;
    z-index: 10;
}
#waikato
{
    position: absolute;
    top: 65px;
    right: 125px;
    z-index: 10;
}
#gisborne
{
    position: absolute;
    top: 72px;
    left: 196px;
    z-index: 10;
}
#taranaki
{
    position: absolute;
    top: 83px;
    right: 135px;
    z-index: 10;
}
#hawkes-bay
{
    position: absolute;
    top: 95px;
    left: 174px;
    z-index: 10;
}
#manawatu
{
    position: absolute;
    top: 114px;
    left: 167px;
    z-index: 10;
}
#wellington
{
    position: absolute;
    top: 130px;
    left: 156px;
    z-index: 10;
}
#nelson
{
    position: absolute;
    top: 102px;
    right: 137px;
    z-index: 10;
}
#tasman
{
    position: absolute;
    top: 122px;
    right: 162px;
    z-index: 10;
}
#marlborough
{
    position: absolute;
    top: 146px;
    left: 128px;
    z-index: 10;
}
#canterbury
{
    position: absolute;
    top: 177px;
    left: 102px;
    z-index: 10;
}
#west-coast
{
    position: absolute;
    top: 150px;
    right: 180px;
    z-index: 10;
}
#otago
{
    position: absolute;
    top: 201px;
    left: 92px;
    z-index: 10;
}
#southland
{
    position: absolute;
    top: 227px;
    left: 64px;
    z-index: 10;
}
#chatham-islands
{
    position: absolute;
    top: 190px;
    left: 189px;
    z-index: 10;
}
/* -------------- footer styles -------------------- */
#footer-container
{
    margin: 0;
    padding-bottom: 20px;
    clear: both;
    width: 100%;
}
#footer-container hr
{
    clear: both;
    border: 0;
    width: 100%;
    color: #566697;
    background-color: #566697;
    height: 1px;
    position: relative;
    top: -1px;
margin: 0;
}
ul#footer-links
{
    background: url(files/bg-footer.gif/$File/bg-footer.gif) #566697;
    background-repeat: no-repeat;
    background-position: top left;
    float: right;
    color: #fff;
    padding: 0 20px 4px 23px;
    margin: 5px 0 0 0;
    font-size: 1.1em;
    line-height: 1.5em;
    height: 1.4em;    
}
ul#footer-links li
{
    float: left;
    margin: 0;
    padding: 0 1em 0 0;
    list-style-image: none;
    list-style-type: none;
    display: block;
}
#footer-links a
{
    color: #fff;
}
/*
#footer-logo
{
    border-top: 1px solid #465361;
    clear: both;
    margin-left: 12px;
}
#footer-logo a img
{
    margin-top: 9px;
}
*/
#content li.pinhead
{
	border: 0px solid green;
	list-style-image: url(files/pinheadMedium.gif/$file/pinheadMedium.gif);
	margin-top: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
}	
.siteMap tr
{
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.siteMap td
{
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.viewEntryContainer
{
	/*border-top: 1px solid #c0c0c0;*/
	border-bottom: 1px solid #c0c0c0;
/*	border: 1px solid purple;*/
	padding-bottom: 2px;
	margin-bottom: 6px;
}
.viewEntryTitleContainer
{
	font-weight: bold;
	padding-top: 10px;
	font-size: 0.9em;
	padding-left: 3px;
/*	border: 1px solid blue;*/
}
.viewEntryDescriptionContainer
{
	padding-top: 4px;
	margin-bottom: 2px;
	font-size: 0.9em;
	padding-left: 20px;
	line-height: 1.8;
	/*border: 1px solid green;*/
}
.viewEntryContactContainer
{
	border: 1px solid #e1e1e1;
/*	background-color: white;*/
	background-color: #f7f7f7;
	margin-top: 6px;
	padding-left: 4px;
	padding-bottom: 4px;
	margin-bottom: 5px;
}
.contentHeadingGreyBox
{
	border: 1px solid #c0c0c0;
	background-color: #efefef;
	height: 22px;
}
.contentHeadingGreyBoxText
{
	font-size: 0.9em;
	color: #4f4f4f;
	font-weight: bold;
	padding-left: 3px;
	padding-top: 4px;
}
