.a {
	color:#ddd;
	
}
.calc{
	margin:10px; 	
	width:520px;
	height:420px;
	background-image : url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAFRlDm/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpi0NBQBwggBjtbK4AAYrazseLi5AQIIEYTY8P/DAwsDP8ZmBgYAAKM0cTIkJuL6+v3b1+/fgPyGV6/ffv//38REWEAUBIRFUfusTEAAAAASUVORK5CYII="); 
	background-repeat: repeat;
	border-width: 2px;
	border-style: none;	
	box-shadow: 0 0 15px #5B5B5B;
	position:relative;
	border-radius: 10px;
}
.calc_header {
	width:460px;
	margin:0 auto;
	padding-top:15px;
	text-align:right;
	padding-right:5px;
	color:#CCC;
	font-family:arial,verdana;
	font-style:italic;
	font-weight:bold;
	font-size:12px;
	
}
.calc_inputs{	
	margin:0 auto;
	padding-top:10px;
	width:460px;
	height:70px;	
	z-index: 1;
	
}

#calc_display{
	width:427px;
	height:50px;
	/*position:absolute;	
	margin-top:35px;
	margin-left:28px;*/
	padding-left:10px;
	padding-right:17px;
	font-size:20px;
	background-color:#B8C6A3;
	border-width: 2px;
	border-style: inset;
	border-color: #727271;
	z-index: 1;	
}

#calc_history {
	width:100%;
	height:15px;
	position:relative;
	padding:0 5px;
	color:#000;
	top: 1px;
	left: 0px;
	font-size:12px;
	text-align:right;
	background-color:#B8C6A3;
	border-width:  0px;
	border-style: none;
	z-index: 2;	
}

#calc_display_res {
	width:442px;
	height:25px;
	position:relative;
	top: -29px;
	left:5px;
	font-size:25px;
	text-align:right;
	background-color:#B8C6A3;
	border-width:  0px;
	border-style: none;
	z-index: 2;	
}

#calc_display_input {
	text-align:left;

	z-index: 2;	
	color:#000;
	resize: none;
	border: 1px solid silver;
	background-image: none;
	background-position: 110% 110%;
	background-repeat: no-repeat;
	font-size: 16pt;
	outline: medium none;
	position: relative;
	top:1px;
	width: 100%;	
}

div.calc div.calc_inputs input {

}

#calc_display_memory{
	width:14px;
	height:14px;
	position:relative;
	top:31px;
	left:253px;
	padding:1px;padding-bottom:2px;
	font-size:12px;
	background-color:#B8C6A3;
	border-width:  0px;
	z-index: 2;
	text-align:center;
}

#calc_loading{
	width:16px;
	height:16px;
	position:absolute;
	top: 56px;	
	left:250px;	
	background-image:url(/calculators/scientific/loading.gif);	
	vertical-align:super;
	z-index: 10;
	display:none; 
}

#calc_display_operation{
	width:14px;
	height:14px;
	position:absolute;
	top: 52px;
	left:253px;	
	font-size:19px;
	background-color:#B8C6A3;
	border:solid;
	border-width:1px;
	border-color:#black;
	z-index: 3;
	text-align:center;
	vertical-align:super;
	
}
#display_sign{
	position:relative;
	width:12px;
	height:12px;
	border:none;
	top:-2px;
	background:none;
	font-family:inherit;
	font-size:19px;
	z-index:4;
}


#calc_display_sign{
	width:7px;
	height:24px;
	position:relative;
	top:39px;
	left:11px;
	padding:1px;padding-bottom:2px;
	font-size:20px;
	background-color:#B8C6A3;
	border-width:  0px;
	z-index: 2;
	text-align:center;	
}

.calc_buttons{
	display:table;
	width:240px;
	height:250px;
	float:right;
	position:relative;
	top:10px;
}

.calc_buttons0{
	
	margin:0 auto;
	width:460px;
	height:350px;
	
}

.calc_buttons1{
	display:table;
	width:186px;
	height:250px;
	float:left;
	position:relative;
	top:10px;
}

