/*
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
*/

/* ===== mailWindow1.css ================================================
  == Styles for the main Mail window in the default layout scheme.
  ======================================================================= */

@import url("chrome://messenger/skin/");
@import url("chrome://messenger/skin/primaryToolbar.css");
@import url("chrome://messenger/skin/folderMenus.css");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: Folder Pane ::::: */

treechildren::-moz-tree-image(folderNameCol) {
  margin-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/folder-closed.png");
}


treechildren::-moz-tree-image(folderNameCol, selected, open) {
  list-style-image: url("chrome://messenger/skin/icons/folder-open.png");
}

treechildren::-moz-tree-image(folderNameCol, selected, open, newMessages-true) {
  list-style-image: url("chrome://messenger/skin/icons/folder-new-open.png");
}

treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
  list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.png");
}

/* ..... Inbox ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
  list-style-image: url("chrome://messenger/skin/icons/folder-inbox.png");
}

treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
  list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.png");
}

/* ..... Sent ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
  list-style-image: url("chrome://messenger/skin/icons/folder-sent.png");
}

/* ..... Unsent ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) {
  list-style-image: url("chrome://messenger/skin/icons/folder-outbox.png");
}

/* ..... Drafts ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
  list-style-image: url("chrome://messenger/skin/icons/folder-draft.png");
}

/* ..... Templates ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
  list-style-image: url("chrome://messenger/skin/icons/folder-template.png");
}

/* ..... Junk ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
  list-style-image: url("chrome://messenger/skin/icons/folder-junk.png");
}

/* ..... Trash ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
  list-style-image: url("chrome://messenger/skin/icons/folder-trash.png");
}

/* ..... Servers  ..... */

treechildren::-moz-tree-image(folderNameCol, isServer-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-mail.png");
}

treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-mail-new.png");
}

treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
  font-weight: bold;
}

/* Disable rules for special shared folder artwork until we actually have new artwork for these icons */

/* treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
  list-style-image: url("chrome://messenger/skin/icons/folder-share.gif");
}

*/

/* ..... Server Folders ..... */

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.png");
}

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.png");
}

treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.png");
}

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) {
  list-style-image: url("chrome://messenger/skin/icons/server-local.png");
}

/* ..... News Folders ..... */

treechildren::-moz-tree-image(folderNameCol, serverType-nntp) {
  list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.png");
}

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
  list-style-image: url("chrome://messenger/skin/icons/server-news.png");
}

treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
  list-style-image: url("chrome://messenger/skin/icons/server-news-lock.png");
}

/* ..... Saved Search Folder ..... */

treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) {
  list-style-image: url("chrome://messenger/skin/icons/folder-search.png");
}

/* ::::: All Servers ::::: */

treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
  font-weight: bold;
}

treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
  font-weight: bold;
}

treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
  color: gray;
  font-style: italic;
}

.tree-folder-checkbox {
  list-style-image: none;
}

#folderUnreadCol,
#folderTotalCol,
#folderSizeCol {
  text-align: right;
}

#folderNameCol [sortDirection="ascending"],
#folderNameCol [sortDirection="descending"] {
  list-style-image: none;
}

/* ::::: thread decoration ::::: */

treechildren::-moz-tree-row(dummy)  {
  background-color:  #F0F0F0;
  margin-bottom: 1px;
  padding-left: 2px;
}

treechildren::-moz-tree-row(dummy, selected) {
  background-color: -moz-Dialog;
}

treechildren::-moz-tree-row(dummy, selected, focus)  {
  background-color: Highlight;
}

treechildren::-moz-tree-cell-text(dummy) {
  font-weight: bold;
}

treechildren::-moz-tree-cell-text(read) {
  font-weight: normal;
}

treechildren::-moz-tree-cell-text(unread) {
  font-weight: bold;
}

/* on a collapsed thread, if the top level message is read, but the thread has
 * unread children, underline the text.  4.x mac did this, very slick 
 */
treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
  text-decoration: underline;
}

/* ::::: message column icons ::::: */

/* ..... thread column ..... */

treecol.threadColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/thread-col.png");

  padding-right: 3px; 
}

treecol.threadColumnHeader[sortDirection="ascending"]  {
  list-style-image: url("chrome://messenger/skin/icons/thread-col.png");
}

