* { position: relative; font-family: arial, sans-serif; }

body, table, textarea {
  font-size: 10pt;
}

/** Headings **/
h1 {
  margin: 0px;
  padding: 3px;
  background-color: #EEE;
  border-bottom: 1px solid #CCC;
}

h2 {
  margin: 0px;
  padding-left: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #AAA;
}

/** Messages **/

.error {
  border: 1px solid #ECC;
  background-color: #FEE;
  font-weight: bold;
  padding: 4px;
  margin: 4px;
}

.message {
  border: 1px solid #CEC;
  background-color: #EFE;
  font-weight: bold;
  padding: 4px;
  margin: 4px;
}

/** Forms **/
form {
 float: left;
}

.field, .field-required {
  position: relative;
  clear: left;
  padding-bottom: 5px;
}

.field-required .label,
.field .label {
  position: relative;
  float: left;
  width: 150px;
  padding: 4px 3px;
  text-align: right;
  font-style: italic;
}

.field-required .label {
  font-style: normal;
  font-weight: bold;
}

.field .input,
.field-required .input {
  position: relative;
  padding-left: 160px;
}

.input-string { width: 20em; }
.input-number { width: 5em; }
.input-date { width: 7em; }

/** Tables **/

.table-list {
  border-collapse: collapse;
  border-spacing: 0px;
  border: 1px solid #AAA;
  width: 100%;
}

.table-list th {
  text-align: left;
  padding: 3px 4px;
  background-color: #DDD;
  border-bottom: 1px solid #AAA;
  color: #000;
}

.table-list td {
  padding: 3px 4px;
  border-bottom: 1px solid #AAA;
}

#nav h2 { 
  font-size: 10pt;
  border: none;
}

#breadcrumbs {
  position: relative;
  padding: 3px;
  margin: 0px;
  background-color: #DDD;
  border-bottom: 1px solid #CCC;
  font-size: 8pt;
}

#container { background-color: #EEE;
             border-top: 1px solid #CCC;
             border-bottom: 1px solid #CCC; }

#content { background-color: #FFF;
           border-left: 1px solid #CCC; }

#banner { background-color: #CCC; }
#footer { color: #888;
          border-top: 1px solid #CCC;
          background-color: #EEE; }

div.autocomplete {position:absolute;width:250px;height:150px;overflow:auto;background-color:white;border:1px solid #888;margin:0px;padding:0px;z-index:1}
div.autocomplete ul {list-style-type:none;margin:0px;padding:0px;}
div.autocomplete ul li.selected {background-color: #ffb;}
div.autocomplete ul li {
  list-style-type:none;
  display: block;
  margin: 0px;
  padding: 0px;
  cursor:pointer;
}


/* BUTTONS */

.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}


.action {
  border: none;
  padding: 0px 3px;
}