body{
	margin:0;
	padding:0;
	border:0;
}
#ui{
	background:#FDF8F2;
	border:solid 1px #fff;
	border-bottom-color:#404040;
	border-right-color:#404040;
	font:15px Arial, Helvetica, sans-serif;
	font-weight:bold;
	height:480px;
	margin:0;
	position:relative;
	text-align:center;
	width:640px;
}
#ui>div{
	border:solid 1px #fff;
	border-bottom-color:#000;
	border-right-color:#000;
	height:476px;
	position:absolute;
	top:1px;left:1px;
	width:636px;
}
#ui>div>div{
	border-bottom:solid 1px #808080;
	border-right:solid 1px #808080;
	height:474px;
	position:absolute;
	top:1px;left:1px;
	width:634px;
}
#UI>p{
	font-size:18px;
	font-weight:100;
	line-height:24px;
	padding:0;
	margin:10px 0 0 0;
}
#UI>p#eq{
	font-size:24px;
	font-family:Times, serif;
	font-weight:800;
	margin:20px 0;
}
.box{
	background:url(style.png) 0 -100px;
	height:41px;
	margin:0 auto;
	margin-bottom:1px;
	position:relative;
	width:63px;
}
.btn1{
	background:url(style.png) 0 -150px;
	display:block;
	height:24px;
	position:absolute;
	width:24px;
}
.box .btn1{top:9px;left:20px;}
.btnX{
	background:url(style.png) -24px -150px;
	display:block;
	height:24px;
	position:absolute;
	width:40px;
}
.box .btnX{top:9px;left:12px;}

#balance{
	background:url(balance.png) no-repeat -1000px bottom;
	height:190px;
	margin:0 auto;
	width:500px;
}
#balance.s0{background-position:-2000px bottom;}
#balance.s1{background-position:-1500px bottom;}
#balance.s2{background-position:-1000px bottom;}
#balance.s3{background-position:-500px bottom;}
#balance.s4{background-position:0 bottom;}

#trash{
	background:url(style.png) -75px -149px;
	height:31px;
	position:absolute;
	bottom:35px;right:7px;
	width:31px;
}
#trash.hover{
	background:url(style.png) -110px -149px;
}
#ui>a{
	background:url(style.png) 0 0;
	cursor:default;
	display:block;
	height:25px;
	line-height:25px;
	position:absolute;
	text-align:center;
	width:150px;
}
#ui>a:active{
	background-position:0 -25px;
}
#btnContinue{	top:395px;left:245px;}
#btnClear{	top:450px;left:80px;}
#btnCreate{	top:450px;left:245px;}
#btnNew{	top:450px;left:410px;}
#ui>a.disabled{
	background-position:0 0;
	color:#808080;
}
#msg{
	color:#8b0000;
	line-height:16px;
	position:absolute;
	top:420px;left:50%;
	margin-left:-200px;
	width:400px;
}
#msg b{
	color:#0000ff;
}

#form{
	background:#e0e0e0;
	border:solid 1px #fff;
	border-bottom-color:#000;
	border-right-color:#000;
	display:none;
	height:300px;
	position:absolute;
	top:70px;left:25px;
	width:550px;
	z-index:50;
}
#form p{
	font-size:18px;
	font-weight:100;
	margin:0;
	padding:10px 20px;
	text-align:left;
}
#form>div{
	font-size:24px;
	font-family: Times,serif;
	margin-top:70px;
}
#form input{
	background:url(style.png) -75px -100px;
	border:none;
	display:inline-block;
	font-size:24px;
	font-family: Times,serif;
	height:40px;
	line-height:40px;
	margin:0 10px;
	text-align:center;
	width:48px;
}
#form i{
	margin-right:15px;
}
#form>a{
	background:url(style.png) 0 -50px;
	cursor:default;
	display:block;
	height:25px;
	line-height:25px;
	position:absolute;
	text-align:center;
	width:125px;
}
#form>a:active{
	background-position:0 -75px;
}
#btnClear2{top:270px;left:75px;}
#btnBegin{ top:270px;left:215px;}
#btnCancel{top:270px;left:355px;}

#msg2{
	color:#ff0000;
	display:block;
	position:absolute;
	top:215px;left:50%;
	margin-left:-200px;
	width:400px;
}

#resolve{
	background:#c0c0c0;
	display:none;
	height:220px;
	margin-left:-170px;
	position:absolute;
	top:105px;
	left:50%;
	width:335px;
}
#steps{
	background:url(style.png) 0 -185px;
	font-weight:100;
	height:75px;
	margin:0 auto;
	overflow-y:auto;
	padding:5px;
	width:150px;
}

#btnAdd,#btnSub,#btnMul,#btnDiv{
	background:url(style.png) 0 -275px;
	display:inline-block;
	height:35px;
	width:41px;
}
#btnAdd.sel	{background-position:-45px -275px;}
#btnSub		{background-position:0 -310px;}
#btnSub.sel	{background-position:-45px -310px;}
#btnMul		{background-position:-90px -275px;}
#btnMul.sel	{background-position:-135px -275px;}
#btnDiv		{background-position:-90px -310px;}
#btnDiv.sel	{background-position:-135px -310px;}

#t3{
	display:inline-block;
	line-height:32px;
	text-align:right;
	vertical-align:top;
	width:190px;
}
#tE{
	background:url(style.png) -125px -100px;
	border:none;
	display:inline-block;
	font-size:18px;
	font-family: Times,serif;
	height:32px;
	line-height:32px;
	margin-right:30px;
	text-align:center;
	width:40px;
}
#btnGo{
	background:url(style.png) -125px -50px;
	cursor:default;
	display:block;
	height:25px;
	line-height:25px;
	position:absolute;
	margin-top:-30px;right:0;
	-o-transform:translate(0,-14px);
	text-align:center;
	width:67px;
}
#btnGo:active{
	background-position:-125px -75px;
}
#eq2{
	color:#0000ff;
	display:block;
	font-size:24px;
	font-family:Times,serif;
	margin-top:5px;
}
