/************************************************
 overrides for broken "standard" SOA styles
 ************************************************/
 
p { font-size: 1em; }
a { font-size: 1em; }

a:link img, a:visited img, a:active img {
  text-decoration: none;
  border: 0 none;
}

h1 { font-size: 140%; }
h2 { font-size: 130%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }

table {
  margin: 0;
  padding: 0;
}

/************************************************
 application-specific styles
 ************************************************/
#navForm {
  position: relative;
  float: right;
  top: 0px;
  font-size: 12px;
}

#navForm label {
  font-size: 1.1em;
  font-weight: bold;
  padding-right: 5px;
}

#areaSelectForm { /* used on the region search page only */
  margin: 10px;
}

#background {
  font-size: 12px;
}

#disclaimerbox {
  background-color:#D3D9C2;
  margin:15px;
  padding:15px;
  border-radius:7px;
  -moz-border-radius:7px
}

#disclaimerbox .pointer {
	width: 0;
	height: 0;
	border-top: 35px solid transparent;
	border-bottom: 35px solid transparent;
	border-left: 20px solid #7A8063;
	padding-right:10px;
	float:left
}

fieldset.regionSummaryForm {
  width: 48%;
  height: 100%;
  border: 1px solid #333333;
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 10px;
  font-size: 12px;
}

fieldset.regionSummaryForm legend {
  padding-left: 10px;
  padding-right: 5px;
  font-size: 1.1em;
  font-weight: bold;
}

form.searchForm {
  margin: 10px;
  padding: 0;
  font-size: 12px;
}

form.searchForm  label {
  font-size: 1.1em;
  font-weight: bold;
}

#regionDetail {
  margin-top: 20px;
  border: 1px solid #333333;
  position: relative;
  min-height: 225px;
  font-size: 12px;
}

#regionDetail .title {
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
}

#areaDetail {
  width: 758px; /* matches width of area map images */
  background: #97DBF2; /* water */
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #333333;
  position: relative;
  min-height: 225px;
  font-size: 12px;
}

#areaDetail .title {
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
}

#targetMap {
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: -1;
}

#insetMapL {
  width: 200px;
  background: #ffffff;
  border: 1px dashed #333333;
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  display: block;
}

#insetMapR {
  width: 200px;
  background: #ffffff;
  border: 1px dashed #333333;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  display: block;
}

.insetMapCaption {
  font-weight: bold;
  background-color: #ffffff;
  color: #333333;
  position: absolute;
  left: 3px;
  bottom: 3px;
}

#searchHeader {
  margin-bottom: 1em;
  font-size: 12px;
}

#searchFooter {
  clear: both;
  margin-top: 3em;
  text-align: center;
  font-size: 12px;
}

#resultsHeader {
  font-size: 12px;
}

#resultsContent {
  clear:both;
  margin-top: 3em;
  font-size: 12px;
}

#resultsFooter {
  clear: both;
  margin-top: 3em;
  text-align: center;
  font-size: 12px;
}

.pageHeading {
  color: #00007c;
  font-family: arial,helvetica,sans-serif;
  font-weight: bold;
  font-size: 1.5em;
}

.resultsTitle {
  font-size: 1.1em;
  font-weight: bold;
}

.message-icon {
  background-repeat:no-repeat;
  padding-top: 2px;
  width:16px;
  text-align:left;
  text-indent:-999em;
}

.message-box {
  position:relative;
  background-color:#D3D9C2;
  margin:10px;
  padding:15px;
  border-radius:7px;
  -moz-border-radius:7px
}

.warn-icon {
  background-image:url(../images/warn.png)
}

.message-box .message-icon {
  top:12px;
  left:10px;
  position:absolute;
  background-position:center;
}

.message-box .message-content {
  position:relative;
  margin-left:20px;
  font-size:1.2em;
}

.exportLink {
  min-height: 16px;
  margin: 5px 0px 5px 0px;
  padding: 0px 0px 2px 21px;
  background-image:  url(../images/export.gif);
  background-position: top left;
  background-repeat: no-repeat;
}

table.regionMenu { width:100%; padding:0; border-style:none }
table.regionMenu tr > td { font-size:1.1em; border-style:none }

table.species {font-size: 12px; width:100%;background-color:#FFFFF0;color:#000000;font-family:arial,helvetica,sans-serif;text-align:left}
table.species th {font-weight:bold;color: #FFFFF0;background-color: #7A8063;padding:3px 10px 3px 2px;border-bottom:1px solid silver}
table.species td {font-size: 0.9em;padding:3px 10px 3px 2px;border-bottom:1px solid silver;vertical-align:top}

table.results {font-size: 12px; width:100%;background-color:#FFFFF0;color:#000000;font-family:arial,helvetica,sans-serif}
table.results tr.group > td {color: #FFFFF0;background-color: #7A8063;font-weight:bold}
table.results tr.total > td {background-color:#D3D9C2;font-weight:bold}
table.results tr > td:first-child {padding-left:5px;text-align: left}
table.results tr > td:last-child {padding-right:5px}
table.results td {font-size: 0.9em; padding:3px 2px 3px 2px; border: none; border-bottom:1px solid silver;text-align:right}

table.results2 {font-size: 12px; width:100%;background-color:#FFFFF0;color:#000000;font-family:arial,helvetica,sans-serif}
table.results2 tr.group > td {color: #FFFFF0;background-color: #7A8063;font-weight:bold;vertical-align:bottom}
table.results2 tr.group a {font-size: 1em; color: #FFFFF0;font-weight:bold}
table.results2 tr.total > td {background-color:#D3D9C2;font-weight:bold}
table.results2 tr.group > td:first-child {padding-left:5px;text-align: left}
table.results2 tr > td:first-child {padding-left:5px;text-align: left}
table.results2 tr > td:last-child {padding-right:5px}
table.results2 td {font-size: 0.9em; padding:3px 5px 3px 2px; border: none; border-bottom:1px solid silver;text-align:right}

ul.resultActions {
  float: right;
  margin: 0;
  padding: 0;
}

ul.resultActions li {
  line-height: 2em;
  display: inline;
}

@media screen {
  .legend {
    display: none;
  }
}

@media print {
  #appNameHeading {
    display: none;
  }
  
  #breadcrumb {
    display: none;
  }
  
  #resultsHeader {
    display: none;
  }

  #resultsFooter {
    display: none;
  }
  
  .resultActions {
    display: none;
  }
  
  .legend {
    margin-top: 2em;
    font-size: 0.7em;
    font-weight:normal;
  }
    
  .fuseboxdebug {
    display: none;
  }
}
