/* Menu */

/* resets, because bootstrap is crapping all over us */

#menu * {
	width: auto;
	
}

#menu ul li * {
	box-sizing: content-box;
}

#menu b, #menu strong {
	font-weight: bold;
}

#hamburgermenu * {
	width: auto;
	box-sizing: content-box;
}

#hamburgermenu b, #hamburgermenu strong {
	font-weight: bold;
}



.subtabsholder
{
	height:28px;
}

	.subtabsholder ul li {
		/*height: 28px !important;*/
		padding-top: 4px !important;
		
	}

	.subtabsholder * {
		box-sizing: content-box !important;
	}


.subtabtext IMG {
	padding-right: 1px;
}


/* new RHS menus March 2020  */

.rhs_avatar_m {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-m.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
border-radius: 50%;
}

.rhs_avatar_f {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-f.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
	border-radius: 50%;
}

.rhs_avatar_t {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-t.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
	border-radius: 50%;
}

.rhs_avatar_ff {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-ff.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
	border-radius: 50%;
}

.rhs_avatar_mf {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-mf.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
	border-radius: 50%;
}


.rhs_avatar_mm {
	background-image: url('https://i.nzd.co.nz/nd/i/ico-m-mb-mm.svg');
	background-size: contain;
	width: 36px;
	height: 36px;
	border: 0px;
	border-radius: 50%;
}


/* menu bar container */
.cssmenucontainer {
}

.maintabsmain {
	height: auto;
}


/*li#contactslist {font-size: 11px;}*/

#menu li.newmail a {
	background-image: url('https://i.nzd.co.nz/nd/i/bg-mtabs-nm.gif');
	background-repeat: repeat-x;
}

#menu {
	/*width: 670px;*/
	padding: 0;
	margin: 0;
	list-style: none;
	height: 35px;
	position: relative;
	z-index: 500;
	font-family: arial, verdana, sans-serif;
	font-weight: normal;
}


	#menu li {
		float: left;
		margin-right: 1px;
	}

		#menu li a {
			display: block;
			float: left;
			height: 35px;
			line-height: 35px;
			background: #333 url('https://i.nzd.co.nz/nd/i/bg-mtabs.gif') repeat-x top left;
			color: #EEFFDF;
			text-decoration: none;
			font-size: 11px;
			padding: 0 23px 0 23px;
		}

			#menu li a:hover {
				z-index: 200;
				position: relative;
				color: #fff;
				background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-hov.gif') repeat-x top left;
				text-decoration: none;
				font-weight: bold;
			}

	#menu ul li:hover img {
		filter: alpha(opacity=100);
		-moz-opacity: 1;
		-khtml-opacity: 1;
	}

	#menu ul li img {
		border: none;
		vertical-align: middle;
		filter: alpha(opacity=50);
		-moz-opacity: 0.5;
		-khtml-opacity: 0.5;
	}

	#menu table {
		border-collapse: collapse;
		width: 0;
		height: 0;
		position: absolute;
		top: 0;
		left: 0;
	}

	/* Default link styling */
	/* Style the list OR link hover. Depends on which browser is used */
#oldmenu li:hover {
	position: relative;
	z-index: 200;
	text-decoration: underline;
	font-weight: bold;
}

.loggedin #oldmenu {
	padding-right: 220px;
}


		/* Selected tab hover */
		#oldmenu li:hover > a {
			zzcolor: #fff;
			zzbackground: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-cur.gif') repeat-x top right;
		}

			/* UNselected tab hover */
			#oldmenu li:hover > a.sub {
				zzcolor: #fff;
				zzbackground: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-cur.gif') repeat-x top left;
			}



	#menu li a.sub {
		border-right: solid 1px #333;
	}

	/* Main menu selected tab, no sub menu? */
	#menu li.current a {
		color: #000;
		background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-sel.gif') repeat-x top right;
	}

		/* Main menu selected tab */
		#menu li.current a.sub {
			color: #000;
			background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-sel.gif') repeat-x top right;
		}

	/* Drop down menu */
#oldmenu :hover ul, #rightmenu :hover ul {
	left: 0;
	top: 52px;
	border-radius: 5px;
	border-left: solid 1px #e4e4e4;
	border-right: solid 1px #e4e4e4;
	border-bottom: solid 1px #e4e4e4;
}

	#menu ul {
		border-bottom: solid 2px black;
		width: 150px;
	}

	/* keep the 'next' level invisible by placing it off screen. */
#oldmenu ul, #oldmenu :hover ul ul {
	position: absolute;
	left: -9999px;
	top: -9999px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: normal;
	min-width: 170px;
	background-color: #fff;
}


	/* counts for chat, wo & email */
	#menu .cwo, #menu .cem, #menu .cc {
		font-weight: normal;
	}

	/* Drop down menu blocks*/
