ecolorpicker {
  -moz-binding: url("chrome://bluegriffon/content/bindings/ecolorpicker.xml#ecolorpicker");
}

filepickerbutton {
  -moz-binding: url('chrome://bluegriffon/content/bindings/filepickerbutton.xml#filepickerbutton');
}

toolbarbutton.multibutton[checked],
toolbarbutton.multibutton:hover:active:not([disabled]) {
  text-shadow: rgba(129, 211, 255, 1) 0 0 3px;
  -moz-box-shadow: 
    inset rgba(0, 0, 0, 1) 0 2px 8px, 
    inset rgba(0, 0, 0, 1) 0 1px 1px,
    inset rgba(255, 255, 255, 0.5) 0 -16px 8px,
    rgba(255, 255, 255, 0.1) 0 1px;
}

toolbarbutton.multibutton {
  margin: 4px 0px;
  padding: 1px 1px;
%ifdef XP_MACOSX
  background-image: -moz-linear-gradient(#e0e0e0, #d0d0d0, #e0e0e0);
%else
  background-image: -moz-linear-gradient(#cac7b6, #dbd8b7, #cac7b6);
%endif
  -moz-appearance: none;
  border: thin silver solid;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
toolbarbutton.multibutton + toolbarbutton.multibutton {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-left: 0px;
}

toolbarbutton.multibutton:last-child {
  border-top-right-radius: 5px; 
  border-bottom-right-radius: 5px;
  margin-right: 1em;
}

toolbarbutton.multibutton .toolbarbutton-icon[src] {
  margin-left: 1em;
  margin-right: 1em;
}

toolbarbutton.multibutton:not([label]) .toolbarbutton-text {
  display: none;
}

medium {
  -moz-binding: url('chrome://bluegriffon/content/bindings/media.xml#medium');
}

length {
  -moz-binding: url('chrome://bluegriffon/content/bindings/media.xml#length');
}

.medium-delete-button {
  visibility: hidden;
  list-style-image: url("chrome://global/skin/icons/close.png");
  -moz-image-region: rect(0, 16px, 16px, 0);
}

hbox:hover > .medium-delete-button {
  visibility: visible;
}

.medium-delete-button:hover {
  -moz-image-region: rect(0, 32px, 16px, 16px);
}

.medium-delete-button:hover:active {
  -moz-image-region: rect(0, 48px, 16px, 32px);
}
