/* Document body */
body {
  background: #FFFFFF;
  color: black;
  font: 12px Verdana, Helvetica, sans-serif;
  margin: 0;
  padding: 0.5em;
  border-width: 0;
}

* {
  font-size: 1em;
}

a:link, #toolbar a:link {
  color: #00C;
  text-decoration: none;
}

a:visited, #toolbar a:visited {
  color: #00C;
  text-decoration: none;
}

a:hover, #toolbar a:hover {
  color: white;
  background: #00C;
}

#toolbar {
  position: static;
  width: 100%;
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;

  margin-top: 0.5em;
  z-index: 100;
}

#toolbar span.left {
  padding-top: 2px;
  position: absolute;
  left: 0;
  margin-left: 0.5em;
}

#toolbar span.right {
  padding-top: 2px;
  position: absolute;
  right: 0;
  margin-right: 0.5em;
}

#toolbar p.functions {
  margin:0;
  padding:0;
  vertical-align: middle;
}

a.toolbarmenu {
  border-right: 1px solid lightgrey;
  padding-right: 0.5em; 
}

span.toolbarmenu {
  border-right: 1px solid lightgrey;
  padding-right: 0.5em; 
  padding-left: 0.5em;
}

#systembar {
  font-size: 0.8em;
  padding: 0;
  margin: 0;
  border: 1px solid lightgrey;
  background-color: #F0F0F0;
}

#systembar ul {
  display: list-item;
  padding: 0;
  margin: 0;
  list-style-image: url(pix/bullet.gif);
/*  list-style-type: square; */
}

#systembar span.errormessage {
  color: red; 
}


/* Main section */
#main {
  width: 100%;
}

/* Left side bar styles */
#leftbar {
  border: 1px solid lightgrey;
  float: left;
  width: 24%;
  min-width: 24%;
  margin-left: 0;
  margin-top: 1em;
  background: #F0F0F0;
  overflow: hidden;
}

#casevars {
/*  overflow: auto; */
  width: 100%;
  z-index: -100;
}

#lastnote {
/*  overflow: auto; */
  width: 100%;
}

#leftbar a {
  font-size: 0.85em;
}

#leftbar h4 {
  font-size: 100%;
  border-width: 1px;
  border-bottom: 1px solid;
  padding: 6px 0.1em 1px 0.33em;
  margin: 0;
  word-spacing: 1px;
}

#leftbar p {
  font-size: 0.85em;
  margin: 1em 0.5em;
}

#leftbar li {
  margin: 0.33em 0.5em 0.25em 1.5em;
}

#leftbar table {
  padding: 0;
  margin: 0;
  empty-cells: show;
  border-collapse: separate;
}

#leftbar td {
  font-size: 0.85em;
  vertical-align: top;
}

#leftbar th {
  font-style: normal;
  font-size: 0.85em;
}

#leftbar th.caselist {
  font-size: 0.85em;
}

#leftbar p.right {
  color: darkblue;
  text-align: right;
  border-bottom: 1px solid lightgrey;
  margin: 0;
  padding: 0;
}

/* Main content styles */
#content {
  float: left; 
  width: 74%;
  margin-left: 1em;
  margin-top: 1em;
  font: 1em/1.25em;
}

#content hr {
  color: lightgrey;
  background-color: lightgrey;
}

#content h1, #content h2, #content h3, #content h4 {
  margin: 0;
}

#content h1 {
  margin: 0;
  font-size: 225%;
}

#content h2 {
  font-size: 175%
}

#content h3 {
  font-size: 150%
}

#content h4 {
  margin: 1.25em 0 0;
  font-size: 125%;
}

#content p {
  padding-left: 0.66em;
  margin: 0.25em 0 1.5em;
  font-size: 0.95em;
}

#content ul, #content ol {
  margin: 0.25em 0.5em 1em 2.5em;
  padding: 0;
  font-size: 0.95em;
}

#content table {
  font-size: 0.95em;
}

#content th, #content td {
  padding: 3px;
  font-size: 1em;
  vertical-align: top;
}

#content div.caselist {
  margin-top: 1em;
  margin-bottom: 1em;
}

#content table.caselist  {
  border-collapse: collapse;
  empty-cells: show;
}

#content th.caselist {
  text-align: left;
  border: 1px solid lightgrey;
  background-color: lightgrey;
}

#content td.caselist {
  border: 1px solid lightgrey;
}

#content td.formborder {
  border: 1px solid lightgrey;
}

#content td.formbuttons {
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
  text-align: right;
}

#content td.preformatted {
  white-space: pre;
}

#content hr {
  height: 1px;
}

#content div.blobdisplay {
  padding: 0.5em 0 0.5em 0;
  margin: 0.5em;
}

table.topbar {
  width: 100%;
}

td.topbarleft {
  vertical-align: bottom;
  text-align: left;
  line-height: 1.6em;
}

td.topbarright {
  vertical-align: bottom;
  text-align: right;
  line-height: 1.6em;
}

table.sysbar {
  width: 100%;
}

td.sysbarleft {
  vertical-align: middle;
  text-align: left;
}

td.sysbarright {
  vertical-align: middle;
  text-align: left;
  padding-left: 1em;
}

td.sysbaricon {
  text-align: center;
  vertical-align: middle;
  width: 18px;
  border-left: 1px solid lightgrey;
}

#footer {
  border-top: 1px solid lightgrey;
  padding: 0.25em 0.1em 0.5em;
  margin: 0;
  text-align: right;
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 100%;
  font-size: 0.8em;
}

#footer p {
  font-size: 0.75em;
}

.busfunc {
  border: 1px outset;
  font-size: 0.95em;
  padding: 0 0.2em;
  margin: 0 0 0 2px;
  text-decoration: none;
  text-align: right;
  white-space: nowrap;
}

.busfuncgroup {
  border-bottom: 1px solid;
  font-size: 90%;
  color: #00C;
  cursor: pointer;
  padding: 0 0.2em;
  margin: 0 0 0 2px;
  text-decoration: none;
  text-align: right;
  white-space: nowrap;
}

.casefunction {
  font-size: 0.9em;
  color: #00C;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.noborder {
  border: 0;
}

.button {
  font-family: Tahoma, sans-serif;
  font-size: 9px;
  text-align: center;
}

.functiongroup {
  border-right: 1px solid;
  margin-right: 0.3em;
}

.caption {
  color: darkblue;
}

div.spacer {
  clear: both;
}
n {
  font-size: 0.9em;
  color: #00C;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.noborder {
  border: 0;
}

.button {
  font-family: Tahoma, sans-serif;
  font-size: 9px;
  text-align: center;
}

.functiongroup {
  border-right: 1px solid;
  margin-right: 0.3em;
}

.caption {
  color: darkblue;
}

div.spacer {
  clear: both;
}
