BODY.mainpage {
  margin: 0px;
  background-color: #ffffff;
  font-family: Osaka, verdana, sans-serif;
  font-size: 10pt;
}
body.loginform {
  background-color: #f0f0f0;
}
A:link {
  color: BLUE;
  text-decoration: none;
}
A:visited {
  color: BLUE;
  text-decoration: none;
}
A:active {
  color: BLUE;
  text-decoration: none;
}

/* Add stuff for presentation abstraction */
/* TOP NAVIGATION Table Style */
TABLE.nav {
  background-color: #ccc;
  border: 2px outset #eee;
}

TD {
  font-family: verdana, Sans-Serif;
  font-size: 8pt;
}

TR {
  font-family: verdana, Sans-Serif;
  font-size: 8pt;
}

h1,
.title {
  font-size: 18pt;
  font-weight: normal;
  margin: 0px;
}
h2,
.subtitle {
  font-size: 12pt;
  font-weight: normal;
  margin: 0px;
}

/* bordertable { /* ?? What. Is. This ?? (gwyneth 20210501)
  border: 1px black solid;
}
*/
.bordertable {
  border: 1px black solid;
  background-color: #cccccc;
}
table.bordertable td {
  background-color: #eeeeee;
}
table.bordertable td.companyName {
  background-color: gray;
}

/* standard classes to avoid in-line HTML styling (gwyneth 20210504) */
.align-right {
  text-align: right;
}
.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-justify {
  text-align: justify;
}

/* not defined anywhere... :-( (gwyneth 20210501) */
.smallNorm {
  font-weight: normal;
  font-size: small;
}

button,
.button {
  border: 1px black solid;
  font-family: verdana, Sans-Serif;
  font-size: 8pt;
  /*width: 100px; too small for some translations*/
}

.text {
  border: 1px black solid;
  font-family: Osaka, verdana, Sans-Serif;
  font-size: 8pt;
  /*height: 20px;Select boxes are too small in Mozilla */
}

.textarea {
  font-family: Osaka, verdana, helvetica, arial, sans-serif;
  font-size: 9pt;
}

textarea.small {
  border: 1px black solid;
  font-family: Osaka, verdana, Sans-Serif;
  font-size: 8pt;
}
/*
**********************************
Begin IE TD buttonizing
**********************************
*/

TD.clsBtnUp {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: inset 2px;
}

TD.clsBtnDown {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: inset 2px;
}

TD.clsBtnOn {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: outset #eeeeee 2px;
}

TD.clsBtnOff {
  color: #ffffff;
  padding: 0 3;
  tab-index: 0;
  border: solid #559999 2px;
}

TD.topBtnUp {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: inset 2px;
}

TD.topBtnDown {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: inset 2px;
}

TD.topBtnOn {
  /* cursor: hand;    //hand is invalid for css 2.1 */
  color: #ffffff;
  padding: 0 3;
  border: outset #eeeeee 2px;
}

TD.topBtnOff {
  color: #ffffff;
  padding: 0 3;
  tab-index: 0;
  border: solid #cccccc 2px;
}
TD.nav {
  color: #ffffff;
}

/* Standard table 'spreadsheet' style */
TABLE.tbl {
  background: #ffffff;
}

TABLE.tbl TH {
  background-color: #878676;
  color: white;
  list-style-type: disc;
  list-style-position: inside;
  border: outset #d1d1cd 1px;
  font-weight: normal;
}

table.tbl tr:nth-child(odd) {
  background-color: #dddddd;
}
table.tbl tr:nth-child(even) {
  background-color: #d3dce3;
}
table.tbl td {
  background-color: transparent;
}
table.tbl tfoot tr td:last-child {  /* Last element on the footer usually has a button to the right (gwyneth 20210504) */
  text-align: right;
  background-color: #ffffff;
}

/* a 'standard' table */
TABLE.std {
  border: solid #878676 2px;
  background: #f4efe3;
}
TABLE.std TH {
  background-color: #878676;
  color: white;
  list-style-type: disc;
  list-style-position: inside;
  border: outset #d1d1cd 1px;
}

TABLE.std TD.hilite {
  background-color: #ffffff;
}

/* contacts table */
table.contacts {
  background-color: #878676;
}

table.contacts td {
  background-color: #f4efe3;
}

table.contacts td.hilite {
  background-color: #ffffff;
}

/* links in header blocks */
A.hdr:link,
A.hdr:active,
A.hdr:visited {
  color: #ffffff;
}

/* tabbed boxes */
TD.tabon {
  background: #ffffff;
  border-top: outset #cccccc 2px;
  border-left: outset #cccccc 2px;
  border-right: outset #cccccc 2px;
  border-bottom: none;
}
TD.taboff {
  background: #f4efe3;
  border-top: outset #cccccc 2px;
  border-left: outset #cccccc 2px;
  border-right: outset #cccccc 2px;
  border-bottom: solid #cccccc 2px;
}
TD.tabsp {
  border-bottom: solid #cccccc 2px;
}
TD.tabox {
  border-left: solid #cccccc 2px;
  border-right: solid #cccccc 2px;
  border-bottom: solid #cccccc 2px;
}

