@media screen, print{
	
/* general and layout */
	body {
		background-color: #D6A701;/*#C69B19;*/
		font-family: Verdana,Arial,sans-serif; 
		font-size: small;
		margin: 0;
		padding-bottom: 1.5em;
		text-align: center;
	}
	h1, h2, h3, h4, h5, h6 {
		font-family: Georgia,serif;
		color: #9A780C;/*#7E7351;*/
		font-weight: normal;
		margin-top: 0;
		padding-top: 0.5em;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	a,
	a:link,
	a:visited,
	a:active {
		color: #9A780C;
		text-decoration: underline;
		font-weight: bold;
	}
	
	a:hover {
		color: #9A780C;
		text-decoration: none;
	}
	
	br { 
		clear: both;
	}
	
	hr {
		border: 0;
		border-top: 1px solid #CCCCCC;
		height: 1px;
		clear: both;
	}
	
	#wrapper {
		background-color: #D6A701;/*#C69B19;*/ 
		margin: 0 auto;
		width: 980px;
		text-align: left;
	}
	
	#header {
		background-color: #D6A701; /*#C69B19;*/ 
		height: 100px; 
	}
	
	#nav {
		padding: 0;
		margin: 0;
		border: 0;
	}
	
	#main { 
		background-color: white;
		padding: 2.75em 1em 0em 1em;
		margin-top: 0;
	}
	
	.block { 
		float: left; 
		padding: 0.5em; 
	}
	
	div.fine-print { 
		padding-top: 1em;
		font-weight: bold;
		font-size: x-small;
		text-align: center;
	}
	
	div.box {
		margin: 1em 1em 1em 2em;
		padding: 1em 1em 1em 1em;
		background-color: #D4C594;
		border: 1px solid #D4A300;
	}
	
	.notice {
		padding-left: 64px ! important;
		background-image: url(/images/notice.png);
		background-position: 11px center;
		background-repeat: no-repeat;
		min-height: 40px;
	}
	.important {
		padding-left: 64px ! important;
		background-image: url(/images/important.png);
		background-position: 11px center;
		background-repeat: no-repeat;
		min-height: 40px; 
	}
	.okay {
		padding-left: 64px ! important;
		background-image: url(/images/okay.png);
		background-position: 11px center;
		background-repeat: no-repeat;
		min-height: 40px;
	}
	
	.fgwhite {
		color: white;
	}
	
	input.big-button { 
		text-size: medium;
		font-weight: bold;
		padding: 1.5em;
		/*width: 190px;*/
	}
		
/* lot building rowset table styles */
	table.rowset {
		width: 75%;
		border-spacing: 0px;
		border-collapse: collapse;
	}
	
	table.rowset th,
	table.rowset td {
		text-align: center;
	}
	 
	table.rowset thead tr th {
		border-bottom: 1px solid #666666;
	}
	
	table.rowset tfoot tr th {
		border-top: 1px solid #666666; 
	}

	table.rowset #row-blank td {
		text-align: center;
		color: #BBBBBB;
	}
	
	table.rowset input,
	table.rowset select {
		width: auto ! important;
	}

/* forms */
	form fieldset {border: 0; width: 600px; padding-top: 0}
	form fieldset p { margin: 4px 0 2px 0;}
	label {font-weight: bold;}
	label.normal { font-weight: normal; width: auto ! important;}
	select, input { width: 140px; }
	input.checkbox,
	input.radio { width: 2em;}
	input.auto_width { width: auto; }
	
	fieldset.submit dl { margin-top: 0;}
	fieldset.narrow { width: 400px;}
	dl.kvp dt,
	dl.kvp dd { margin: auto; padding: auto; float: left;}
	
	dl.kvp:first-child { padding-top: 1em;}
	.kvp dt { clear: both; width: 35%; text-align: right; padding:4px;}
	.kvp dd { width: 60%; padding:4px;}
	dl.kvp em { float: none; padding: 0 .5em .5em .5em; }
	
	.kvp .narrow { width: 12%; }
	.kvp .wide { width: 83%; }
	
	ul.nodec { list-style-type: none; padding-left: 0;}
	ul.nodec li { clear:both;}
/*	ul.nodec li * { float: left; }*/
	ul.nodec label { width: 150px;}
	
	div.form_field{
		border-bottom: 2px solid black;
		display: block;
	}
	div.form_caption{
		font-style: italic;
		float: left;
		text-align: center;
	} 
	
	
	.error,
	div.error-block {
/*		font-weight: normal;*/
		font-style: italic;
		color: red;
	}
	
	#bases {
		color: #fff;
		display: block;
		font-size: x-small;
		font-weight: bold;
		position: relative;
		z-index: 2;
		text-align: center;
		top: -96px;/*8px;*/
		left: 842px;/*818px;*/
		width: 13em;
		height: 1%;
	}
	
	#bases table { 
		width: 100%;
		line-height: 1em;
		font-weight: normal;
	}
	#bases table .l { text-align: left; }
	#bases table .r { text-align: right; }
	
	#meta-links {
		color: #fff;
		display: block;
		font-size: x-small;
		font-weight: bold;
		position: relative;
		z-index: 2;
		text-align: right;
		top: -192px;
		left: 706px;
		width: 13em;
		height: 1%;
	}
	#meta-links a {
		color: #fff;
	}
	
	#get_started{
		width: 611px; 
		font-size: x-small;
	}
	
	#password_fieldset{
		display: none; 
		clear: both;
		padding-top:2em;
	}
	
	#lot_items {
		width: 80%;
	}

	.uspsWrapper {
		display: block; 
		width: 550px;
		height: 400px; 
		overflow: scroll; 
		border: 1px solid black;
	}
	
	.uspsLabel {
		width: 1700px;
		height: 2200px
	}
/* print exception styles */
	p.noprint {
		background-color: #E2CD86; 
		border: 1px solid #D6A701; /*#C69B19;*/
		padding: 1em;
	}	
}

@media print {
	
	body {
		background-color: white;
	}
	.noprint {
		display: none; 
		visibility: hidden;
	}
	
	.uspsWrapper {
		border: none;
		overflow: visible;
		page-break-before: always;
		/*page-break-after: always;*/
	}
	
	
	#mailing_label,
	#virginia_form {
		page-break-before: always;
	}
	
	
}
