/* XUL ELEMENTS */
window, WINDOW {
	display: block;
	width: 100%;
	background: silver;
	background-color: #CCCCCC; /* not working on Macintosh */ 
	padding: 5px;
  font-family: Sans-Serif;
  font-size: 8pt;
}

/* values = margin, padding. Padding doesn't work yet */
checkbox { margin: 5px 3px }

tristatecheckbox {
 /* DOESN'T WORK! */
  margin-top: 3px;
  margin-bottom:3px;
  margin-left: 2px;
  margin-right: 2px;
  border-style: inset;
  background-color: #ffffff;
  valign: center;
  align: center;
}

select.combobox {
  font-family: Sans-Serif;
  font-size: 8pt;
  border-top: 2px;
  border-left: 4px;
  border-right: 2px;
  border-style: outset;
}

select.SpellCheckList, select.SpellCheckLanguage, input.SpellCheckWord {
  width: 20em;
  border-style: inset;
	background-color: #CCCCCC; /* not working on Macintosh */ 
}

.checkboxtext {
  margin-top: -9px;
  margin-left: 3px;
  margin-right: 5px;
  margin-bottom: 2px;
}

radio { margin: 5px 3px }

tree  {
	display: table;
	background-color: #000000;
	border: none;
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}

/* HTML ELEMENTS */
/* Force all rows to line up cell contents at the top */
tr { vertical-align: top }

tr[show=0] { display: none }
tr[show=1] { display: table-row }


/* FOR DEBUG PURPOSE -- use border-width: 1px */
/* BORDER STYLE NOT WORKING 5/12/99 */
td, table { border: 0px;}

p, br, td {
  font-family: Sans-Serif;
  font-size: 8pt;
  margin-top: 4px;
  margin-bottom: 4px
}

p.smallmargin { margin-bottom: 2px }

fieldset {
  border-width: 2px;
  border-style: groove;
  padding: 5px;
/* BUG: If this is set, border is chopped off at the right */
/*  margin: 5px; */
  text-align: left;
}

legend {
  font-family: Sans-Serif;
  font-size: 10pt;
  border-width: 0;
  text-align: left;
}

/* CLASSES */
/* Use these primarily with TD to create 3D "panels" */
.GrooveBorder { border: 2px groove; padding: 5px }

.RidgeBorder { border: 2px ridge; padding: 5px  }

.OutsetBorder { border: 1px outset; padding: 5px  }

.InsetBorder { border: 1px inset; padding: 5px  }

button.spaced { 
/* BUG - Setting size doesn't work?
  width: 80px;
  height: 20px;
*/
  margin: 5px;
}

button.ChooseFile {
  margin-left: 5px;
  margin-bottom: 3px;
  margin-right: 5px;
}

.tableCenterAlign {
  vertical-align: middle;
}

.genericbutton {
  width: 80px;
  height: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.spacedtext {
  margin-top: 0px;
  margin-left: 3px;
  margin-right: 5px;
  margin-bottom: 2px;
}

input[type="file"] {
	background-color: #CCCCCC; /* not working on Macintosh */ 
  font-family: Sans-Serif;
  font-size: 8pt;
}

