﻿body { margin: 0; padding: 0; }
html { margin: 0; padding: 0; }
body {
	background: #FFD5D5;
}
table {
	border-bottom-color: #FF0000;
	border-left-color: #FF0000;
	border-right-color: #FF0000;
	border-top-color: #FF0000;
	border-color: #FF0000;
	border: #FF0000;
	font: 11px tahoma;
	color: #FF0000;
	font-weight: bold;
}

body {
	border-bottom-color: #FF0000;
	border-left-color: #FF0000;
	border-right-color: #FF0000;
	border-top-color: #FF0000;
	border-color: #FF0000;
	border: #000000;
	font: 11px tahoma;
	color: #000000;
	font-weight: bold;
}

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

#tetris {
	position: relative;
	width: 300px;
	height: 310px;
	border: 1px #000000 solid;
	background: #ffffff;
	margin: 0 auto;
}

/*** left ***/

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

/* menu */

#tetris .left .menu {
	text-align: center;
	background-color: #FFD5D5;
	outline-color: #FFFFFF;
}
#tetris .left input {
	font: 10px tahoma;
	color: #000000;
	text-transform: uppercase;
	background: #FFD5D5;
}
#tetris .left .menu input {
	width: 90px;
	color: #FF0000;
	font-weight: bold;
}

/* 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: 50%;
    text-align: center;
    font-weight: bold;
    display: none;
}

/* next puzzle */
#tetris-nextpuzzle {
	border-color: #000000 #000000 #000000 #000000;
	border-width: thin;
	position: absolute;
	top: 49%;
	left: 35%;
	background: #FFD5D5;
	overflow: visible;
	display: none;
	color: #000000;
}

/* stats */

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

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

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

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

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

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

/*** area ***/

#tetris-area {
	background: #FFD5D5;
	position: absolute;
	width: 168px;
	height: 308px;
	left: 131px;
	top: 1px;
	overflow: hidden;
	color: #FF0000;
	background-color: #FFD5D5;
	border-top-color: #000000;
	border-right-color: #000000;
	border-left-color: #000000;
	border-bottom-color: #000000;
	font-weight: bold;
}
#tetris .block6 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block5 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block4 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block3 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block2 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block1 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block0 {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0.5px solid #ffffff;
    /* with margin 0.5px there were problems with offsetLeft and offsetTop */
    }
#tetris .block1 {background: #FF0000;}
#tetris .block0 {background: #FF0000;}
#tetris .block2 {background: #FF0000;}
#tetris .block3 {background: #FF0000;}
#tetris .block4 {background: #FF0000;}
#tetris .block5 {background: #FF0000;}
#tetris .block6 {background: #FF0000;}

/*** window ***/

#tetris .window {
	border: #000000;
	background: #FFD5D5;
	position: absolute;
	width: 168px;
	height: 308px;
	left: 131px;
	top: 1px;
	z-index: 5;
	display: none;
	}
#tetris .window .top {
	border: #000000;
	position: relative;
	background: #FFD5D5;
	color: #666666;
	font: 10px tahoma;
	letter-spacing: +1px;
	height: 20px;
	line-height: 20px;
	vertical-align: middle;
	text-indent: 10px;
}
#tetris .window .top .close {
	border: #000000;
	position: absolute;
	background: #FFD5D5;
	font: 11px verdana;
	font-weight: bold;
	right: 1px;
	top: 1px;
	bottom: 1px;
	height: 20px;
	line-height: 19px;
	text-indent: 7px;
	width: 21px;
	cursor: pointer;
}
#tetris .window .top .close:hover {
    background: #FFD5D5;
}
#tetris .window .content {
	font: 10px tahoma;
	margin: 10px;
	background-color: #FFFFFF;
}
#tetris .window .content table {
    font: 10px tahoma;
}
