@charset "utf-8";
/* Zero out padding and margin, adjust where needed later */
form, fieldset, label, input, .checkbox, textarea, select, option, form div {
  margin: 0;
  padding: 0;
}
fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #999;
}
legend {
  font-weight: bold;
  margin: 0 2% .5em 0;
  padding: .2em .5em;
}
input.text, textarea, input, select {
	border: 1px solid #666;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #333;
	color: #999;
}
option {
  float: none;
  clear: both;
  margin-right: 2em;
}
input.radio, input.checkbox {
	margin-right: .5em;
}
/* Create a bit of padding for text inputs and selects */
input.text, input.button, textarea, select {
  padding: .2em;
}
input.button {
	padding-top: 0.1em;
	padding-right: 0.6em;
	padding-bottom: 0.1em;
	padding-left: 0.6em;
}
.readonly {  
  color: #999;
  background: #e7e7e7;
}
/* standard widths */
.w12 { width: 12% }
.w25 { width: 25% }
.w37 { width: 37% }
.w50 { width: 50% }
.w62 { width: 62% }
.w75 { width: 75% }
.w87 { width: 87% }
.wauto { width: auto; }

.expandedform { overflow: hidden; } 
.expandedform .row {
  padding: .3em 0;
  white-space: nowrap;
  overflow: hidden;
  clear: both;
}
.expandedform label, 
.expandedform .row p, 
.expandedform .row div, 
.expandedform input, 
.expandedform select, 
.expandedform textarea {
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
}
.expandedform textarea {
	/*font-size: 95%;*/
}
/* change column widths for labels and inputs */
.expandedform .text { width: 70%; }
.expandedform label, .expandedform .row p {
	width: 25%;
	text-align: right;
	white-space: normal;
	overflow: hidden;
	margin-top: 0em;
	margin-right: 1em;
	margin-bottom: .5em;
	margin-left: 0;
}

.expandedform .row div {
  white-space: nowrap;
  overflow: hidden;
  clear: none;
}
/* labels and form inputs inside of divs should not float */
.expandedform .row div * {
  float: none;
  clear: none;
}
.expanded input.checkbox, 
.expanded input.radio, 
.expanded select { 
  margin-top: 1.5em;
}
.expandedform div div input { 
  margin-right: 0;
}
.form_error {
	color: #FF0000;
	border: 1px solid #FF0000;
	margin: 5px;
	padding: 5px;
}

