html {
	-webkit-text-size-adjust:none;
}
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Disable selection/Copy of UIWebView */
}
body {
	background-color:#ffffff;
	margin:0;
	padding:0;
	text-align:center;
	/*background: url(mockups/sudoku_portB-half.png)*/
}
#modalContainer {
	background-color:transparent;
	position:absolute;
	width:350px;
	height:00px;
	top:0px;
	left:100px;
	z-index:50;
	background-image:url(tp.png); /* required by MSIE to prevent actions on lower z-index elements */
}
#alertBox {
	position:relative;
	width:347px;
	height:205px;
	margin-top:250px;
	padding-top:15px;
	background: url(overlay_btn_bg.png);
}
#modalContainer > #alertBox {
	position:fixed;
}
#alertBox h1 {
	margin:0;
	font:bold 0.9em verdana,arial;
	background-color:#3377aa;
	color:#FFF;
	border-bottom:2px solid #000;
	padding:4px 0 4px 10px;
}
#alertBox p {
	font:1.2em verdana,arial;
	height:50px;
	padding:5px;
	vertical-align:middle;
	margin-top:15px;
	color:#ffffff;
}
#alertBox #closeBtn {
	margin-left:0px;
}
.black_overlay{
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:45;
	-moz-opacity: 0.8;
	opacity:.60;
	filter: alpha(opacity=80);
}
.linearBg2  
{
	/* fallback */ 
	background-color: #e0e0e0; 
	background: url(images/linear_bg_2.png); 
	background-repeat: repeat-x; 
	/* Safari 4-5, Chrome 1-9 */ 
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#e0e0e0)); 
	/* Safari 5.1, Chrome 10+ */ 
	background: -webkit-linear-gradient(top, #ffffff, #e0e0e0); 
	/* Firefox 3.6+ */ 
	background: -moz-linear-gradient(top, #ffffff, #e0e0e0); 
	/* IE 10 */ 
	background: -ms-linear-gradient(top, #ffffff, #e0e0e0); 
	/* Opera 11.10+ */ 
	background: -o-linear-gradient(top, #ffffff, #e0e0e0); 
}

#sudoku {
	margin:0;
	padding:0;
    width:1496px;
    height:1916px;
	overflow:hidden;
	font-family: Arial, verdana, sans-serif;
	text-align:center;
}
#sudoku .outertable {
    padding:0;
    table-layout:fixed;
    border-spacing:0;
    border-collapse:separate;
    empty-cells:show;
    width:1020px;
    height:964px;
    position:absolute;
    left:106px;
    top:140px;
    text-align:center;
    font-family: Arial, verdana, sans-serif;
    font-size: 56pt;
    font-weight: bold;
    border: 2px solid #000000;
}
.clue {
	font-family:verdana;
	font-size: 20pt;
	font-weight: bold;
	color: black;
	width:48px;
	height:52px;
	text-align:center;
}
#sudoku td .notesTable {
	margin-left:auto;
	margin-right:auto;
	padding:0;
	table-layout:fixed;
	width:100px;
	height:96px;
	border:none;
	border-spacing: 0px 0px;
	border-collapse:collapse;
}
#sudoku td .notesTable td {
	padding:0;
	font-size:24px;
	font-weight:normal;
	line-height: 17px;
}
.CellBlack {
	margin: 0;
	padding:0;
	height:108px;
	color: white;
    border: 2px solid #444444;
	background-color: #000000;
	text-shadow: #fff 0px 0px 1px;
}
.CellNormalHigh {
	margin: 0;
	padding:0;
	height:108px;
	color: #226c9c;
	background-color:#eeffdd;
	text-shadow: #000 0px 0px 1px;
}
.CellGiven {
	margin: 0;
	padding:0;
	height:108px;
	color: #222222;
	background-color:#ffffff;
	text-shadow: #fff 0px 2px 2px;
}
.CellGivenHigh {
	margin: 0;
	padding:0;
	height:108px;
	color: #222222;
	background-color:#eeffdd;
	text-shadow: #fff 0px 2px 2px;
}
.CellNormal {
	margin: 0;
	padding:0;
	height:108px;
	color: #226c9c;
	background-color:#ffffff;
	text-shadow: #000 0px 0px 1px;
}
.CellSelect {
    -moz-box-shadow: inset 0 0 10px 4px #555555;
    -webkit-box-shadow: inset 0 0 10px 4px #555555;
    box-shadow: inset 0 0 10px 4px #555555;
}
.CellError {
	margin: 0;
	padding:2;
	color: red;
}

#numberList {
	top:1174px;
	left:-14px;
	position:fixed;
	padding: 0;
	margin: 0;
	list-style-type:none;
	position:absolute;
}
#numberList li {
	margin-left: 18px;
	width:106px;
	padding-top:6px;
	height:96px;
	overflow:hidden;
	float:left;
}
.btnNumberBtn {
    font-family: Arial, verdana, sans-serif;
    font-size: 56pt;
    font-weight: bold;
	border:4px solid #E0E0E0;
	vertical-align:middle;
}

.btnFaint {
	background:url(new_depressed.png);
}
.btnNormal {
    font-family: Arial, verdana, sans-serif;
    font-size: 36pt;
    font-weight: normal;
	border:4px solid #E0E0E0;
	padding-top:5px;
}
.btnBlack {
    font-family: Arial, verdana, sans-serif;
    font-size: 36pt;
    font-weight: normal;
	border:4px solid #000000;
	background-color: #000000;
	padding-top:5px;
	color: #ffffff;
}
.btnGray {
    font-family: Arial, verdana, sans-serif;
    font-size: 36pt;
    font-weight: normal;
	border:4px solid #DEDEDE;
	background-color: #DEDEDE;
	padding-top:5px;
	color: #A4A4A4;
}

