/* ---------------------------------------------------------------------- */
/* ARTC EXTRANET CSS */
/* ---------------------------------------------------------------------- */

*, html, body {
	margin: 0;
	padding: 0;
}
div {
	xborder: 1px solid #FF0000;
	xpadding: 2px;
}
body {
	text-align: center;
	margin: 12px 0 24px 0;
	background: url(http://www.artc.com.au/gifs/bg-body.gif);
}

/* general structure */
/* ---------------------------------------------------------------------- */
#header, #nav, #main-container, #footer {
	width: 770px;
	margin: auto;
	text-align: left;
}
#header {
	background: url(../images/bg-banner.gif) no-repeat top right;
	/* ie white space bug */
	font-size: 0;
}
#header a img {
	border: none;
	text-decoration: none;
	margin: 0;
	padding: 0;
	line-height: 0;
}
#search, #version {
	display: none;
}
#main-container {
	xbackground: #FFFFFF url(../images/bg_main-container.jpg) no-repeat top right;
	background: #FFFFFF;
	/* this is to combat the bizarre ie6 menu display absolute property */
	*/
	margin-top: 35px;
}
#main {
	xwidth: 510px; 
	padding: 15px 40px 10em 40px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70%;
}

/* general formatting */
/* ---------------------------------------------------------------------- */
p {
	margin-bottom: 1em;
	color: #666666;
	line-height: 1.4em;
}
h1 {
	color: #012542;
	font-size: 1.9em;
	line-height: 1.9em;
	margin-top: 2em;
	*/
	margin: 0px;
	padding: 10px 0px;
}
h2, h3 {
	color: #D89D10;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.4em;
	margin: 0px;
	padding: 9px 0px 3px;
}
h3 {
	color: #666666;
}
#main ul, #main ol {
	color: #666666;
	margin: 0 0 1em 2em;
}
#main img {
	width: 100%;	
}

/* links */
/* ---------------------------------------------------------------------- */
a:hover {
	color: #CC0000;
}
a:link {
	color: #003366;
}
a:visited {
	color: #7e5b97;
}
a:focus,
a:hover,
a:active {
	color: #CC0000;
}

/* navigation */
/* ---------------------------------------------------------------------- */
#nav ul,
#nav li {
	margin: 0;
	padding: 0;
}
#nav a {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #663300;
	text-decoration: none;
}
/* oh ie */
#nav {
	*/
	margin-bottom: -37px;
}
#nav #nav-eng {
	*/
	margin-bottom: -36px;
}
/* 1st level */
#nav #nav-eng ul {
	list-style: none;
	width: 770px;
	background: #FFE490;
}
#nav #nav-eng li {
	float: left;
}
#nav #nav-eng ul a {
	height: 37px;
	text-indent: -9000px;
	background-position: left top;
	background-repeat: no-repeat;
}

#nav #nav-eng li .all   { width: 31px; background-image: url(../images/eng_all.gif); }
#nav #nav-eng li .sig   { width: 51px; background-image: url(../images/eng_sig.gif); }
#nav #nav-eng li .ele   { width: 61px; background-image: url(../images/eng_ele.gif); }
#nav #nav-eng li .tnc   { width: 76px; background-image: url(../images/eng_tnc.gif); }
#nav #nav-eng li .rol   { width: 78px; background-image: url(../images/eng_rol.gif); }
#nav #nav-eng li .ops   { width: 37px; background-image: url(../images/eng_ops.gif); }
#nav #nav-eng li .pne   { width: 106px; background-image: url(../images/eng_pne.gif); }
#nav #nav-eng li .com   { width: 52px; background-image: url(../images/eng_com.gif); }
#nav #nav-eng li .wai   { width: 55px; background-image: url(../images/eng_wai.gif); }
#nav #nav-eng li .app   { width: 90px; background-image: url(../images/eng_app.gif); }
#nav #nav-eng li .net   { width: 94px; background-image: url(../images/eng_net.gif); }
#nav #nav-eng li .hel   { width: 39px; background-image: url(../images/eng_hel.gif); }

