/* NSW FOOD AUTHORITY main.css */
/*

replace /lib/css/main/images/header_bg.gif
with /_images/FA+System/header+background.gif

*/

* {
	/* set global default */
	margin : 0;
	padding : 0;
}
/*html {height: 100%;}*/

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #000;
	/* background-color defined in section specific css */
	/* background-image defined in section specific css */
	background-position: right bottom;
	background-repeat: no-repeat;
	font-size : 100.01%;  /* decimal fontsize fixing font resizing bug in IE5/6 */
	padding : 0;
}
img {border: 0;}

a {	color: #345e87;}
a:visited { color: #663366;}

.link_spacer {display: none;}

/* page wrapper
*******************************************************************************/

#cim_page-wrapper[id] {min-width: 760px;}
#cim_page-wrapper {
	/* set global base font size for entire page */
	font-size: 80.01%;
	position : relative;
}

/* Header 
*******************************************************************************/

#cim_header {
	position : relative;
	background-position: 0 0;
	font-size : 1em;
	min-height : 80px;
	color: #444444;
}
* html #cim_header {height : 80px;}
#cim_skip-content {
	position: absolute;
	right: 5px;
	top: 0;
	z-index: 5;
	width: 10em;
	text-align: center;
	font-size: 0.8em;
	background-color: #DCDCDC;
}
#cim_skip-content a {
	text-decoration: none;
	color: #40403f;
	padding: 5px 0.5em 0 0.5em;
}
#cim_skip-content a:hover, #cim_skip-content a:focus {
	text-decoration:underline;
}
#cim_skip-content span {
	display: block;
	background-image: url(/_images/FA+System/White+1x1.gif);
	background-position: 0 bottom;
	background-repeat: no-repeat;
}
#cim_skip-content span span {
	background-image: url(/_images/FA+System/White+1x1.gif);
	background-position: right bottom;
	padding-bottom: 0.5em;
}

#cim_header-left {
  float:left;
  margin:10px 0 0;
  padding:0 0 0 20px;
}
#cim_header-left a:hover { background-color: transparent; }

#cim_header-left .department img {
  display: inline;
  padding:1px 0 2px 14px;
  border-left: 1px solid #0050A0;
  margin:6px 15px 0 8px;
}


#cim_house-banner {
	position: absolute;
	margin-left: 35em;
	top: 0;
}
/* tools - search, links etcs
*******************************************************************************/
#cim_tools {
	/* background-color defined in section css */
	border-top: 1px solid #999;
	border-bottom: 1px solid #FFF;
	font-size : 0.85em;
	color : #000;
	height : 2.2em;
	padding : 3px 10px 0 10px;
	clear : both;
}
#cim_tools a {color : #000; text-decoration : none;}
#cim_tools a:hover, #cim_tools a:focus {text-decoration : underline;}
#cim_tools input {
	border : 1px solid #77787b;
	vertical-align : middle;
	padding : 1px 0 2px 0;
	width : 140px;
}
#cim_tools input.go {
	border : 0;
	width : auto;
	height : auto;
	padding : 0;
	width: 36px;
	height: 16px;
}
#cim_tools div.links {float : left; line-height : 1.8em;}
#cim_tools div.search {float : right; line-height : 1.8em;}

/* top navigation
*******************************************************************************/
#cim_top-nav {
	clear: both;
	background-color: #79bc40;
	background-image: url(/_images/FA+System/menu+top+bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0;
	border-bottom : 1px solid white;
	font-size : 0.85em;
	position : relative;
	z-index : 10;
}
#cim_top-nav ul {
	padding : 0; 
	margin : 0; 
	list-style-type: none;
}
#cim_top-nav ul li {
	float : left;
	position : relative;
	padding : 0;
	margin : 0;
	z-index : 3;
}
#cim_top-nav li a,
#cim_top-nav li a:visited {
	display : block;
	margin : 0;
	background-image: url(/_images/FA+System/menu+top+bg.gif);
	background-repeat: repeat-x;
	background-color: #79bc40;
	color: #FFFFFF;
	text-decoration : none;
	text-align: center;
}
#cim_top-nav li a:hover,
#cim_top-nav li a:focus {cursor: pointer;}

#cim_top-nav li a span {
	display: block;
	position: relative;
	overflow: hidden;
	background-image: url(/_images/FA+System/White+1x1.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
}
#cim_top-nav li a span span {
	background-position: right bottom;
	/*padding: 7px 2.5em 7px 2.5em;*/
	text-align: center;
	width: 12em;
	padding: 7px 0 7px 0;
	border-right: 1px solid #FFF;
	white-space: nowrap;
}
* html #cim_top-nav li a span span {/*background-position: 99% bottom;*/}