#oldmenu :hover ul li {
	/*margin: 0;
	border-bottom: solid 1px #fff;
	background: #f3e8ca;
	border-right: solid 2px black;
	border-left: solid 1px #999;*/
}

		/* Drop down menu main */
	#oldmenu :hover ul li a {
		/* width: 120px; */
		text-indent: 0px;
		padding-left: 5px;
		/* background: #f3e8ca; */
		color: #000;
		/* height: 30px; */
		/* line-height: 30px; */
	}

		#oldmenu :hover ul li a img {
			width: 20px;
			height: 16px;
			background-image: url('https://i.nzd.co.nz/nd/i/16/ico-menu-all.gif');
			background-repeat: no-repeat;
		}

		#oldmenu :hover ul li a.fly {
			background: #fcf9f2 url('https://i.nzd.co.nz/nd/i/right-arrow.gif') no-repeat right center;
		}

	/* Sub menu mouseovers */
		/*#oldmenu :hover li :hover {
	zzbackground-color: #f1dfac;
	text-decoration: underline;
	font-weight: bold;*/
}

#oldmenu ul ul li {
	width: 100%;
}

	#oldmenu ul ul li:hover {
		font-weight: bold;
	}

#oldmenu :hover ul :hover ul {
	border-bottom: solid 2px black;
	left: 150px;
	top: -1px;
	white-space: nowrap;
	z-index: 200;
	height: auto;
}


	/* not used?*/
	#menu ul li ul {
		border-bottom: solid 1px blue;
	}



#oldmenu li.current A b {
	color: #f8c537;
	display: inline-block;
	border-bottom: 1px solid #f8c537;
	padding-bottom: 4px;
}


/* Sub menu mouseover with sub sub menu */
#oldmenu :hover ul :hover a.fly {
	/*background-color: #e8d296;*/
	background-color: #fcf9f2;
	font-weight: bold;
}

/* Drop down hover */
#oldmenu :hover ul li.currentsub a {
	/*background: #f1dfac;*/
	background-color: #fcf9f2;
	color: black;
}


		/* Drop down selected block */
	#oldmenu :hover ul li.currentsub a.fly {
		background: #f3e8ca url('https://i.nzd.co.nz/nd/i/right-arrow.gif') no-repeat right center;
		color: #000;
	}

	/* Sub flyout menu */
#oldmenu :hover ul :hover ul li a {
	padding: 0;
	text-indent: 10px;
	line-height: 30px;
	background-color: #fcf9f2;
	color: #000;
}

	/* Selected */
#oldmenu :hover ul :hover ul :hover {
	background-color: #f3e8ca;
	color: #000;
}

#oldmenu :hover ul :hover ul li.currentfly a,
/* Selected on fly out */
#oldmenu :hover ul :hover ul li.currentfly a:hover {
	background-color: #f3e8ca;
	color: red;
}

ul#oldmenu ul li {width: 100%;}



#hamburgermenu {
	display: none;
}

#addmenu {
	display: none;
}




/* right menu */

#rightmenu {
	float: right;
}

	#rightmenu ul {
background-color: #fff;
	}


	#rightmenu li a {
		padding-top: 17px;
		padding-right: 17px !important;
		padding-bottom: 17px;
		padding-left: 17px !important;
	}

	#rightmenu li ul li a {
		padding: 10px 10px;
		color: #000;
	}

		#rightmenu li ul li a:hover {
			font-weight: bold;
		}

		#rightmenu li:hover > a {
			font-weight: bold;
			text-decoration: underline;
		}


	#rightmenu li.current a {
		color: #000;
		background: #e4e4e4;
	}

		#rightmenu li.current a.sub {
			color: #000;
			background: #e4e4e4;
		}

		#dd_set {
			margin-top: -3px;
		}


	/* Drop down menu */

		/* keep the 'next' level invisible by placing it off screen. */
		#rightmenu ul, #rightmenu :hover ul ul {
			position: absolute;
			left: -9999px;
			top: -9999px;
			margin: 0;
			padding: 0;
			list-style: none;
			font-weight: normal;
			border-radius: 5px;
			border-left: solid 1px #e4e4e4;
			border-right: solid 1px #e4e4e4;
			border-bottom: solid 1px #e4e4e4;
		}


	/* Drop down menu main */
	#rightmenu ul li a {
		width: 160px;
		text-indent: 0px;
		padding-left: 5px;
	}

#rightmenu li a:hover {
	font-weight: bold;
}


/*#dd_set li a {
	/*width: 135px !important;*/
}*/

#rightmenu #dd_set UL LI {
	width: 145px;
}



