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

/*** tetris 168,308 ***/

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

    background: #000000;
    margin: 0 auto;
}

/*** left ***/

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

/* menu */

#tetris .left .menu {
     text-align: center; 
}
#tetris .left input {
    font: 12px tahoma;
    height: 25px;
    color: #000000;
    text-transform: uppercase;
    background: #EAE0D1;
}
#tetris .left .menu input {
    width: 84px;
}

/* keyboard */

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

/* game over */

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

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

/* stats */

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

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

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

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

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

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

/*** area ***/

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

/*** window ***/

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




#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;
}