/* 2nd level */
#nav #nav-eng li ul {
	position: absolute;
	width: 155px;
	height: auto;
}
#nav #nav-eng li ul a {
	display: block;
	width: 139px;
	padding: 0px 8px;
	height: 25px;
	line-height: 25px;
	border-right: none;
	text-indent: 0px;
	border-bottom: 1px solid #B8AC91;
}
/* hovers */
#nav #nav-eng li:hover ul ul, 
#nav #nav-eng li.sfhover ul ul {
	left:-999em;
}
#nav #nav-eng li li:hover ul, 
#nav #nav-eng li li.sfhover ul {
	left:auto;
}
#nav #nav-eng li a:focus,
#nav #nav-eng li a:hover,
#nav #nav-eng li a:active,
#nav #nav-eng li:hover a,
#nav #nav-eng li.sfhover a {
	background-position: left bottom;
}
#nav #nav-eng li li a:focus,
#nav #nav-eng li li a:hover,
#nav #nav-eng li li a:active,
#nav #nav-eng li li:hover, 
#nav #nav-eng li li.sfhover {
	background: #FFC821;
}

/* top nav */
/* ---------------------------------------------------------------------- */

#nav #nav-top {
	height: 40px;
	xdisplay: none;
}
#nav #nav-top ul {
	margin-top: 0;
	display: block;
}
#nav #nav-top li {
	list-style: none;
	float: left;
	text-indent: -9000px;
}
#nav #nav-top li a {
	display: block;
	height: 40px;
	background-repeat: no-repeat;
}
#nav #nav-top li a.nav-about { width: 46px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav01.gif);}	
#nav #nav-top li a.nav-news { width: 42px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav02.gif);}	
#nav #nav-top li a.nav-route {width: 63px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav03.gif);}	
#nav #nav-top li a.nav-safety {	width: 78px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav04.gif);}	
#nav #nav-top li a.nav-access { width: 49px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav05.gif);}		
#nav #nav-top li a.nav-webrams { width: 64px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav06.gif);}
#nav #nav-top li a.nav-investment { width: 66px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav07.gif);}
#nav #nav-top li a.nav-infrastructure {	width: 79px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav08.gif);}	
#nav #nav-top li a.nav-operations { width: 65px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav09.gif);}
#nav #nav-top li a.nav-property { width: 54px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav10.gif);}	
#nav #nav-top li a.nav-members { width: 60px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav11.gif);}
#nav #nav-top li a.nav-careers { width: 51px;background-image: url(http://www.artc.com.au/gifs/mainnav/nav12.gif);}
#nav #nav-top li a.nav-contact { width: 53px; background-image: url(http://www.artc.com.au/gifs/mainnav/nav13.gif);}
#nav #nav-top a:link {
	background-position: 0 0;

}
#nav #nav-top a:visited {
	background-position: 0 0;
}
#nav #nav-top a:hover,
#nav #nav-top a:active,
#nav #nav-top li:hover a {
	background-position: 0 -41px;
}
#nav #nav-top a.current {
	background-position: 0 -82px;
}
/* a hack as i have no idea why the menu.js is flagging this particular item as 'current' */
#nav #nav-top a.current.nav-webrams {
	background-position: 0 0;
}
#nav #nav-top a:hover.current {
	background-position: 0 -123px;
}
#nav #nav-top a:hover.current.nav-webrams {
	background-position: 0 -41px;
}

