/* - This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
   - You can obtain one at http://mozilla.org/MPL/2.0/. */

dialog,
window,
prefpane,
prefwindow,
.windowDialog {
  -moz-appearance: none;
  background-color: #fbfbfb;
  color: #424e5a;
  margin: 0;
  padding: 0;
}

.contentPane {
  margin: 0;
}

tabbox {
  /* override the rule in certManager.xul */
  margin: 0 0 5px !important;
}

tabpanels {
  font-size: 1em;
}

tabs,
label,
description,
#useDocumentColors {
  margin-right: 4px;
  margin-left: 4px;
}

tree {
  min-height: 15em;
}

.actionButtons {
  margin: 3px 0 0 !important;
}

caption {
  padding-inline-start: 0;
}

groupbox {
  font-size: 1em;
  margin-top: 0;
  margin-right: 4px;
  margin-left: 4px;
  padding-top: 0;
  padding-bottom: 5px;
}

prefpane .groupbox-body {
  padding: 0 0 5px;
}

groupbox description {
  margin-right: 0;
  margin-left: 0;
}

.actionButtons + resizer {
  display: none;
}

#ReturnReceiptsDialogPane {
  margin-right: 4px;
  margin-left: 4px;
}

#configDeck {
  min-width: 750px;
  min-height: 500px;
}

#cookieInfoBox {
  margin-right: 0;
  margin-left: 0;
}

/* Create a separate rule to unset these styles on .tree-input instead of
   using :not(.tree-input) so the selector specifity doesn't change. */
textbox.tree-input {
  font-size: unset;
}

/* Adjust the Lightning Edit Category dialog */
#colorSelectRow {
  margin-top: 10px;
  margin-inline-start: 4px;
}
