body {
  text-align: center;
  font-family:Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif;
  letter-spacing:-0.018em;
  background-color: #888888;
}

a {
  text-decoration: none;
  color: #2222FF;
  cursor: pointer;
}

a:visited {
  color: #2222FF;
}

td {
  vertical-align: top;
}

.center {
  text-align: center;
}

#body-wrapper {
  min-width: 800px;
  text-align: left;
}

form {
  margin: 0;
}

#header {
  background: #C4DCE4 url(../images/logo_50.png) no-repeat top left;
  height: 55px;
  width: 100%;
}

/*
ul#usermenu {
  list-style: none;
  float: right;
  text-align: right;
  padding-right: 0.8em;
  padding-top: 0.4em;
  margin: 0px;
}
*/

#usermenu {
  float: right;
  padding-right: 0.8em;
  padding-top: 0.4em;
  margin: 0px;
}

#body {
  background-color: #EEEEEE;
  margin-top: 0.3em;
  padding: 1em;
  padding-bottom: 0;
}

#body table:first-child {
  width: 100%;
}

#left-pane {
  width: 320px;
  padding-right: 2em;
}

#left-pane h1 {
  font-size: 1.2em;
  margin-bottom: 0;
}

#left-pane h2 {
  font-size: 1em;
  margin-bottom: 0;
}

#left-pane p {
  margin: 0;
}

.selectbox ul {
  margin: 0;
  list-style: none;
  padding: 0;
  padding-top: 5px;
}

.selectbox {
  max-width: 320px;
}

.selectbox h2 {
  font-size: 1em;
  margin-bottom: 0;
}

.selectbox a, .selectbox a:visited, a.imglink {
  color:  #000000;
}

.selectbox > ul {
  background-color: #FFFFFF;
  border: 1px solid;
  padding-left: 2px;
  overflow: auto;
}

.selectbox > ul > li {
  padding-left: 12px;
}

/*
.selectbox li {
  background: transparent url(../images/folder.png) no-repeat top left;
  padding-left: 26px;
  line-height: 26px;
  margin: 2px;
}
*/

.selectbox ul ul {
  padding-top: 0;
  border: none;
  margin-left: 1em;
}

.selectbox ul ul li {
  margin-left: 1em;
}

.selectbox li.selected {
  /*
  background-image: url(../images/folder-blue.png);
  */
  border: 1px dotted;
  margin: -1px 0 -1px -1px;
}

.selectbox ul ul li.selected {
  margin-left: 1em;
}

ul.thumb-list {
  list-style: none;
  padding: 0px;
}

.thumb-list li {
  float: left;
  width: 136px;
}

.thumb-list li a {
  font-size: 0.8em;
}

.thumb-list li a:visited img, .thumb-list li a img{
  color: transparent;
}

#miniviewer {
  width: 320px;
  height: 240px;
  position: relative;
}

#notes textarea {
  width: 400px;
  height: 200px;
}

#notes h2 {
  font-size: 1em;
  font-weight: normal;
  margin-bottom: 0px;
}

.editbox {
  padding: 1em;
  border: 1px solid;
  overflow: auto;
  background-color: #FBFBFB;
  font-size: 12px;
}

.editbox table {
  font-size: 12px;
  margin-left: 2em;
}

.editbox th {
  border: 1px solid;
}

.editbox h2 {
  color: #2222FF;
  font-size: 1em;
  font-weight: normal;
  margin-bottom: 0;
}

.editbox h3 {
  margin-bottom: 0;
}

.editbox ul {
  margin-top: 0;
  list-style: none;
  padding: 0px;
/*  font-size: 0.8em; */
}

.editbox li a {
  color: #FF0000;
}

.editbox li label {
  display: inline-block;
  margin-bottom: 4px;
  width: 120px;
}

.editbox span.link {
  font-weight: normal;
}

.editbox span.link a {
  text-decoration: none;
}

#buttons {
  height: 3.5em;
  padding-top: 0.5em;
}

#buttons button {
  float: right;
  margin: 0 0.7em;
  height: 3em;
}

#buttons button:first-child {
  float: left;
}

#action-submit {
  background-color: lime;
}

#action-flag {
  background-color: yellow;
}

#action-reject {
  background-color: red;
}

#action-save {
  background-color: orange;
}

#action-back {
  background-color: white;
}

#footer {
  background-color:#184A89;
  bottom: 0px;
  clear:both;
  color:white;
  display:block;
  font-size:x-small;
  height:15px;
  left:0;
  margin:0;
  overflow:hidden;
  padding:0;
  position:static;
  width:100%;
  text-align: left;
}

#footer a {
  color: white;
}

