/* styles for feedback messages */
.success {
	float: none;
	width: auto;
	font-weight: bold;
	color: #090;
	background-color: inherit;
}

.error {
	float: none;
	width: auto;
	color: #f00;
	background-color: inherit;
}


/* main style rules */
#container {
	text-align:center;
	color:inherit;
	background-color:#fff;
	margin: 0;
	padding: 10px;
}

fieldset {
	color: inherit;
	background-color: #f9f9f9;
	border: solid 1px #bbb;
	margin: 0 0 20px 0;
	padding: 10px;
}

h1 {
	margin: 0 0 10px 0;
}

legend {
	font-weight: bold;
}

label, span {
	float: left;
	width: 7em;
}

div, p {
	clear: left;
	margin: 0 0 5px 0;
	padding: 0;
}

#group1 {
	float: left;
	margin: 0;
}

#partNLAForm {
	color: inherit;
	background-color: #eee;
	border: solid 1px #777;
	width: 690px;
	padding: 15px;
	margin: 0 auto;
}

#partInfo, #agencyInfo {
	text-align: left;
	clear: left;
	float: left;
}

#personalInfo {
	text-align: left;
	float: right;
}

div#nesda {
	clear: right;
	float: right;
	padding: 10px;
	text-align: center;
	margin: 160px auto 0 auto;
}

#nesda div {
	text-align:left;
	width:216px;
	margin: 0;
}

#bottom {
	clear: both;
	text-align: center;
	width: 100%;
	margin: 0;
	padding: 10px 0 0 0;
}


/* positioning adjustments */
label.radio, label.checkbox {
	width: auto;
	margin: 0 10px 0 0;
	float: none;
	display: inline;
}

.check, #reportedDiv, #subDateDiv {
	margin-left: 7em;
}

#reportedDiv, #subDateDiv {
	margin-bottom: 10px;
}

#catDiv, #reportedQ, #nameDiv {
	margin-top: 10px;
}

#subDateLabel {
	width: auto;
	margin-top: 10px;
	margin-bottom: 5px;
}

#manMonthLabel, #manYearLabel, 
#subMonthLabel, #subDayLabel, #subYearLabel, 
#ownerPhone2Label, #ownerPhone3Label, 
#subPhone2Label, #subPhone3Label {
	text-indent: -1000em;
	width: 0;
}

#month, #year, 
#submonth, #subday, #subyear { /* this is a fix for IE6 for the above rule */
	display: block;
	float: left;
	margin: 0 3px 10px 0;
}

#reportedYes {
	clear: left;
}

#sourcesTried, #location {
	float: left;
	margin-top: 10px;
}

#vendorDiv {
	margin: 10px 0;
}

#subInfo {
	margin-top: 10px;
}

#refnumDiv, #streetDiv {
	margin-top: 5px;
}


/* self clearing rules - only needed for modern browsers in this case */
#manDateDiv:after,
#subDateContainer:after, 
#filenumDiv:after, 
#agencyNameDiv:after, 
#nameDiv:after, 
#subInfo:after { /* for browsers that support :after */
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

* html #manDateDiv,
* html #subDateContainer, 
* html #filenumDiv, 
* html #agencyNameDiv, 
* html #nameDiv, 
* html #subInfo { /* for IE5+6 */
	width: 315px;
}

*:first-child+html #manDateDiv, 
*:first-child+html #subDateContainer, 
*:first-child+html #filenumDiv, 
*:first-child+html #agencyNameDiv, 
*:first-child+html #nameDiv, 
*:first-child+html #subInfo { min-height: 1px; } /* for IE7 */