/* --- start sectional colours --- */
#cim_top-nav li.menu-item-home a:hover,
#cim_top-nav li.menu-item-home a:focus,
#cim_top-nav li.menu-item-home a.highlight {
	background-color : #7eae1d;
	background-image: url(/_images/FA+System/menu+top+bg+home.gif);}
#cim_top-nav li.menu-item-home a span span { width: 9.42em;}

#cim_top-nav li.menu-item-consumers a:hover,
#cim_top-nav li.menu-item-consumers a:focus,
#cim_top-nav li.menu-item-consumers a.highlight {
	background-color : #7ca8d3;
	background-image: url(/_images/FA+System/menu+top+bg+consumer.gif);}
#cim_top-nav li.menu-item-consumers a.highlight {font-weight: bold;}

#cim_top-nav li.menu-item-corporate a:hover,
#cim_top-nav li.menu-item-corporate a:focus,
#cim_top-nav li.menu-item-corporate a.highlight {
	background-color : #7eae1d;
	background-image: url(/_images/FA+System/menu+top+bg+corporate.gif);}
#cim_top-nav li.menu-item-corporate a.highlight {font-weight: bold;}

#cim_top-nav li.menu-item-industry a:hover,
#cim_top-nav li.menu-item-industry a:focus,
#cim_top-nav li.menu-item-industry a.highlight {
	background-color : #9a0235;
	background-image: url(/_images/FA+System/menu+top+bg+industry.gif);}
#cim_top-nav li.menu-item-industry a.highlight {font-weight: bold;}

#cim_top-nav li.menu-item-gov a:hover,
#cim_top-nav li.menu-item-gov a:focus,
#cim_top-nav li.menu-item-gov a.highlight {
	background-color : #003366;
	background-image: url(/_images/FA+System/menu+top+bg+gov.gif);}
#cim_top-nav li.menu-item-gov a.highlight {font-weight: bold;}
/* --- end sectional colours  --- */

/* Language menu item overides
*********************************************/
#cim_top-nav li.menu-item-language a,
#cim_top-nav li.menu-item-language a:visited,
#cim_top-nav li.menu-item-language a:hover {
	background-image: url(/_images/FA+System/menu+top+lang+anim.gif);
	cursor: pointer;
}
#cim_top-nav li.menu-item-language a img { bottom: 0px;}
#cim_top-nav li.menu-item-language a span span,
#cim_top-nav li.menu-item-language a:visited span span {
	width: 130px !important;
	overflow: hidden !important;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}
#cim_top-nav li.menu-item-language a span span span,
#cim_top-nav li.menu-item-language a:visited span span span {
	visibility: hidden;
	padding: 0;
	margin: 0;
}
/* end language overides
*********************************************/

#cim_top-nav ul ul {
	display : none;
	position : absolute;
	top : 2.6em;
	left : 0;
	overflow: hidden;
	width: 12em;
	border: 1px solid #000; /* overides below */
}
#cim_top-nav ul li.menu-item-corporate ul {border-color: #6b9810;}
#cim_top-nav ul li.menu-item-consumers ul {border-color: #4478ac;}
#cim_top-nav ul li.menu-item-industry ul {border-color: #730220;}
#cim_top-nav ul li.menu-item-gov ul {border-color: #082441;}

#cim_top-nav ul li li {
	/*width: 5em;*/
	border : none;
	font-size : 1em;
	display : block;
	float : none;
	border-bottom: 1px solid #000; /* overides below */
}
#cim_top-nav ul li.menu-item-corporate li {border-color: #6b9810;}
#cim_top-nav ul li.menu-item-consumers li {border-color: #4478ac;}
#cim_top-nav ul li.menu-item-industry li {border-color: #730220;}
#cim_top-nav ul li.menu-item-gov li {border-color: #082441;}

#cim_top-nav li li a,
#cim_top-nav li li a:visited {
	display : block;
	text-align: left;
	background: none;
	background-color: #000; /* overides below */
	padding : 6px 11px 6px 11px;
}
* html #cim_top-nav li li a, #cim_top-nav li li a:visited {height: 1%;	overflow: hidden;}
*:first-child+html #cim_top-nav li li a, #cim_top-nav li li a:visited {height: 1%;	overflow: hidden;}
	