.copyr {
    font-size: 14pt;
    color: #888888;
	font-family: Arial, verdana, sans-serif;
	text-align:left;
	vertical-align:bottom;
	font-weight:normal;
	background-color: transparent;
    position:absolute;
	left:10px; /* premium = 277px, lite = 515px*/
	top:1400px;   /* premium = 90px, lite = 785px*/
}
#puzzlenum {
	position:absolute;
	margin:0;
	padding:0;
	overflow:hidden;
    font-family: Arial, Helvetica, verdana, sans-serif;
    font-size: 20pt;
	color: #000000;
    left:106px;
    top:100px;
    width:1016px;
    text-align:center;
	font-weight:normal;
}
/* TOP OF SCREEN - PORTRAIT */
#btn_sudoku {
	position:fixed;
	top:4px;
	left:4px;
	width:220px;
	height:70px;
	margin:0;
}
#btn_str8ts {
	position:fixed;
	top:4px;
	left:262px;
	width:220px;
	height:70px;
	margin:0;
}
#btn_restart {
	position:fixed;
	top:4px;
	left:520px;
	width:220px;
	height:70px;
	margin:0;
}
#btn_new {
	position:fixed;
	top:4px;  
	left:780px;
	width:220px;
	height:70px;
	margin:0;
}
#btn_pause {
	position:fixed;
	top:4px;
	left:1040px;
	width:220px;
	height:70px;
	margin:0;
}
.TimeBox {
	position: fixed;
	font-family:verdana, sans-serif;
	font-size: 16pt;
	font-weight: bold;
	color:#aaaaaa;
	top:94px;
	left:1040px;
	width:220px;
}
/* BOTTOM OF SCREEN - PORTRAIT */
#btn_notes {
	position:fixed;
	top:1296px;
	left:4px;
	width:220px;
	height:76px;
	margin:0;
}
#btn_undo {
	position:fixed;
	top:1296px;
	left:262px;
	width:220px;
	height:76px;
	margin:0;
}
#btn_redo {
	position:fixed;
	top:1296px;
	left:260px;
	width:220px;
	height:76px;
	margin:0;
}
#btn_check {
	position:fixed;
	top:1296px;  
	left:780px;
	width:220px;
	height:76px;
	margin:0;
}
#btn_help {
	position:fixed;
	top:1296px;
	left:1024px;
	width:220px;
	height:76px;
	margin:0;
}

 @media all and (orientation:portrait) {
.somewhere {
	position: absolute;
	left:1040px;
	top:180px;
}
#comphightext {
	position:absolute;
	margin:0;
	padding:0;
	overflow:hidden;
    font-family: Arial, Helvetica, verdana, sans-serif;
    font-size: 20pt;
	color: #888888;
	font-weight:normal;
	left:800px;
	top:1396px; 
}
#comphigh {
	position:absolute;
	left:744px;
	top:1396px; 
}
}
/* Landscape */

@media all and (orientation:landscape) {
#sudoku
{
	position:relative;
    margin:0;
    padding:0;
    width:2048px; /* premium = 1024px, lite = 995 */
    height:1362px;
    left:0px;  /* premium = 0, lite = 29px */
    top:2px;
}
.somewhere {
	position: absolute;
	left:1220px;
	top:1300px;
}
#sudoku .outertable {
    padding:0;
    table-layout:fixed;
    border-collapse:separate;
    empty-cells:show;
    position:absolute;
    top:0px;
    left:0px; /* premium = 38, lite = 67 */
}
.copyr {
    left:6px; /* premium = 43px, lite = 67px */
    top:1032px;
}
#puzzlenum {
	width:600px;
	left:1040px;
	top:230px;
	position: absolute;
    font-size: 24pt;
}
#numberList {
	position:fixed;
    top: 294px;
    left: 1050px;
    width:700px;
}
#numberList li {
	margin-left: 0px;
	margin-right: 26px;
	margin-bottom: 20px;
	width:160px;
	height:88px;
    color:#222222;
}
/* LANDSCAPE - RIGHT COLUMN */

#btn_sudoku {
	top:4px;
	left:1050px;
	width:260px;
	height:70px;
}
#btn_str8ts {
	top:4px;
	left:1340px;
	width:260px;
	height:70px;
}
#btn_restart {
	top:120px;
	left:1050px;
	width:260px;
	height:70px;
}
#btn_new {
	top:120px;
	left:1340px;
	width:260px;
	height:70px;
}
/* LANDSCAPE - UNDER NUMBERS */
#btn_notes {
	top:660px;
	left:1050px;
	width:260px;
	height:70px;
}
#btn_pause {
	top:660px;
	left:1340px;
	width:260px;
	height:70px;
}
.TimeBox {
	position: fixed;
	font-family:verdana, sans-serif;
	font-size: 16pt;
	font-weight: bold;
	color:#aaaaaa;
	text-align:right;
	top:750px;
	left:1340px;
	width:260px;
	height:30px;
	text-align:center;
}
#btn_undo {
	top:804px;
	left:1050px;
	width:260px;
	height:70px;
}
#btn_redo {
	top:804px;
	left:1340px;
	width:260px;
	height:70px;
}
#btn_check {
	top:918px;
	left:1050px;
	width:260px;
	height:70px;
}
#btn_help {
	top:918px;
	left:1340px;
	width:260px;
	height:70px;
}
#comphigh {
	position:absolute;
	left:1150px;
	top:1020px; 
}
#comphightext {
	position:absolute;
	margin:0;
	padding:0;
	overflow:hidden;
    font-family: Arial, Helvetica, verdana, sans-serif;
    font-size: 20pt;
	color: #888888;
	font-weight:normal;
	left:1200px;
	top:1020px; 
}

}