/* This program is free software; you can redistribute it and/or modify       */
/* it under the terms of the GNU General Public License as published by       */
/* the Free Software Foundation; either version 2 of the License, or          */
/* any later version.                                                         */
/*                                                                            */
/* This program is distributed in the hope that it will be useful,            */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of             */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              */
/* GNU General Public License for more details.                               */
/*                                                                            */
/* You should have received a copy of the GNU General Public License          */
/* along with this program; if not, write to the Free Software                */
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */


/* Defaults */
/* -------- */

body {
  background-color: rgb(238,230,230);
  color: black;
  font-family: sans-serif;
}

table {
  border-collapse: collapse;
}

td {
  padding-left: 6pt;
  padding-right: 6pt;
  padding-top: 2pt;
  padding-bottom: 2pt;
  border-width: 0;
}


/* Messagelist table */
/* ----------------- */

table.messagelist {
  table-layout: fixed;
  margin-left: 0;
  margin-right: 0;
  border: solid rgb(172,161,156);
  border-width: 1px;
}

/* Columns */

table.messagelist col.from,
table.messagelist col.subject,
table.messagelist col.date { 
  width: 28%;
  text-align: left;
}

table.messagelist col.size,
table.messagelist col.delete { 
  width: 8%;
}

table.messagelist td.size { 
  text-align: right;
}

table.messagelist td.delete { 
  text-align: center;
}

/* Column headings */

table.messagelist tr.header td {
  background-color: rgb(238,230,230);
  border: solid rgb(172,161,156);
  border-width: 1px;
  text-align: center;
  vertical-align: middle;
}

/* Rows */

table.messagelist tr.r0 td,
table.messagelist tr.r1 td,
table.messagelist tr.current td,
table.messagelist tr.deleted td { 
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;  /* Not CSS2, but is CSS3 */
}

table.messagelist tr.r0 td { 
  background-color: rgb(238,238,238);
}

table.messagelist tr.r1 td { 
  background-color: white;
}

table.messagelist tr.current td { 
  background-color: rgb(82,82,106);
  color: white;
}

table.messagelist tr.current td :link,
table.messagelist tr.current td :visited {
  color: white;
}

table.messagelist tr.deleted { 
  display: none;
}

table.messagelist tr.deleted td { 
  background-color: white;
  color: rgb(238,238,238);
}

table.messagelist td :link,
table.messagelist td :visited { 
/*  color: inherit; */
  color: black;
  text-decoration: none;
}

table.messagelist td :link { 
  font-weight: bold;
}


/* Message */
/* ------- */

.message {
  background-color: white;
  border: solid rgb(172,161,156);
  border-width: 1px;
  font-family: monospace;
  padding: 6pt;
}


/* Message headers */
/* --------------- */

table.msgheaders {
  padding: 6pt;
  background-color: rgb(220,220,220);
  border: solid black;
  border-width: 1px;
  font-family: sans-serif;
}

table.msgheaders td {
  vertical-align: top;
}

table.msgheaders td.headername { 
  font-weight: bold;
  text-align: right;
}


/* Footer */
/* ------ */

.pagefooter {
  font-style: italic;
  font-size: smaller;
  text-align: right;
}


/* Compose window */
/* -------------- */

body.compose { 
  background-color: rgb(238,230,230);
}

.compose table {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.compose td.headername {
  text-align: right;
  vertical-align: top;
}

.compose input[type=text],
.compose input[type=file],
.compose textarea { 
  width: 100%;
}

.compose textarea { 
  height: 25em;
}

/* Buttons */
/* ------- */

.button {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 3px;
  margin-right: 3px;
  padding-left: 8px;
  padding-right: 8px;
  border-style: solid;
  border-color: rgb(238,230,230);
  background-color: rgb(238,230,230);
  border-width: 2px;
  font-size: normal;
}

input[type=submit] {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 3px;
  margin-right: 3px;
  padding-left: 8px;
  padding-right: 8px;
  border: none; /*outset rgb(238,230,230);*/
  background-color: rgb(238,230,230);
  border-width: 2px;
  font-size: normal;
}

.button:link, .button:visited { 
  text-decoration: none;
/*  color: inherit; */
  color: black;
}

.button:hover { 
  border: outset rgb(82,82,106);
  background-color: rgb(82,82,106);
  color: white;
  border-width: 2px;
}

input[type=submit]:hover { 
  border: outset rgb(82,82,106);
  background-color: rgb(82,82,106);
  color: white;
  border-width: 2px;
}

.button:active { 
  border: inset rgb(82,82,106);
  background-color: rgb(82,82,106);
  color: white;
  border-width: 2px;
}


/* Toolbar */
/* ------- */

div.toolbar {
  margin-left: 0;
  margin-right: 0;
  background: rgb(238,230,230);
  border: outset rgb(238,230,230);
  border-width: 1px;
  padding-top: 6pt;
  padding-bottom: 6pt;
  margin-bottom: 10px;
  vertical-align: top;
}


/* Error pages */
/* ----------- */

.error {
  color: red;
  font-weight: bold;
  font-size: larger;
}


/* QWAZERTY setup */

td.prompt { 
  font-size: smaller;
  text-align: right;
}

