/* 
Document   : default
Created on : January 12, 2006, 5:47 PM
Author     : llturro
Description:
Default XMLPortal style
*/

body {
   margin: 0;
   padding: 0;
   font-size: 13px;
   font-family: Verdana, "Helvetica medium", Sans, Arial, sans-serif;
   background-color: White;
}

a img {
   border: none;
}

img.linkImg {
   vertical-align: middle;
}

a {
   text-decoration: none;
   color: #6b7594;
}

a:hover {
   color: #a4756b;
}

a.externalLink, a.externallink:link, a.externallink:visited, a.externallink:active, a.externallink:hover {
   background: url('external_link.png') right center no-repeat;
   padding-right: 15px;
}

a.newwindow, a.newwindow:link, a.newwindow:visited, a.newwindow:active, a.newwindow:hover {
   background: url('new_window.png') right center no-repeat;
   padding-right: 15px;
}

h1 {
   font-size: 200%;
   font-weight: normal;
   color: #6e6f6e;
}

h2 {
   font-size: 150%;
   font-weight: normal;
   color: #6e6f6e;
}

h3 {
   font-size: 110%;
   color: #6e6f6e;
}

h4 {
   font-size: 105%;
   color: #6e6f6e;
}

h5 {
   font-size: 100%;
   color: #6e6f6e;
}

td {
   font-size: inherit;
}

/* zkoss buttons compliant */
td.z-button-tm,
td.z-button-tl,
td.z-button-tr {
  font-size: 0px;
}

div {
}

dt {
   color: gray;
   font-size: 110%;
   font-weight: bold;
}

dd {
   padding-bottom: 5px;
}

pre, samp, code, tt {
   font-family: "Courier New", monospace;
   font-size: 100%;
   overflow: auto;
}

textarea, input, select, button {
   font: inherit;
}

form {
   margin: 0px;	
   font: inherit;
}

div.default-element {
   margin: 0px;
   padding: 0px;
}

div.default-body {
   padding-left: 5px;
   padding-right: 5px;
}


div.header,
div.header div.default-element,
div.header div.default-element div.default-body,
div.header div.default-element div.default-body div {
  margin: 0px;
  padding: 0px;
}

div.locator,
div.locator div {
  margin: 0px;
  padding: 0px;
}

div.footer,
div.footer div.default-element,
div.footer div.default-element div.default-body,
div.footer div.default-element div.default-body div {
  margin: 0px;
  padding: 0px;
}

div.buttons {
   font-weight: normal;
   font-family: monospace;
   font-size: 90%;
   padding: 8px;
}

div.buttons a {
   margin-left: 5px;
   padding: 3px 10px 3px 10px;
   text-decoration: none;
   color: #6e6e6e;
   border: 1px solid #dddddd;
   background-color : #eeeeee;
}

div.buttons a:hover {
   color: #316ac5;
   border: 1px solid #a2b3df;
   background-color : #c2d3ef;
}

div.buttons img {
   border: none;
   vertical-align: top;
}

div.container {
   background: #fff;
   padding: 0;
}

/* colored divisions */

div.sand {
   border: solid 1px #cecfce;
   background-color: #efefde;
}

div.softgreen {
   border: solid 1px #cecfce;
   background-color: #e7efe7;
}

/* SQL navigator */

div.dbnav ul {
   list-style: none;
   padding: 0;
}

div.dbnav li {
   padding: 5px;
   float: left;
}

div.dbnav li a {
   display: block;
   font-weight: bold;
   color: #6e6f6e;
   text-decoration: none;
}

div.dbnav li.active {
   background-color: #eeeeee; 
}

div.dbnav li.active a {
   font-weight: bold;
   color: #000;
}

/* Tips */
.tip {
   color: #666666;
   font-size: 120%;
}

/* User actions */

div#useractions {
   border-top: solid 1px #cecfce;
   background-color: #efefde;
   padding: 5px;
}

div#useractions a {
   margin-left: 10px;
}

div#useractions span {
   color: #aeafae;
   font-weight: bold;
}

/* Feedback */

div#feedback {
   text-align: left;
   padding: 5px;
   padding-left: 50px;
   background-color: #3191b1; 
   color: #fff;
}

span#fbthanks {
   color: #666;
   font-size: 120%;
}

/* InPlace Editor */

form.inplaceeditor-form textarea {
   width: 100%;
   border: solid 1px #d0d4ad;
}

/* HTMLForm */

.htmlform {
  text-align: left;
}

input.hf_input,
select.hf_select,
input.hf_autocompleter,
textarea.hf_editor {
   width: 100%;
   border: solid 1px #dddddd;
   padding: 4px;
   background-image: url(bg-editor.png);
}

/* autocomplete lists */