.calc_rows{
	display:table-row;
	/*width:240px;*/
	height:42px;
}

.calc_cell{
	display:table-cell;
	width:18%;
	padding:2px;
	color:#ddd;
	
}

.btn {
	
	width:44px;
	height:30px;
	
	text-align:center;
	display:table-cell;
	
	-moz-box-shadow:inset 0px -14px 0px 0px #1c1a19;
	-webkit-box-shadow:inset 0px -14px 0px 0px #1c1a19;
	box-shadow:inset 0px -14px 0px 0px #1c1a19;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5c5a55), color-stop(1, #121210) );
	background:-moz-linear-gradient( center top, #5c5a55 5%, #121210 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c5a55', endColorstr='#121210');
	background-color:#5c5a55;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	display:inline-block;
	color:#ddd;
	font-family:arial,verdana;
	font-size:20px;
	font-weight:normal;
	padding:0;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	box-sizing: content-box;
}
.btn:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #121210), color-stop(1, #5c5a55) );
	background:-moz-linear-gradient( center top, #121210 5%, #5c5a55 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#121210', endColorstr='#5c5a55');
	background-color:#121210;
}
.btn:active {
	position:relative;
	top:1px;
}

.btn1 {
	width:44px;
	height:23px;
	text-align:center;
	vertical-align:middle;
	-moz-box-shadow:inset 0px -14px 0px 0px #a61e1e;
	-webkit-box-shadow:inset 0px -14px 0px 0px #a61e1e;
	box-shadow:inset 0px -14px 0px 0px #a61e1e;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #a33b3b), color-stop(1, #ed7182) );
	background:-moz-linear-gradient( center top, #a33b3b 5%, #ed7182 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a33b3b', endColorstr='#ed7182');
	background-color:#a33b3b;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	/*border:1px solid #751717;*/
	display:inline-block;
	color:#fffcff;
	font-family:arial,verdana;
	font-size:13px;
	font-weight:normal;
	padding-top:5px;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;
	box-sizing:content-box;
		
}
.btn1:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ed7182), color-stop(1, #a33b3b) );
	background:-moz-linear-gradient( center top, #ed7182 5%, #a33b3b 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7182', endColorstr='#a33b3b');
	background-color:#ed7182;
}
.btn1:active {
	position:relative;
	top:1px;
}

.btn2 {
	width:40px;
	position:relative;
	vertical-align:top;
	top:-3px;
	text-align:center;
	-moz-box-shadow:inset 0px -14px 0px 0px #304A8A;
	-webkit-box-shadow:inset 0px -14px 0px 0px #304A8A;
	box-shadow:inset 0px -14px 0px 0px #304A8A;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #7FA3CF), color-stop(1, #244B7A) );
	background:-moz-linear-gradient( center top, #7FA3CF 5%, #244B7A 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7FA3CF', endColorstr='#244B7A');
	background-color:#7FA3CF;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	display:inline-block;
	color:#fffcff;
	font-family:arial,verdana;
	font-size:12px;
	font-weight:normal;
	padding:7px 2px;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;  		
}
.btn2:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #244B7A), color-stop(1, #7FA3CF) );
	background:-moz-linear-gradient( center top, #244B7A 5%, #7FA3CF 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#244B7A', endColorstr='#7FA3CF');
	background-color:#244B7A;
}
.btn2:active {
	position:relative;
	top:-1px;
}

.btn3 {
	width:40px;
	text-align:center;
	vertical-align:top;
	-moz-box-shadow:inset 0px -14px 0px 0px #304A8A;
	-webkit-box-shadow:inset 0px -14px 0px 0px #304A8A;
	box-shadow:inset 0px -14px 0px 0px #304A8A;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #7FA3CF), color-stop(1, #244B7A) );
	background:-moz-linear-gradient( center top, #7FA3CF 5%, #244B7A 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7FA3CF', endColorstr='#244B7A');
	background-color:#7FA3CF;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	display:inline-block;
	color:#fffcff;
	font-family:arial,verdana;
	font-size:21px;
	font-weight:normal;
	padding:2px;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;  		
}
.btn3:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #244B7A), color-stop(1, #7FA3CF) );
	background:-moz-linear-gradient( center top, #244B7A 5%, #7FA3CF 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#244B7A', endColorstr='#7FA3CF');
	background-color:#244B7A;
}
.btn3:active {
	position:relative;
	top:-1px;
}

.btn4 {
	position:relative;
	width:40px;
	height: 66px;
	top:-84px;
	text-align:center;
	vertical-align:middle;
	-moz-box-shadow:inset 0px -34px 0px 0px #1c1a19;
	-webkit-box-shadow:inset 0px -34px 0px 0px #1c1a19;
	box-shadow:inset 0px -34px 0px 0px #1c1a19;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5c5a55), color-stop(1, #121210) );
	background:-moz-linear-gradient( center top, #5c5a55 5%, #121210 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c5a55', endColorstr='#121210');
	background-color:#5c5a55;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	display:inline-block;
	color:#fffcff;
	font-family:arial,verdana;
	font-size:21px;
	font-weight:normal;
	padding:2px;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	box-sizing: content-box;
}
.btn4:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #121210), color-stop(1, #5c5a55) );
	background:-moz-linear-gradient( center top, #121210 5%, #5c5a55 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#121210', endColorstr='#5c5a55');
	background-color:#121210;
}
.btn4:active {
	position:relative;
	top:-83px;
}


#text_btn4{
	position:relative;
	top:20px;
	
}

.btn5 {
	
	width:44px;
	height:23px;
	text-align:center;
	display:table-cell;
	vertical-align:middle;
	-moz-box-shadow:inset 0px -14px 0px 0px #1c1a19;
	-webkit-box-shadow:inset 0px -14px 0px 0px #1c1a19;
	box-shadow:inset 0px -14px 0px 0px #1c1a19;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5c5a55), color-stop(1, #121210) );
	background:-moz-linear-gradient( center top, #5c5a55 5%, #121210 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c5a55', endColorstr='#121210');
	background-color:#5c5a55;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #595754;
	display:inline-block;
	color:#ddd;
	font-family:arial,verdana;
	font-size:13px;
	font-weight:normal;
	padding-top:5px;
	text-decoration:none;
	text-shadow:0px 0px 0px #595754;
	overflow: hidden;
	box-sizing: content-box;
}
.btn5:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #121210), color-stop(1, #5c5a55) );
	background:-moz-linear-gradient( center top, #121210 5%, #5c5a55 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#121210', endColorstr='#5c5a55');
	background-color:#121210;
}
.btn5:active {
	position:relative;
	top:1px;
}

.exp_btn {
	display:inline-block;
	position:relative;
	top:-5px;
	font-size:10px;
	
}
.calc_footer {
	position: relative;
	top: -100px;
}

#calclink {
	color:#00BD08;
	font-family:arial,verdana;
	text-align: center;
	display:block;
	font-size:10px;
	padding-top: 10px;	
}

#calclink a {
	color:#7FA3CF;
	font-family:arial,verdana;
	text-align: center;	
	font-size:10px;
	padding-top: 10px;	
}

#message {
	margin:10px; 	
	width:300px;
	height:130px;
	margin:-65px 0 0 -150px;
	padding: 3px;
	top:50%;
	left:50%;
	font-family:arial,verdana;
	font-size:12px;
	background-color : #FFF;
	border-width: 2px;
	border-style: solid;	
	box-shadow: 0 0 15px #5B5B5B;
	position:absolute;
	border-radius: 10px;	
	z-index: 10000;		
}

.calc input[type="text"] {
	border-radius:0;
	box-shadow: none!important;
}

.calc input[type="text"][readonly] {
	cursor:inherit;
}

.calc a:hover {
	text-decoration:none!important;
}

.calc a:active {
	text-decoration:none!important;
}