/* footer nav */
/* ---------------------------------------------------------------------- */
#footer {
	display: block;
	height: 34px;
	margin-top: -29px;
	xbackground: #FFCCCC;
}
#footer ul {
	float: right;
}
#footer li {
	list-style: none;
	float: left;
	text-indent: -9000px;
}
#footer li a {
	display: block;
	height: 34px;
	background-repeat: no-repeat;
}
#footer li a.nav-ftr-home {
	width: 53px;
	background-image: url(http://www.artc.com.au/gifs/ftrnav/nav00.gif);
}
#footer li a.nav-ftr-info {
	width: 57px;
	background-image: url(http://www.artc.com.au/gifs/ftrnav/nav01.gif);
}
#footer li a.nav-ftr-map {
	width: 61px;
	background-image: url(http://www.artc.com.au/gifs/ftrnav/nav02.gif);
}
#footer li a.nav-ftr-links {
	width: 82px;
	background-image: url(http://www.artc.com.au/gifs/ftrnav/nav03.gif);
}
#footer a:link {
	background-position: 0 0;

}
#footer a:visited {
	background-position: 0 0;
}
#footer a:hover,
#footer a:active,
#footer li:hover a {
	background-position: 0 -34px;
}

/* submenu - tabs */
/* ---------------------------------------------------------------------- */
#main ul.submenu  {
	display: block;
	height: 25px;
	margin: 1.5em 0;
	padding: 0;
	background: url(../images/bg_submenu.gif) repeat-x left bottom;
	border-left: 1px solid #999999;
	list-style: none;
}
.submenu li {
	float: left;
	margin: 0 0 0 -1px;
	background: #FFF;
}
.submenu li.secondary {
	background: #F0F0F0;
}
.submenu li.secondary.gap {
	margin-left: 5px;
}
.submenu li a {
	border: 1px solid #999999;
	padding: 0 7px;
	line-height: 23px;
	text-decoration: none;
	float: left;
	background: #F0F0F0;
}
ul.submenu li a:link, 
ul.submenu li a:visited {
	color: #036;
}
ul.submenu li a:focus,
ul.submenu li a:hover {
	background: #fff;
	color: #c00;
}
ul.submenu li a:active,
ul.submenu li a.current {
	border-bottom: 1px solid #FFF;
	background: #fff;
}

/* JUMP LINKS > or rather, page contents */
/* ---------------------------------------------------------------------- */
#main .page-contents {
	xwidth: 510px;
	width: 100%;
	margin: 2em 0;
	overflow: hidden;
	background: #E6E6E6 url(../images/bg_white_0_1px_1px_0.gif) no-repeat right bottom;
}
#main .page-contents ul {
	margin: 0;
	padding: 0;
}
#main .page-contents li {
	list-style: none;
	float: left;
	margin: 0;
	padding: 0;
}
#main .page-contents li a, 
#main .page-contents li a:link, 
#main .page-contents li a:visited {
	width: 209px;
	color: #4D4872;
	padding: 0.5em 10px;
	white-space: nowrap;
	display: block;
	background: #E6E6E6;
	border-right: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}
#main .page-contents li h3 {
	width: 640px;
	padding: 10px 0;
	margin: 0;
	border: none;
	background: #FFFFFF;
}
#main .page-contents li a:focus, 
#main .page-contents li a:hover, 
#main .page-contents li a:active {
	background: #BBBAC2;
	color: #4D4872;
}
#main .page-contents.small li a {
	width: 94px;
}

/* top links */
/* ---------------------------------------------------------------------- */
a.toplink {
	text-align: right;
	margin: -32px 0 1em 0;
	padding: 2px 0;
	display: block;
	height: 1.5em;
	text-indent: -9000px;
	font-size: 11px;
	font-weight: normal;
}
td a.toplink, caption a.toplink {
	margin: -19px 0 0 0;
	font-weight: normal;
}

/* tables */
/* ---------------------------------------------------------------------- */
/* tables should only be used to display tabular data */
.data {
	font-size: 11px;
	xwidth: 510px;
	width: 100%;
	margin: 0 0 25px 0;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	
}

