/* Main style sheet for jQuery Calculator v1.3.0 */
div.hasCalculator, span.hasCalculator {
	position: relative;	
}
button.calculator-trigger {
	width: 25px;
	padding: 0px;
}
img.calculator-trigger {
	margin: 2px;
	vertical-align: middle;
}
.calculator-popup {
	display: none;
	z-index: 10;
	margin: 0;
	padding: 0;
	
}
.calculator-keyentry {
	position: absolute;
	top: 59px;
	right: 46px;
	font-size:16px;
	background:transparent;		
	border:none;
	
	
		
}
.calculator-inline {
	position: relative;
	float:right;
	width:411px;
	height:411px;
	background:url(img/calculator.png) no-repeat right 0;
	
	
}
.calculator-inline .calculator-close {
	display: none;
}
.calculator-disabled {
	position: absolute;
	z-index: 100;
	background-color: white;
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.calculator-rtl {
	direction: rtl;
}
.calculator-prompt {
	clear: both;
	text-align: center;
}
.calculator-prompt.ui-widget-header {
	margin: 2px;
}
.calculator-result {
	clear: both;
	margin: 45px 40px 8px;
	padding: 0 10px;
	text-align: right;
	direction:ltr;
	height:48px;
	width:310px;
	font-size:22px;
	line-height:48px;
	font-weight:bold;	
	background:url(img/calculator.png) no-repeat -41px -413px;
	color:#515151 !important;
}
.ui-widget-content .calculator-result{/*color:#515151;*/} 
.calculator-focussed {
	background-color: #ffc;
}
.calculator-row {
	clear: both;
	width: 340px;
	margin-right:35px;	
}
.calculator-space {
	float: left;
	margin: 2px;
	width: 28px;
}
.calculator-half-space {
	float: left;
	margin: 1px;
	width: 14px;
}
.calculator-row button {
	position: relative;
	float: left;
	margin:3px 5px 4px;
	padding: 0px;
	height: 47px;
	width:47px;
	border:none;
	background:transparent url(img/calculator.png) no-repeat;	
	overflow:hidden;	
	cursor: pointer;	
	overflow:hidden;
}
.nonum{	
	visibility:hidden;	

}
.calculator-row .calculator-ctrl {
	
}
.calculator-row .calculator-undo, .calculator-row .calculator-clear-error, .calculator-row .calculator-clear {
	
}
.calculator-row .calculator-base, .calculator-row .calculator-angle {
	
}
.calculator-row .calculator-base-active, .calculator-row .calculator-angle-active {
	
}
.calculator-digit, .calculator-oper {
	
}
.calculator-mem-empty {
	color: #888;
}
.calculator-row .calculator-trig {
	
}
@-moz-document url-prefix() { // Firefox
	.calculator-trig, .calculator-base {
		text-indent: -3px;
	}
}
.calculator-key-down {
	
}
.calculator-keystroke {
	display: none;
	width: 16px;
	height: 14px;
	position: absolute;
	left: -8px;
	top: -8px;
	color: #000;
	background-color: #fff;
	
	font-size: 80%;
}
.calculator-angle .calculator-keystroke, .calculator-base .calculator-keystroke, .calculator-trig .calculator-keystroke {
	top: -10px;
	font-size: 95%;
}
.calculator-keyname {
	width: 22px;
	font-size: 70%;
}
.calculator-cover {
	display: none;
	display/**/: block;
	position: absolute;
	z-index: -1;
	filter: mask();
	top: -4px;
	left: -4px;
	width: 125px;
	height: 200px;
}
.calculator-inverse { direction:ltr;  }
/*BUTTONS IMAGES*/
#btn0, #calculator button[keystroke=BS] { background-position:-41px -468px;}
#btn0:hover,  #calculator button[keystroke=BS]:hover{ background-position:-41px -751px;}
#btn0.calculator-key-down, #calculator button[keystroke=BS].calculator-key-down{background-position:-41px -1035px;}

#btn1, #calculator button[keystroke=CE]{ background-position:-98px -468px;}
#btn1:hover, #calculator button[keystroke=CE]:hover{ background-position:-98px -751px;}
#btn1.calculator-key-down,  #calculator button[keystroke=CE].calculator-key-down{background-position:-98px -1035px;}

#btn2, #calculator button[keystroke=CA]{ background-position:-154px -468px; margin-left:4px;}
#btn2:hover, #calculator button[keystroke=CA]:hover{ background-position:-154px -751px;}
#btn2.calculator-key-down, #calculator button[keystroke=CA].calculator-key-down{background-position:-154px -1035px;}

#btn3, #calculator button[keystroke=_\/]{ background-position:-211px -468px;}
#btn3:hover, #calculator button[keystroke=_\/]:hover{ background-position:-211px -751px;}
#btn3.calculator-key-down, #calculator button[keystroke=_\/].calculator-key-down{background-position:-211px -1035px;}

#btn4, #calculator button[keystroke=_\%]{ background-position:-267px -468px; margin-left:4px;}
#btn4:hover, #calculator button[keystroke=_\%]:hover{ background-position:-267px -751px;}
#btn4.calculator-key-down, #calculator button[keystroke=_\%].calculator-key-down{background-position:-267px -1035px;}

#btn5, #calculator button[keystroke=MC]{ background-position:-324px -468px;}
#btn5:hover, #calculator button[keystroke=MC]:hover{ background-position:-324px -751px;}
#btn5.calculator-key-down, #calculator button[keystroke=MC].calculator-key-down{background-position:-324px -1035px;}

#btn6, #calculator button[keystroke=_7]{ background-position:-41px -522px;}
#btn6:hover, #calculator button[keystroke=_7]:hover{ background-position:-41px -805px;}
#btn6.calculator-key-down, #calculator button[keystroke=_7].calculator-key-down{background-position:-41px -1089px;}

#btn7, #calculator button[keystroke=_8]{ background-position:-98px -522px;}
#btn7:hover, #calculator button[keystroke=_8]:hover{ background-position:-98px -805px;}
#btn7.calculator-key-down, #calculator button[keystroke=_8].calculator-key-down{background-position:-98px -1089px;}

#btn8, #calculator button[keystroke=_9]{ background-position:-154px -522px; margin-left:4px;}
#btn8:hover, #calculator button[keystroke=_9]:hover{ background-position:-154px -805px;}
#btn8.calculator-key-down, #calculator button[keystroke=_9].calculator-key-down{background-position:-154px -1089px;}

#btn9, #calculator button[keystroke=_\*]{ background-position:-211px -522px;}
#btn9:hover, #calculator button[keystroke=_\*]:hover{ background-position:-211px -805px;}
#btn9.calculator-key-down, #calculator button[keystroke=_\*].calculator-key-down{background-position:-211px -1089px;}

#btn10, #calculator button[keystroke=SR]{ background-position:-267px -522px; margin-left:4px;}
#btn10:hover, #calculator button[keystroke=SR]:hover{ background-position:-267px -805px;}
#btn10.calculator-key-down, #calculator button[keystroke=SR].calculator-key-down{background-position:-267px -1089px;}

#btn11, #calculator button[keystroke=MR]{ background-position:-324px -522px;}
#btn11:hover, #calculator button[keystroke=MR]:hover{ background-position:-324px -805px;}
#btn11.calculator-key-down,#calculator button[keystroke=MR].calculator-key-down{background-position:-324px -1089px;}

#btn12, #calculator button[keystroke=_4]{ background-position:-41px -577px;}
#btn12:hover, #calculator button[keystroke=_4]:hover{ background-position:-41px -860px;}
#btn12.calculator-key-down, #calculator button[keystroke=_4].calculator-key-down{background-position:-41px -1144px;}

#btn13, #calculator button[keystroke=_5]{ background-position:-98px -577px;}
#btn13:hover, #calculator button[keystroke=_5]:hover{ background-position:-98px -860px;}
#btn13.calculator-key-down, #calculator button[keystroke=_5].calculator-key-down{background-position:-98px -1089px;}

#btn14, #calculator button[keystroke=_6]{ background-position:-154px -577px; margin-left:4px;}
#btn14:hover, #calculator button[keystroke=_6]:hover{ background-position:-154px -860px;}
#btn14.calculator-key-down, #calculator button[keystroke=_6].calculator-key-down{background-position:-154px -1089px;}

#btn15, #calculator button[keystroke=_\+]{ background-position:-211px -577px;}
#btn15:hover, #calculator button[keystroke=_\+]:hover{ background-position:-211px -860px;}
#btn15.calculator-key-down, #calculator button[keystroke=_\+].calculator-key-down{background-position:-211px -1089px;}

#btn16, #calculator button[keystroke='1X']{ background-position:-267px -577px; margin-left:4px;}
#btn16:hover, #calculator button[keystroke='1X']:hover{ background-position:-267px -860px;}
#btn16.calculator-key-down, #calculator button[keystroke='1X'].calculator-key-down{background-position:-267px -1089px;}

#btn17, #calculator button[keystroke=MS]{ background-position:-324px -577px;}
#btn17:hover, #calculator button[keystroke=MS]:hover{ background-position:-324px -860px;}
#btn17.calculator-key-down, #calculator button[keystroke=MS].calculator-key-down{background-position:-324px -1089px;}

#btn18, #calculator button[keystroke=_1]{ background-position:-41px -631px;}
#btn18:hover, #calculator button[keystroke=_1]:hover{ background-position:-41px -914px;}
#btn18.calculator-key-down, #calculator button[keystroke=_1].calculator-key-down{background-position:-41px -1198px;}

#btn19, #calculator button[keystroke=_2]{ background-position:-98px -631px;}
#btn19:hover, #calculator button[keystroke=_2]:hover{ background-position:-98px -914px;}
#btn19.calculator-key-down, #calculator button[keystroke=_2].calculator-key-down{background-position:-98px -1198px;}

#btn20, #calculator button[keystroke=_3]{ background-position:-154px -631px; margin-left:4px;}
#btn20:hover, #calculator button[keystroke=_3]:hover{ background-position:-154px -914px;}
#btn20.calculator-key-down, #calculator button[keystroke=_3].calculator-key-down{background-position:-154px -1198px;}

#btn21, #calculator button[keystroke=_-]{ background-position:-211px -631px;}
#btn21:hover, #calculator button[keystroke=_-]:hover{ background-position:-211px -914px;}
#btn21.calculator-key-down, #calculator button[keystroke=_-].calculator-key-down{background-position:-211px -1198px;}

#btn22, #calculator button[keystroke=\+-]{ background-position:-267px -631px; margin-left:4px;}
#btn22:hover, #calculator button[keystroke=\+-]:hover{ background-position:-267px -914px;}
#btn22.calculator-key-down, #calculator button[keystroke=\+-].calculator-key-down{background-position:-267px -1198px;}

#btn23, #calculator button[keystroke=M\+]{ background-position:-324px -631px;}
#btn23:hover, #calculator button[keystroke=M\+]:hover{ background-position:-324px -914px;}
#btn23.calculator-key-down, #calculator button[keystroke=M\+].calculator-key-down{background-position:-324px -1198px;}

#btn24, #calculator button[keystroke=_0]{ background-position:-41px -686px; width:104px;}
#btn24:hover, #calculator button[keystroke=_0]:hover{ background-position:-41px -969px;}
#btn24.calculator-key-down, #calculator button[keystroke=_0].calculator-key-down{background-position:-41px -1253px;}

#btn25, #calculator button[keystroke=_\.]{ background-position:-154px -686px; margin-left:4px;}
#btn25:hover, #calculator button[keystroke=_\.]:hover{ background-position:-154px -969px;}
#btn25.calculator-key-down, #calculator button[keystroke=_\.].calculator-key-down{background-position:-154px -1253px;}

#btn26, #calculator button[keystroke=_\=]{ background-position:-211px -686px; width:104px;}
#btn26:hover, #calculator button[keystroke=_\=]:hover{ background-position:-211px -969px;}
#btn26.calculator-key-down, #calculator button[keystroke=_\=].calculator-key-down{background-position:-211px -1253px;}

#btn27, #calculator button[keystroke=M-]{ background-position:-324px -686px;  margin-left:4px;}
#btn27:hover, #calculator button[keystroke=M-]:hover{ background-position:-324px -969px;}
#btn27.calculator-key-down, #calculator button[keystroke=M-].calculator-key-down{background-position:-324px -1253px;}

body #calculator .calculator-keyentry{
	visibility:hidden;
	top:-1000px;
	position:absolute;
	width:0;
	height:0;
}
