* {
    margin: 0;
    padding: 0;
}
body {
    font: 80%/1.5 Verdana, Sans-Serif;
    background: #eee;
}
#container {
    margin: 20px auto;
    width: 670px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#write {
    margin: 0 0 5px;
    padding: 0px;
    width: 668px;
    height: 60px;
    font: 1em/1.5 Verdana, Sans-Serif;
    border:1px solid #000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

    background: #fff;
    /* Webkit */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#ddd),
        to(#fff)
        );

    /* Firefox */
    background: -moz-linear-gradient(
        top,
        #ddd,
        #fff
        );

    /* IE */
    filter:progid:DXImageTransform.Microsoft.gradient
        (startColorstr=#ffdddddd,endColorstr=#ffffffff);
    zoom: 1;
}
#board {
    margin: 0;
    padding: 5px 0 0 5px;
    height: 200px;
    background: #a0a0a0;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;

    /* Webkit */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#888),
        to(#aaa)
        );
    -webkit-box-shadow: 4px 4px 12px #000;

    /* Firefox */
    background: -moz-linear-gradient(
        top,
        #888,
        #aaa
        );
    -moz-box-shadow: 4px 4px 12px #000;

    /* IE */
    filter:progid:DXImageTransform.Microsoft.gradient
        (startColorstr=#ffa0a0a0,endColorstr=#ff808080);
    zoom: 1;
}
#keyboard {
    margin: 0;
    padding: 0;
    list-style: none;
}
#keyboard li {
    float: left;
    margin: 0 5px 5px 0;
    width: 30px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #fff;
    border: 1px solid #f9f9f9;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    /* Webkit */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#ccc),
        to(#fff)
        );
    -webkit-box-shadow: 1px 1px 1px #fff;

    /* Firefox */
    background: -moz-linear-gradient(
        top,
        #ccc,
        #fff
        );
    -moz-box-shadow: 1px 1px 1px #fff;

    /* IE */
    filter:progid:DXImageTransform.Microsoft.gradient
        (startColorstr=#ffcccccc,endColorstr=#ffffffff);
    zoom: 1;
}

#keyboard .esc {
    width: 40px;
}
#keyboard .function #keyboard .delete {
    width: 38px;
}
#keyboard .function_group1 {
    margin-left: 27px;
}
#keyboard .function_group2 {
    margin-left: 17px;
}
#keyboard .function_group3 {
    margin-left: 20px;
}
#keyboard .tab {
    width: 50px;
}
#keyboard .capslock {
    width: 60px;
    height: 23px;
    font-size:90% !important;
    border-left:4px solid #fff;
    border-top:4px solid #fff;
}
#keyboard .shifton {
    border-left:4px solid #444;
    border-top:4px solid #444;
}

#keyboard .return0 {
    margin-left: 16px;
    height: 10px;
}
#keyboard .return {
    margin-top: -34px;
    height: 60px;
    width: 34px;
    font-size:90%;
    line-height: 55px;
}
#keyboard .left-shift {
    width: 80px;
}
#keyboard .right-shift {
    width: 54px;
}
#keyboard .topitem {
    clear : left !important;
}
#keyboard .lastitem {
    margin-right: 0 !important;
}

/**
.uppercase {
    text-transform: uppercase;
}
*/


#keyboard .space {
    /** clear: left; **/
    width: 144px;
}
#keyboard .ctrl, #keyboard .alt, #keyboard .muhenkan, #keyboard .henkan {
    width: 40px !important;
}

#keyboard .arrow-up {
    margin-left: 36px !important;

}
#keyboard .arrow-left {

}
#keyboard .pageup {
    line-height:100%;
    font-size:88% !important;
}
#keyboard .pagedown {
    line-height:100%;
    font-size:88% !important;
}

#keyboard .insert, #keyboard .delete {
    font-size:80%;
}
#keyboard .home, #keyboard .end {
    font-size:85%;
}

#keyboard li:hover {
    position: relative;
    top: 1px;
    left: 1px;
    border-color: #ff0000;
    cursor: pointer;
}

#keyboard .tobe_click {
    background: #ee2222;
}