/*
 * Style sheet for CWA effluent reports
 *
 * Most of the query page and help page styles derive from master.css
 * and otisstyles.css.  These are some modifications.
 */


/*
 * General text styles
 */
.error {
  color: red;
  font-weight: bold;
}
.footnoteno {
  vertical-align: super;
  font-size: smaller;
}

/*
 * Query page styles
 */

.head2 {
  text-align: right;
}
textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
}
input {
  font-size: 90%;
}
input.buttonBlue {
  cursor: pointer;
}
input.buttonBlue:enabled:hover {
  color: white;
}
.smaller {
  font-size: 50%;
}
/*
IE6 workaround:  following selector should really be
  textarea[readonly], input[type=text][readonly]
but IE6 doesn't support attribute selectors.
*/
.readonly {
  font-size: 8pt;
  background-color: #d2dfe7;
  border: 2px inset #f9f8f3;
  padding-left: 2px;
}
.warning:enabled {
  color: red;
  font-weight: bold;
}
a:disabled {
  cursor: default;
}
a:enabled {
  cursor: pointer;
}
.disabled {
  color: GrayText;
}
.dbnotice {
  color: red;
}
.timeline {
  margin: 0em 0.6em;
  height: 1.5ex;
  position: relative;
  vertical-align: middle;
  border-left: 1px solid red;
  border-right: 1px solid red;
}
.timelinemiddle {
  padding: 0px;
  position: relative;
  height: 50%;
  border-bottom: 1px solid red;
  width: 100%;
  font-size: 0%;  /* so IE doesn't pad the height */
}

table.permitdata td, table.permitdata th {
  font-size: 90%;
  vertical-align: top;
}
table.ecquery2 td table, table.permitdata td table {
  padding: 0px;
  border-spacing: 0px;
}
table.ecquery2 td td, table.permitdata td td {
  padding: 1px;
  font-size: 100%;
  vertical-align: baseline;
}
table.permitdata th {
  text-align: left;
}
table.permitdata tr.vspace {
  height: 10px;
}

table.ecquery1, table.ecquery2 {
  width: 97%;
  margin-left:  2%;
  margin-right: 1%;
}
table.ecquery1 td {
  vertical-align: middle;
}
table.ecquery2 td {
  vertical-align: top;
}
table.ecquery1 td.ecbox1 {
  width: 8%;
}
table.ecquery1 td.ecbox2 {
  width: 20%;
}
table.ecquery1 td.ecbox3 {
  width: 69%;
}
table.ecquery2 td {
  padding-top: 10px;
}
table.ecquery2 td.ecbox1 {
  width: 15%;
}
table.ecquery2 td.ecbox2 {
  width: 15%;
}
table.ecquery2 td.ecbox3 {
  width: 70%;
}
td.titlerow {
  border-bottom: 1px solid #96a4ad;
  font-weight: bold;
}

/*
 * Help page styles
 */

.readable {
  font-size: 10pt;
}
div.sectionheader {
  background-color: silver;
  padding: 2px;
  margin: 25px 0px 20px 0px;
  font-size: small;
  font-weight: bold;
}
img.screenshot {
  margin: 15px auto;
  border: 1px solid blue;
  display: block;
}
ul {
  margin-left: 0px;
  padding-left: 15px;
}
.title {
  font-weight: bold;
}
.key {
  font-weight: bold;
}

caption {
  font-weight: bold;
}
table.datadictionary {
  border-collapse: collapse;
  margin-left: 10px;
  margin-right: 10px;
}
table.datadictionary thead,
table.datadictionary tfoot {
  margin: inherit 5px;
}
table.datadictionary th {
  background-color: #dddddd;
}
table.datadictionary td,
table.datadictionary th {
  vertical-align: baseline;
  text-align: left;
  border: 1px solid grey;
  padding: 0px 5px;
  position: relative;
}
table.datadictionary tfoot.footnote td {
  border: 0px;
  padding-top: 5px;
}



/*
 * Chart page styles
 */

body.chartpage {
  width: 780px;
  margin-left:  auto;
  margin-right: auto;
}
body.chartpage * { 
  text-align:   center;
  margin-left:  auto;
  margin-right: auto;
}

.level0divider, .level1divider {
  height:	2px;
  width:	100%;
  background-color: #339933;
  margin:	15px 0px;
  font-size: 0%;  /* so IE doesn't pad the height */
}
.level0header, .level1header {
  font-weight:   bold;
  font-size:     larger;
  margin-top:    15px;
  margin-bottom: 10px;
}
div.level2 {
  margin: 20px 10px 10px 10px;
}
div.level2header {
  width:            100%;
  background-color: #99ccff;
  padding-top:      5px;
  padding-bottom:   5px;
  font-weight:      bold;
  font-size:        110%;
  position:         relative;
}
span.level2headerright {
  position: absolute;
  right: 5px;
  font-size: 80%;
}
div.level3 {
  margin-top:    10px;
  margin-bottom: 10px;
}
div.level4 {
  width: 725px;
  position: relative;
}

form.block {
  margin-top: 5px;
}

/*
 * Table styles
 */

table.searchcriteria, table.chartcriteria, table.effluentdata,
table.dates {
  border-collapse: collapse;
}

table.searchcriteria {
  margin: 10px auto;
}
table.chartcriteria th, table.searchcriteria th, table.permitfacts th {
  font-size: smaller;
}
table.chartcriteria td, table.searchcriteria td, table.permitfacts td,
table.effluentdata td {
  color: #000099;
}

table.dates         th, table.dates         td,
table.chartcriteria th, table.chartcriteria td, 
table.effluentdata  th, table.effluentdata  td
{
  padding-left:  3px;
  padding-right: 3px;
}
table.searchcriteria th, table.permitfacts th,
table.searchcriteria td, table.permitfacts td {
  padding: 3px;
}
table.searchcriteria th, table.permitfacts th {
  vertical-align: baseline;
  text-align: right;
}
table.searchcriteria td, table.permitfacts td {
  vertical-align: baseline;
  text-align: left;
}

table.effluentdata th, table.effluentdata td {
  border: 1px solid gray;
}
table.effluentdata th {
  vertical-align: bottom;
}
table.effluentdata td {
  vertical-align: middle;
}
table.effluentdata colgroup, table.effluentdata thead, 
table.effluentdata tbody,    table.effluentdata tfoot {
  border: 2px solid black;
}
table.effluentdata td.exceedance {
  color: #CC0000;
  font-weight: bold;
}
/*table.effluentdata td.oddrow {
  background-color: white;
  border-color: gray;
}
table.effluentdata td.evenrow {
  background-color: #f3f3ff;
  border-color: gray;
}*/

table.dates th, table.dates td {
  text-align: center;
}
table.dates td.ecbox1 {
  width: 60px;
  text-align: left;
}
td.spacer {
  width: 10px;
}
