menupopup, popup
  {
    /* DON'T DELETE.  Removes disappearance of scrollbars
     * in content pane when window is made smaller.
     * Talk to evaughan@netscape.com for details.
     */
    min-width             : 1px;
    background-color      : Menu;
  }

/* XXX menupopups have to have a color explicitly specified. this is a bug */
menupopup, popup 
  {
    border-left           : 1px solid ThreeDLightShadow;
    border-top            : 1px solid ThreeDLightShadow;
    border-right          : 1px solid ThreeDDarkShadow;
    border-bottom         : 1px solid ThreeDDarkShadow;
  }

.popup-internal-box
  {
    border-left           : 1px solid ThreeDHighlight;
    border-top            : 1px solid ThreeDHighlight;
    border-right          : 1px solid ThreeDShadow;
    border-bottom         : 1px solid ThreeDShadow;
    padding               : 1px;
  }  
  
/** Tooltips (tooltip <popup> element is deprecated! Use <tooltip> instead!)
 *  class="tooltip"
 **/
.tooltip, tooltip
  {
    border                : 1px solid WindowFrame;
    padding               : 2px;
    max-width             : 40em;
    background-color      : InfoBackground;
    color                 : InfoText;
    font                  : message-box;
  }

.tooltip > .popup-internal-box,
tooltip > .popup-internal-box
  {
  	border                : 0px;
  	padding               : 0px;
  }

/* rules for popups associated with menulists */

  menulist > menupopup,
  .menulist-menupopup
    {
      border              : 1px solid -moz-FieldText;
      min-width           : 0px;
      background-color    : -moz-Field;
    }

