/* 
 * The contents of this file are subject to the Mozilla 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/MPL/
 * 
 * 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.
 * 
 * The Initial Developer of the Original Code is Netscape
 * Communications Corp. Portions created by Netscape Communications
 * Corp. are Copyright (C) 1999 Netscape Communications Corp. All
 * Rights Reserved.
 * 
 * Contributor(s): Stephen Lamm <slamm@netscape.com>
 */ 

splitter#sidebar-splitter {
	margin-right: 2px;
	margin-top: 2px;
	min-width: 8px;
	max-width: 8px;
	padding: 0px;
	border: none;
	background-color: #003366;
}

splitter#sidebar-splitter #bottomright-cap {
	min-height: 8px; 
	background-image: url("chrome://sidebar/skin/sidebar-bottomright-cap.gif"); 
	background-repeat: no-repeat;
	background-position: 100% 100%;
}

splitter#sidebar-splitter #topright-cap {
	min-height: 8px; 
	background-image: url("chrome://sidebar/skin/sidebar-topright-cap.gif"); 
	background-repeat: no-repeat;
	background-position: 100% 0%;
}

splitter#sidebar-splitter grippy {
	margin: 0px;
	border: 2px solid #003366;
	padding: 0px;
	background-color: #6699CC;
	list-style-image: none;
}

splitter#sidebar-splitter grippy:hover {
	background-color: #99CCFF;
}

splitter#sidebar-splitter grippy:active {
	background-color: #99CCFF;
}


/**/

box#sidebar-box {
  margin-top: 2px;
  width: 162px;
  min-height: 1px;
  min-width: 1px;
  max-width: 400px;
  border: none;
  border-bottom: 8px solid #003366;
}

box#sidebar-panels {
  min-width: 1px;
  min-height: 1px;
  border-bottom: 2px solid #003366;
}

box#sidebar-box[hidden="true"] {
  display: none;
}

splitter#sidebar-splitter[hidden="true"] {
  display: none;
}

box#sidebar-box[hackforbug20546="true"] {
  visibility: collapse;
}

box#sidebar-box[hackforbug20546="true"][hackforbug20546-applied="true"] {
  visibility: inherit;
}

iframe.panel-frame {
  min-width: 1px;
}

/*
 *  Sidebar and Panel title buttons
 */
splitter.sidebar-main-header {
  color: #CCFFFF;
  background-color: #003366;
  padding: 0px;
  padding-left: 5px;
  padding-right: 5px;
}

splitter.sidebar-main-header div {
  font-weight: bold;
  margin: 2px;
}

splitter.sidebar-main-header titledbutton {
  padding: 0px;
}

splitter.sidebar-main-header titledbutton:hover {
  color: white;
}

titledbutton.panel-bar {
  padding: 0px;
  margin: 0px;
  min-width: 1px;
  padding-left: 15px;
  border-top: 1px solid white;
  background-color: #CCCCCC;
  font-size: smaller;
}

titledbutton.panel-bar[selected="true"] {
  background-color: #98CCF8;
  padding-left: 5px;
  margin: 0px;
  border-bottom: 1px solid #808080;
}
