.wrap{
width:1040px;
margin:0 auto 0 auto;
}

.clear{
both;
}

a { color:#007BBA; text-decoration:none; }
.right { float:right; }


/* ----------------------------
 * Top Menu
 * ----------------------------- */
#topMenu { background:#FFB600; }
#topMenu ul { margin:0 auto; width:950px; }
#topMenu ul li a { color:#603107; text-decoration:none; margin-left: 5px;}
#topMenu ul li a:hover { color:#FFF; }


/* ----------------------------
 * Header
 * ----------------------------- */
#header { 
margin:0 auto; 
overflow: visible; 
padding:10px 0 0 0; 
position:relative; 
width:857px; 
z-index: 100;
}

#logo { 
background:url(../images/TOTSMv4-TDC.jpg) no-repeat;  
display:block; 
height:0; 
margin:0 0 10px 0; 
padding:60px 0 0 0; 
overflow:hidden; 
width:189px; 
float:right;
}

#NCClogo { 
background:url(../images/TOTSMv4-NCC.jpg) no-repeat; 
display:block; 
height:0; 
margin:0 0 10px 0; 
padding:60px 0 0 0; 
overflow:hidden; 
width:218px; 
float:right;
}



/* ----------------------------
 * Navigation
 * ----------------------------- */

#Nav{
background-color:#D3EEF9;
width:100%;
}

ul#navigation { 
display:block; 
border:none; 

margin:0 auto 0px auto; 
height:33px; 
padding:0; 
width:1040px; 
z-index:11; 
}
ul#navigation li { 
text-align:center;
display:block; 
float:left; 
list-style:none; 
margin:0 5px 0 0; 
padding:0; 
position:relative; 
z-index:12; 

}

ul#navigation li ul li{ 
text-align:left;
}
ul#navigation li a { 
color:#000; 
display:block; 
padding:3px 16px 3px 16px; 
text-decoration:none; 
z-index:13; 
overflow:hidden;
}
ul#navigation li a.current, ul#navigation li a.section { 
background-color:#69BBF7; 
color:#FFFFFF; 

overflow:hidden;
} 
ul#navigation li ul { 
background:#E0F2F9; 
position:absolute; 
left:0; 
top:31px; 
display:none; 
overflow:hidden; 
padding:0px 0 0px 0; 
z-index:14; 
width:190px; 

}
ul#navigation li ul li { 
display:block; 
float:none; 
margin:0; 
z-index:15; 
}
ul#navigation li ul li a { 
background:#E0F2F9; 
display:block; 
font-size:0.6em; 
color:#333333; 
z-index:16; 
zoom:100%; 
border-bottom:1px solid #CCCCCC;
}
ul#navigation li ul li a:hover { 
background:#D3EEF9; 
}
ul#navigation li:hover { 
background:#E0F2F9; 
}
ul#navigation li:hover a.current { 
background:#E0F2F9; 
color:#007BBA;  
}
ul#navigation li:hover ul { 
display:block; 
}


/* ----------------------------
 * Layout
 * ----------------------------- */
.home { margin-top: 16px; }
#layout { 
margin:0 auto 0; 
overflow:hidden; 
padding:0; 
width:1040px; 
z-index:1; 
height:100%;
}
#content { 
clear:both;
-webkit-box-shadow: inset 6px 0px 4px -6px #b5b5b5;
-moz-box-shadow: inset 6px 0px 4px -6px #b5b5b5;
box-shadow: inset 6px 0px 4px -6px #b5b5b5;
height:100%;
width: 700px; 
margin-right:60px;
padding: 16px 0 60px 40px; 
float:right; 
}

#IE_old #content { 
border-left:1px solid #ccc;
}


/* ----------------------------
 * Footer
 * ----------------------------- */
#footer { clear:both; background:#EFF4F8; border-top:1px solid #007BBA; border-bottom:1px solid #007BBA; padding:32px 0 20px 0; }
#footer a { color:#000; }
#footer .columnset { margin:0 auto; overflow:hidden; width:960px;}

#quicklinks ul { margin:0; padding:0; overflow:hidden; width:705px; }
#quicklinks ul li { display:block; float:left; list-style:none; margin:0; padding:0; width:235px; }

#pageDetails { border-right:1px solid #007BBA; }
#pageDetails ul { margin:0 0 20px 0; }
#pageDetails ul li { margin:0 0 8px 0; }


/* ----------------------------
 * Bottom Menu
 * ----------------------------- */
