* { box-sizing: border-box; }
.rm_sudoku {
	background: #ffffff;
	border-spacing: 0;
	border-left: 3px solid #000;
	border-top: 3px solid #000;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	text-align: left;
}
.rm_sudoku td {
	cursor: pointer;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	padding: 0;
	margin: 0;
	font-size: 20px;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
	font-weight: bold;
	text-align: center;
	line-height: 16px;
	position: relative;
	width: 30px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}
.rm_sudoku td.f0 {
	color:#80161c;
}
.rm_sudoku td.f1 {
	border-right: 3px solid #000;
}
.rm_sudoku td.f2 {
	border-bottom: 3px solid #000;
}
.rm_sudoku td.f3 {
	background: #eaeaea;
}
.rm_sudoku td.rm_err {
	background: red;
}
.rm_sudoku td input {
	color: transparent;
	text-shadow: 0 0 0 #282828;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-size: 20px;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
	font-weight: bold;
	text-align: center;
	padding: 0;
	width: 100%;
	height: 100%;
	outline: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}
.rm_sudoku td input::selection {
	background: rgba(1,1,1,0.0);
}
.rm_sudoku td input::-moz-selection {
	background: rgba(1,1,1,0.0);
}
.rm_sudoku td input::-o-selection {
	background: rgba(1,1,1,0.0);
}
.rm_sudoku td input::-ms-selection {
	background: rgba(1,1,1,0.0);
}
.rm_sudoku td input::-webkit-selection {
	background: rgba(1,1,1,0.0);
}
.rm_sudoku td.rm_cur {
	background: #7989ad;
}

.rm_button {
	width: 60px;
	height: 20px;
	background: #80161c;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 0;
	cursor: pointer;
	color: #ffffff;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 14px;
	padding: 2px 10px;
	text-decoration: none;
	outline:  none;
	-webkit-appearance: none;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.rm_button:disabled {
	background: #d1aaad;
}

#rm_check_txt {
	position: absolute;
	top: 409px;
	left: 75px;
	width: 150px;
	height: 20px;
	border: 0;
	color: #282828;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
	line-height: 16px;
	font-size: 12px;
	padding: 0;
	text-decoration: none;
	outline:  none;
	-webkit-appearance: none;
}
#rm_check_button {
	position: absolute;
	top: 408px;
	left: 0px;
}
#rm_reset_button {
	position: absolute;
	top: 188px;
	left: 415px;
}
#rm_stufe1_button {
	position: absolute;
	top: 9px;
	left: 415px;
}
#rm_stufe2_button {
	position: absolute;
	top: 54px;
	left: 415px;
}
#rm_stufe3_button {
	position: absolute;
	top: 98px;
	left: 415px;
}

#rm_solved {
	background: rgba(255,255,255,0.8);
	position: absolute;
	top: 0;
	left: 0;
	width: 482px;
	height: 440px;
	z-index: 10;
	line-height: 400px;
	display: none;
}
#rm_solved span {
	font-size: 40px;
	position: absolute;
	left:69px;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
}
#rm_sudoku {
	position: absolute;
	top: 0;
	left: 0;
	width: 400px;
	height: 400px;
}
#rm_sudoku_keyboard {
	cursor: pointer;
	position: absolute;
	top: 400px;
	left: 0;
	width: 400px;
	height: 40px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#rm_sudoku_keyboard td {
	border: 1px solid #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 0;
	margin: 0;
	font-size: 20px;
	font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
	font-weight: bold;
	text-align: center;
	line-height: 16px;
	position: relative;
	width: 30px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#rm_sudoku_keyboard td:active {
	background:#d1aaad;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0; 
}
input[type=number] {
	    -moz-appearance:textfield;
}
