/* Generic styles */
body { 
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 10pt;
  color: #444;
  margin: 0;
  padding: 15px;
  height: 100%;
}

img { 
  border: none;
}

h1 {
  font-size: 150%;
  margin: 0 0 1em 0;
  padding: 0;
}

h2, h3 {
  font-size: 120%;
  margin: 0 0 1em 0;
  padding: 0;
}

a { 
  color: #009;
  text-decoration: none;
}

a:hover { 
  text-decoration: underline;
}


label,input,textarea,select {
  display: block;
  width: 200px;
  float: left;
  margin-bottom: 10px;
}

textarea { 
  width: 270px;
  height: 100px;
}

label {
  text-align: right;
  width: 150px;
  padding-right: 20px;
}

br {
  clear: left;
}

.h { 
  display: none; /* Use for hidden bot traps etc */
}

fieldset { 
  margin: 0 0 10px 0;
  padding: 0;
}

legend {
  color: #444;
  padding-bottom: 5px;
  font-weight: bold;
}

.formblock {
  display: block;
  float: left;
  margin-bottom: 10px;
}

.formblock label { 
  padding: 0 0 0 5px;
  text-align: left;

}

.formblock input {
  width: auto;
}

.button { 
  width: 150px;
}

.mandatory { 
  font-weight: bold;
}

.hint {
  font-style: italic;
  font-size: 80%;
  padding-left: 1em;
}

table {
  width: 100%;
  margin: 0 0 1em 0;
  border-collapse: collapse;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

table tr td {
  padding: 3px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

thead { 
  font-weight: bold;
}

.usermanage select { 
  margin: 0;
}

/* Layout stuff */

#header {
  background-image: url(/resources/images/header.jpg);
  background-repeat: no-repeat;
  background-position: top left;
  height: 101px;
  background-color: #9A8D6E;
  border-bottom: 3px solid #e27000;
}

#header p {
  margin: 60px 0 0 5px;
  padding: 0;
  float: left;

  color: #fff;
  font-size: 16pt;
}

#header img { 
  float: right;
}

#headercopy { 
  color: #fff;
  text-align: center;
  font-size: 8pt;
}


#menu {
  background-image: url(/resources/images/menu_corner.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  border-top: 1px solid #666;
  background-color: #9A8D6E;
}

#menu ul {
  list-style:               none;
  float: left;
  margin:                   0;
  padding: 0;
}

#menu ul li {
  float: left;
  padding: 0;
}

#menu ul li a {
  float: left;
  color: #fff;
  border-right: 1px solid #ccc;
  height: 19px;
}

#menu ul li.first a {
  border-left:              none;
}

#menu ul li a:hover { 
  background-color: #333;
}

#footnav ul li a, #menu ul li a {
  text-decoration: none;
  padding:                  0 1em;
}

#footnav ul li.first {
  border-left:              none;
}

#innerbody { 
  margin: 15px 230px 0 0;
}

#sidebar {
  background-image: url(/resources/images/sidebar_fade.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-color: #eee;
  position: absolute;
  right: 15px;
  top: 155px;
  width: 200px;
  height: 480px;
  padding: 7px;
}

#sidebar h1 { 
  
}

#footer {
  border-top: 1px solid #ccc;
  padding-top: 5px;
  text-align: right;
}

/* Lower piped navigation list */
#footnav
{
  display: inline;
}

#footnav ul {
  display:                  inline;
  margin:                   1em 0;
}

#footnav ul li {
  display:                  inline;
  border-left:              1px solid #ccc;
  padding:                  0;
}

#footnav ul li a {
  text-decoration: none;
  padding:                  0 1em;
}

#footnav ul li.first {
  border-left:              none;
}

#footnav a:hover {
  text-decoration: underline;
}

#footnav ul li.wart a {
  color:                    #999;
}

#footnav ul li.wart img {
  vertical-align:           middle;
}

#footnav ul li.wart a { 
  padding: 0;
  margin: 0;
}

#footnav ul li.wart a.text { 
  padding: 0 0 0 1em;
}

/* Newslib things */

#newslib { 
  padding: 2px 0 0 1px;
}

#newslib .nltoolbar ul { 
 padding: 0;
                         margin: 0 0 1em 0;
}

#newslib .nlstory p, #newslib .story p { 
  margin: 0.5em 0 0.5em 0;
  padding: 0;
}

#newslib .nlstory, #newslib .story { 
  border-bottom: none;
}

#newslib table {
  width: auto;
  margin: 0 0 0 0;
  border-top: 1px solid #ccc;
}


#newslib h3 {
  margin: 1em 0 0.3em 0;
  clear: left;
}

#newslib input { 
  margin-left: 0;
}

#newslib .comments { 
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#newslib .comments li { 
  margin: 0 0 1em 0;

}

#newslib .comments li img { 
  float: left;
  padding: 0 5px 0 0;
}

#newslib .commentform {
}

#newslib .commentform fieldset { 
  border: none;
  padding: 0;
}

#newslib .commentform label { 
  text-align: left;
  padding: 0 0 0 5px;

}

.searchform .inner { 
  width: auto;
}

.searchresults .result { 
  margin-bottom: 1em;
  padding: 4px;
  border: 1px solid #ccc;
}

.searchresults .title { 
  font-weight: bold;
}

.searchresults .filename { 
  font-size: 80%;
}

.searchresults .snip { 

}

.searchresults .author { 

}

.searchresults .postdate { 
  display: inline;
  font-size: 80%;
  font-style: italic;
}

.searchresults .category { 
  display: inline;
}

.searchresults .rank { 
  float: right;
  width: 25px;
  border: 1px solid #ccc;
  height: 5px;
  padding: 1px;
}

.searchresults .rank .bar { 
  background-color: #0000aa;
  height: 5px;
}

#logos {
  text-align: center;
}

#logos img {
  margin: 5px;
  padding: 3px;
}

.message { 
  font-weight: bold;
}