/* Sub menu mouseovers */
#rightmenu :hover ul li a :hover {
	/*background-color: #efefef;*/
	font-weight: bold;
}


#rightmenu ul ul li :hover {
	font-weight: bold;
}

#rightmenu :hover ul :hover ul {
	border-bottom: solid 2px black;
	left: 150px;
	top: -1px;
	white-space: nowrap;
	width: 100px;
	z-index: 200;
	height: auto;
}

#rightmenu ul li ul {
	border-bottom: solid 1px blue;
}

/* Sub menu mouseover with sub sub menu */
#rightmenu :hover ul :hover a.fly {
	background-color: #e8d296;
}

/* Drop down hover */
#rightmenu :hover ul li.currentsub a {
	background: #f1dfac;
	color: black;
}

	/* Drop down selected block */
	#rightmenu :hover ul li.currentsub a.fly {
		background: #E8D296 url('https://i.nzd.co.nz/nd/i/right-arrow.gif') no-repeat right center;
		color: #000;
	}

/* Sub flyout menu */
#rightmenu :hover ul :hover ul li a {
	border: solid 1px red;
	width: 120px;
	padding: 0;
	text-indent: 10px;
	height: 22px;
	line-height: 22px;
	background-color: #f3e8ca;
	color: #000;
}

/* Selected */
#rightmenu :hover ul :hover ul :hover {
	background-color: #E8D296;
	color: #000;
}

#rightmenu :hover ul :hover ul li.currentfly a,
/* Selected on fly out */
#rightmenu :hover ul :hover ul li.currentfly a:hover {
	background-color: #E8D296;
	color: red;
}

/* Specific Menu Items */
#rightmenu .ccount {
	color: blue;
	font-weight: normal;
	font-size: 8pt;
}

/*#contactslist #dd_txt {
	line-height: 11px !important;
	margin-top: 5px;
	text-align: right;
}

	#contactslist #dd_txt:hover {
	}*/