treecol.threadColumnHeader[sortDirection="descending"] {
  list-style-image: url("chrome://messenger/skin/icons/thread-col.png");
}

treechildren::-moz-tree-image(threadCol, container) {
  list-style-image: url("chrome://messenger/skin/icons/thread.png");
}

treechildren::-moz-tree-image(threadCol, container, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread.png");
}

treechildren::-moz-tree-image(threadCol, container, hasUnread) {
  list-style-image: url("chrome://messenger/skin/icons/thread-new.png");
}

treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-new.png");
}

/* ..... read column ..... */

treecol.readColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/readcol.png");
  padding-right: 5px;
  padding-bottom: 5px;
}

treechildren::-moz-tree-image(unreadButtonColHeader) {
  list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
}

treechildren::-moz-tree-image(unreadButtonColHeader, dummy) {
  list-style-image: none;
}

treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
  list-style-image: url("chrome://messenger/skin/icons/unreadmail.png");
}

/* ..... attachment column ..... */

treecol.attachmentColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/attachment-col.png");
  padding-right: 5px; 
}

treechildren::-moz-tree-image(attachmentCol, attach) {
  list-style-image: url("chrome://messenger/skin/icons/attachment.png");
}

/* ..... flag column ..... */

treecol.flagColumnHeader {
  list-style-image: url("chrome://messenger/skin/icons/flag-col.png");
  padding-right: 5px; 
}

treechildren::-moz-tree-image(flaggedCol) {
  list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
}

treechildren::-moz-tree-image(flaggedCol, dummy) {
  list-style-image: none;
}

treechildren::-moz-tree-image(flaggedCol, flagged) {
  list-style-image: url("chrome://messenger/skin/icons/flag.png");
}

/* ..... junkStatus column ..... */

treecol.junkStatusHeader {
  list-style-image: url("chrome://messenger/skin/icons/junk-col.png");
  padding-right: 5px; 
}

/* "unknown" now looks like "not junk".  see bug #182386 */
treechildren::-moz-tree-image(junkStatusCol) {
  list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  padding-left: 0px;
}

treechildren::-moz-tree-image(junkStatusCol, junk) {
  list-style-image: url("chrome://messenger/skin/icons/folder-junk.png");
}

treechildren::-moz-tree-image(junkStatusCol, dummy) {
  list-style-image: none;
}

treechildren::-moz-tree-image(junkStatusCol, notjunk) {
  list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  padding-left: 0px;
}
/* ..... subject column ..... */

treechildren::-moz-tree-image(subjectCol) {
  margin-right: 2px;
  list-style-image: url("chrome://messenger/skin/icons/message-mail.png ");
}

treechildren::-moz-tree-image(subjectCol, dummy) {
  list-style-image: none;
}

treechildren::-moz-tree-image(subjectCol, read) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-read.png");
}

treechildren::-moz-tree-image(subjectCol, new) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-new.png");
}

treechildren::-moz-tree-image(subjectCol, forwarded) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-forwarded.png");
}

treechildren::-moz-tree-image(subjectCol, forwarded, read) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-forwarded-read.png");
}

treechildren::-moz-tree-image(subjectCol, replied) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-replied.png");
}

treechildren::-moz-tree-image(subjectCol, replied, read) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-replied-read.png");
}

treechildren::-moz-tree-image(subjectCol, replied, forwarded) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-replied-forw.png");
}

treechildren::-moz-tree-image(subjectCol, replied, forwarded,read) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-replied-forw-read.png");
}


/* IMPORTANT: make sure the imap-deleted column always comes after the replied/forwarded style rules.
   This ensures that we show that the message is marked as deleted over status information. */

treechildren::-moz-tree-image(subjectCol, imapdeleted) {
  list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.png");
}

/* IMPORTANT: make sure our style rules for news articles always come after the message replied/forward style rules.
   This ensures that we show news post artwork even when the article is replied to. We could probably also fix this
   by adding more qualifiers to our CSS */

treechildren::-moz-tree-image(subjectCol, news) {
  list-style-image: url("chrome://messenger/skin/icons/message-news.png");
}

