/**********************************************************************
THIS FILE IS DEPRICATED AND ONLY MAINTAINED FOR BACKWARD COMPATIBILITY
Default Editor Styles for ODLS

file:    css/odls/d-editor.css
***********************************************************************/

body { 
  background-image: none;
}

/********************************/
/* admin pages                  */
/********************************/

/* for widgets see widget.css */

#module-edit { }

#module-list { }

#module-create { }

/********************************/
/* page header                  */
/********************************/

#header-area .titlebar {
  background-color: #30404f; /* odls titlebar color */
  border-top: 1px solid #ccc;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  border-left: 1px solid #ccc;
  padding: .1em .3em;
}

#header-area .img-button { 
  margin: 0 5px 4px 4px;
  padding: 0;
}

/********************************/
/* modules                      */
/********************************/

.data .formEl-group, .trash .formEl-group { 
  border: 0;
}

/* read only view with top-toolbar */

.module { 
  margin-bottom: .5em;
}

.module .titlebar {
  background-color: #a9a9a9;
  padding: 3px;
}

.module .data {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  padding: 3px;
}

/* active modules */

.module-active {
  margin-bottom: .5em;
}

.module-active .data .panel {
  padding: 0px 4px;
}

.module-active .data .field {
  width: 92%;
}

/* lean module view without top-toolbar*/

.module-lean {
  margin: 5px 0;
  border: 1px solid #ccc;
}

.module-lost {
  margin: 5px 0;
  border: 1px solid #ff6600;
}

.module-lean .panel { /* for module-selector if called */
  background-color: #fff;
  border: 0;
  border-top: 1px solid #e2e2e2;
  padding-top: 4px;
}

.module-lean .titlebar { /* contains trash-hint */
  background-color: #fff;
  margin-top: 5px;
}

.module-lean .title {
  color: #666;
  font-weight: normal;
}

.module-lean .toolbar {
  background-color: transparent;
  text-align: right;
}

.module-lean .data {
  padding: 4px;
}

.module-lean .img-button-small {
  border: 1px solid #e2e2e2;
  margin-bottom: 2px;
}

/* select modules (tree and preview) */

.module-select { 

}

.module-select .title { 

}

.module-select .preview-box {
  margin: 0;
  background-color: #fff;
}


/*** override concurrent module styles ****************/

/* suspend any space around editable content */
/* provisionally excluded: 
   .module .data ul, .module .data ol, */
.module .data h1, .module .data h2, .module .data h3,  .module .data li, .module .data p, .module .data div, .module .data span {
/*  
   margin: 0;
*/
}

.module-lean .data h1, .module-lean .data h2, .module-lean .data h3, .module-lean .data li, .module-lean .data p, .module-lean .data div, .module-lean .data span {
/*
  margin: 0;
*/
}

/* suspend table width defined in module */
.module .data table, .module-active .data table, .module-lean .data table, .module .trash table, .module-lean .trash table {
  /*width: 95%; */
}

/* try to give all cells same space */
.module-active .data td {
  /*width: 10%; */
}

.module-active .panel .panel { 
  width: 95%;
}

/* give all Labels same text size */
.module-active .data .formElLblTxt {
}

/* CSS2-Browser (NC6, MSIE6, ~OP4) will suspend the 
   float-effect of the align attribut */

.module .data img[align="right"], .module-lean .data img[align="right"] {
  /*
  float: none;
  border: 1px solid #c00;
  */
}

.module .data img[align="left"], .module .data img[align="left"] {
  float: none;
  border: 1px solid #c00;
}

/* dont show search-form in edit-mode */
.module #search, .module-lean #search, .module-active #search { 
  /*display: none;*/
}


/********************************/
/* database forms (db.inc)      */
/********************************/

/* for widget see widget.css */
#db {  }

#db #header { 
  margin: 15px 0 10px 0;
}

#db #info .title { 
  color: #000;
}

#db #footer { 
  margin: 10px 0 0 0;
}

/*** list view (search) */

#db .list .formEl-table { 
}

#db .list .field { 
}

#db .list .button { 
}

#db .list .formEl-table .formEl-box { 
  background-color: #30404f;
}

#db .list .formEl-table th, #db .list .formEl-table td {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff; 
  border-left: 1px solid #fff;
}

#db .meta-data .formEl-label-box, #db .meta-data .formEl-box { 
  background-color: #ccf;
}

#db .list .group-title-box { 
  background-color: #30404f;;
}

#db .list .group-title { 
  color: #333;
}

#db .list th { 
  background-color: #ccf;
  color: #333;
  text-align: left;
}

/*** singe record form view */
#db #single td { 
  border: 1px solid #fff;
}

#db #single textarea { 
  width: 80%;
}


/*********************************/
/* file browsing utils and lists */
/*********************************/

#filebrowser { }

#dir-tree { 

}

#dir-tree table {
  padding: 3px; 
}

#dir-tree .img-button-small { /* 16px  */ 
  margin: 0 6px 0 0;
  padding: 0;

}

/*********************************/
/* modal dialogs                 */
/*********************************/

#modal-dialog,
#window-dialog {
  /*background: #e2e2e2;*/
  background: rgb(226,226,226);
  margin: 0;
  padding: 3px;
  border: 0;
}



#link-box .flex { 
  width: 90%;
}

#link-box .formEl-table { 
  border: 1px solid #fff;
}

#link-box .formEl-table {
  width: 100%;
}
