/*
  Copyright (C) 2005 SKYRIX Software AG

  This file is part of OpenGroupware.org.

  OGo is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the
  Free Software Foundation; either version 2, or (at your option) any
  later version.

  OGo 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 Lesser General Public
  License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with OGo; see the file COPYING.  If not, write to the
  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  02111-1307, USA.
*/
/* TODO: is the section below used in the mailer? */

.aptview_title {
  font-size:        10pt;
  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  color:            #000000;
  font-weight:      bold;
}

.aptview_text {
  font-size:        10pt;
  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  color:            #000000;
}

.apt_other {
  color:            #000000;
}

.apt_other_print {
  font-style:       italic;
}

.anais_me {
  color:            #0000FF;
}

.anais_uids {
  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:        10pt;
}


/* new stuff for Thunderbird like mailer */

.vertframerow {
  border-top-color:    white;
  border-top-width:    1;
  border-top-style:    solid;
  border-bottom-color: #808080;
  border-bottom-width: 1;
  border-bottom-style: solid;

  background-color:    #D4D0C8;

  font-family:  Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:    10pt;
}
.foldercell {
  font-family:  Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:    10pt;
  width:        25%;
}
.contentcell {
  font-family:  Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:    10pt;
}
.embedwhite_out {
  border-width:        1;
  border-style:        solid;
  border-top-color:    #808080;
  border-left-color:   #808080;
  border-bottom-color: white;
  border-right-color:  white;
}
.embedwhite_in {
  border-width:        1;
  border-style:        solid;
  border-top-color:    #808080; /* TODO */
  border-left-color:   #808080; /* TODO */
  border-bottom-color: #808080;
  border-right-color:  #808080;

  background-color:    white;
  /* height:              300px; */
  /* height: 100%; */
}
.titlediv {
  height:         24px;
  vertical-align: middle;
  padding-top:    6px;
  padding-left:   6px;
}
table.titletable {
  height:         24px;
  vertical-align: middle;
  padding-top:    6px;
  padding-left:   6px;
}
td.titlecell {
  height:         22px;
  vertical-align: middle;
  padding-bottom: 2px;
  white-space:    nowrap;
  font-family:    Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:      10pt;
}

.whitesec_title {
  background-color: #D4D0C8;
  padding:          4px;
}

.treecell {
  font-family:    Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:      10pt;
  color:          black;
  vertical-align: bottom;
  padding-left:   4px; /* move away from the icon */
  padding-right:  2px; /* move away from the right border */
  white-space:    nowrap;
}

/* mail tableview */

.tableview { 
  font-size:      9pt;
  font-family:    Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  vertical-align: top;
}
.tableview td {
  border-top-width:    1px;
  border-top-color:    white;
  border-bottom-width: 1px;
  border-bottom-color: white;
}

.tableview_selected { 
  font-size:        9pt;
  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  vertical-align:   top;
  background-color: #ffffcc;
}

.tableview_highlight { 
  font-size:        9pt;
  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  vertical-align:   top;
  background-color: #D4D0C8;
}
.tableview_highlight td {
  border-top-width:    1px;
  border-bottom-width: 1px;
  border-top-style:    solid;
  border-bottom-style: solid;
  border-top-color:    #808080;
  border-bottom-color: #808080;
}

td.tbtv_navcell { 
  border-width:        1;
  border-style:        solid;
  border-top-color:    white;
  border-left-color:   white;
  border-bottom-color: #808080;
  border-right-color:  #808080;
  padding-top:         4px;
  padding-bottom:      3px;
  padding-left:        4px;
  padding-right:       4px;
  
  background-color:    #D4D0C8;
}

td.tbtv_headercell { 
  border-width:        1;
  border-style:        solid;
  border-top-color:    white;
  border-left-color:   white;
  border-bottom-color: #808080;
  border-right-color:  #808080;
  padding-top:         4px;
  padding-bottom:      3px;
  padding-left:        4px;
  padding-right:       4px;
  
  background-color:    #D4D0C8;
}

td.tbtv_actcell { 
  border-width:        1;
  border-style:        solid;
  border-top-color:    #808080;
  border-left-color:   #808080;
  border-bottom-color: #808080;
  border-right-color:  #808080;
  padding-top:         4px;
  padding-bottom:      3px;
  padding-left:        4px;
  padding-right:       4px;
  
  background-color:    #D4D0C8;
}

