/*
   Equation Editor 
	*/

.numberButton {
	-moz-box-shadow: inset 0px 2px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 2px 0px 0px #ffffff;
	box-shadow: inset 0px 2px 0px 0px #ffffff;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background: -moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color: #ededed;
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
	-webkit-transition: color .2s ease-in, background-color .2s ease-in, -webkit-box-shadow .2s ease-in;
	-moz-transition: color .2s ease-in, background-color .2s ease-in, -moz-box-shadow .2s ease-in;
	transition: color .2s ease-in, background-color .2s ease-in, box-shadow .2s ease-in;
	text-indent: 0;
	border: 2px outset #dcdcdc;
	/*display: inline-block;*/
	color: #777777;
	font-family: Arial;
	font-size: 1em;
	font-weight: bold;
	font-style: normal;
	height: 30px;
	line-height: normal;
	min-width: 30px;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #ffffff;
	vertical-align: middle;
	/* Button Shadow*/
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	margin: 2px;
	padding: 2px;
	cursor: pointer;
	float: left;
	display: table-cell;
}

	.numberButton:hover {
		background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
		background: -moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
		background-color: #dfdfdf;
		border-color: #0785AB;
		-webkit-box-shadow: 0em 0em .3em #666;
		-moz-box-shadow: 0em 0em .3em #666;
		box-shadow: 0em 0em .3em #666;
	}

	.numberButton:active {
		/*position: relative;
		top: 1px;*/
		border: 2px inset #dcdcdc;
	}

	.numberButton img {
		margin: auto;
		height: 22px;
		width: 22px;
		display: inline-block;
	}


.keypad {
	-moz-box-shadow: inset 2px 1px 2px 1px #ffffff;
	padding: 5px;
	/*-webkit-box-shadow:inset 2px 1px 2px 1px #ffffff;
	-webkit-box-shadow: 5px 3px 5px 5px #CCCCCC;
	-moz-box-shadow: 5px 3px 5px 5px #CCCCCC;
	box-shadow: 5px 3px 5px 5px #CCCCCC;*/
	background-color: #8B9097;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	height: auto;
	width: auto;
	margin-top: 5px;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #ffffff;
	-webkit-transition: color .2s ease-in, background-color .2s ease-in, -webkit-box-shadow .2s ease-in;
	-moz-transition: color .2s ease-in, background-color .2s ease-in, -moz-box-shadow .2s ease-in;
	transition: color .2s ease-in, background-color .2s ease-in, box-shadow .2s ease-in;
	text-wrap: none;
	flex-wrap: nowrap;
}

	.keypad td {
		vertical-align: middle;
		text-align: center;
		/*padding: 2px;*/
	}


.keypadNav {
	/* IE10 */
	background-image: -ms-linear-gradient(top, #999999 0%, #666666 100%);
	/* Mozilla Firefox */
	background-image: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	/* Opera */
	background-image: -o-linear-gradient(top, #999999 0%, #666666 100%);
	/* Webkit (Safari/Chrome 10) */
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #FFFFFF), color-stop(1, #00A3EF));
	/* Webkit (Chrome 11+) */
	background-image: -webkit-linear-gradient(top, #999999 0%, #666666 100%);
	/* Proposed W3C Markup */
	background-image: linear-gradient(top,#999999 0%, #666666 100%);
	border: ridge 2px #CFCFCF;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	vertical-align: middle;
	height: 34px;
	margin-top: 5px;
	margin-bottom: 3px;
}

.borderOutset {
	border: outset 3px #CFCFCF;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.boxshadowStyle {
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color=#000000)"; /*IE 8*/
	-moz-box-shadow: 3px 3px 10px rgba(0,0,0,0.3); /*FF 3.5+*/
	-webkit-box-shadow: 3px 3px 10px rgba(0,0,0,0.3); /*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
	box-shadow: 3px 3px 10px rgba(0,0,0,0.3); /* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color=#000000); /*IE 5.5-7*/
}

.mathEditor {
	font-size: larger;
}

.eq_display {
	height: 50px;
	overflow: auto;
	border: 3px inset #CFCFCF;
	background-color: white;
	padding: 5px;
}
