html, body { margin: 0;    padding: 0;    }

body {
    background:    #E1D4C0;
}
body, table, input {
/*    font-size: 11px;
    line-height: 1.2em; */
    font-family: tahoma;
    color: #826C55;
}

#tetris    {
    position: relative;
    width: 310px;
    height:    309px;
    background:    #fff;
    border:    #BE9E7C    1px    solid;
    font-size: 11px;
    line-height: 1.2em;
}

#tetris    .left {
    background:    #F5EDE3;
    position: absolute;
    width: 141px;
    height:    100%;
    left: 0px;
    top: 0px;
}
.left-border { background: #E4BE95;    position: absolute;    z-index: 100; top: 0px;    left: 140px; width:    1px; height: 100%; }

#tetris-area {
    /* 168,308 +2px    borders    */
    background:    #fff;
    position: absolute;
    width: 167px;
    height:    307px;
    left: 142px;
    top: 1px;
    overflow: hidden;
}

.grid1,    .grid2,    .grid3,    .grid4,    .grid5,    .grid6 { z-index: 10; position:    absolute; top: 0px;    width: 13px; height: 307px; background:    #E0E0E0; }
.grid1 { left: 14px; }
.grid2 { left: 42px; }
.grid3 { left: 70px; }
.grid4 { left: 98px; }
.grid5 { left: 126px; }
.grid6 { left: 154px; }





#tetris    .block0,
#tetris    .block1,
#tetris    .block2,
#tetris    .block3,
#tetris    .block4,
#tetris    .block5,
#tetris    .block6    {
    z-index: 1000;
    font-size: 10px;
    line-height: 1em;
    font-family: arial;
    position: absolute;
    width: 13px;
    height:    13px;
    border:    0.5px solid #ffffff;
    /* with    margin 0.5px there were    problems with offsetLeft and offsetTop */
}

#tetris .left h1, #tetris .left h2 {
    color: #826C55;
    font-size: 11px;
    font-family: "trebuchet	ms", arial;
    font-weight: bold;
    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    {
    margin-top:    1em;
    font-size: 11px;
    line-height: 1.2em;

}
#tetris    .menu a, #tetris .menu a:visited {
    display: block;
    text-decoration: none;
    color: #ffffff;
    background:    #744513;
    border-width: 1px;
    margin-bottom: 2px;
    border-style: solid;
    border-color: #BE9E7C;
    cursor:    pointer;
    text-align:    left;
    padding-left: 8px;
    padding-right: 8px;
    height: 19px;
    width: 78px;
    padding-bottom: 0px;
    margin-left: 24px;
    font-size: 11px;
    line-height: 1.6em;
    font-weight:bold;
    box-shadow: 1px 2px 3px 2px #996935 inset;
}
#tetris .menu a:hover {
    background: #EAB566;
    color: #333333;
    font-size: 11px;
    line-height: 1.6em;
    font-weight:bold;
}

/* game    over */

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

/* next    puzzle */
#tetris-nextpuzzle {
    position: absolute;
    top: 47%;
    left: 35%;
    background:    #ffffff;
    overflow: visible;
    display: none;
}
#tetris-keys {
    position: absolute;
    left: 25px;
    top: 135px;
    font-size: 11px;
    line-height: 1.2em;
}
#tetris div.h5 { margin-bottom: 0.5em; display: block; font-weight: bold; }
#tetris-keys td { padding-right: 1px; padding-bottom: 1px; font-size: 11px; color: #002373;}
#tetris-keys img { border-width: 0px; }

/* stats */

#tetris    .left .stats {
    position: absolute;
    left: 25px;
    bottom:    5px;
    font-size: 11px;
    line-height: 1.2em;
}
#tetris    .stats td {    padding-bottom:    1px; line-height: 1.25em; font-size: 11px; color: #002373;}

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

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

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

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

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


/*
    |
    ---
*/
#tetris    .block1    { background: #32a4fa; }

/*
      |
    ---
*/
#tetris    .block0    { background: #38C44F; }



/*
    --
   --
*/
#tetris    .block2    { background: #FFAC1C; }

/*
    --
     --
*/
#tetris    .block3    { background: #FF6600; }

/*
    |
   ---
*/
#tetris    .block4    { background: #CC54C4; }

/*
    --
    --
*/
#tetris    .block5    { background: #006699;    }

/*
    ----
*/
#tetris    .block6    { background: #FF0000; }


/*** window    ***/

#tetris    .window    {
    background:    #EFE8DE;
    position: absolute;
    width: 167px;
    height:    307px;
    left: 142px;
    top: 1px;
    z-index: 50000;
    display: none;
}
#tetris    .window    .top {
    position: relative;
    background:    #EAE0D1;
    color: #666666;
    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-family: 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 {
    margin:    10px;
}
#tetris    .window    .content table {
}

#tetris-highscores-content td {
padding-bottom:    1px; line-height: 1.25em; font-size: 11px; color: #002373;
}
