/* Common styles - layout colours etc.*/
body {
  margin: 0;
  padding: 0;
  min-width: 800px;
  min-height: 600px;
  font:13px Verdana, Arial, Helvetica, sans-serif;
  color: #111;
  line-height:1.5em;
  background-color: #fff;
  position:relative;left:0px;top:0px;
  z-index:0;
}


div.clear-block {
  margin-top:10px;
  clear: left;
  margin-left:2px;
}

div.block {
  font-size:85%;
}

div.centred {
  width:99%;
  margin-left:10%;
  left:5%;
  display:block;
  text-align:center;
}

div.lefted {
  text-align:left;
}

a, a:link, a:visited, .clickable{
  color: #2763A5;
  text-decoration: none;
}

a:hover, a:focus {
  color: #6191C5;
}

a:active, a.active { 
  color: #89A3E4; 
}
		
h1.title, h1.title a, h1.title a:hover {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #2B226F;
  font-size: 200%;
  margin:0;
  margin-bottom:0px;
  line-height:normal;
}

h1, h1 a, h1 a:hover {
  font-size: 140%;
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  margin:.5em 0 .5em 0;
}

h2, h2 a, h2 a:hover, .block h3, .block h3 a {
  font-size: 122%;
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  margin-left:5px;
}

h3 { 
  font-size: 107%;
  font-weight: bold;
  color:#2763A5;
  font-family: Arial, Helvetica, sans-serif;
}

h4, h5, h6 {
  margin:0px 0px 0px 5px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

pre {
  background: #ddd;
  border: 1px solid #aaa;
  padding: 0.75em 1.5em;
}

img { 
  border: 0;
}

img.bordered {
  border: 1px;
}

ol, ul, dl, li { 
  position: relative;
  margin:0px;
  padding:0px;
  list-style-type:none;
}
#notice{
  margin:5px;
  padding:2px;
  margin-left:5px;
  border: 1px solid #B00;
}

#blk1 {
  float: left;
  margin-left:5px;
}

#blk2 {
  margin:5px;
  border: 1px solid #bbb;
  padding: 5px;
  float:left;
  background-color:#fff;
  width: auto;
  -moz-border-radius: 2px; -webkit-border-radius: 2px;
}

#blk3 {
  clear: both;
}

#map {
    margin-left:5px;
    height:100%;
    width:100%
}

#mapctl{
    margin-top:20px;
    width:210px;
}

/* Menu styles */
#layermenu {
  font-size:12px;
  margin-top:4px;
}

/* Header styles */
#header{
  border-top:4px solid #2763A5;
  margin-top:5px;
  border-bottom:1px solid #2763A5;
}

#logo {
  margin: 3px;
  vertical-align: middle;
}

#site-name {
  display: inline;
}

#site-desc {
  display:inline;
  color: #aaa;
  font-size: 85%;
  margin-left:10px;
}

#sitetitle {
  margin:0px;
  display:inline;
}

#user-name {
  position: absolute;
  right: 5px;
  top: 35px;
}

#map {
  clear:left;
}

#login {
  margin:auto;
  width:400px;
  text-align:center;
}


/* Menu styles */
#topmenu {
  font-size: 85%;
  line-height:normal;
  padding:0px 0px 1px 20px;
  float: right;
}

#topmenu ul {
  padding:0;
  margin:0;
}

#topmenu li {
  display:inline;
}

#topmenu a {
  background:#6DA6E2;
  color:#FFF;
  font-weight:bold;
  display:block;
  float:left;
  padding:5px 14px 5px 14px;
  margin: 0px 1px 0px 0px;
  border: solid #6191C5 1px;
  border-width: 1px 1px 0px 1px;
  width:70px;
}

#topmenu a {
  background-position:0% 0px;
}

#topmenu a:hover {
  background-position:0% -42px;
  text-decoration:none;
}

#topmenu a.active {
  background-position: 0% -84px;
}

