/*
  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.
*/

DIV#rightPanel
{
  position: absolute;
  top: 5.5em;
  left: 15em;
  margin-left: 5px;
  right: 0px;
  bottom: 0px;
  overflow: hidden;
}

/* top list */
DIV#contactsListContent
{ cursor: default;
  position: absolute;
  background-color: #fff;
  top: 2.5em;
  left: 0px;
  right: 0px;
  height: 15.5em;
  overflow: auto;
  overflow-x: hidden; }

.aptview_text
{
  color: #000000;
}

.apt_other
{
  color: #000000;
}

.apt_other_print
{
  font-style: italic;
}

.foldercell
{
  width: 25%;
}

.contentcell
{
}

.titlediv
{
  line-height: 2em;
  vertical-align: bottom;
  padding-left: 1em;
}

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;
}

TABLE.titletable TD.titlecell SELECT
{ 
  display: -moz-popup;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  -moz-border-bottom-colors: #000 #9c9a94 transparent;
  -moz-border-right-colors: #000 #9c9a94 transparent;
  background-color: #DCDAD5;
}

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

DIV#contactFoldersList
{ position: absolute;
  top: 6em;
  left: 0px;
  width: 15em;
  bottom: 0px;
  margin: 0px;
  padding: 0px;
  overflow: hidden; }

DIV#contactFoldersList DIV.toolbar
{ width: 100%;
  padding: 0px;
  margin: 0px;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa; }

UL#contactFolders
{ list-style-type: none;
  list-style-image: none;
  clear: both;
  cursor: default;
  color: #000;
  background: #fff;
  position: absolute; /* required for Safari & IE */
  top: 53px; /* leave space for the mini addressbook */
  bottom: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  border-top: 2px solid #222;
  border-left: 2px solid #222;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -moz-border-top-colors: #9c9a94 #000;
  -moz-border-left-colors: #9c9a94 #000; }

DIV#contactFoldersList LI
{
  padding: .2em 1em;
  margin: 0px;
  width: auto;
  white-space: nowrap;
}

.treecell
{
  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;
}

DIV#folderTreeContent TABLE TD
{ height: 2em;
  border-top: 1px solid #fff;
  margin: 0px;
  padding: 0px; }

TABLE#contactsList
{ -moz-user-select: none;
  -khtml-user-select: none;
  width: 100%; }

TABLE#contactsList TD,
TABLE#contactsList TH
{ overflow: hidden;
  line-height: 16px;
  white-space: nowrap; } /* pre, normal, nowrap */

TABLE#contactsList TH
{ white-space: pre; }

TABLE#contactsList TD IMG
{
  vertical-align: middle;
  margin-left: 1em;
  margin-right: .2em;
}

TABLE#contactsList TR._deleted TD
{ 
  text-decoration: line-through;
}

DIV#contactView
{ 
  position: absolute;
  background: #fff;
  padding: .5em;
  top: 18em;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow: auto;
  margin-top: 5px;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  line-height: 1em;
}

DIV#contactView A
{ color: #00f;
  text-decoration: none; }

DIV#contactView H3.contactCardTitle
{ display: block;
  margin: 0px;
  padding: .2em 0px;
  font-size: large;
  font-weight: bold;
  width: 100%;
  text-decoration: underline; }

DIV.contactColumn
{ 
  width: 45%;
  margin-left: 1em;
  padding: .5em;
  float: left;
}

DIV.contactColumn DIV
{ margin-bottom: 1em; }

DIV.contactColumn H4
{
  margin: .2em 0px;
  margin-left: -1em;
  font-weight: bold;
  color: #fff;
  background: #4b6983;
  width: 100%;
  padding: .1em .2em;
}

INPUT#searchValue:focus
{ color: #000; }

/* drag handles */
DIV#dragHandle
{ cursor: e-resize;
  top: 8em;
  left: 15em;
  width: 5px;
  bottom: 0px; }

DIV#rightDragHandle
{
  cursor: n-resize;
  top: 18em;
  left: 0px;
  right: 0px;
  height: 5px;
}

DIV.contactSelector
{
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
}

BODY.popup DIV#rightPanel
{ top: 4em; }

BODY.popup DIV#dragHandle
{ top: 6em; }

BODY.popup DIV#contactsListContent
{ height: 8em; }

BODY.popup DIV#contactFoldersList
{ top: 4em; }

BODY.popup DIV#rightDragHandle
{ top: 10em; }

BODY.popup DIV#contactView
{ top: 10em; }

DIV.contactSelection
{
  z-index: 10;
  background: inherit;
  position: absolute;
  bottom: 0em;
  padding: 1em;
  left: 0px;
  right: 0px;
  text-align: right;
  background: #d4d0c8;
  border-top: 1px solid #fff;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 0px;
  -moz-border-top-colors: #efebe7;
}

DIV.contactSelection > DIV.calendar
{ text-align: center; }

DIV.contactSelection INPUT.button
{ font-size: 8pt;
  margin-top: .25em;
  padding: 0px; }

DIV.contactSelection SPAN#selectionLabel
{ float: left; }