#cim_top-nav ul li.menu-item-corporate li a,
#cim_top-nav ul li.menu-item-corporate li a:visited {background-color: #83b321;}
#cim_top-nav ul li.menu-item-consumers li a,
#cim_top-nav ul li.menu-item-consumers li a:visited {background-color: #6699cc;}
#cim_top-nav ul li.menu-item-industry li a,
#cim_top-nav ul li.menu-item-industry li a:visited {background-color: #990033;}
#cim_top-nav ul li.menu-item-gov li a,
#cim_top-nav ul li.menu-item-gov li a:visited {background-color: #003366;}

#cim_top-nav li li a:hover,
#cim_top-nav li li a:focus {
	color : white !important;
	font-weight : normal;
	background-image: none !important;
	background-color : #000 !important; /* overides below */
}
#cim_top-nav ul li.menu-item-corporate li a:hover,
#cim_top-nav ul li.menu-item-corporate li a:focus {background-color: #a8ca63 !important;}
#cim_top-nav ul li.menu-item-consumers li a:hover,
#cim_top-nav ul li.menu-item-consumers li a:focus {background-color: #94b7db !important;}
#cim_top-nav ul li.menu-item-industry li a:hover,
#cim_top-nav ul li.menu-item-industry li a:focus {background-color: #d1b2b2 !important;}
#cim_top-nav ul li.menu-item-gov li a:hover,
#cim_top-nav ul li.menu-item-gov li a:focus {background-color: #4c7094 !important;}

/* top-nav variable width classes
over-rides set fixed width for drop-downs */
#cim_top-nav li li {
	/*width: 171px !important;*/
}
#cim_top-nav li li a,
#cim_top-nav li li a:visited {
	/*width : 160px !important;*/
}

/* content wrapper 
*******************************************************************************/
#cim_content-wrapper {
	/* background-image defined in section css */
	background-repeat: repeat-x;
	clear : both;
	z-index: 9;
}

/* left column (secondary navigation)
*******************************************************************************/
#cim_left-col {
	font-size : 0.85em;
	width : 168px;
	overflow: hidden;
	margin-left : 1px;
	float : left;
	position : relative;
	display : inline;
	z-index : 9;
	border: 1px solid #000;
	border-bottom: none;
}

/* first level items */

#cim_left-col ul {
	overflow: hidden;
	list-style-type : none;
	padding : 0;
	margin : 0;
}
#cim_left-col li {
	list-style-type : none;
	margin : 0;
	width: 168px;
	display: inline;
}
#cim_left-col a,
#cim_left-col a:visited {
	position: relative;
	display : block;
	border-bottom : 1px solid #000; /* border-color defined in section css */
	padding: 6px 16px 6px 12px;
	color: #FFF;
	text-decoration: none;
	/* background-color defined in section css */
}
#cim_left-col a:hover,
#cim_left-col a:focus {
	/* background-color defined in section css */
}
#cim_left-col a.arrow {
	/* background-image defined in section css */
	background-position: 150px 8px;
	background-repeat:no-repeat;
}
#cim_left-col a.arrow:hover,
#cim_left-col a.arrow:focus {
	/* background-image defined in section css */
}

/* first level EXPANDED items */

#cim_left-col li.highlight {
	
}
#cim_left-col li.highlight ul {
	background-color: #FFF !important;
}
#cim_left-col li.highlight a {
	/* background-color defined in section css */
	border : 0;
	font-weight : bold;
}
#cim_left-col li.highlight a.arrow {
	/* background-image defined in section css */
}
#cim_left-col li.highlight a:hover,
#cim_left-col li.highlight a:focus {
	/*text-decoration : underline;*/
}

/* SECOND level items */

#cim_left-col li.highlight li a,
#cim_left-col li.highlight li a:visited {
	background-image : none !important;
	background-color: #FFF !important;	
	/* background-color defined in section css */
	border-top: 1px solid #000 !important; /* border-color defined in section css */
	font-weight : normal !important;
	padding : 4px 20px 4px 25px !important;
}
#cim_left-col li.highlight li a:hover,
#cim_left-col li.highlight li a:focus {
	background-image : none;
}
#cim_left-col li.highlight li a.arrow,
#cim_left-col li.highlight li a.arrow:visited {
	/* background-image defined in section css */
}
#cim_left-col li.highlight li.highlight a,
#cim_left-col li.highlight li.highlight a:visited {
	font-weight : bold !important;
	/* background-color defined in section css */
}
#cim_left-col li.highlight li.highlight a.arrow,
#cim_left-col li.highlight li.highlight a.arrow:visited {
	/* background-image defined in section css */
}

/* THIRD level items */	