treechildren::-moz-tree-image(subjectCol, news, forwarded) {
  list-style-image: url("chrome://messenger/skin/icons/message-news-forwarded.png");
}

treechildren::-moz-tree-image(subjectCol, news, replied) {
  list-style-image: url("chrome://messenger/skin/icons/message-news-replied.png");
}

treechildren::-moz-tree-image(subjectCol, news, replied, forwarded) {
  list-style-image: url("chrome://messenger/skin/icons/message-news-replied-forw.png");
}

treechildren::-moz-tree-image(subjectCol, news, new) {
  list-style-image: url("chrome://messenger/skin/icons/message-news-new.png");
}


/* ..... new thread icons for watch and ignore ..... */

treechildren::-moz-tree-image(news, threadCol, watch) {
  list-style-image: url("chrome://messenger/skin/icons/thread-watched.png");
}

treechildren::-moz-tree-image(news, threadCol, ignore) {
  list-style-image: url("chrome://messenger/skin/icons/thread-ignored.png");
}

treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
  list-style-image: url("chrome://messenger/skin/icons/thread-watched-new.png");
}

treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
  list-style-image: url("chrome://messenger/skin/icons/thread-ignored-new.png");
}

treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-watched-new.png");
}

treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-ignored-new.png");
}

treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-watched.png");
}

treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
  list-style-image: url("chrome://messenger/skin/icons/thread-ignored.png");
}

#sizeCol,
#unreadCol,
#totalCol {
  text-align: right;
}

/* ::::: thread labels decoration ::::: */

/* There are 10x7 color definitions (size of the color picker used)
   times 2 (2 style definitions for each color) +  2 general black
   and white color definitions.
   The color definitions can be in the following formats:
     color: red;
     color: #FF0000;
     color: rgb(128, 0, 0); 
*/
treechildren::-moz-tree-cell-text(lc-FFFFFF) {
  color: #FFFFFF
}
treechildren::-moz-tree-row(lc-FFFFFF, selected) {
  background-color: #FFFFFF;
}

treechildren::-moz-tree-cell-text(lc-CCCCCC) {
  color: #CCCCCC
}
treechildren::-moz-tree-row(lc-CCCCCC, selected) {
  background-color: #CCCCCC;
}

treechildren::-moz-tree-cell-text(lc-C0C0C0) {
  color: #C0C0C0
}
treechildren::-moz-tree-row(lc-C0C0C0, selected) {
  background-color: #C0C0C0;
}

treechildren::-moz-tree-cell-text(lc-999999) {
  color: #999999
}
treechildren::-moz-tree-row(lc-999999, selected) {
  background-color: #999999;
}

treechildren::-moz-tree-cell-text(lc-666666) {
  color: #666666
}
treechildren::-moz-tree-row(lc-666666, selected) {
  background-color: #666666;
}

treechildren::-moz-tree-cell-text(lc-333333) {
  color: #333333
}
treechildren::-moz-tree-row(lc-333333, selected) {
  background-color: #333333;
}

treechildren::-moz-tree-cell-text(lc-000000) {
  color: #000000
}
treechildren::-moz-tree-row(lc-000000, selected) {
  background-color: #000000;
}


treechildren::-moz-tree-cell-text(lc-FFCCCC) {
  color: #FFCCCC
}
treechildren::-moz-tree-row(lc-FFCCCC, selected) {
  background-color: #FFCCCC;
}

treechildren::-moz-tree-cell-text(lc-FF6666) {
  color: #FF6666
}
treechildren::-moz-tree-row(lc-FF6666, selected) {
  background-color: #FF6666;
}

treechildren::-moz-tree-cell-text(lc-FF0000) {
  color: #FF0000
}
treechildren::-moz-tree-row(lc-FF0000, selected) {
  background-color: #FF0000;
}

treechildren::-moz-tree-cell-text(lc-CC0000) {
  color: #CC0000
}
treechildren::-moz-tree-row(lc-CC0000, selected) {
  background-color: #CC0000;
}

treechildren::-moz-tree-cell-text(lc-990000) {
  color: #990000
}
treechildren::-moz-tree-row(lc-990000, selected) {
  background-color: #990000;
}

treechildren::-moz-tree-cell-text(lc-660000) {
  color: #660000
}
treechildren::-moz-tree-row(lc-660000, selected) {
  background-color: #660000;
}

