html, body { height: 100%; margin: 0; padding: 0; }
body {
    background: #333333;
}
body, table {
    font: 12px tahoma;
    color: #ffffff;
}

/*** block 168,308 ***/

#block {
    position: relative;
    width: 320px;
    height: 374px;

    background: #333333;
    margin: 0 auto;
}

/*** left ***/

#block .left {
	background: #333333;
	position: absolute;
	width: 100px;
	height: 100%;
	left: 222px;
	top: 1px;
	background-color: #333333;
}
#block .left h1 {
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
#block .left h1 a {
    color: #3366CC;
    text-decoration: none;
}
#block .left h1 a:hover {
    color: #FF6600;
    text-decoration: none;
}

/* menu */

#block .left .menu {
     text-align: center;
}
#block .left input {
    font: 11px arial;
    height: 25px;
    color: #ffffff;
    text-transform: uppercase;
    background: #FF3300;
}
#block .left .menu input {
    width: 84px;
}

/* keyboard */

#block .left .keyboard {
    position: absolute;
    top: 163px;
    left: 32px;
    width: 85px;
    height: 55px;
    overflow: visible;
    display: none;
}
#block .left .keyboard input {
    font: 11px tahoma;
    width: 25px;
    height: 25px;
    padding-bottom: 2px;
    text-transform: none;
}
* html #block .left .keyboard input {
    padding-left: 1px;
}
#block .left .keyboard .up {
    position: absolute;
    left: 30px;
    top: 0px;
    width: 30px;
    height: 30px;
}
#block .left .keyboard .up input {
    font: 15px tahoma;
    padding-top: 3px;
}
#block .left .keyboard .down {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 30px;
    height: 30px;
}
#block .left .keyboard .down input {
    font: 14px tahoma;
}
#block .left .keyboard .left {
    position: absolute;
    left: 0px;
    top: 30px;
    width: 30px;
    height: 30px;
}
#block .left .keyboard .right {
    position: absolute;
    left: 60px;
    top: 30px;
    width: 30px;
    height: 30px;
}

/* game over */

#block-gameover {
    position: absolute;
    width: 100%;
    top: 53%;
    text-align: center;
    font-weight: bold;
    display: none;
}

/* next puzzle */
#block-nextpuzzle {
    position: absolute;
    top: 53%;
    left: 10%;
    background: #ffffff;
    overflow: visible;
    display: none;
}

/* stats */

#block .left .stats {
    position: absolute;
    left: 16px;
    bottom: 10px;
}
#block .stats td { padding-bottom: 1px; }

#block .stats .level { text-align: right; padding-right: 12px; }
#block-stats-level { font-weight: bold; }

#block .stats .time { text-align: right; padding-right: 12px; }
#block-stats-time { font-weight: bold; }

#block .stats .apm { text-align: right; padding-right: 12px; }
#block-stats-apm { font-weight: bold; }

#block .stats .lines { text-align: right; padding-right: 12px; }
#block-stats-lines { font-weight: bold; }

#block .stats .score { text-align: right; padding-right: 12px; }
#block-stats-score { font-weight: bold; }

/*** area ***/

#block-area {
	background: #FFFFFF;
	position: absolute;
	width: 220px;
	height: 374px;
	left: 1px;
	top: 0px;
	overflow: hidden;
}
#block .block0,
#block .block1,
#block .block2,
#block .block3,
#block .block4,
#block .block5,
#block .block6 {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
}
#block .block0,
#block .block1 {
    background: #6699FF;
}
#block .block2,
#block .block3 {
    background: #FF6600;
}
#block .block4 {
    background: #FFAC1C;
}
#block .block5 {
    background: #BAA68E;
}
#block .block6 {
    background: #FF0000;
}

/*** window ***/

#block .window {
    background: #EFE8DE;
    position: absolute;
    width: 200px;
    height: 320px;
    left: 100px;
    top: 1px;
    z-index: 5;
    display: none;
}
#block .window .top {
    position: relative;
    background: #EAE0D1;
    color: #666666;
    font: 10px arial;
    letter-spacing: +1px;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #ffffff;
    text-indent: 10px;
}
#block .window .top .close {
    position: absolute;
    background: #EAE0D1;
    font: 20px arial;
    font-weight: bold;
    right: 0px;
    top: 0px;
    height: 20px;
    line-height: 19px;
    text-indent: 7px;
    width: 21px;
    border-left: 1px solid #ffffff;
    cursor: pointer;
}
#block .window .top .close:hover {
    background: #EFE8DE;
}
#block .window .content {
    font: 12px arial;
    margin: 10px;
    color: #333333;
}
#block .window .content table {
    font: 20px arial;
    color: #333333;
}




#controls {
    bottom: 480px;
    height: 60px;
    width:320px;
    overflow: hidden;
}




.screen {
	margin: 0px;
	padding: 0px;
	border: 0px;
	top:0px;
	left:0px;
	width:320px;
	height:414px;
	z-index:0;
}


div.bottombar {
	padding: 10px 10px 5px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: url(images/options-extend.png) repeat-x top left;
}
.iphone {
	position:absolute;
	border-width: 1px;
	border-style: solid;
	border-color:#000000;
	background-color:#00cece;

	top:36px;
	left:28px;
	width:260px;
	height:266px;
	z-index:5;
	visibility:hidden;
	font-size: 6pt;
}
a {
	color:#ffffff;
	font-family: Arial, sans-serif;
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-size: 10pt;
}
			
form {
	margin-bottom:0;
}

.help {
	position:absolute;
	border-width: 1px;
	border-style: solid;
	border-color:#000000;
	background-color:#ababab;
	filter:alpha(opacity=95);
	-moz-opacity:.95;opacity:.95;
	top:68px;
	left:10px;
	width:300px;
	height:280px;
	z-index:99;
	visibility:hidden;
	font-size: 10pt;
}