@media all and (max-width: 880px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 920px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 799px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 799px), only screen and (min-device-pixel-ratio: 2) and (max-width: 799px), only screen and (min-resolution: 192dpi) and (max-width: 799px), only screen and (min-resolution: 2dppx) and (max-width: 799px) {
	/* hide menu */
	/* display hamburger */
	#menu {
		display: none;
	}


	.contlinks_mb {display: block;}

	/*#addmenu {
		display: block;
	}*/


		#hamburgermenu {
		display:block;
		/*width: 670px;*/
		padding: 0;
		margin: 0;
		list-style: none;
		height: 35px;
		position: relative;
		z-index: 500;
		font-family: arial, verdana, sans-serif;
		font-weight: normal;
	}


		#hamburgermenu li {
			float: left;
			margin-right: 1px;
		}

			#hamburgermenu li a {
				display: block;
				float: left;
				height: 35px;
				line-height: 35px;
				background: #333 url('https://i.nzd.co.nz/nd/i/bg-mtabs.gif') repeat-x top left;
				color: #EEFFDF;
				text-decoration: none;
				font-size: 11px;
				padding: 0 23px 0 23px;
			}

				#hamburgermenu li a:hover {
					z-index: 200;
					position: relative;
					color: #fff;
					background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-hov.gif') repeat-x top left;
					text-decoration: none;
					font-weight: bold;
				}

		#hamburgermenu ul li:hover img {
			filter: alpha(opacity=100);
			-moz-opacity: 1;
			-khtml-opacity: 1;
		}

		#hamburgermenu ul li img {
			border: none;
			vertical-align: middle;
			filter: alpha(opacity=50);
			-moz-opacity: 0.5;
			-khtml-opacity: 0.5;
		}

		#hamburgermenu table {
			border-collapse: collapse;
			width: 0;
			height: 0;
			position: absolute;
			top: 0;
			left: 0;
		}

		/* Default link styling */
		/* Style the list OR link hover. Depends on which browser is used */
		#hamburgermenu li:hover {
			position: relative;
			z-index: 200;
		}


			/* Selected tab hover */
			#hamburgermenu li:hover > a {
				color: #fff;
				background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-cur.gif') repeat-x top right;
			}

				/* UNselected tab hover */
				#hamburgermenu li:hover > a.sub {
					color: #fff;
					background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-cur.gif') repeat-x top left;
				}



		#hamburgermenu li a.sub {
			border-right: solid 1px #333;
		}

		/* Main menu selected tab, no sub menu? */
		#hamburgermenu li.current a {
			color: #000;
			background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-sel.gif') repeat-x top right;
		}

			/* Main menu selected tab */
			#hamburgermenu li.current a.sub {
				color: #000;
				background: #E8D296 url('https://i.nzd.co.nz/nd/i/bg-mtabs-sel.gif') repeat-x top right;
			}

		/* Drop down menu */
		#hamburgermenu :hover ul {
			left: 0;
			top: 35px;
		}

		#hamburgermenu ul {
			border-bottom: solid 2px black;
			width: 150px;
		}

		/* keep the 'next' level invisible by placing it off screen. */
		#hamburgermenu ul, #hamburgermenu :hover ul ul {
			position: absolute;
			left: -9999px;
			top: -9999px;
			margin: 0;
			padding: 0;
			list-style: none;
			font-weight: normal;
		}

		/* counts for chat, wo & email */
		#hamburgermenu .cwo, #hamburgermenu .cem, #hamburgermenu .cc {
			font-weight: normal;
		}

		/* Drop down menu blocks*/
		#hamburgermenu :hover ul li {
			margin: 0;
			border-bottom: solid 1px #fff;
			background: #f3e8ca;
			border-right: solid 2px black;
			border-left: solid 1px #999;
		}

			/* Drop down menu main */
			#hamburgermenu :hover ul li a {
				width: 120px;
				text-indent: 0px;
				padding-left: 5px;
				background: #f3e8ca;
				color: #000;
				height: 30px;
				line-height: 30px;
			}

				#hamburgermenu :hover ul li a img {
					width: 20px;
					height: 16px;
					background-image: url('https://i.nzd.co.nz/nd/i/16/ico-menu-all.gif');
					background-repeat: no-repeat;
				}

				#hamburgermenu :hover ul li a.fly {
					background: #f3e8ca url('https://i.nzd.co.nz/nd/i/right-arrow.gif') no-repeat right center;
				}

		/* Sub menu mouseovers */
		#hamburgermenu :hover ul :hover {
			background-color: #f1dfac;
		}

		#hamburgermenu ul ul li {
			width: 100%;
		}

			#hamburgermenu ul ul li:hover {
				font-weight: bold;
			}

		#hamburgermenu :hover ul :hover ul {
			border-bottom: solid 2px black;
			left: 150px;
			top: -1px;
			white-space: nowrap;
			width: 130px;
			z-index: 200;
			height: auto;
		}


		/* not used?*/
		#hamburgermenu ul li ul {
			border-bottom: solid 1px blue;
		}

		/* Sub menu mouseover with sub sub menu */
		#hamburgermenu :hover ul :hover a.fly {
			background-color: #e8d296;
			font-weight: bold;
		}


		/* Drop down hover */
		#hamburgermenu :hover ul li.currentsub a {
			background: #f1dfac;
			color: black;
		}


			/* Drop down selected block */
			#hamburgermenu :hover ul li.currentsub a.fly {
				background: #E8D296 url('https://i.nzd.co.nz/nd/i/right-arrow.gif') no-repeat right center;
				color: #000;
			}

		/* Sub flyout menu */
		#hamburgermenu :hover ul :hover ul li a {
			width: 120px;
			padding: 0;
			text-indent: 10px;
			height: 28px;
			line-height: 28px;
			background-color: #f3e8ca;
			color: #000;
		}

		/* Selected */
		#hamburgermenu :hover ul :hover ul :hover {
			background-color: #E8D296;
			color: #000;
		}

		#hamburgermenu :hover ul :hover ul li.currentfly a,
		/* Selected on fly out */
		#hamburgermenu :hover ul :hover ul li.currentfly a:hover {
			background-color: #E8D296;
			color: red;
		}

	.hamburgericon a.sub b {font-size: 20px !important; font-weight: normal;}


	#rightmenu #dd_set, #rightmenu #dd_help, #rightmenu #dd_logout {
		display: none;
	}

	/*#rightmenu #contactslist:hover ul {
		left: auto;
		right: 0;
		/*margin-right: -10px;
		max-width: 150px;*/
	}*/

	/* Drop down menu blocks*/
	#rightmenu :hover ul li {
		margin: 0;
		border-bottom: solid 1px #CCC;
		background: #e4e4e4;
		border-right: solid 2px black;
		border-left: solid 1px #999;
	}

	#rightmenu li a {
		font-size: 1em;
	}


	/*.hamburgericon::after {
		display: block;
		content: '';
		position: absolute;
		height: 3px;
		width: 22px;
		border-top: 2px solid #f3e8ca;
		border-bottom: 2px solid #f3e8ca;
		left: 20px;
		top: 10px;
		box-sizing: content-box;
	}

		.hamburgericon::before {
			display: block;
			content: '';
			position: absolute;
			height: 3px;
			width: 22px;
			border-top: 2px solid #f3e8ca;
			left: 20px;
			top: 20px;
			box-sizing: content-box;
		}*/


}