td.tbtv_headercell a {
  margin:  0px auto;
  display: block;
  color:   black;
}
td.tbtv_headercell a:hover {
  margin:  0px auto;
  display: block;
  color:   black;
  text-decoration: none;
  /* background-color: #C4C0B8; */
}

td.tbtv_headercell img.tbtv_sortcell { 
  text-align: right;
  border:     0px;
  width:      12px;
  height:     12px;
}

span.mailer_datefield { 
  white-space: nowrap;
}

div.mailer_readmailsubject { 
  background-image:    url(message-mail-read.png);
  background-repeat:   no-repeat;
  background-position: 0px 0px;
  padding-top:         1px;
  padding-left:        20px;
}
div.mailer_unreadmailsubject { 
  background-image:    url(message-mail.png);
  background-repeat:   no-repeat;
  background-position: 0px 0px;
  padding-left:        20px;
  padding-top:         1px;
  font-weight:         bold;
}
div.mailer_readmailsubject a { 
  color:           black;
  text-decoration: none;
}
div.mailer_unreadmailsubject a { 
  color:           black;
  text-decoration: none;
}

td.mailer_listcell_deleted {
  text-decoration: line-through;
}
td.mailer_listcell_regular {
}
td.mailer_listcell_regular a { 
  color:           black;
  text-decoration: none;
}

div.mailer_readicon { 
  /* TODO: use Thunderbird icon */
  background-image:    url(icon_read.gif);
  background-repeat:   no-repeat;
  background-position: 0px 4px;
}
div.mailer_readicon a {
  width:   17px;
  height:  17px;
  margin:  0px auto;
  display: block;
}
div.mailer_unreadicon { 
  /* TODO: use Thunderbird icon */
  background-image:    url(icon_unread.gif);
  background-repeat:   no-repeat;
  background-position: 0px 4px;
}
div.mailer_unreadicon a {
  width:   17px;
  height:  17px;
  margin:  0px auto;
  display: block;
}

/* fields (key/value UI), eg used in mail viewer */

table.mailer_fieldtable { 
  width: 100%;

  border-bottom-color: #808080;
  border-bottom-width: 1;
  border-bottom-style: solid;
}
tr.mailer_fieldrow { 
  font-size:   9pt;
  font-family: Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
}
td.mailer_fieldname {
  padding-left:   24px;
  text-align:     right;
  font-weight:    bold;
  vertical-align: top;
}
td.mailer_fieldvalue {
  width: 95%;
}
td.mailer_subjectfieldvalue {
  font-weight: bold;
}
td.mailer_fieldvalue a {
  text-decoration: underline;
  vertical-align:  top;
}

div.mailer_mailcontent { 
  border-top-color: white;
  border-top-width: 1;
  border-top-style: solid;
  background-color: white;
  padding:          8px;
}

img.mailer_imagecontent {
  border: 0px;
}
pre.mailer_plaincontent { 
}

/* attachment editor */

form#attachment_form { 
  background-color: #D4D0C8;
  padding: 1px;
}

div#attachment_list { 
  border-top-color:    white;
  border-top-width:    1;
  border-top-style:    solid;
}

form#attachment_form input {
  font-size: 10px;
}

div#attachment_upload { 
  border-bottom-color: #808080;
  border-bottom-width: 1;
  border-bottom-style: solid;
  padding: 4px;
}

td.attachment_uplabel { 
  width:      15%;
  font-size:  11px;
  text-align: left;
}

/* attachment link viewer */

div.linked_attachment_frame {
  background-color: #D4D0C8;
  padding:          4px;
}

div.linked_attachment_body {
  font-family:         Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:           10pt;
  padding:             4px;

  border-width:        1;
  border-style:        solid;
  border-top-color:    white;
  border-left-color:   white;
  border-bottom-color: #808080;
  border-right-color:  #808080;
}

div.linked_attachment_meta {
  color:        #444444;
  font-style:   italic;
  border-width: 0;
  padding:      2px;
}
table.linked_attachment_meta {
  font-family:  Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size:    10pt;
  color:        #444444;
  font-style:   italic;
}


/* OGo link banner on top of mail frame */

table.linkbanner { 
  width:            100%;
  background-color: white;
  position:         fixed;
  height:           48px;
  z-index:          100;
}

.linkbannerlinks {
  font-size:      10pt;
  vertical-align: bottom;
  text-align:     left;
}
.linkbannerimage { 
  text-align:     right;
}