div.autolist {
   border: solid 1px #dedeae;
   background-color: white;
   padding: 0;
   margin: 0;
   max-height: 200px;
   overflow: auto;
}

div.autolist ul {
   margin: 0;
   padding: 5px;
   list-style: none;
}

div.autolist .selected {
   background-color: #dedeae;
}

/* wiki */

TABLE.tb_wiki {
}

TD.thd_wiki {
   padding: 8px;
   color : #646753;
   font-weight: bold;
}

TR.thr_wiki {
   background: url('wthbg.gif') repeat-x;
}

TD.tbd_wiki {
   padding: 8px;
   border-bottom: 1px solid #646753;
}

DIV.note_wiki {
   margin-left: 3em;
   font-style: italic; 
   padding: 0.5em; 
   border: solid 1px #cfcfce;
   background-color: #efefe7;
}

DIV.note_wiki I {
   font-style: normal; 
}

TD.utab_wiki {
   border-right: 1px solid white;
   border-left: 1px solid white;
   border-top: 4px solid white;
   padding-left: 10px;
   padding-right: 10px;
   padding-bottom: 5px;
   color: Gray;
   font-weight: 700;
   background-color: #eeeeee;
   cursor: pointer;
   border-bottom: 1px solid #dddddd;
}

TD.stab_wiki {
   border-top: 1px solid silver;
   border-left: 1px solid silver;
   border-right: 1px solid silver;
   padding-left: 10px;
   padding-right: 10px;
   padding-bottom: 5px;
   color: Black;
   font-weight: 700;
   background-color: white;
   cursor: pointer;
}

TABLE.tab_wiki {
   border: 1px solid silver;
}

DT.blind_wiki {
   cursor: pointer;
   margin-top: 10px;
}

DD.blind_wiki {
   margin-left: 5px;
}

/* User */

div.user {
   margin-top: 10px;
   padding-left: 20px;
   background: transparent url(../system/images/user.gif) 0 0 no-repeat;
   border-left: solid 1px #cecfce;
}

span.user {
   margin-top: 10px;
   margin-right: 10px;
   padding-left: 20px;
   background: transparent url(../system/images/user.gif) 0 0 no-repeat;
}

/* Macros */

.m_error {
   padding-left: 20px;
   color: red;
   background: transparent url(../system/images/warn.gif) 0 0 no-repeat;
}

/* Print version */

div#print-version {
   text-align: right;
   background: transparent url('printer.gif') right no-repeat;
   margin-top: 10px;
   padding-right: 20px;
}

/* Control version */

div#control-version table {
   float: right;
}

div#control-version td {
   font-size: 80%;
}
 
div#control-version span.file-version {
   background: url('press.gif') no-repeat;
   padding-left: 20px;
}

/* Context title */

div.context-title {
   margin-top: 10px;
   border-bottom: solid 1px silver;
   font-size: 200%;
   font-weight: normal;
   color: #444444;
}

/* Popup */

a.popup {
   text-decoration: underline;
   border-bottom: solid 1px #6b7594;
}

div.popup {
   background-color: white;    
   border: solid 1px gray;
   width: 300px;
   height: 300px;
   overflow: auto;
}

div.popup div.close {
   background: url('../system/images/window/close.gif') top right no-repeat white;
   padding-top: 16px;
}

/* Boxes */

div.green_box {
   border-bottom: solid 1px #c1c1c1;
   border-right: solid 1px #c1c1c1;
   background: transparent url('green-box.png') no-repeat;
   padding: 10px;
}

div.pale_box {
   border-bottom: solid 1px #c1c1c1;
   border-right: solid 1px #c1c1c1;
   background: transparent url('pale-box.png') no-repeat;
   padding: 10px;
}

div.blue_box {
   border-bottom: solid 1px #c1c1c1;
   border-right: solid 1px #c1c1c1;
   background: transparent url('blue-box.png') no-repeat;
   padding: 10px;
}

div.red_box {
   border-bottom: solid 1px #c1c1c1;
   border-right: solid 1px #c1c1c1;
   background: transparent url('red-box.png') no-repeat;
   padding: 10px;
}

div.sun_box {
   border-bottom: solid 1px #c1c1c1;
   border-right: solid 1px #c1c1c1;
   background: transparent url('sun-box.png') no-repeat;
   padding: 10px;
}

/* Documents */

.docFolder {
   color: #333333;
   cursor: pointer;
   font: "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
   letter-spacing: .1em;
   font-variant: small-caps;
}

.docLevel0 {
    font-weight: bold;
}
    
.docFile {
   color: #333333;
}

.docForm {
  margin-top: 6px;
  padding: 10px;
  border: solid 1px #003366;
}

.docForm label {
  color: #003366;
}