p, form, input, table, textarea, select, li {
	margin: 0;
	padding: 0;
}


div.inputSection
{
  clear: both;
  width: 100%;
  margin-bottom: 1em;
}

div.checkboxSection
{
  clear: both;
  width: 100%;
  margin-bottom: 0;
}

/* For some reason, these autocomplete divs don't space themselves like the
others. Need to overspace margins. */
div.autocompleteInputSection
{
  clear: both;
  width: 100%;
  margin-bottom: 25px;
}

.textfieldLabel, .textareaLabel, .selectLabel, .fieldName, .groupLabel
{
    font-weight:bold;
    font-size: small;
/*    color: royalblue;*/
    color: #2F5EBB;
/*    font-variant: small-caps;*/
    display: block;
    text-align: right;
    float:left;
    padding: 0;
    padding-right: 2em;
    width: 30%;
}

.textfieldLabel .inlineInstructions, .textareaLabel .inlineInstructions, .selectLabel .inlineInstructions, .fieldName .inlineInstructions, .groupLabel .inlineInstructions
{
  display: block;
/*  font-size: smaller;*/
  font-weight: normal;
  font-style: italic;
  margin-bottom: .5em;
}

.textInput, textarea, .selectInput, .longTextInput, .longestTextInput, .longSelectInput, .shortTextInput, .dateInput, .genericInput, .fileInput
{
/*  border: 2px solid silver;*/
  background-color: #fff;
  padding: .25em;
}

.checkboxLabel, .radioLabel, fieldset legend
{
  font-weight:normal;
  font-size: small;
  font-style: italic;
  display: inline;
}

.checkbox
{
  margin: 8px;
/*  border: thin solid silver;*/
}

.selectInput
{
  width: 25%;
}

.mediumSelectInput
{
  width: 37.5%;
}

.longSelectInput
{
  width: 50%;
}

.textInput
{
  width: 45%;
}

.dateInput
{
  width: 12em;
  margin-bottom: 5px;
}

.longTextInput
{
  width: 80%;
}

.longestTextInput
{
  width: 95%;
}

.shortTextInput
{
  width: 20%;
}

.notesArea
{
  width: 50%;
  height: 5em;
  padding: 2px;
  margin-bottom: 5px;
}

.mediumNotesArea
{
  width: 50%;
  height: 15em;
  padding: 2px;
  margin-bottom: 5px;
}

.largeNotesArea
{
  width: 75%;
  height: 15em;
  padding: 2px;
  margin-bottom: 5px;
}

.submitButton
{
  color: #000;
  background: #96b5f2;
  font-size: larger;
  margin-top: 2em;
  margin-bottom: 2em;
  border: 2px #888 outset;
}

.smallSubmitButton
{
  color: #000;
  background: #96b5f2;
  font-size: larger;
  border: 2px #888 outset;
}

.disabledSubmitButton
{
  color: #444;
  background: #BBB;
  margin-top: 10px;
  border: 2px #CCC outset;
}

.cancelButton
{
  color: #000;
  background: #fb0;
  margin-top: 2em;
  margin-bottom: 2em;
  margin-right: 20%;
  border: 2px #CCC outset;
  float:left;
}

.autocompleteDiv {
    width:30em; /* set width here or else widget will expand to fit its container */
    padding-bottom:5px;
}
.autocompleteLabel {
    padding-bottom:5px;
}
.autocompleteContainer {
    margin-left: 50%
}

.nonEditableText
{
  font-style: italic;
}

.formCloud
{
  margin-bottom: 1em;
}

.standaloneForm
{
  width: 80%;
  margin-left: 10%;
}  