#cim_left-col li.highlight li li a,
#cim_left-col li.highlight li li a:visited {
	font-family: Verdana, Arial, Helvetica, sans-serif !important;
	font-size: 0.8em !important;
	padding : 3px 12px 3px 45px !important;
	/*border-top: 1px solid #CCC !important;*/
}
#cim_left-col li.highlight li.highlight li a,
#cim_left-col li.highlight li.highlight li a:visited {
	font-weight: normal !important;
	background-color: #FFF !important;
}
#cim_left-col li.highlight li.highlight li a.highlight,
#cim_left-col li.highlight li.highlight li a.highlight:visited {
	font-weight: bold !important;
}

/* page tools & bread crumbs
*******************************************************************************/
.page_tools {
	position: relative;
	padding-bottom: 8px;
	/* background-image defined in section css */
	background-position: right bottom;
	background-repeat: no-repeat;
}
.page_tools_inner {
	overflow: hidden;
	border: 1px solid #000; /* border color defined in section css */
	border-top: none;
	background-image: url(/_images/FA+System/page+tools+bg.gif);
	background-repeat: repeat-x;
	background-color: #FFFFFF;
	padding: 7px 3px 2px 7px;
}
* html .page_tools_inner {height: 1%;}

div.page_tools.lower_tools {
	position: relative;
	clear: both;
	padding-bottom: 11px;
	/* background-image defined in section css */
	background-position: right bottom;
	background-repeat: no-repeat;
}
div.page_tools_inner.lower_inner {
	border-top: 1px solid #000;
	background-image: none;
}
div.back_to_top {
	/*border: 1px solid red;*/
	text-align: right;
	margin: 0 5px 6px 0;
}
div.back_to_top a,
div.back_to_top a:visited {
	font-size: 0.8em;
	text-decoration: none;
	padding-left: 14px;
	/* background-image defined in section css */
	background-position: 0 3px;
	background-repeat: no-repeat;
}
div.back_to_top a:hover {
	text-decoration: underline;
}
#cim_bread-crumbs {   
	position : relative;
	margin-right: 110px;
	color: #000;
	font-size: 0.8em;
}
#cim_bread-crumbs a {
	text-decoration : none;
	color: #1414a8;
}
#cim_bread-crumbs a:hover, #cim_bread-crumbs a:focus {
	text-decoration : underline;
}
.function-icons {
	position: relative;
	float : right;
}
.function-icons a {
	text-decoration: none; /* added by JH 31 10 2007 */
}

div.function-icons .noscript {
	display:none;
	
}
div.function-icons .scriptAvailable {
	display:inline;
	text-decoration: none; /* added by JH 31 10 2007 (working)*/
}

/* main body content
*******************************************************************************/
#cim_main-content {
	padding : 0 6px 1em 6px;
	position : relative;
	z-index : 5;
	margin: 0;
	overflow: hidden;
}
* html #cim_main-content {
	left: -3px;
	padding-right: 2px !important;
	height: 1%;
}

/* right column (used for related links, shortcuts, peripheral info, etc)
*******************************************************************************/
#cim_right-col {
	position: relative;
	font-size : 0.85em;
	width : 170px;
	float: right;
	display: inline;
}

/* footer
*******************************************************************************/
#cim_footer {
	clear: both;
	padding: 25px 5px 12px 5px;
	font-size: 0.74em; 
	/* color defined in section css */
}
#cim_footer_inner {
	position: relative;
	overflow: hidden;
	border: 1px solid #000; /* border-color defined in section css */
	padding: 0.3em;
}
#cim_footer_inner {height: 1%;}
span.footer_transparency {
	display: block;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 150%;
	height: 150px;
	background-color: #FFF;
	/* transparency for most browsers */
	opacity:.80;
	/* filter: alpha(opacity=80); */ /* removed by JH 30 Oct 2007 */
    -moz-opacity: 0.80;
}
#cim_footer_inner div.footer_content {
	z-index: 50;
	text-align: right;
}
#cim_footer a,
#cim_footer a:visited {
	text-decoration : none;
	color: #1613A8;
}
#cim_footer a:hover,
#cim_footer a:focus {
	text-decoration : underline;
}
#cim_footer #nswstyle_datelastupdated {
	color: #1613A8;
}

/* generic reusable classes
*******************************************************************************/
.clear-hidden {
	clear : both;
	font-size : 1px; 
	line-height : 1px;
	height: 1px;
	overflow: hidden;
}
.clear {clear: both;}

.float-left {float: left; position: relative;}
.float-right {float: right; position: relative;}
.width-50 {width: 49%}
.width-100 {width: 99%}
