/*
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.
*/
 
@import url(chrome://global/skin/);

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
@namespace html url("http://www.w3.org/TR/REC-html40"); /* namespace for XUL elements */
 
/* CardView styles - used in the Card View Pane*/

box#CardViewBox {
	overflow: auto;
	background-color: #EEEEEE;
	min-width: 150px;
	user-focus: ignore;
}

box#CardViewInnerBox {
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 8px;
	padding-right: 8px;
}

html|div#CardTitle {
	font-size: 150%;
	font-weight: bold;
	border-bottom: 2px solid black;
	min-width: 120px;
}
 
box.cardViewGroup {
	margin-top: 8px;
	padding-bottom: 5px;
	min-width: 50px;
}

html|div[class="CardViewHeading"] {
	padding: 1px;
	padding-left: 5px;
	margin-bottom: 1px;
	background-color: #99CCCC;
	color: black;
	font-weight: bold;
	min-width: 30px;
}

html|div[class="CardViewText"] {
	padding-left: 20px;
	padding-right: 2px;
	min-width: 30px;
}


/* CardEdit styles - used in the Card Edit Dialog */

box[class="CardEditWidth"] {
	width: 25em;
}

html|input[class="CardEdit"] {
	margin: 2px 0px 2px 0px ;
	padding: 0px;
}

html|label[class="CardEdit"] {
	padding: 0px;
	margin-top: 3px;
}

html|input[class="CardEditCheckbox"] {
	margin-left: 0px;
	margin-bottom: 0px;
}

box[class="alignWithFieldset"] {
	margin-left: 6px;
	margin-right: 5px;
}

spring.stateZipSpacer { width: 3em; }


/* Custom Trees */

tree { 
	border-left: 1px solid transparent;
}

tree:focus { 
	border-left: 1px solid #336699;
}

treeitem[selected="true"] > treerow { 
	color: black;
	background-color: #CCCCCC;
}

tree:focus treeitem[selected="true"] > treerow { 
	color: white;
	background-color: #336699;
}

tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon {
	list-style-image: url("chrome://addressbook/skin/myaddrbk.gif");
}

tree[class="abResults"] treeitem > treerow > treecell.cardicon {
	 list-style-image: url("chrome://addressbook/skin/person.gif");
}


/* Address Book specific style */

#results_box {
	border-left: 8px solid #CCCCCC;
}
 
[hide] {
  visibility: collapse;
}

#button_newcard {
	list-style-image:url("chrome://addressbook/skin/newcard.gif");
}

#button_newlist {
	list-style-image:url("chrome://addressbook/skin/newlist.gif");
}

#button_editcard {
	list-style-image:url("chrome://addressbook/skin/edit.gif");
}

#button_newmessage {
	list-style-image:url("chrome://addressbook/skin/newmsgab.gif");
}

#button_delete {
	list-style-image:url("chrome://messenger/skin/trash.gif");
}

#button_stop {
	list-style-image:url("chrome://global/skin/stop.gif");
}

#button_search {
	list-style-image:url("chrome://global/skin/search.gif");
}

#searchlabel {
	padding: 0px;
	padding-left: 5px;
	padding-bottom:2px;
	white-space: nowrap;
	font-size: smaller;
	min-width: 20px;
}

#searchtext {
	min-width: 20px;
	padding: 0px;
}