#bottomMenu { 
clear:both;
margin:0px 0 16px 0;
background-color:#D3EEF7;
padding:5px 30px;

}
#bottomMenu ul { margin:0 auto; width:960px; }
#bottomMenu ul li a { color:#000; text-decoration:none; }


/* SIDEBAR
-------------------------------------- */
#Sidebar { 

 	width: 240px;

	background-color:#fff;
	-webkit-box-shadow: 6px 0px 4px -6px #b5b5b5;
-moz-box-shadow: 6px 0px 4px -6px #b5b5b5;
box-shadow: 6px 0px 4px -6px #b5b5b5;

}
	#Sidebar .sidebarBox {
		margin: 0;
			height:100%;	
	}
	#Sidebar ul {
		margin: 0px;
		border-top: 1px solid #C4DEF9;
		border-bottom: 1px solid #FFF;
	}
	#Sidebar li {
		margin: 0px;
		border-bottom: 1px solid #C4DEF9;
		list-style: none; 
	}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #fff;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;
	}
	
	
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	margin: 0;
		
        list-style: none;
    }

	

/*	ul#Menu2 li:first-child, ul#Menu2 li.current:first-child { padding-top:16px; } */

    	ul#Menu2 li a {
            display: block;
            padding: 10px 17px;
            color: #898989;
			text-decoration: none;
      	}

		ul#Menu2 li ul li a{ 
			padding: 10px 17px;
			
		}
		
      	/* Level 1 */
		ul#Menu2 li.current, 
		ul#Menu2 li.section, 
		ul#Menu2 li.link {
/*			background: transparent url(../images/sidebarThirdlevel2g.png) repeat-y; */
			border-top: none;
			padding-top: 1px;
			color: #333;
            cursor: pointer;
            text-decoration: none;
		}

        ul#Menu2 li a.section {
	  	   font-weight: 700;	
	  	}

      	
      	ul#Menu2 li a.section:hover,
        ul#Menu2 li a.link:hover {
            color: #000000;
            background: #E2EDF4;
            /* width: 193px; */
      	}
      	ul#Menu2 li a.current span,
      	ul#Menu2 li a.section span,
      	ul#Menu2 li a.section:hover span,
      	ul#Menu2 li a.current:hover span {
			display: block;
			width: 100%;
		} 
      			
		/* Sub Menu */
      	ul#Menu2 li a.level2 {
           	padding-left: 16px;
           	font-size: 95%
			background: transparent;
      	}

           ul#Menu2 li a.level3 {
           	padding-left: 24px;
			background: transparent;
			font-size: 90%
      	}

           ul#Menu2 li a.level4 {
           	padding-left: 32px;
			background: transparent;
			font-size: 85%
      	}

           ul#Menu2 li a.level5 {
           	padding-left: 36px;
			background: transparent;
			font-size: 80%
      	}

        ul#Menu2 li a.current {
	  	   font-weight: 700;
	  	   color: #000;	
	  	   background: #D3EEF7; 
	  	}




