body {
	margin: 0 0 0 4;
	padding: 0;
    background: white;
}

#aqimap {
	margin: 0 0 0 0;
	padding: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 0.6em;
	margin-left: 2em;
}


/*--------top tab application nav ------------ ------*/

#applicationNav { display: block; background-image: 
               url('http://www.environment.nsw.gov.au/images/admin/nav/application_nav_back.jpg'); 
               background-repeat: repeat-x; background-attachment: scroll; 
               height: 20px; border-bottom: 1px solid #d3dcdf; margin: 
               0!important; padding: 0!important; background-position: top }
#applicationNav li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline;
	float: left;
}

#applicationNav li a {
	margin-top: 1px;
	text-decoration: none;
	color: #066;
	font-weight: bold;
	padding: 2px 14px 0px 14px;
	border-right: 1px solid #d3dcdf;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 95%;
	display: block;
	height: 18px;
	float: left;
}

#applicationNav p { text-decoration: none; color: #fff; background-image: 
               url('http://www.environment.nsw.gov.au/images/admin/nav/application_nav_over.jpg'); 
               background-repeat: repeat-x; background-attachment: scroll; 
               font-weight: bold; font-family: Arial, Helvetica, sans-serif; 
               font-size: 95%; display: block; height: 18px; float: left; 
               border-right: 1px solid #d3dcdf; margin-top: 1px; 
               padding-left: 14px; padding-right: 14px; padding-top: 3px; 
               padding-bottom: 0px; background-position: top }
#applicationNav li a:hover { background-image: 
               url('http://www.environment.nsw.gov.au/images/admin/nav/application_nav_over.jpg'); 
               background-repeat: repeat-x; background-attachment: scroll; 
               color: #fff; background-position: top }
/*--------index table & table cell colours-----------*/
table.index{
	font-size: 90%;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;}