treechildren::-moz-tree-cell-text(lc-330000) {
  color: #330000
}
treechildren::-moz-tree-row(lc-330000, selected) {
  background-color: #330000;
}


treechildren::-moz-tree-cell-text(lc-FFCC99) {
  color: #FFCC99
}
treechildren::-moz-tree-row(lc-FFCC99, selected) {
  background-color: #FFCC99;
}

treechildren::-moz-tree-cell-text(lc-FF9966) {
  color: #FF9966
}
treechildren::-moz-tree-row(lc-FF9966, selected) {
  background-color: #FF9966;
}

treechildren::-moz-tree-cell-text(lc-FF9900) {
  color: #FF9900
}
treechildren::-moz-tree-row(lc-FF9900, selected) {
  background-color: #FF9900;
}

treechildren::-moz-tree-cell-text(lc-FF6600) {
  color: #FF6600
}
treechildren::-moz-tree-row(lc-FF6600, selected) {
  background-color: #FF6600;
}

treechildren::-moz-tree-cell-text(lc-CC6600) {
  color: #CC6600
}
treechildren::-moz-tree-row(lc-CC6600, selected) {
  background-color: #CC6600;
}

treechildren::-moz-tree-cell-text(lc-993300) {
  color: #993300
}
treechildren::-moz-tree-row(lc-993300, selected) {
  background-color: #993300;
}

treechildren::-moz-tree-cell-text(lc-663300) {
  color: #663300
}
treechildren::-moz-tree-row(lc-663300, selected) {
  background-color: #663300;
}


treechildren::-moz-tree-cell-text(lc-FFFF99) {
  color: #FFFF99
}
treechildren::-moz-tree-row(lc-FFFF99, selected) {
  background-color: #FFFF99;
}

treechildren::-moz-tree-cell-text(lc-FFFF66) {
  color: #FFFF66
}
treechildren::-moz-tree-row(lc-FFFF66, selected) {
  background-color: #FFFF66;
}

treechildren::-moz-tree-cell-text(lc-FFCC66) {
  color: #FFCC66
}
treechildren::-moz-tree-row(lc-FFCC66, selected) {
  background-color: #FFCC66;
}

treechildren::-moz-tree-cell-text(lc-FFCC33) {
  color: #FFCC33
}
treechildren::-moz-tree-row(lc-FFCC33, selected) {
  background-color: #FFCC33;
}

treechildren::-moz-tree-cell-text(lc-CC9933) {
  color: #CC9933
}
treechildren::-moz-tree-row(lc-CC9933, selected) {
  background-color: #CC9933;
}

treechildren::-moz-tree-cell-text(lc-996633) {
  color: #996633
}
treechildren::-moz-tree-row(lc-996633, selected) {
  background-color: #996633;
}

treechildren::-moz-tree-cell-text(lc-663333) {
  color: #663333
}
treechildren::-moz-tree-row(lc-663333, selected) {
  background-color: #663333;
}


treechildren::-moz-tree-cell-text(lc-FFFFCC) {
  color: #FFFFCC
}
treechildren::-moz-tree-row(lc-FFFFCC, selected) {
  background-color: #FFFFCC;
}

treechildren::-moz-tree-cell-text(lc-FFFF33) {
  color: #FFFF33
}
treechildren::-moz-tree-row(lc-FFFF33, selected) {
  background-color: #FFFF33;
}

treechildren::-moz-tree-cell-text(lc-FFFF00) {
  color: #FFFF00
}
treechildren::-moz-tree-row(lc-FFFF00, selected) {
  background-color: #FFFF00;
}

treechildren::-moz-tree-cell-text(lc-FFCC00) {
  color: #FFCC00
}
treechildren::-moz-tree-row(lc-FFCC00, selected) {
  background-color: #FFCC00;
}

treechildren::-moz-tree-cell-text(lc-999900) {
  color: #999900
}
treechildren::-moz-tree-row(lc-999900, selected) {
  background-color: #999900;
}

treechildren::-moz-tree-cell-text(lc-666600) {
  color: #666600
}
treechildren::-moz-tree-row(lc-666600, selected) {
  background-color: #666600;
}