.aux { overflow:hidden; padding:5px 0; }
.aux li { display:block; float:left; margin:0 20px 0 0; }
.toll { background:#906107; color:#FFFFFF; display:block; padding:0 3px; }

.text-size { float:right; margin:0;}
.text-size li { display:block; float:left; margin-right: 4px;}
.text-size li.smaller a, .text-size li.normal a, .text-size li.larger a { color:#007BBA; cursor:pointer; display:block; height:20px; line-height:20px; text-align:center; width:16px; text-decoration:none;  }
.text-size li.active a { background:#007BBA; color:#FFFFFF; }

#Breadcrumbs a { color: #007BBA; text-decoration:none; }


/* Main Sections page */
.secondLevelPreviewContainer {
margin:0; 
padding:0;  
}
.secondLevelPreviewContainer h3 { 
border-bottom: 1px solid #E6E6E6; 
margin-bottom: 0; 
padding-bottom: 0; 
}
.secondLevelPreview { 
float: right; 
width: 326px;
}
.secondLevelPreviewContainer ul li { padding-left: 16px; background: url(../images/bullet1.png) no-repeat scroll -5px center transparent; list-style:none; }
.secondLevelPreviewContainer .odd { float: left; }
.secondLevelPreview .view { float:right; font-weight:bold; margin-top:0.75em; }


.nzgovt { background:url(../images/nzgovt.gif); display:block; height:0px; margin:40px 0 0 0; overflow:hidden; padding:35px 0 0 0; width:154px; }


.column { float:left; margin:0; }
.column.three { width:25%; }
.column.six { width:50%; }
.module { padding:0px 16px; }

img { display:block; }

.totsmlogo { display:inline; }

.feeds { background:url(../images/feeds.png); margin:0 0 16px 0; overflow:hidden;  }
.events { position:relative; }
.events, .events .more { background:#FEF6DF; }
.news, .news .more { background:#F1F7DE; }
.notices, .notices .more  { background:#F3F6F9; }
.home .events h4, .home .news h4, .home .notices h4 { color:#FFFFFF; margin: 0px 0px 8px 0px; padding:4px 8px 4px 8px; }.home .column h5 { margin-bottom:0; font-weight:normal; }
.home .events a, .home .news a, .home .notices a { color:#007BBA; }
.home .news, .home .notices { min-height:382px; }
.home .news .author, .home .notices .author { margin-top:-16px; }

.home .events h4 { background:#CE9C1F url(../images/events-h4.png); }
.home .news h4 { background:#A4C621; }
.home .notices h4 { background:#428CC5 url(../images/notices-h4.png); }

.home .column.links .module { border-left:1px solid #FFB600; margin:16px 0px; min-height:126px; }
.home .column.links h4 a { color:#000000; font-weight:normal; text-decoration: none;}
.home .column.links ul { margin:0; padding:0; }
.home .column.links li { list-style:none; margin:0; padding:0; }
.home .column.links a { color:#007BBA; }

.home .more { float:right; margin:0; padding:8px 10px 8px 0px; }
.home .more li { display:block; float:left; margin-left:10px; }

.contact-info { background:#000000; color:#FFFFFF; padding:8px; }
.typography .contact-info a:link, .typography .contact-info a:visited { color:#FFFFFF; }

#topSearch { position:absolute; right:0; bottom:0; width:267px; height:25px; }
#topSearch input.text { width:200px; }
#topSearch input.action { position:absolute; right:0; top:0px; border:4px solid #EAF3F9; border-left:none; width:53px; height: 33px;}
#topSearch legend { display:none; }

.SearchFormBorder{
	display: block;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 0pt;
	background-color: #eaf3f9;
	padding-top: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	width: 260px;
	clear: left;
}

#pager { margin:0; padding:0; position:absolute; top:10px; left:10px; z-index:10; }
#pager li { display:block; float:left; list-style:none; margin:0 5px 0 0; }
#pager li a { background:#FFFFFF; border:1px solid #FFFFFF; cursor:pointer; display:block; height:0; overflow:hidden; padding:6px 0 0 0; width:6px; }
#pager li.activeSlide a { background:#000000; border:1px solid #FFFFFF; z-index:10; }

.share {  }
.print { display:inline-block; background:url(../images/icons/print.png)  center right no-repeat; padding-right:20px; color: #333333;}
.alert { background:#FA6170; border:5px solid #9D5C59; margin-bottom:16px; padding:12px; min-height: 50px;}

.typography .alert h1,
.typography .alert h2,
.typography .alert h3,
.typography .alert h4,
.typography .alert p,
.typography .alert a { color:#FFFFFF; margin-top: 0px;}

.typography .alert a { text-decoration:underline; font-weight: bold;}


#GoogleMapCanvas {
	width: 640px;
	height: 480px;
	border: solid 1px #999999;
	margin:0 0 16px;
}
#content .column.links .module { border-left:1px solid #FFB600; margin:16px 0px; }

.xmlPage table { border-collapse: collapse; }
.xmlPage table td { border: 1px solid #007BBA; }
.xmlPage table th { color: white; background: #007BBA; border: 1px solid #007BBA; }
.xmlPage table td.alignRight { text-align: right; }

/**
 * Messages (see sapphire/css/Form.css)
 */
.message {
	margin: 1em 0;
	padding: 0.5em;
	font-weight: bold;
	border: 1px black solid;
	background-color: #B9FFB9;
	border-color: #00FF00;
}
	.message.notice {
		background-color: #FCFFDF;
		border-color: #FF9300;
	}
	
	.message.warning {
		background-color: #FFD2A6;
		border-color: #FF9300;
	}
	.message.bad {
		background-color: #FF8080;
		border-color: #FF0000;
	}
	.message.good {
		background-color: #E2F9E3;
		border-color: #8dd38d;
	}

.typography{
height:100%;
margin-top:-1px;
}
