html, body, div, span, h1, p, a, strong, img, table, tr, td, input {
	border:0;
	margin:0;
	padding:0;
}
html {height:100%}
body {
	background:#000;
	background:-moz-linear-gradient(100% 100% 90deg, #000000, #666666) no-repeat;
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#000000)) no-repeat;
	background:-webkit-linear-gradient(#666666, #000000) no-repeat;
	background:-o-linear-gradient(#666666, #000000) no-repeat; 
	background:-ms-linear-gradient(top, #666666 0%,#000000 100%) no-repeat;
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FF666666', endColorstr='#FF000000',GradientType=0 ) no-repeat;
	background:linear-gradient(top, #666666 0%,#000000 100%) no-repeat;
	color:#fff;
	font:400 0.8em Helvetica, Arial, sans-serif;
	height:100%;
	line-height:1.25em;
	-webkit-text-size-adjust:100%;
}
h1 {
	font:700 1.250em Helvetica, Arial, sans-serif;
	line-height:1.375em;
}
a {
	color:#0FF;
	text-decoration:none;
}
a:hover {text-decoration:underline}
a:focus {outline:none}
a.button {
	border:2px solid #666;
	border-radius:10px;
	cursor:pointer;
	display:inline-block;
	font:700 1.125em "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif;
	line-height:1.375em;
	padding:7px 10px;
	text-align:center;
	text-decoration:none;
	-khtml-border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}
a.green, a.green:visited, a.green:active {
	background:#0da60d;
	background:-moz-linear-gradient(100% 100% 90deg, #0da60d, #8cc58a);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#8cc58a), to(#0da60d));
	background:-webkit-linear-gradient(#8cc58a, #0da60d);
	background:-o-linear-gradient(#8cc58a, #0da60d);
	background:-ms-linear-gradient(top, #8cc58a 0%,#0da60d 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FF8cc58a', endColorstr='#FF0da60d',GradientType=0 );
	background:linear-gradient(top, #8cc58a 0%,#0da60d 100%);
	color:#fff;
	margin:10px 0 0 0;
	text-shadow:-1px -1px 0 #4f8b53;
	width:13.750em;
}
a.green:first-child {margin:0}
.aaplGreen {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#8cc58a), to(#0da60d));
	background:-webkit-linear-gradient(#8cc58a, #0da60d);
	color:#fff;
	margin:10px 0 0 0;
	text-shadow:-1px -1px 0 #4f8b53;
	width:13.750em;
}
.aaplGreen:first-child {margin:0}
a.gray, a.gray:visited, a.gray:active {
	background:#c0c1c4;
	background:-moz-linear-gradient(100% 100% 90deg, #c0c1c4, #ededee);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ededee), to(#c0c1c4));
	background:-webkit-linear-gradient(#ededee, #c0c1c4);
	background:-o-linear-gradient(#ededee, #c0c1c4);
	background:-ms-linear-gradient(top, #ededee 0%,#c0c1c4 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFededee', endColorstr='#FFc0c1c4',GradientType=0 );
	background:linear-gradient(top, #ededee 0%,#c0c1c4 100%);
	color:#000;
	margin:10px 0 0 0;
	width:9.375em;
}
.aaplGray {
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ededee), to(#c0c1c4));
	background:-webkit-linear-gradient(#ededee, #c0c1c4);
	color:#000;
	margin:10px 0 0 0;
	width:9.375em;
}
a.green:hover {
	background:#aaa;
	background:-moz-linear-gradient(100% 100% 90deg, #aaaaaa, #ffffff);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#aaaaaa));
	background:-webkit-linear-gradient(#ffffff, #aaaaaa); 
	background:-o-linear-gradient(#ffffff, #aaaaaa); 
	background:-ms-linear-gradient(top, #ffffff 0%,#aaaaaa 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFffffff', endColorstr='#FFaaaaaa',GradientType=0 );
	background:linear-gradient(top, #aaaaaa 0%,#ffffff 100%);
	color:#333;
	text-shadow:none;
}
a.gray:hover {
	background:#666;
	background:-moz-linear-gradient(100% 100% 90deg, #666666, #d7d7d7);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#d7d7d7), to(#666666));
	background:-webkit-linear-gradient(#d7d7d7, #666666); 
	background:-o-linear-gradient(#d7d7d7, #666666); 
	background:-ms-linear-gradient(top, #d7d7d7 0%,#666666 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFd7d7d7', endColorstr='#FF666666',GradientType=0 );
	background:linear-gradient(top, #666666 0%,#d7d7d7 100%);
	color:#fff;
	text-shadow:none;
}
#eula {display:block}
#eula .eulaTitle {
	background:#000;
	background:-moz-linear-gradient(100% 100% 90deg, #6f85a3, #aab7c7);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#aab7c7), to(#6f85a3));
	background:-webkit-linear-gradient(#aab7c7, #6f85a3);
	background:-o-linear-gradient(#aab7c7, #6f85a3); 
	background:-ms-linear-gradient(top, #aab7c7 0%,#6f85a3 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFaab7c7', endColorstr='#FF6f85a3',GradientType=0 );
	background:linear-gradient(top, #aab7c7 0%,#6f85a3 100%);
	border-bottom:1px solid #333;
	max-width:100%;
	min-width:25em;
	padding:10px 0;
	text-align:center;
	text-shadow:-1px -1px 0 #6e7986;
	white-space:nowrap;
}
#eula .eulaBody {
	float:left;
	margin:15px;
	overflow:auto;
}
#eula .eulaFooter {
	background:#000;
	border-top:1px solid #ccc;
	bottom:0;
	clear:both;
	height:50px;
	min-width:25em;
	padding:10px 0;
	position:fixed;
	text-align:center;
	width:100%;
    z-index:150;
	_position:absolute;
    _top:expression(eval(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.offsetHeight)));
}
#calculator {
	display:none;
	padding:10px;
}
#titleImg {
	background:url("../images/calculator_title_low_small.png") no-repeat center 0px;
	height:41px;
	width:287px;
}
.calcBkgrnd {
	background:#333;
	background:-moz-linear-gradient(100% 100% 90deg, #333333, #666666) no-repeat;
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#333333)) no-repeat;
	background:-webkit-linear-gradient(#666666, #333333) no-repeat;
	background:-o-linear-gradient(#666666, #333333) no-repeat; 
	background:-ms-linear-gradient(top, #666666 0%,#333333 100%) no-repeat;
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FF666666', endColorstr='#FF333333',GradientType=0 ) no-repeat;
	background:linear-gradient(top, #666666 0%,#333333 100%) no-repeat;
	border:1px solid #444;
	margin:10px 0;
	min-width:18.750em;
	max-width:31.250em;
	padding:15px;
}
table {max-width:none}
td {
	font:400 1.125em Helvetica, Arial, sans-serif;
	line-height:1.250em;
	padding:0 5px 0 0;
	white-space:nowrap;
}
td span.noBreak {white-space:nowrap}
#inputs {display:block}
#inputs input {
	font:400 1.125em Helvetica, Arial, sans-serif;
	margin:0 0 5px 5px;
	padding:6px;
	width:5.688em;
}
#outputs{display:none}
#outputs input {
	font:400 1.125em Helvetica, Arial, sans-serif;
	margin:0 0 5px 5px;
	padding:6px;
	width:5em;
}
input {
	border-radius:5px;
	zfont:400 1.250em Helvetica, Arial, sans-serif;
	zline-height:1.5em;
	zheight:2em;
	zmargin:0 0 5px 10px;
	zpadding:0 0 0 10px;
	-khtml-border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
	margin:0;
    -webkit-appearance: none;
}
.notFilled {background:#ffcccc}

@media all and (min-width:48em) {
	body {
		font:400 0.875em Helvetica, Arial, sans-serif;
		line-height:1.375em;
	}
	a.button {
		font:700 1.250em "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif;
		line-height:1.5em;
		padding:8px 10px;
	}
	a.green, a.green:visited, a.green:active {
		margin:0 0 0 5px;
		width:16.250em;
	}
	a.green:first-child {
		margin:0;
		width:17.375em;
	}
	.aaplGreen {
		margin:0 0 0 5px;
		width:16.250em;
	}
	.aaplGreen:first-child {
		margin:0;
		width:17.375em;
	}
	a.gray, a.gray:visited, a.gray:active {
		margin:0 5px 0 0;
		width:11.250em;
	}
	.aaplGray {
		margin:0 5px 0 0;
		width:11.250em;
	}
	#eula .eulaBody {margin:20px}
	#eula .eulaFooter {padding:15px 0}
	#calculator {padding:20px}
	#titleImg {
		background:url("../images/calculator_title_low_wide.png") no-repeat center 0px;
		height:80px;
		width:674px;
	}
	.calcBkgrnd {
		margin:15px 0;
		max-width:46.250em;
		padding:20px;
	}
	table {max-width:45.625em}
	td {
		font:400 1.250em Helvetica, Arial, sans-serif;
		line-height:1.5em;
		padding:0 5px 0 0;
	}
	#inputs input {
		font-size:100%;
		height:1.750em;
		margin:0 0 7px 7px;
		width:60%;
	}
	#outputs {display:block}
	#outputs input {
		font-size:100%;
		height:1.750em;
		margin:0 0 7px 7px;
		width:60%;
	}
	input {
		font:400 1.125em Helvetica, Arial, sans-serif;
		line-height:1.250em;
	}
	#calcBtns {
		height:50px;
		min-width:25em;
		padding:20px 0;
		text-align:center;
		width:100%;
	}
}

@media all and (min-width:100em) {
	#eula .eulaBody {margin:25px}
	#calculator {padding:25px}
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	#titleImg {
		background:url("../images/calculator_title_high_small.png") no-repeat center 0px;
		background-size:287px 41px;
	}
}

@media (min-width:48em) and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	#titleImg {
		background:url("../images/calculator_title_high_wide.png") no-repeat center 0px;
		background-size:674px 80px;
	}
}