treechildren::-moz-tree-cell-text(lc-333300) {
  color: #333300
}
treechildren::-moz-tree-row(lc-333300, selected) {
  background-color: #333300;
}


treechildren::-moz-tree-cell-text(lc-99FF99) {
  color: #99FF99
}
treechildren::-moz-tree-row(lc-99FF99, selected) {
  background-color: #99FF99;
}

treechildren::-moz-tree-cell-text(lc-66FF99) {
  color: #66FF99
}
treechildren::-moz-tree-row(lc-66FF99, selected) {
  background-color: #66FF99;
}

treechildren::-moz-tree-cell-text(lc-33FF33) {
  color: #33FF33
}
treechildren::-moz-tree-row(lc-33FF33, selected) {
  background-color: #33FF33;
}

treechildren::-moz-tree-cell-text(lc-33CC00) {
  color: #33CC00
}
treechildren::-moz-tree-row(lc-33CC00, selected) {
  background-color: #33CC00;
}

treechildren::-moz-tree-cell-text(lc-009900) {
  color: #009900
}
treechildren::-moz-tree-row(lc-009900, selected) {
  background-color: #009900;
}

treechildren::-moz-tree-cell-text(lc-006600) {
  color: #006600
}
treechildren::-moz-tree-row(lc-006600, selected) {
  background-color: #006600;
}

treechildren::-moz-tree-cell-text(lc-003300) {
  color: #003300
}
treechildren::-moz-tree-row(lc-003300, selected) {
  background-color: #003300;
}


treechildren::-moz-tree-cell-text(lc-99FFFF) {
  color: #99FFFF
}
treechildren::-moz-tree-row(lc-99FFFF, selected) {
  background-color: #99FFFF;
}

treechildren::-moz-tree-cell-text(lc-33FFFF) {
  color: #33FFFF
}
treechildren::-moz-tree-row(lc-33FFFF, selected) {
  background-color: #33FFFF;
}

treechildren::-moz-tree-cell-text(lc-66CCCC) {
  color: #66CCCC
}
treechildren::-moz-tree-row(lc-66CCCC, selected) {
  background-color: #66CCCC;
}

treechildren::-moz-tree-cell-text(lc-00CCCC) {
  color: #00CCCC
}
treechildren::-moz-tree-row(lc-00CCCC, selected) {
  background-color: #00CCCC;
}

treechildren::-moz-tree-cell-text(lc-339999) {
  color: #339999
}
treechildren::-moz-tree-row(lc-339999, selected) {
  background-color: #339999;
}

treechildren::-moz-tree-cell-text(lc-336666) {
  color: #336666
}
treechildren::-moz-tree-row(lc-336666, selected) {
  background-color: #336666;
}

treechildren::-moz-tree-cell-text(lc-003333) {
  color: #003333
}
treechildren::-moz-tree-row(lc-003333, selected) {
  background-color: #003333;
}


treechildren::-moz-tree-cell-text(lc-CCFFFF) {
  color: #CCFFFF
}
treechildren::-moz-tree-row(lc-CCFFFF, selected) {
  background-color: #CCFFFF;
}

treechildren::-moz-tree-cell-text(lc-66FFFF) {
  color: #66FFFF
}
treechildren::-moz-tree-row(lc-66FFFF, selected) {
  background-color: #66FFFF;
}

treechildren::-moz-tree-cell-text(lc-33CCFF) {
  color: #33CCFF
}
treechildren::-moz-tree-row(lc-33CCFF, selected) {
  background-color: #33CCFF;
}

treechildren::-moz-tree-cell-text(lc-3366FF) {
  color: #3366FF
}
treechildren::-moz-tree-row(lc-3366FF, selected) {
  background-color: #3366FF;
}

treechildren::-moz-tree-cell-text(lc-3333FF) {
  color: #3333FF
}
treechildren::-moz-tree-row(lc-3333FF, selected) {
  background-color: #3333FF;
}

treechildren::-moz-tree-cell-text(lc-000099) {
  color: #000099
}
treechildren::-moz-tree-row(lc-000099, selected) {
  background-color: #000099;
}

treechildren::-moz-tree-cell-text(lc-000066) {
  color: #000066
}
treechildren::-moz-tree-row(lc-000066, selected) {
  background-color: #000066;
}