td.i1 {
	background: #0cf;
	color: #000;}

td.i2 {
	background: #093;
	color: #fff}

td.i3 {
	background: #ff0;
	color: #000;}
    
td.i4 {
	background: #f93;
	color: #000;}
    
td.i5 {
	background: #c06;
	color: #fff;}
    
td.i6 {
	background: #f00;
	color: #fff;}
    
td.nd {
	background: #f7f7ee;}

td.inv {
	background: #fff;}
	
th.inv {
	background: #fff;}
    
td.date {padding-right: 0.8em;
vertical-align: top;}

    
/*--------raqi table cell with blue border----------*/

td.raqi1 {
	background: #0cf;
	color: #000;
    border: 2px #369 solid;}

td.raqi2 {
	background: #093;
	color: #fff;
	border: 2px #369 solid;}

td.raqi3 {
	background: #ff0;
	color: #000;
    border: 2px #369 solid;}
    
td.raqi4 {
	background: #f93;
	color: #000;
    border: 2px #369 solid;}
    
td.raqi5 {
	background: #c06;
	color: #fff;
    border: 2px #369 solid;}
    
td.raqi6 {
	background: #f00;
	color: #fff;
    border: 2px #369 solid;}

    
/*--------aqi & data tables---------*/
    
table.aqi{
	font-size: 90%;
	font-family: Arial, Helvetica, sans-serif;
    vertical-align: top;}
    
.aqi tr {
	padding-top: 1px;
	padding-bottom: 1px;}
    
.aqi th {
	background: #eec;
	color: #078;
	vertical-align: top;
	}
	
th.units{
	background: #eed;
	vertical-align: top;}

th.saqi {
	background: #eec;
	padding: 1px 0px 0px 0px;}
	
th.raqi {
	background: #369;
	color: #fff;
    padding: 1px 0px 0px 0px;}

td.saqiinv {

	padding: 1px 0px 0px 0px;}
	
td.raqiinv {

    padding: 1px 0px 0px 0px;}
    
.raqi a {
    color: #fff;}

.raqi a:hover {
	color: #369;
	background: #cef;}

.raqi a:visited {
	color: #fff;}
	
th.region {
    font-size: 100%;
	background: #f7f7ee;
	color: #078;
    font-weight: bold;
	text-align: left;
	vertical-align: top;
	padding-left: 0.25em;
	padding-right: 0.25em;}

td.region {
    font-size: 100%;
	background: #f7f7ee;
	color: #078;
    font-weight: bold;
	text-align: left;
	vertical-align: top;
	padding-left: 0.25em;
	padding-right: 0.25em;}
    
td.site {
	font-size: 90%;
	background: #f7f7ee;
    text-align: left;
	padding-left: 0.25em;
	padding-right: 0.25em;
	white-space:nowrap; }
    
td.footnote {
    font-size: 100%;
	background: #f7f7ee;
	text-align: left;
	padding-left: 0.25em;
	padding-right: 0.25em;} 
    
td.alert {
	color: #369;
	font-size: 100%;
	font-weight: bold;
	background-color: #fff;
    text-align: center;
    vertical-align: middle;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	white-space:nowrap;}

/*--------search table---------*/
#aqmssearch Form {
	margin: 20px 0;
	background-color: #f7f7ee;
}

#aqmsForm fieldset {
	border: 1px solid #cc9;
	margin: 10px 0;
	padding: 20px ;
}
	
#aqmssearch hr{
	margin-left: 0px;
	height: 0px;
	border: 0px;
	border-top: 1px dashed #b8b8b8;
}

#aqmssearch h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif;
	padding: 0;
}  

#aqmssearch h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif;
	color: #089;
	
} 

#aqmssearch h2 {
	font-size: 130%
	padding: 10px 0px 0px 0;
	margin: 10px 0px 0px 0;

}

#aqmssearch h3, h4, h5, h6 {
	color: #000;
	padding: 10px 0px -10px 0;
	margin: 10px 0px -10px 0;
}

#aqmssearch table {
	text-align: top;
	font-size: 100%;
	border-bottom: 1px;
}


#aqmssearch table td {
vertical-align: top;
text-align: left;
padding: 0 10px 0 0px;
}

#aqmssearch table th {
vertical-align: top;
text-align: left; 
color: #089;
padding: 0 5px 0 5px;
}

#aqmssearch input {
vertical-align: top;
}


/*--------subscribe table---------*/

body#sbs {
background-image: url('https://www.environment.nsw.gov.au/images/aqms/subscription_faint.gif');
background-repeat: no-repeat;
}

#subscribe{
width: 50em;
position: absolute;
background-color: #e9f8fb;
border: 1px #22bbcb solid;
padding: 1em;
width: 28em;
height: 19em;
top: +8em;
left: +18em;
}

#subscribe p {
margin: 0;
padding-bottom: .5em;
}

#subscribe h2, h3 {
color: #089;
margin: 0;
padding: 0;
}

#subscribe H2 {
font-size: 120%;
}

#subscribe H3 {
font-size: 110%;
padding-top: 1em;
padding-bottom: 0.7em;
}

p.sendbutton, p.username, p.password, p.forgot {
text-align: right;
}

p.forgot {
font-size: 90%;
}

/* Temporary modifications to update aqms table. Namespaced, unfortunately, with the style attribute on the body element*/
body[style*="padding:0px;margin:0px;width:100%;height:100%;"] > table > tbody > tr > td {
    border: 1px solid #e0dee0 !important;
}

body[style*="padding:0px;margin:0px;width:100%;height:100%;"] * {
    font-family: Arial;
    font-size: 11px !important;
    color: #5c5c5c !important;
}

body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td.alert[style*="bold"] {
		font-size: 12px !important;
	}

body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td[title="click for full report"] {
    border: 1px solid #e0dee0 !important;
}

@media only screen and (min-width: 301px) {
	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] * {
		font-size: 12px !important;
	}
	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td.alert[colspan="3"] {
		text-align: left !important;
	}

	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td.alert[style*="bold"] {
		font-size: 16px !important;
	}

	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td table[style="margin:0px;padding:0px;width:100%;"] {
		padding: 15px 10px !important;
	}


	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] table[style="margin-top:10px;padding:0px;width:100%;"] {
		padding-bottom: 20px !important;
	}
}

@media only screen and (min-width: 301px) {
	body[style*="padding:0px;margin:0px;width:100%;height:100%;"] body * {
		font-size: 15px !important;
	}
}

@media only screen and (min-width: 555px) {
    body[style*="padding:0px;margin:0px;width:100%;height:100%;"] td table[style="margin:0px;padding:0px;width:100%;"] {
        padding: 15px 26px !important;
    }
}