/* Task colours */
.task-color-fg {
  color: black;
}
.task-future-bg {
  background-color: #eceff4;
}
.task-started-bg {
  background-color: #e6eedd;
}
.task-late-bg {
  background-color: #ffeebb;
}
.task-overdue-bg {
  background-color: #cc6666;
}
.task-done-bg {
  background-color: #aaddaa;
}
/* used only on vw_tasks.php */
.task-unknown-bg {
  background-color: lightgray;
}
/* used only on vw_tasks.php */
.task-border {
  border-style: solid;
  border-width: 1px;
}

/* Message styles */
.warning {
  color: #ff6600;
}
.error {
  color: #ff0000;
}
.message {
  color: #006600;
  font-weight: bold;
}

.no_ {
  color: #ff0000;
  font-weight: bold;
}

/* popup calendar */
body.popcal {
  background-color: #f0f0f0;
}

table.poptitle {
  background-color: #ffffff;
}
table.poptitle td {
  background-color: #ffffff;
}
table.poptitle th {
  background-color: #ffffff;
  color: #000000;
  font-size: 10pt;
  font-weight: bold;
}

table.popcal {
  background-color: #cccccc;
}

table.popcal th {
  background-color: #ffffff;
  color: #000000;
  font-family: helvetica, arial, sans-serif;
  font-size: 9pt;
  font-weight: normal;
}

table.popcal td {
  background-color: #e0e0e0;
  font-family: helvetica, arial, sans-serif;
  font-size: 8pt;
  text-align: center;
}

table.popcal td.empty {
  background-color: #efefe7;
}

table.mocal td.day {
  background-color: #cccccc;
  text-align: center;
}

table.popcal td.today {
  background-color: #cccccc;
}

table.popcal td.weekend {
  background-color: #eeeeee;
}

table.popcal a:link,
table.popcal a:visited {
  color: #0000ff;
  text-decoration: none;
}

table.popcal a.today:link,
table.popcal a.today:visited {
  color: #ff0000;
  font-weight: bold;
}

table.popcal a.weekend:link,
table.popcal a.weekend:visited {
  color: #777777;
}

/* month calendar - title area */
table.motitle {
  background-color: #ffffff;
}
table.motitle td {
  background-color: #ffffff;
}
table.motitle th {
  background-color: #ffffff;
  font-size: 10pt;
}

table.mocal {
  background-color: #cccccc;
}
table.mocal th {
  background-color: #878676;
  color: #ffffff;
}
table.mocal td {
}
table.mocal td.week {
  vertical-align: top;
  background-color: #878676;
  height: 80px;
}
table.mocal td.empty {
  background-color: #ffffff;
  height: 80px;
}
table.mocal td.day {
  background-color: #f4efe3;
  color: #333366;
  text-align: left;
  vertical-align: top;
  height: 80px;
}
table.mocal td.today {
  background-color: #878676;
  color: #ffffff;
  text-align: left;
  vertical-align: top;
}

table.mocal td.weekend {
  background-color: #efefe7;
  text-align: left;
  vertical-align: top;
}

table.mocal .event {
}

/* mini calendar - title area */
table.minititle {
}
table.minititle td {
}
table.minititle th {
  font-weight: normal;
}

table.minical {
}
table.minical th {
  font-weight: normal;
}
table.minical td {
}
table.minical td.week {
}
table.minical td.empty {
}
table.minical td.day {
  text-align: center;
}
table.minical td.today {
  background-color: #e0e0e0;
  text-align: center;
}
table.minical td.weekend {
  text-align: center;
}
table.minical .event {
}

/* daily calendar */
table.tbl td.event {
  background-color: #fff0b0;
}

table.tbl td.event td {
  background-color: #fff0b0;
}

.hidden {
  display: none;
}

/* Folder module */
#folder-list {
  background-color: white;
  /* layer-background-color: white; /* obsolete property */
}

#folder-list ul {
  padding: 0;
  margin: 0;
}
#folder-list ul li {
  list-style: none;
  margin-top: -1px;
  margin-bottom: 0px;
  border: 0px solid #cccccc;
}
#folder-list ul li ul li {
  margin-left: 25px;
}

.folder-name {
  display: block;
  height: 16px;
  padding-top: 0px;
  background: white;
  border-bottom: 1px solid #333333;
  border-right: 1px solid #333333;
  margin-bottom: 0px;
}

.folder-name-current {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  border-bottom: 1px solid #333333;
}

.has-files {
  font-weight: bold;
}

#folder-list .tbl {
  margin-top: 2px;
}
#folder-list .tbl th {
  border: none;
}

#folder-list p {
  padding: 3px 5px;
  margin-top: -5px;
  margin-left: 25px;
  margin-right: 25px;
  border: 1px solid #cccccc;
  border-top: none;
  background: #f9f9f9;
}