.miniviewer-toolbar {
  font-size: 0.8em;
}

#metadata {
  margin-top: 1em;
  border: 1px solid;
  padding: 0.5em;
  overflow: auto;
  background: #FBFBFB;
}

.container {
  padding-left: 12px;
  background: transparent url(../../webgateway/img/blue_arrow_down.gif) no-repeat center left;
  margin: 0;
}

.collapsed {
  background: transparent url(../../webgateway/img/blue_arrow_right.gif) no-repeat center left;
}

#metadata input {
  width: 145px;
}

#metadata h2+table {
  margin-left: 8px;
  font-size: 0.8em;
  line-height: 0.8em;
  width: 100%;
}

#metadata h2+table td {
  height: 2em;
}

#metadata h2+table td {
  /* white-space: nowrap; */
  vertical-align: middle;
}

#metadata h2+table td:first-child {
  font-style: italic;
}
#metadata h2+textarea {
  width: 270px;
  height: 8em;
  margin-left: 8px;
}

.collapsed+* {
  display: none;
}

.collapsed+h2 {
  display: block;
}

.metadata-header {
  margin-top: 1em;
  font-weight: bold;
}

.metadata-header span {
  font-weight: normal;
}

.metadata-header:first-child {
  margin-top: 0;
}

.metadata-entry {
  margin-left: 3em;
  margin-bottom: 4px;
}

.metadata-entry a {
  text-decoration: underline;
}

.ui-state-disabled a {
  color: #CCCCCC !important;
}

.ui-state-highlight {
  background-color: #C4DCE4 !important;
}

#selection h2 {
  margin-top: 0;
}

#selection .toolbox {
  font-size: 0.8em;
}

#selection .toolbox
{
  font-size: 0.8em;
}

.message {
  background-color: white;
  margin: 1em;
  padding: 1em;
  border: 1px solid;
  position: relative;
}

.message .header {
  font-weight: bold;
  margin-bottom: 5px;
}

.message .footer {
  font-size: x-small;
}

.message .toolbar {
  position: absolute;
  top: 0;
  right: 0;
}

select {
  background-color: white;
}

div.lookup-canvas {
  color: #009900;
  font-size: 0.8em;
}

ul.auto-complete-list li {
  font-size: x-small;
  text-align: left;
  font-weight: bold;
}

tr.odd {
  background-color: #FFFFFF;
}

tr.even {
  background-color: #D0D0D0;
}

.ui-widget-header {
  background: transparent;
  border: none;
  border-bottom: 1px solid #C4DCE4;
}

.ui-tabs .ui-tabs-panel {
  background: #FFFFFF;
}

.ui-state-active, .ui-widget-content .ui-state-active {
  border-color: #C4DCE4;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
  color: #444444;
}    
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
  color: #2222FF;
}

#tabs .selectbox {
  width: 320px;
  float: left;
  margin-right: 1em;
}

.ui-widget {
  font-size: inherit;
}

.ui-selectee img {
  border: 3px solid transparent;
}

.ui-selected img {
  border: 3px solid red;    
}

.editbox textarea {
  width: 30em;
  height: 20em;
}

.clonebase {
  display: none;
}

.validate-canvas {
  color: #FF0000;
  font-weight: normal;
  margin-left: 2em;
}

#annotations .toolbox {
  float: right;
  margin: -12px;
  padding-top: 6px;
}

#annotations .toolbox a {
  background-color: yellow;
  border-style: solid;
  border-width: 0 1px 1px;
  padding: 6px;
}

.blockMsg #directories ul:first-child {
  border:1px solid;
  float:left;
  text-align:left;
  width: 150px;
  height: 200px;
  overflow: auto;
}

.blockMsg #directories li {
  white-space: nowrap;
}

/*
.blockMsg #directories li.selected {
  background-color: yellow;
}
*/

.blockMsg .thumb-list {
  height: 200px;
  overflow: auto;
}

.blockMsg .thumb-list li {
  width: 60px;
  height: 60px;
}

.blockMsg .buttons {
  clear: both;
}

#tabs-help textarea {
  width: 50em;
  height: 20em;
}

#tabs-sys textarea {
  width: 50em;
  height: 3em;
}

#header .systemwarning {
  font-size: 0.9em;
  color: red;
  background-color: white;
  border: 1px solid;
  padding: 3px;
  max-width: 40em;
  max-height: 2.5em;
  clear: both;
  float: right;
  overflow: auto;
}

li.isgroup {
   background: transparent url(../../ascb_il/images/group_small.gif) no-repeat center left;
   margin-left: 1px !important;
   padding-left: 14px;
}

#group-tb {
  margin-left: 1em;
}