treechildren::-moz-tree-cell-text(lc-CCCCFF) {
  color: #CCCCFF
}
treechildren::-moz-tree-row(lc-CCCCFF, selected) {
  background-color: #CCCCFF;
}

treechildren::-moz-tree-cell-text(lc-9999FF) {
  color: #9999FF
}
treechildren::-moz-tree-row(lc-9999FF, selected) {
  background-color: #9999FF;
}

treechildren::-moz-tree-cell-text(lc-6666CC) {
  color: #6666CC
}
treechildren::-moz-tree-row(lc-6666CC, selected) {
  background-color: #6666CC;
}

treechildren::-moz-tree-cell-text(lc-6633FF) {
  color: #6633FF
}
treechildren::-moz-tree-row(lc-6633FF, selected) {
  background-color: #6633FF;
}

treechildren::-moz-tree-cell-text(lc-6600CC) {
  color: #6600CC
}
treechildren::-moz-tree-row(lc-6600CC, selected) {
  background-color: #6600CC;
}

treechildren::-moz-tree-cell-text(lc-333399) {
  color: #333399
}
treechildren::-moz-tree-row(lc-333399, selected) {
  background-color: #333399;
}

treechildren::-moz-tree-cell-text(lc-330099) {
  color: #330099
}
treechildren::-moz-tree-row(lc-330099, selected) {
  background-color: #330099;
}


treechildren::-moz-tree-cell-text(lc-FFCCFF) {
  color: #FFCCFF
}
treechildren::-moz-tree-row(lc-FFCCFF, selected) {
  background-color: #FFCCFF;
}

treechildren::-moz-tree-cell-text(lc-FF99FF) {
  color: #FF99FF
}
treechildren::-moz-tree-row(lc-FF99FF, selected) {
  background-color: #FF99FF;
}

treechildren::-moz-tree-cell-text(lc-CC66CC) {
  color: #CC66CC
}
treechildren::-moz-tree-row(lc-CC66CC, selected) {
  background-color: #CC66CC;
}

treechildren::-moz-tree-cell-text(lc-CC33CC) {
  color: #CC33CC
}
treechildren::-moz-tree-row(lc-CC33CC, selected) {
  background-color: #CC33CC;
}

treechildren::-moz-tree-cell-text(lc-993399) {
  color: #993399
}
treechildren::-moz-tree-row(lc-993399, selected) {
  background-color: #993399;
}

treechildren::-moz-tree-cell-text(lc-663366) {
  color: #663366
}
treechildren::-moz-tree-row(lc-663366, selected) {
  background-color: #663366;
}

treechildren::-moz-tree-cell-text(lc-330033) {
  color: #330033
}
treechildren::-moz-tree-row(lc-330033, selected) {
  background-color: #330033;
}


treechildren::-moz-tree-cell-text(lc-white, selected) {
  color: #FFFFFF
}
treechildren::-moz-tree-cell-text(lc-black, selected) {
  color: #000000
}

/* :::::
   :: Make sure the min height is small so we can
   :: resize the pane vertically -EDV
   ::::: */

#messagepanebox {
  min-height: 10px;
  height: 0px;
}

/* ..... folder pane adjustments ..... */

#folderPaneHeaderContainer {
  border-top: 1px solid ThreeDHighlight; 
}

#folderPaneHeader {
  height: 29px;
  border-bottom: none;
  border-top: none;
}

/* ::::: border adjustments for focus ring and joined splitters ::::: */

/* ..... splitter adjustments ..... */

#folderpane_splitter {
  border-top: 1px solid ThreeDHighlight;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

#gray_vertical_splitter,
#threadpane-splitter {
  border: none;
  min-height: 5px;
}

/* ..... tree adjustments ..... */

#accountCentralBox { 
  border: 1px solid ThreeDShadow; 
}

/* ..... message pane adjustments ..... */

#messagepanebox {
  border-top: 1px solid ThreeDShadow;
  border-left: 1px solid ThreeDShadow;
  border-right: 0px;
  border-bottom: 0px;
}

/* ..... smart update statusbar panel ..... */

#statusbar-updates[updateCount="0"]{
  visibility: collapse; 
}

#searchBox {
  border-top: 1px solid ThreeDHighlight;
  height: 30px;
}