/* Module tabs */
#modmenu {
  margin-bottom: 0px;
}

#modmenu ul {
  border-collapse: collapse;
  padding: 0;
  white-space: nowrap;
  list-style: none;
  margin: 0px 5px 0px 5px;
  height: auto;
  line-height: normal;
  border-bottom: 1px solid #bbb;
}

#modmenu ul li {
  display: inline;
}

#modmenu ul li a {
  background-color: #fff;
  border-color: #bbb;
  border-width: 1px;
  border-style: solid solid none solid;
  height: auto;
  margin-right: 0.5em;
  padding: 0 1em;
  text-decoration: none;
  -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px;
}
#modmenu ul li.active a {
  background-color: #eee;
  border: 1px solid #bbb;
  border-bottom: #eee 1px solid;
}
#modmenu ul li a:hover {
  background-color: #ddd;
  border-color: #ccc;
  border-bottom-color: #eee;
}

#content {
  width:99%;
  margin:0px 5px 0px 5px;
  background-color: #eee;
  border:1px solid #bbb;
  border-top:none;
  padding-top:3px;
}

/* Form styles */

input, textarea, textfield, select {
  margin:3px;
  margin-top:0;
  color: #000;
  font-family: arial;
  padding:1px;
  font-size: 100%;
  display:inline;
}

select {
  height:20px;
}

select[multiple]{
  height:auto;
}

label{
  display:inline;
  float:left;
  color:#555;
  vertical-align:middle;
  width:150px;
}

label.active{
  font-style:italic;
}

label.inline{
  float:none;
}

input[disabled], textarea[disabled], select[disabled]{
  background-color: transparent;
}



.button, .form-submit {
  background-color: #68A0D9;
  color: #fff;
  font-weight:bold;
  border: 1px solid #4070A1;
  margin-right:5px;
}

.textbox {
  border: 1px solid #000;
  padding: 10px;
  padding-top: 15px;
  margin-top:10px;
  -moz-border-radius: 2px; -webkit-border-radius: 2px;
}

.textbox_label {
  text-align:left;
  background-color: #FFF;
  font-size:10px;
  margin-top:-27px;
  margin-left:20px;
  padding:2px;
}




/* Alerts, Status, Help Messages  */
div.warn {
  border: 2px solid #F00;
}

/* Table Styles */
table {
  border-collapse: collapse;
  background-color:#fff;
  width:100%;
  border: thin solid black;
}

table td {
  border-left: 1px #000 solid;
}

table tr.t0,tr.t1,tr.tday {
  border-top: 1px #000 solid;
}

table tr.tday {
  height:10;
}

table.datatable th {
  border: 1px #000 solid;
}

table.datatable tr.groups {
  background: #6DA6E2;
  color: #FFFFFF;
}

table.datatable tr.headers,th.tkey {
  background: #DDD;
  border-left: 1px #000 solid;
}

table.datatable tr.units {
  font-weight: normal;
}

table.bordered th {
  border: 1px #000 solid;
}

table.bordered td {
  border: 1px #222 solid;
}

table .odd {
  background-color: #eee;
}



/* Footer styles */
#footer {
  background-color: #2763A5;
  border: solid 1px #004969;
  color:#FFFFFF;
  text-align: center;
  margin:0;
  font-size: 85%;
  padding: 3px;
  z-index:-1;
  clear: both;
}
}
  
#footer a {
  color: #fff;
  font-weight:bold;
  border-bottom: 1px dotted #FFFFFF;
}
  
#footer a:hover {
  border-bottom: 1px solid #FFFFFF;
}



/* Administration styles */
.panel {
  padding:0;
  background-color: #eee;
  border: solid #6191C5 1px;
  padding:10px;
}

.panel table{
  background-color: #eee;
}

.subrow{
  text-align:left;
}

.subrow span{
  margin:0 5px 0 5px;
  font-weight:bold;
}

.subrow span .selected{
  border: solid #6191C5 1px;
}




