/**
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * 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.
 *
 * END FLOCK GPL
 */
 
listbox#editBMPanel_tagsSelector[collapsed="true"] {
  display: none;
}

bookmarksAccount {
  -moz-binding: url("chrome://flock/content/favorites/bookmarkAccount.xml");
  padding: 4px;
  border-bottom: 1px solid #d8d7d9;
  -moz-box-flex: 1;
}

bookmarksAccount:last-child {
  border: 0;
}

bookmarksAccount hbox {
  -moz-box-align: center;
}

bookmarksAccount label,
bookmarksAccount checkbox {
  margin: 0;
  padding: 0;
  -moz-box-align: center;
  -moz-box-pack: center;
}

%ifdef XP_WIN
#editBMPanel_enableLocalCheckbox hbox {
  visibility: hidden;
}
%endif

.publishCheckbox {
  margin-left: 2px;
}

.publishCheckbox .checkbox-label {
  margin-left: 5px !important;
}

bookmarksAccount .publishInfo {
  margin-right: 5px;
  color: green;
}

bookmarksAccount .privateCheckbox {
%ifdef XP_MACOSX
  margin-right: 1px;
%endif
}

bookmarksAccount .privateCheckbox label {
  margin-left: 1px !important;
}

.publishCheckbox .checkbox-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0 5px;
}

.publishCheckbox .checkbox-icon {
%ifndef XP_MACOSX
  margin-left: 8px;
%else
  margin-left: 6px;
%endif
  margin-right: 0 !important;
}


#editBookmarkPanelContent #onlineBookmarkAccnts {
  margin: 0 4px;
}

#editBookmarkPanelContent bookmarksAccount {
  padding: 2px 4px;
}

#editBookmarkPanelContent #flockOnlineLabel {
  padding-top: 4px;
}

row#onlineAccntsContainer {
  margin-top: 3px;
}

#onlineBookmarkAccnts {
  -moz-box-flex: 1;
  background-color: #f4f4f5;
  border: 1px solid #d8d7d9;
  padding: 0;
  width: 270px;
  margin: 0 5px 0 2px;
}

#editBookmarkPanelStarIcon {
  margin: 5px 0 0 5px;
  list-style-image: url("chrome://flock/skin/favorites/starButton.png");
  -moz-image-region: rect(200px 38px 237px 0px);
  width: 38px;
  min-width: 38px;
  height: 37px;
  min-height: 37px;
}

#editBookmarkPanelTitle {
  margin: 9px 0 0 10px;
}

#editBMPanel_enableLocalCheckbox {
  margin: 0 0 0 10px;
%ifndef XP_MACOSX
  margin-left: 9px;
%endif
  padding: 0 !important;
}

#editBMPanel_folderRow,
#flockOnlineBookmarkPanelContent #placesOverlayContainer,
#flockTreeContainer {
  border: 1px solid #bcbbbb;
  background-color: #e8e8e8 !important;
  margin: 0 4px;
}

#flockTreeContainer {
  border-width: 0 1px;
  margin: 0 4px;
}

#editBMPanel_folderRow {
  margin-top: 3px !important;
  padding-top: 3px;
  -moz-border-radius: 5px 5px 0 0;
  border-width: 1px 1px 0 1px;
}

#flockOnlineBookmarkPanelContent #placesOverlayContainer {
  -moz-border-radius: 0 0 5px 5px;
  border-width: 0 1px 1px 1px;
  margin-bottom: 10px;
}

#editBMPanel_folderTree treechildren::-moz-tree-image(container) {
%ifdef XP_UNIX
%ifdef XP_MACOSX
/* Mac */
  list-style-image: url("chrome://browser/skin/folder.png");
%else
/* Linux */
  list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
%endif
%else
/* Windows */
  list-style-image: url("chrome://browser/skin/folder.png");
%endif
  margin-right: 5px;
}

#editBMPanel_folderTree {
  border: 1px solid #cccccc;
  margin: 1px 5px 3px 5px;
}

#editBMPanel_folderMenuList {
 -moz-box-flex: 1;
 padding: 1px 0;
 margin-left: 1px;
}

#editBMPanel_folderMenuList label {
  margin-left: 5px !important;
}

.folder-icon {
%ifdef XP_UNIX
%ifdef XP_MACOSX
/* Mac */
  list-style-image: url("chrome://browser/skin/folder.png") !important;
%else
/* Linux */
  list-style-image: url("moz-icon://stock/gtk-directory?size=menu") !important;
%endif
%else
/* Windows */
  list-style-image: url("chrome://browser/skin/folder.png") !important;
%endif
}

#editBookmarkPanelRemoveButton {
  margin: 3px 0 7px 10px;
}

#showWhenAdding {
  margin: 3px 0 5px 0;
}

#showStarPanel {
  color: #333333;
}

#defaultLocations {
  margin-top: 4px;
  margin-bottom: 5px;
}

#defaultLocations:not([disabled="true"]) {
  color: #333333;
}

#onlineBookmarksRow > label {
  margin-top: 5px;
}

#learnAboutOnlineBookmarksContainer {
  margin: 4px 0;
}

#learnAboutOnlineBookmarks {
  color: #2f64da;
  text-decoration: underline;
  cursor: pointer;
}

#editBMPanel_foldersExpander[disabled="true"] {
  opacity: 0.5;
}

.expander-down,
.expander-up {
  margin: 3px 1px 4px 1px;
%ifndef XP_MACOSX
  margin-right: 4px;
%endif
}

treechildren::-moz-tree-image(title, container, tagContainer) {
  list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png") !important;
  -moz-image-region: auto;
}

#infoBoxExpanderHide {
  display: none;
}
