body {
	font: 76% Arial, Lucida, Helvetica, sans-serif;
}

p {
	line-height: 140%;
}

a {
	color: #000;
}

img {
	border: 0;
}

table, th, td {
	border-collapse: collapse;
	border: 1px solid #000;
}

th, td {
	padding: .25em .5em;
	border: 1px solid #000;
}

#options,
#primary-navigation,
#secondary-navigation,
.settings,
p.print-version,
#footer ul,
#js-print-controls
{
	display: none;
}

@media screen {
	html { background: #f3f3f3; }
	body {
		width: 17cm;
		padding: 1.25cm 2cm;
		margin: 4em auto 1em;
		border: 1px solid #000;
		background: #fff;
	}

	#js-print-controls {
		display: block;
		position: fixed !important;
		position: absolute;
		top: 0; left: 0;
		padding: 5px 0;
		margin: 0;
		width: 100%;
		border: solid;
		border-width: 1px 0;
		border-color: ButtonHighlight #fff ButtonShadow;
		background: ButtonFace;
		text-align: center;
	}

	* html #js-print-controls {
		behavior: expression(function(o){
			window.onscroll = function(){
				o.style.top = window.document.documentElement.scrollTop;
				return true;
			};
			o.runtimeStyle.behavior = "none";
		}(this));
		width: expression(function(){
			return document.documentElement.clientWidth;
		}());
	}

	#js-print-controls button {
		margin: 0 .5em;
		padding: .25em .5em;
		font: 1em Tahoma, Verdana, Arial, Helvetica, sans-serif;
	}
}

p.field label {
    float: left;
    line-height: 160%;
    margin-left: -12em;
    position: relative;
    width: 11em;
}

p.field input, p.field textarea {
    line-height: 110%;
    padding: 0.15em;
    position: relative;
    top: -1px;
}

p.field {
    margin: 0 0 0.25em -1em;
    padding: 0.75em 0 0.65em 13em;
    position: relative;
}

p.field .optional {
    color: #969696;
    left: 0.5em;
    position: relative;
}

#content legend {
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 0.7em;
    padding-top: 1em;
}

.income_table {
    border: medium none;
    border-collapse: collapse;
    font-size: 12px;
}

.income_table th {
    border: medium none;
    font-weight: normal;
    vertical-align: top;
}

.income_table td.year { width: 60px}

.income_table td {
    border: none !important;
    height: 2.5em;
    width: 100px;
}

.income_table td input { width: 70px}

#content .files .field { padding-left: 0}

#content .files label {
    display: block;
    float: none;
    margin: 0 0 0.7em;
    padding: 0 0 0 1em;
    width: 100%;
}

#content .files input {
    clear: both;
    margin: 0 0 0 70px;
    padding: 0;
    position: relative;
}

.income_table td.year span {
    border-bottom: 1px dashed #227DB6;
    color: #227DB6;
    cursor: pointer;
}

#content .special {
    background: none repeat scroll 0 0 #99999E;
    padding: 5px;
}

#content .special input {
    float: none;
    font-weight: normal;
    margin-left: 55px;
    padding: 3px 20px;
}