#column-left .data {
	width: 318px;
}
#column-right .data {
	width: 284px;
}
.data caption {
	font-size: 11px;
	font-weight: bold;
	text-align: left;
	padding: 0 0 5px 0;
}
.data td, .data th {
	padding: 3px 5px;
}
.data td {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	color: #666;
}
.data th {
	font-size: 10px;
	font-weight: bold;
	text-align: left;
	background: url(http://www.artc.com.au/gifs/bg-item-detail.gif) repeat-x top left;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	color: #D79D10;
}
.data.vertical th {
	xborder-top: 1px solid #ccc;
	border-top: 1px solid #ccc;
}
.data td p, .data ul, .data li {
	margin: 0;
	padding: 0;
}
.data ul {
	margin-left: 3em;
}

/* adjust select and input lengths for search boxes styled as data tables */
.data .search-input {
	width: 96%;
}

.data td select {
	width: 99%;
}

/* navigation links inside a table - yes i know, not semantic */
.data-nav {
	border-right: 1px solid #CCCCCC; 
	border-top: 1px solid #CCCCCC; 
	margin-bottom: 20px;
}
.data-nav td {
	padding: 5px 10px;
	border-left: 1px solid #CCCCCC; 
	border-bottom: 1px solid #CCCCCC; 
}
td.subcategory {
	font-size: 10px;
	font-weight: bold;
	color: #D79D10;
}

/* signalling pages */
.data th.applicability {
	text-align: center;
}
.data th.comment 		{ width: 85px; }
.data th.date 			{ width: 75px; }
.data th.date-short 	{ width: 50px; }
.data th.dept 			{ width: 100px; }
.data th.doc 			{ width: 95px; }
.data th.issues 		{ width: 105px; }
.data th.location 		{ width: 10px; }
.data th.number 		{ width: 75px; }
.data th.other 			{ width: 130px; }
.data th.related		{ width: 60px; white-space: normal; }
.data th.state 			{ width: 10px; }

/* i.e column width is inconsistent if content goes over two lines - 
nested div with explicit width to make sure this doesn't happen */
.data th.type			{ width: 100px; }
.data .type div			{ width: 100px; }

.data th.version 		{ width: 40px; }
.data th.version-long 	{ width: 95px; }

.data th.commentary-v,
.data th.issues-v,
.data .th-detail .state-sa-v,
.data .th-detail .state-wa-v,
.data .th-detail .state-vic-v,
.data .th-detail .state-nsw-v,
.data .th-detail .state-crn-v,
.data .th-detail .state-qld-v {
	width: 10px;
	height: 68px;
	text-indent: -9000px;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-color: #EEEEEE;
}
.data th.commentary-v { background-image: url(../images/data_th_commentary.gif); }
.data th.issues-v { background-image: url(../images/data_th_issues.gif); }
.data .th-detail .state-sa-v { background-image: url(../images/data_th_s_sa.gif); }
.data .th-detail .state-wa-v { background-image: url(../images/data_th_s_wa.gif); }
.data .th-detail .state-vic-v { background-image: url(../images/data_th_s_vic.gif); }
.data .th-detail .state-nsw-v { background-image: url(../images/data_th_s_nsw.gif); }
.data .th-detail .state-crn-v { background-image: url(../images/data_th_s_crn.gif); }
.data .th-detail .state-qld-v { background-image: url(../images/data_th_s_qld.gif); }

.data .th-detail td {
	background: #EEEEEE;
	padding-top: 0;
	border-top: 0;
	vertical-align: bottom;
}
.alert-1 {
	background: #FFFF99;
}
.alert-2 {
	background: #CAFFFF;
}
.alert-3 {
	color: #FF0000;
}
.alert-4 {
	border: 1px solid #f00;
	background: #ffeeee;
	padding: 20px 30px 5px 30px;
	margin-bottom: 1.5em;
	font-weight: bold;
}
.inactive {
	filter: alpha(opacity=50);
	-moz-opacity: 0.50;
	opacity:0.5;
}

a.link-button-small,
a:link.link-button-small,
a:visited.link-button-small {
	background: url(../images/button_small.png) no-repeat center top;
	display: block;
	width: 11px;
	height: 11px;
	color: #fff;
	margin: 2px 0;
	xtext-align: center;
	text-indent: 3px;
	line-height: 11px;
	font-size: 8px;
	text-decoration: none;
}
a:focus.link-button-small,
a:hover.link-button-small,
a:active.link-button-small {
	background-position: center bottom;
}





/* page forms - stand alone & inline forms */
/* ---------------------------------------------------------------------- */
.pageform {
	font-size: 11px;
	width: 510px;
	border-collapse: collapse;
	margin: 20px 0 3em 0;
}
.pageform h2, .pageform .subcategory {
	width: 510px;
	margin-right: -20px;
}
.pageform .subcategory {
	border-top: 4px solid #DDDDDD;
}
.pageform td, .pageform th {
	text-align: left;
	vertical-align: top;
	padding: 7px 20px 7px 0;
	border-bottom: 1px solid #DDDDDD;
	empty-cells: show;
}
.pageform th {
	width: 160px;
}
.pageform td {
	width: 259px;
}
.pageform td input {
	width: 250px;
}
.pageform td textarea {
	width: 250px;
}
.pageform td select {
	width: 256px;
}
.pageform .group td, .pageform .group th {
	border-bottom: 1px dashed #DDDDDD
}
.pageform label {
	padding-right: 10px;
}
.pageform .data td, .pageform .data th {
	width: auto;
	padding: 5px;
	border-bottom: none;
}
.autowidth, .pageform .autowidth, .inlineform .autowidth, .autowidth input {
	width: auto;
	margin: 0 6px 0 8px;
	background: none;
	border: none;
}
.autowidth {
	margin: 0;
}
.pageform .fixedwidth label {
	display: -moz-inline-box;
	display: inline-block;
	width: 30px;
	xborder: 1px solid #FF0000;
}
.pageform .fixedwidth input {
	margin-right: 17px;
}
.pageform td .button {
	width: auto;
	padding: 0 10px;
}
.pageform tr.validate {
	color: #FF0000;
}


/* style for radio button group produced by messy .net code! */
.pageform .radiogroup td input, .radiogroup td input {
	width: auto;
	margin-right: 15px;
	background: none;
	border: none;	
}

.pageform .radiogroup td, .radiogroup td {
	border:none;
	padding:2px;
}

.pageform .radiogroup input, .radiogroup input {
	width: auto;
	margin-right: 15px;
	background: none;
	border: none;	
}

.pageform .radiogroup, .radiogroup {
	line-height:30px;
	
}

.inlineform input {
	width: 100%;
	display: -moz-inline-box;
	display: inline-block;
}
.inlineform select {
	width: 102%;
}
.inlineform td {
	padding-right: 12px;
}

/* forms - general */
/* ---------------------------------------------------------------------- */
form {
	margin-bottom: 1em;
}
input, select, textarea, .button {
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 11px;
	background: #F4F3F8;
	border: 1px solid #999999;
	padding: 2px;
	margin-right: 2px;
	vertical-align: middle;
}
select {
	padding: 1px;
}
.button {
	width: auto;
	height: 19px;
	line-height: 9px;
	background: #DEDBE6;
}

/* asp.net validation-generated alerts */
/* ---------------------------------------------------------------------- */
.error {
	position: absolute; 
	left: -1000px;        
	top: -1000px; 
	width: 0px; 
	height: 0px;
}



/* photo galleries */
/* ---------------------------------------------------------------------- */
.photos a {
	display: block;
	float: left;
	height: 94px;
	width: 100px;
	text-align: center;
	background-color: #EEEEEE;
	margin: 0 6px 6px 0;
	padding-top: 6px;
	vertical-align: middle;
	line-height: 100px;
}
.photos a:hover {
	background: #000000;
}
.photos a img {
	border: none;
	line-height: 100px;
}

