input[type=button],input[type=reset]{
    float: left;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border: 1px solid #ddd;
    border-radius:3px;
    background: #fff;
    color: #707070;
    cursor:pointer;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 12px;
    margin-right: 3px;
	margin-top: 3px;
	width: 60px;
}

input[type=text]:focus {
    outline-style: none;
    border: 1px solid #999;
    color: #000;
}

input[type=text]{
    border: 1px solid #ccc;
    color: #000;
    font-size: 15px;
    width: 563px;
	margin-left: 5px;
	margin-top: 5px;
    padding-right: 5px;
	text-align: right;
}

input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover {
    background:#ffff77 !important;
}

#all_calc{
	border: 1px solid #bbb;
	background: #42aaff;
	width:573px;
	height: 225px;
	margin-left:246px;
}

#functions_panel{
	border: none;
	background: #f7f7f7;
	width:573px;
	height: 184px;
	margin-top: -3px;
}

#buttons_inside_panel{
	margin: 5px 5px 5px 5px;
	position: absolute;
}

#trigonometric_panel{
	margin-left: 0px;
	margin-top:0px;
	position: absolute;
	_position: absolute;
	width: 189px;
}

#maths_panel{
	margin-left: 378px;
	margin-top:0px;
	position: absolute;
	_position: absolute;
	width: 189px;
}

#maths_panel input[type=button],input[type=reset],#trigonometric_panel input[type=button],input[type=reset]{
	background: #fff;
}

#main_panel{
	margin-left: 189px;
	margin-top:0px;
	position: absolute;
	width: 189px;
}

#main_panel input[type=button]{
	background: #fff;
}

#history{
	display: none;
	border: none;
	background: #222;
	width:400px;
	height: 245px;
	float: right;
}

#history_table{
	width: 400px;
	height: 245px;
	background: #777;
	border: 1px solid #000;
	font:normal 12px Verdana, Geneva, sans-serif;
}

#head_tr{
	background: #000;
	color: #fff;
	text-align: center;
}

.b1,.b2,.b3{
	border-right: 1px solid #ddd;
}

.b1,.b2,.b3,.b4{
	border-top: 1px solid #ddd;
}

.his1,.his2{
	color: blue !important;
	font-weight: bold;
}

.b2{
	color:  red;
	font-weight: bold;
	text-align: center;
}

.his3{
	color: green !important;
	font-weight: bold;
}

#comment{
	display: none !important;
	border: 1px solid #ddd;
	background: #fff;
	width:890px;
	height: 100px;
	margin-left:5px;
}


#number_1_head,#op_head,#number_2_head{
	border-right: 1px solid #fff;
}

.his1,.his2,.his3{
	width: 100px !important;
	border: 1px solid #fff !important;
	padding: 0px 0px 0px 0px !important;
	margin: 0 !important;
	text-align: center !important;
}